Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- if not plr then
- return
- end
- mouse = plr:GetMouse()
- function xpress(key)
- if key == "x" then
- plr.Character.Humanoid.WalkSpeed = 100
- decal = Instance.new("Decal",workspace.Base)
- decal.Texture = "rbxassetid://256465742"
- decal.Face = "Top"
- b = Instance.new("Sound",workspace)
- b.SoundId = "rbxassetid://279457492"
- b:Play()
- x = Instance.new("ParticleEmitter",plr.Character.Torso)
- x.Texture = "rbxassetid://256465742"
- end
- end
- function ypress(key)
- if key == "y" then
- plr.Character.Humanoid.WalkSpeed = 16
- decal:remove()
- b:Stop()
- x:remove()
- end
- end
- mouse.KeyDown:connect(xpress)
- mouse.KeyDown:connect(ypress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement