game.Workspace.MUSHR0OM.Character.Torso:BodyLock()
I need something like this, to see how my Developers are doing as they test maps. I need a script that hovers me about 5 studs, and even when I go off a platform, I still hover? Does it involve Velocity or something like that? Sorry if this is requesting, it's just really important.
This is pretty much a request, and I'm not going to fulfil it, but I sure will point you in the right direction!
You'll be interested in BodyMovers, and in particular (probably) BodyPosition
.
To maintain a constant height you'd set maxForce to Vector3.new(0,30000,0)
(anything big), you can experiment with the P
and D
properties at your own discretion, then just set the position
property to Vector3.new(0, yourDesiredHeight,0)
and insert the BodyPosition
into your Player
's torso!