nicoi4233666

Untitled

Dec 29th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.86 KB | None | 0 0
  1. --yus. (By Rufus14)
  2. mouse = game.Players.LocalPlayer:GetMouse()
  3. stfu = false
  4. heh = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  5. heh.SoundId = "http://roblox.com/asset?id=565534003"
  6. heh.Volume = 50
  7. print(game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0)
  8. function lol(key)
  9.     key = key:lower()
  10.     if key == "q" then
  11.         stfu = false
  12.         heh:Play()
  13.         while stfu == false do
  14.             wait()
  15.             game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.5,0,0)
  16.         end
  17.     end
  18. end
  19. function nu(key)
  20.     key = key:lower()
  21.     if key == "q" then
  22.         stfu = true
  23.         wait(0.05)
  24.         heh:Stop()
  25.         game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  26.     end
  27. end
  28. mouse.KeyDown:connect(lol)
  29. mouse.KeyUp:connect(nu)
Advertisement
Add Comment
Please, Sign In to add comment