of     1   

buster925
#40293827Monday, January 03, 2011 11:29 PM GMT

this is a script that adds five to you walkspeed every time you click. I have no idea what is wrong with it. --------------------------------------------------------------------------- function onButtonClicked() script.Parent.Parent.Parent.Parent.Character.Humanoid.WalkSpeed = + 5 end script.Parent.MouseButton1Click:connect(onButtonClicked)
DangCool
#40294044Monday, January 03, 2011 11:31 PM GMT

[ Content Deleted ]
egghead
#40294141Monday, January 03, 2011 11:32 PM GMT

function onButtonClicked() script.Parent.Parent.Parent.Parent.Character.Humanoid.WalkSpeed = script.Parent.Parent.Parent.Parent.Character.Humanoid.WalkSpeed + 5 end script.Parent.MouseButton1Click:connect(onButtonClicked)
swimguy777
#40294170Monday, January 03, 2011 11:33 PM GMT

Use a LocalScript: char = game.Players.LocalPlayer.Character function onButtonClicked() char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed + 5 end script.Parent.MouseButton1Click:connect(onButtonClicked)
egghead
#40294252Monday, January 03, 2011 11:34 PM GMT

You told it +5, but you didn't tell it what to add 5 to. You need to do that.
buster925
#40294359Monday, January 03, 2011 11:35 PM GMT

Oh i get it now. Thanks

    of     1