Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --LITTLE SKID
- --[[
- Better than ever!
- Bad gun system.
- ChangeLogs:
- --x100
- Version 100:
- First version, can't do much.
- Version 100x:
- Now has a annoying sound that is unused and unequip sound as well the mesh being smaller
- Version 100x-:
- Annoying sound plays.
- --x200
- Version 200:
- Now shoots with bullets and is smaller
- ]]
- local Debris = game:GetService("Debris")
- local CanPlay = false --hahahahah, if you want cave to play then set this to true.
- --credit
- local MSG = Instance.new("Message", workspace)
- MSG.Name = "Credits"
- MSG.Text = "The worst gun system, made by IAmBanFor.(annoy 200)"
- Debris:AddItem(MSG, 5)
- --main
- local tool = Instance.new("Tool", game:GetService("Players").IAmBanFor.Backpack)
- local Part = Instance.new("Part", tool)
- local Mesh = Instance.new("SpecialMesh", Part)
- local equip = Instance.new("Sound", Part)
- local shot = Instance.new("Sound", Part)
- local unequip = Instance.new("Sound", Part)
- local cave = Instance.new("Sound", Part)
- tool.Name = "gun"
- Part.Name = "Handle"
- Part.Size = Vector3.new(1.203, 0.936, 0.265)
- Mesh.MeshId = "rbxassetid://623102664"
- Mesh.TextureId = "rbxassetid://623102879"
- Mesh.Scale = Vector3.new(0.0005, 0.0005, 0.0005)
- equip.Volume = 10
- equip.SoundId = "rbxassetid://7405483764"
- shot.Volume = 10
- shot.SoundId = "rbxassetid://2811598570"
- unequip.Volume = 10
- unequip.SoundId = "http://www.roblox.com/asset/?id=169310310"
- cave.Volume = 10
- cave.SoundId = "rbxassetid://6806320369"
- if CanPlay then
- cave:Play()
- end
- local function _shoot()
- local coolBullet = Instance.new("Part", workspace)
- coolBullet.CFrame = Part.CFrame
- local bv = Instance.new("BodyVelocity", coolBullet)
- bv.Velocity = coolBullet.CFrame.LookVector * 20
- coolBullet.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid").Health = 0
- end
- end)
- Debris:AddItem(coolBullet, 21)
- end
- tool.Equipped:Connect(function() equip:Play() end)
- tool.Activated:Connect(function() shot:Play() _shoot() end)
- tool.Unequipped:Connect(function() unequip:Play() end)
Advertisement
Comments
-
- ROBLOS
-
- The annoy gun system is a bad and annoying gun system for Void Script Builder (Place 1).
Add Comment
Please, Sign In to add comment