I am trying to increase the velocity of a block when a player touches/sits on it and then set the velocity to 0 when a player isn't touching it. I am trying to make a swing. I am not quite sure what to do but this is what I have so far:
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
game.Workspace.SwingSeat1.Velocity = Vector3.new(400,0,0
)
end
end)
When I sit on the swing it doesn't move.

4 comments
http://wiki.roblox.com/index.php?title=BodyMover
This link has things a lot more reliable then changing velocity. Especially of players. Do counteract flinging, they tone down the velocity effects on characters unless introduced by a "Body mover" to imply its a wanted force applied and not just a glitched out jump.
Thank you very much Bellyrium! :D
But i get this message: BodyForce is not a valid member of Seat