null
nil
-
true
0
0
0
1
0
0
0
1
0
0
0
1
Run
http://www.roblox.com/asset/?id=43089406
true
-
false
Script
--[[
Editing this script is for the pros ONLY.
jk. it's pretty easy for someone who doesn't even know how to script to edit this.
]]
local RunSpeed = script.Parent.Speed.Value
local walkSpeed = nil
local character = nil
script.Parent.Equipped:connect(function()
character = script.Parent.Parent -- When a tool is equipped it gets parented to the character, so the directory will be like: Script -> Tool -> Character. This allows us to get the character easily, as you'd expect. :P
walkSpeed = character.Humanoid.WalkSpeed -- Set the WalkSpeed value
character.Humanoid.WalkSpeed = RunSpeed -- Sets the humanoids WalkSpeed to whatever the Speed value inside the tool is set to.
end)
script.Parent.Unequipped:connect(function()
character.Humanoid.WalkSpeed = walkSpeed -- Sets the humanoids WalkSpeed to whatever "walkSpeed" is set to.
end)
true
-
Speed
32
true
-
false
-0.5
0.5
0
0
-0.5
0.5
4
0
194
0
0
0
1
0
0
0
1
0
0
0
1
true
false
0.5
2
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Handle
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
3
0
1
0
0
0
true
1
1
0.400000006
1