function OnEntered(Player)
while Player.Character == nil do
wait()
end
end
function OnRespawned(Character)
local Torso = Character:findFirstChild("Torso")
if Torso ~= nil then
local AntiJump = Instance.new("BodyPosition")
AntiJump.Parent = Torso
AntiJump.position = Vector3.new (0,6,0)
AntiJump.maxForce = Vector3.new (0,10000000000,0)
end
end
game.Players.ChildAdded:connect(OnEntered)
game.Workspace.ChildAdded:connect(OnRespawned)
I have been using this script and you are still able to jump. Could anyone fix this so no players will be able to jump?

3 comments
It worked. Thank you!
Please don't just post code, explain what you're doing.
Nothing much to explain, it's pretty straightforward.