Advertisement
SnowyFloods

How can i change someone's speed in Roblox/Finobe scripting.

Jul 21st, 2019
789
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. So you want to change someone's speeed? lets get started with the basics. So for example:
  2.  
  3. "Humanoid" is the main Character that you can modify it, for example, if you want to change Your speed, Follow the steps:
  4. script.Parent.Humanoid.Walkspeed = 30
  5.  
  6. So let me say the rules.
  7.  
  8. So if you write Script.parent is wrong. Basically the word ''script'' should be small as well. And Parent should be big. If you write them upside down will be a big oopsie. The Humanoid word is here! That means the main characterer will be changed into something. And the Final word ''Walkspeed'', The walkspeed word means that you can run around 100 speed or infinite (Seriously? Infinite makes you die.) So it should be Walkspeed because the ''speed'' word should be small in lua. If you writed ''WalkSpeed'', it wont work. So the equals means what it will gonna be, So i writed like this: Walkspeed = 30 For the example script. That means your walkspeed will be turned on 30 speed.
  9.  
  10.  
  11. Also yes, You should but the script In the StarterCharacterScript > Script > Write the script. > Play it > and done!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement