So… The title much pretty explains it all. How would I make something like this?
I’ve tried using LinearVelocity, BodyVelocity , and more. So far. If the title dosen’t explain much, heres what I want to code:
The power is based on the percent, but the percent is very little to do so. (Max is 50) Probably per + 4000. This is all I have. I also want to make it code on the distance because you need to shoot from a certain distance for it to work (Magnitude, but I have no idea how to do so). Any solutions? By the way, this is the code I have tried:
local Velocity2 = Create("LinearVelocity",Ball)
Velocity2.MaxForce = per + 4000
Velocity2.VectorVelocity = workspace.Part.Position
Velocity2.Attachment0 = Ball.Attachment
game.Debris:AddItem(Velocity2, 0.25)