Advertisement
JordanScripter1337

Mlg

Sep 20th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plr = game.Players.LocalPlayer
  2. if not plr then
  3.     return
  4. end
  5. mouse = plr:GetMouse()
  6. function xpress(key)
  7.     if key == "x" then
  8.         plr.Character.Humanoid.WalkSpeed = 100
  9.         decal = Instance.new("Decal",workspace.Base)
  10.         decal.Texture = "rbxassetid://256465742"
  11.         decal.Face = "Top"
  12.         b = Instance.new("Sound",workspace)
  13.         b.SoundId = "rbxassetid://279457492"
  14.         b:Play()
  15.         x = Instance.new("ParticleEmitter",plr.Character.Torso)
  16.         x.Texture = "rbxassetid://256465742"
  17.     end
  18. end
  19. function ypress(key)
  20.     if key == "y" then
  21.         plr.Character.Humanoid.WalkSpeed = 16
  22.         decal:remove()
  23.         b:Stop()
  24.         x:remove()
  25.     end
  26. end
  27. mouse.KeyDown:connect(xpress)
  28. mouse.KeyDown:connect(ypress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement