Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I'm working on a Baseball Power script. Can anyone help me with the power script?

Asked by 9 years ago

The Initial script I have is this. function x(hit)

    if hit.Name == "Ball" then
    hit.Velocity = script.Parent.Parent.Parent.Head.CFrame.lookVector * math.floor((math.random() * 100) + 10) + Vector3.new (0,math.floor((math.random() * 179) + 95) ,0)
    end
end

script.Parent.Touched:connect(x)

I got a question though. I really want a more accurate script, is there anyone that can hit me up with some suggestions? Or if anyone can help me find a better script. This script really isn't realistic for roblox baseball and I would rather have a script where I could better implement the realistic power of a baseball game. The random script is just a random script. But theres no real fly balls or differentials between a deep fly ball and a grounder.

0
Anything in the output? Grenaderade 525 — 9y

Answer this question