Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a script where a player cant jump ? [closed]

Asked by 6 years ago

Some games like Pokemon Brick Bronze have this but how do I do this.

Closed as Not Constructive by minikitkat

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
0
Answered by
GingeyLol 338 Moderation Voter
6 years ago
game:GetService("Players").PlayerAdded:Connect(function(plyr)
plyr.CharacterAdded:Connect(function(char)
char.Humanoid.JumpPower = 0
end)
end)
Ad
Log in to vote
0
Answered by 6 years ago
game:GetService("Players").PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
char.Humanoid.JumpPower = 0
char.Humanoid.Jump = false
end)
end)