Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add an prediction #13

Open
Silly53 opened this issue Jul 5, 2023 · 3 comments
Open

How to add an prediction #13

Silly53 opened this issue Jul 5, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Silly53
Copy link

Silly53 commented Jul 5, 2023

I have an issue with the Silent aim prediction, in one point says:

-- // Modify the position/cframe, add prediction yourself (use Aiming.Selected)
function Configuration.ModifyCFrame(OnScreen)
return OnScreen and AimingSelected.Position or AimingSelected.Part.CFrame
end

I want to know how to Modify the Prediction

@Silly53 Silly53 added the enhancement New feature or request label Jul 5, 2023
@Stefanuk12
Copy link
Owner

You can see how it's used here.

The first return value is the predicted position on screen while the second is the predicted position in 3D.

@Silly53
Copy link
Author

Silly53 commented Jul 6, 2023

You can see how it's used here.

The first return value is the predicted position on screen while the second is the predicted position in 3D.

So, i need to change these parameters to Aiming.Selected? or i just need to put them in true

@Stefanuk12
Copy link
Owner

For example:

return wts(PredictedCFrame.Position), PredictedCFrame

wts stands for WorldToScreen, you'll have to create your own implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants