I'm trying to make a code that will give 50 walkspeed and 200 + life but its not work
local box = script.Parent.Parent.TextBox
local plr = script.Parent.Parent.Parent.Parent
function onClick()
if box.Text == "1337" then
box.Text = "Code Redeemed!"
wait(2)
box.Text = "Special Code"
local b = game.Players.Humanoid.WalkSpeed = 50
else
box.Text = "Wrong Code!"
wait(2)
box.Text = "Special Code"
end
end
script.Parent.MouseButton1Click:connect(onClick)
Line 9 got an error, but i can't see it Please Help Me ASAP

1 comment
If you want further advancement in Twitter Codes, go here: http://wiki.roblox.com/index.php?title=Data_store