of     1   

XHorizonSwiftX
#226676377Sunday, October 22, 2017 3:26 AM GMT

This is my first ever script. I have tested it and it works. To use, create a pad and name it Speedboost. Then, insert a script into that part and in the script, type/copy the following: local speedBoost = script.Parent local function steppedOn(part) local parent = part.Parent if game.Players:GetPlayerFromCharacter (parent) then parent.Humanoid.WalkSpeed = 150 wait (10) Parent.Humanoid.WalkSpeed = 16 end end speedBoost.Touched:connect(steppedOn) -- It is tested and works fully for me.
SurKipper
#226676454Sunday, October 22, 2017 3:28 AM GMT

What happens if they touch it again before 10 seconds are up?
kylerzong
#226678841Sunday, October 22, 2017 4:34 AM GMT

what if they throw a hat on it
SinisterMemories
#226678883Sunday, October 22, 2017 4:35 AM GMT

what if it touches another nonhumanoid object attempt to index global 'soul' (a nil value)
XHorizonSwiftX
#226680783Sunday, October 22, 2017 5:46 AM GMT

Only humanoids are registered to it, if a hat or non humanoid touches it, the pad will do nothing. If it is touched again before the ten seconds are up, it will go back up to 10 seconds.
SinisterMemories
#226682070Sunday, October 22, 2017 6:43 AM GMT

1] No only players are "registered" to it. Fix your facts. 2] Why are you using "local function steppedOn(part)" thats just dumb. 3] If player dies and touches the block they will cause the script to error since their humanoid doesn't exist and then you would be trying to edit it. 4] Add a debounce 5] I doubt this is your "first ever script." as you likely have to know what 99.9% of this is to use it or you just copied somewhere and are calling this horrid script yours. attempt to index global 'soul' (a nil value)
XHorizonSwiftX
#227612154Thursday, November 16, 2017 7:53 PM GMT

1] I won't fix my facts, I didn't post it to get lectured by a bacon hair. 2] If it works, it works. ## #### ###### thanks. 4] A whatnow? 5] I'm not a good scripter, but it's not horrid. If it works, it works.
LaeMVP
#227612807Thursday, November 16, 2017 8:21 PM GMT

"if it works, it works" i already hate you xd
XHorizonSwiftX
#228423540Monday, December 04, 2017 12:09 PM GMT

haha :P
JarodOfOrbiter
#228423709Monday, December 04, 2017 12:21 PM GMT

"I didn't post it to get lectured by a bacon hair." Then get lectured by me. There is nothing wrong with bacon hair, and discriminating against one of the most skilled and helpful people on this forum by his looks is a cardinal sin. Don't judge people by their clothing or you're going to get yourself into a lot of trouble. Thanks for this script, it's pretty cool. Hopefully people will find it in search results when they're looking for something like this.

    of     1