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