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 == "f" then
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- script.Disabled = true
- print("Firing Light Shot")
- game:GetService("Chat"):Chat(Player.Character.Head, "BOOSH", "Green")
- local x = Instance.new("Part", game.Workspace)
- x.Anchored = true
- x.CanCollide = false
- x.FormFactor = "Custom"
- x.TopSurface = 1
- x.BottomSurface = 1
- x.BrickColor = BrickColor.new("Institutional white")
- x.Size = Vector3.new(2,2,2)
- x.CFrame = Player.Character.Torso.CFrame*CFrame.new(0,0,-7)
- x.Transparency = 0.7
- game.Debris:AddItem(x, 1000000000000000)
- local f = Instance.new("Part", game.Workspace)
- f.Anchored = true
- f.CanCollide = false
- f.FormFactor = "Custom"
- f.TopSurface = 1
- f.BottomSurface = 1
- f.BrickColor = BrickColor.new("Really black")
- f.Size = Vector3.new(4,4,4)
- f.CFrame = Player.Character.Torso.CFrame*CFrame.new(0,0,-7)
- f.Transparency = 0.7
- game.Debris:AddItem(f, 1000000000000000)
- wait()
- script.Disabled = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement