local Tool = script.Parent local Character = script.Parent.Parent local Humanoid = Character.Humanoid local Walkspeed = Humanoid.Walkspeed if (Tool.Enabled == true) then return true end if (Tool.Enabled == false) then return false end if (Tool.Enabled == true) then Walkspeed = 30 end
local Tool = script.Parent local Character = script.Parent.Parent.Character local Humanoid = Character.Humanoid -- you need to reach the players character before being able to change humandoid stats. local Walkspeed = Humanoid.Walkspeed if (Tool.Enabled == true) then return true end if (Tool.Enabled == false) then return false end if (Tool.Enabled == true) then Walkspeed = 30 end