I want to do like something like if u touch the brick then it will makes my walkspeed 10+ every time i walk on it i tried everything i could do and it wont work
script.Parent.Touched:connect(function(touched)
touched.Parent.Humanoid.WalkSpeed = +10
end)
i want to add 10+ do my walkspeed but idk how

5 comments
the debounce here is pointless without a wait, else the debounce will deactivate immediately
add a wait on line 6 and push deb = false to line 7 ect
IT WORKS NOW PERFECTLY!! ;D
Is this the shortest form we have in Lua for adding numbers? For example, you can quickly add in Java with Value ++ or Value += 16.
Pretty sure its the shortest form, besides removing the spaces.