Answered by
T0XN 276
7 years ago Edited 7 years ago
First of all, in advance please excuse my OCD, but I'm not sure why you have a for loop that doesn't affect the code. Also it's quite pointless that you put the following:
The result is the same if you write this:
Second, I'm not sure if you already know this (if you do, then my bad) but the MaxForce acts as the capping, or rather self-explanatory maximum force of the BodyPosition. Make sure the 'P' (power) value of the BodyPosition is not 0 as this is the value that actually gives the BodyPosition its force.
Try changing your script to something along the lines of this:
1 | game.Players.PlayerAdded:Connect( function (player) |
2 | player.CharacterAdded:Connect( function () |
3 | game.Workspace.SpeedBoat.BoatControl.BodyPosition = Vector 3. new( 0 , 500000 , 0 ) |
It would be helpful if you could tell me if there are any errors that appear in the studio's console.
If there is something that you are still unclear with I hope this wiki page can help you out:
http://wiki.roblox.com/index.php?title=API:Class/BodyPosition