Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player = game.Players.LocalPlayer
- Mouse = Player:GetMouse()
- Mouse.KeyDown:connect(function(key)
- if key == "q" then
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- script.Disabled = true
- print("Firing Light Shot")
- game:GetService("Chat"):Chat(Player.Character.Head, "Light Shot", "Red")
- local x = Instance.new("Part", game.Workspace)
- x.Anchored = false
- x.CanCollide = false
- x.FormFactor = "Custom"
- x.TopSurface = 0
- x.BottomSurface = 0
- x.BrickColor = BrickColor.new("Bright bluish green")
- x.Size = Vector3.new(4,2,2)
- x.CFrame = Player.Character.Torso.CFrame*CFrame.new(0,0,-7)
- x.Transparency = 0.4
- local bv = Instance.new("BodyVelocity", x)
- bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- bv.velocity = Player.Character.Torso.CFrame.lookVector*60
- game.Debris:AddItem(x, 3)
- wait(6)
- script.Disabled = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement