Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local toggle = false
- script.Parent.Touched:connect(function(hit)
- if toggle == false then
- toggle = true
- local force = Instance.new("BodyForce")
- force.Parent = hit.Parent.HumanoidRootPart
- force.Force = Vector3.new(0,5000,0)
- wait(.5)
- force:Destroy()
- end
- wait(.2)
- toggle = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement