daily pastebin goal
80%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local walkspeedplayer = game:GetService("Players").LocalPlayer
  2.     local walkspeedmouse = walkspeedplayer:GetMouse()
  3.    
  4.     local walkspeedenabled = false
  5.    
  6.     function x_walkspeed(key)
  7.         if (key == "x") then
  8.             if walkspeedenabled == false then
  9.                 _G.WS = 60;
  10.                 local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
  11.                 Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  12.                 Humanoid.WalkSpeed = _G.WS;
  13.                 end)
  14.                 Humanoid.WalkSpeed = _G.WS;
  15.                
  16.                 walkspeedenabled = true
  17.             elseif walkspeedenabled == true then
  18.                 _G.WS = 18;
  19.                 local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
  20.                 Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  21.                 Humanoid.WalkSpeed = _G.WS;
  22.                 end)
  23.                 Humanoid.WalkSpeed = _G.WS;
  24.                
  25.                 walkspeedenabled = false
  26.             end
  27.         end
  28.     end
  29.    
  30.     walkspeedmouse.KeyDown:connect(x_walkspeed)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top