Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Script wont work? My script is where only admins can run fast . This is so owner have admin powers.

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

2 comments

0

is this a request?

0

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

1 answer

✓ Accepted answer

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.