Can you please fix my script? It should be where only admins can run fast. Thanks. Admins are the people who i want to have power in the game.
game.Players.PlayerAdded:Connect(function(plr)
if plr.Name=="Bowser_Films" then
plr.WalkSpeed=200
Can you please fix my script? It should be where only admins can run fast. Thanks. Admins are the people who i want to have power in the game.
game.Players.PlayerAdded:Connect(function(plr)
if plr.Name=="Bowser_Films" then
plr.WalkSpeed=200
You have two errors in your script. First is that WalkSpeed is a not property of player. WalkSpeed is a Humanoid property. Second that you forgot to close your function and if. Here is a correct script. I hope you understand what I mean.
game.Players.PlayerAdded:Connect(function(player)
if plr.Name == "Bowser_Films" then
local char = plr.Character or plr.CharacterAdded:Wait()
local Human = char:WaitForChild("Humanoid")
Human.WalkSpeed = 200 -- changing humanoid's walkspeed to 200
end -- Closing "if"
end) -- Closing players added function
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
is this a request?
EliteRayGawnX2, no a request is when im asking for free code. Im giving you the code and asking people to fix. So its not a request