View difference between Paste ID: VfzFgzRz and 7uYtshnu
SHOW: | | - or go back to the newest paste.
1
--LITTLE SKID
2
3
local Debris = game:GetService("Debris")
4
5
--credit
6
local MSG = Instance.new("Message", workspace)
7
MSG.Name = "Credits"
8
MSG.Text = "The worst gun system, made by IAmBanFor.(annoy 100x)"
9
10
Debris:AddItem(MSG, 5)
11
12
--main
13
local tool = Instance.new("Tool", game:GetService("Players").IAmBanFor.Backpack)
14
local Part = Instance.new("Part", tool)
15
local Mesh = Instance.new("SpecialMesh", Part)
16
17
local equip = Instance.new("Sound", Part)
18
local shot = Instance.new("Sound", Part)
19
local unequip = Instance.new("Sound", Part)
20
local cave = Instance.new("Sound", Part)
21
22
tool.Name = "gun"
23
Part.Name = "Handle"
24
Part.Size = Vector3.new(1.203, 0.936, 0.265)
25
26
Mesh.MeshId = "rbxassetid://623102664"
27
Mesh.TextureId = "rbxassetid://623102879"
28
Mesh.Scale = Vector3.new(0.1, 0.1, 0.1)
29
30
equip.Volume = 10
31
equip.SoundId = "rbxassetid://7405483764"
32
33
shot.Volume = 10
34
shot.SoundId = "rbxassetid://2811598570"
35
36
unequip.Volume = 10
37
unequip.SoundId = "http://www.roblox.com/asset/?id=169310310"
38
39
40
cave.Volume = 10
41
cave.SoundId = "rbxassetid://6806320369"
42
cave.Looped = true
43-
--cave:Play()
43+
44
cave:Play()
45
46
tool.Equipped:Connect(function() equip:Play()  end)
47
tool.Activated:Connect(function() shot:Play() end)
48
tool.Unequipped:Connect(function() unequip:Play() end)