generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: need help with something quick

Previous Thread :: Next Thread 
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
18 Jul 2017 06:41 PM
what could i add in my sword so ill walk faster
Report Abuse
nullfeels is not online. nullfeels
Joined: 31 Mar 2017
Total Posts: 1215
18 Jul 2017 06:43 PM
Coffee?





Seriously though, you'll want to set the Humanoid's WalkSpeed.
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
18 Jul 2017 07:09 PM
i ment a script.
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
18 Jul 2017 07:11 PM
a coffee script?
Report Abuse
fireshade6603 is not online. fireshade6603
Joined: 05 Nov 2013
Total Posts: 63
18 Jul 2017 07:17 PM
I don't know much about coding gear, but I do know that the walk speed for a player is a property of the humanoid instance in their model.

To modify it, just use PlayerModel.Humanoid.WalkSpeed = Number

Of course "PlayerModel" being the player's model and "Number" being the speed you're setting it to
Report Abuse
nullfeels is not online. nullfeels
Joined: 31 Mar 2017
Total Posts: 1215
18 Jul 2017 07:23 PM
^^

Yeah, I wrote the real answer a few lines below. xD In a LocalScript inside the tool put this:

local player = game.Players.LocalPlayer
local defWalkSpeed = 16

script.Parent.Equipped:Connect(function(mouse)
player.Character:WaitForChild("Humanoid").WalkSpeed = 30--change to whatever
end)

script.Parent.Unequipped:Connect(function()
player.Character:WaitForChild("Humanoid").WalkSpeed = defWalkSpeed
end)
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
18 Jul 2017 07:27 PM
and i put this anywhere in the sword script?
Report Abuse
Apochroseis is not online. Apochroseis
Joined: 29 May 2015
Total Posts: 1021
18 Jul 2017 07:36 PM
roblox stop trolling




now its annoying


Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
18 Jul 2017 07:38 PM
omg you guys are a lifesaver, whatya i ow u a buck or two?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image