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

Gravity Shift Script Question?

Asked by
chadw 5
6 years ago

I am trying to make it where you your body shifts to brick ignoring the workspace gravity and you can walk onto the brick! I am still Rookie Scripter. Help! This is where I am right now!

script.Parent.Touched:connect(function(hit)


if hit.Parent:FindFirstChild("Humanoid") then


    local bodyForce = Instance.new("BodyForce", hit.Parent.Torso)

    bodyForce.Force = Vector3.new(0,0,300)

end
end)

Answer this question