Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player = game.Players.LocalPlayer
- Mouse = player:GetMouse()
- --
- cooldown = 1
- Mouse.KeyDown:connect(function(key)
- key = key:lower()
- if key == "e" and cooldown >0 then
- local x = Instance.new("Part",workspace)
- x.BrickColor = BrickColor.new("Royal purple")
- x.Transparency = .1
- x.TopSurface = "Smooth"
- x.BottomSurface = "Smooth"
- x.CFrame = player.Character.Head.CFrame * CFrame.new(0,-5,11)
- x.Size = Vector3.new (25,1,25)
- local v = Instance.new("BodyVelocity", x)
- v.Velocity = player.Character.Head.CFrame.lookVector * 90
- v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- cooldown = cooldown - 1
- wait(1) -- Cooldown time--
- cooldown = 1
- wait(1)
- x:Destroy()
- end
- end)
- player = game.Players.LocalPlayer
- Mouse = player:GetMouse()
- --
- cooldown = 1
- Mouse.KeyDown:connect(function(key)
- key = key:lower()
- if key == "f" and cooldown >0 then
- local x = Instance.new("Part",workspace)
- x.BrickColor = BrickColor.new("Royal purple")
- x.Transparency = 0
- x.TopSurface = "Smooth"
- x.BottomSurface = "Smooth"
- x.CFrame = player.Character.Head.CFrame * CFrame.new(0,-1,-15)
- x.Size = Vector3.new (25,5,25)
- local v = Instance.new("BodyVelocity", x)
- v.Velocity = player.Character.Head.CFrame.lookVector * 500
- v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- cooldown = cooldown - 1
- wait(.1) -- Cooldown time--
- cooldown = 1
- wait(30)
- x:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement