I have a tool. Inside that tool, I have handle and a script. What I want to achieve is that when the player equips the tool, the player should slowly move upwards. The player should not be able to move right, left, back or front. Just upwards at a slow pace.
This was my attempt inside the script (normal script):
script.Parent.Equipped:Connect(function()
local bodyForce = Instance.new("BodyForce", script.Parent.Handle)
bodyForce.Force = Vector3.new(0, 600, 0)
end)
But this does not work. I want them to float upwards continuously while equipping the tool.
How can I achieve this?
Thanks for any help
EDIT: The above script only works when I jump while my tool is equipped. I don't want that. I just want to fly upwards slowly when equipped.

2 comments
The script you put makes the player float, but they can still move?
Actually, what this script does right now is that when I equip the tool, the player's jump increases slightly. Like you know when you equip the gravity coil, your gravity decreases. Just like this (I am not making a gravity coil). But I want the player to keep going upwards.