This extension is not made by Roblox, and can not be used to play Roblox games. Roblox+ is a free Google Chrome extension made by me (WebGL3D) that adds features to the Roblox.com website! Some of the features include:. Item notifier - get notified when a new item comes out or gets updated. Avatar page filter bar. Trade notifier. Support. Free popular Roblox scripts! One of the most popular places to get Roblox Scripts. We have over 2,200 + Visitors and counting!
Mar 26th, 2020
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- mouse = player:GetMouse()
- ammo = maxAmmo
- firing=false
- reload =2
- script.Parent.Activated:Connect(function()
- firing =true
- repeatlocal bullet= Instance.new('Part', workspace)
- bullet.Shape ='Ball'
- bullet.BrickColor = BrickColor.new('Bright red')
- local Axis = CFrame.new(script.Parent.Handle.Position, mouse.Hit.p)
- local Theta =math.random()*math.pi*2
- local x =math.cos(Theta)*math.sin(Phi)
- local z =math.cos(Phi)
- local Coordinate = Axis * CFrame.fromEulerAnglesXYZ(x,y,z)
- local vel = Instance.new('BodyVelocity')
- game.Debris:AddItem(bullet,15)
- if hit.Parent ~= player.Character and hit.Parent:FindFirstChild('Humanoid')then
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - damage
- end
- wait(rate)
- end
- script.Parent.Deactivated:Connect(function()
- firing =false
- end)
- ifstring.lower(k)'r'and ammo < maxAmmo and firing falsethen
- wait(reload)
- canFire =true
- end)