View difference between Paste ID: ELVGnuYi and SCpNzBbx
SHOW: | | - or go back to the newest paste.
1-
wait(1 / 60)
1+
--[[
2-
Effects = { }
2+
--Whitelisted Users
3-
local Player = game.Players.localPlayer
3+
--lotushomerun (DUH)
4
--lotushomerun's Friends
5-
local Humanoid = Character.Humanoid
5+
--Anyone who buys this gamepass: https://www.roblox.com/library/1046169249/Police-Sim-2018-Whitelist
6-
local Mouse = Player:GetMouse()
6+
7-
local LeftArm = Character["Left Arm"]
7+
8-
local RightArm = Character["Right Arm"]
8+
9-
local LeftLeg = Character["Left Leg"]
9+
10-
local RightLeg = Character["Right Leg"]
10+
--------UPDATE LIST------------
11-
local Head = Character.Head
11+
12-
local Torso = Character.Torso
12+
13-
local Camera = game.Workspace.CurrentCamera
13+
14-
local RootPart = Character.HumanoidRootPart
14+
--9-22-2017 Update---
15-
local RootJoint = RootPart.RootJoint
15+
--Added Handcuffs(Acessory)
16-
local attack = false
16+
--Added Glock 17(Secondery)
17-
local Anim = 'Idle'
17+
--Added M1911(Secondery)
18-
local attacktype = 1
18+
19-
local delays = false
19+
--9-14-2017 Update---
20-
local play = true
20+
--Added Golden Pistol(Secondery. Very Overpowered. Only use it to kill those stupid god mode skids)
21-
local targetted = nil
21+
--Added M4A1(Primary)
22-
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
22+
]]
23-
local velocity = RootPart.Velocity.y
23+
24-
local sine = 0
24+
currentclothing = "Apoc"
25-
local change = 1
25+
you = game.Players.LocalPlayer
26-
local doe = 0
26+
Character = you.Character
27-
local Create = LoadLibrary("RbxUtility").Create
27+
28-
Humanoid.WalkSpeed = 15
28+
29-
local m = Create("Model"){
29+
30-
	Parent = Character,
30+
----------------THE GUI-------------------
31-
	Name = "WeaponModel",
31+
-- Objects
32
33-
spawn(function()
33+
local ConfigMe = Instance.new("ScreenGui")
34-
	while wait() do
34+
local Frame = Instance.new("Frame")
35-
		Head.BrickColor = BrickColor.new("Institutional white")
35+
local Intro = Instance.new("TextLabel")
36-
		RightArm.BrickColor = BrickColor.new("Institutional white")
36+
local Whitelist = Instance.new("TextLabel")
37-
		LeftArm.BrickColor = BrickColor.new("Institutional white")
37+
local Primary = Instance.new("TextBox")
38-
		Torso.BrickColor = BrickColor.new("Institutional white")
38+
local TextLabel = Instance.new("TextLabel")
39-
		RightLeg.BrickColor = BrickColor.new("Institutional white")
39+
local TextLabel_2 = Instance.new("TextLabel")
40-
		LeftLeg.BrickColor = BrickColor.new("Mid gray")
40+
local Secondery = Instance.new("TextBox")
41-
        Customs = {
41+
local TextLabel_3 = Instance.new("TextLabel")
42-
                Face = "http://www.roblox.com/asset/?id=8560915";
42+
local Melee = Instance.new("TextBox")
43-
                Shirt = "http://www.roblox.com/asset/?id=334781688";
43+
local Ready = Instance.new("TextButton")
44-
                Pants = "http://www.roblox.com/asset/?id=335237283";
44+
local TextLabel_4 = Instance.new("TextLabel")
45-
        }
45+
local TextLabel_5 = Instance.new("TextLabel")
46
local TextLabel_6 = Instance.new("TextLabel")
47
local Acessory1 = Instance.new("TextBox")
48-
for i,v in pairs(Character:children()) do
48+
local Acessory2 = Instance.new("TextBox")
49-
    if v:IsA("Hat") then
49+
local Throwable = Instance.new("TextBox")
50-
        v:Destroy()
50+
local TextLabel_7 = Instance.new("TextLabel")
51-
    end
51+
local Error = Instance.new("TextLabel")
52
local ClothingFrame = Instance.new("Frame")
53-
for i,v in pairs(Character:children()) do
53+
local TextLabel_8 = Instance.new("TextLabel")
54-
    if v:IsA("Accessory") then
54+
local Apoc = Instance.new("TextButton")
55-
        v:Destroy()
55+
local Current = Instance.new("TextLabel")
56-
    end
56+
local Keep = Instance.new("TextButton")
57
local Australia = Instance.new("TextButton")
58-
for i,v in pairs(Character:children()) do
58+
local Roblox = Instance.new("TextButton")
59-
    if v:IsA("Hair") then
59+
local SWAT = Instance.new("TextButton")
60-
        v:Destroy()
60+
local NYPD = Instance.new("TextButton")
61-
    end
61+
62
-- Properties
63
64-
Humanoid.Animator.Parent = nil
64+
ConfigMe.Name = "ConfigMe"
65-
Character.Animate.Parent = nil
65+
ConfigMe.Parent = you.PlayerGui
66
67-
local newMotor = function(part0, part1, c0, c1)
67+
Frame.Parent = ConfigMe
68-
	local w = Create('Motor'){
68+
Frame.BackgroundColor3 = Color3.new(1, 1, 1)
69-
		Parent = part0,
69+
Frame.BackgroundTransparency = 0.69999998807907
70-
		Part0 = part0,
70+
Frame.Position = UDim2.new(0.259067357, 0, 0.134969324, 0)
71-
		Part1 = part1,
71+
Frame.Size = UDim2.new(0.48852703, 0, 0.68865031, 0)
72-
		C0 = c0,
72+
73-
		C1 = c1,
73+
Intro.Name = "Intro"
74
Intro.Parent = Frame
75-
	return w
75+
Intro.BackgroundColor3 = Color3.new(1, 1, 1)
76
Intro.BackgroundTransparency = 1
77
Intro.Size = UDim2.new(1, 0, 0.0902777761, 0)
78-
function clerp(a, b, t)
78+
Intro.Font = Enum.Font.Bodoni
79-
	return a:lerp(b, t)
79+
Intro.FontSize = Enum.FontSize.Size14
80
Intro.Text = "Welcome To Police Officer Sim 2018!"
81
Intro.TextColor3 = Color3.new(0, 0.333333, 1)
82-
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
82+
Intro.TextScaled = true
83-
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
83+
Intro.TextSize = 14
84
Intro.TextWrapped = true
85-
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) 
85+
86-
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
86+
Whitelist.Name = "Whitelist"
87-
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
87+
Whitelist.Parent = Frame
88-
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
88+
Whitelist.BackgroundColor3 = Color3.new(1, 1, 1)
89-
RootJoint.C1 = CFrame.new(0, 0, 0)
89+
Whitelist.BackgroundTransparency = 1
90-
RootJoint.C0 = CFrame.new(0, 0, 0)
90+
Whitelist.Position = UDim2.new(0, 0, 0.905092597, 0)
91-
Torso.Neck.C1 = CFrame.new(0, 0, 0)
91+
Whitelist.Size = UDim2.new(1, 0, 0.0902777761, 0)
92-
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
92+
Whitelist.Font = Enum.Font.Highway
93
Whitelist.FontSize = Enum.FontSize.Size14
94-
local rarmc1 = RW.C1
94+
Whitelist.Text = "You Are Whitelisted. User: Player1"
95-
local larmc1 = LW.C1
95+
Whitelist.TextColor3 = Color3.new(0.333333, 0.666667, 0)
96-
local rlegc1 = RH.C1
96+
Whitelist.TextScaled = true
97-
local llegc1 = LH.C1
97+
Whitelist.TextSize = 14
98
Whitelist.TextWrapped = true
99-
local resetc1 = false
99+
100
Primary.Name = "Primary"
101-
function PlayAnimationFromTable(table, speed, bool)
101+
Primary.Parent = Frame
102-
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
102+
Primary.BackgroundColor3 = Color3.new(1, 1, 1)
103-
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
103+
Primary.Position = UDim2.new(0.00453514745, 0, 0.275462955, 0)
104-
	RW.C0 = clerp(RW.C0, table[3], speed) 
104+
Primary.Size = UDim2.new(0.290909082, 0, 0.0935412049, 0)
105-
	LW.C0 = clerp(LW.C0, table[4], speed) 
105+
Primary.Font = Enum.Font.SourceSans
106-
	RH.C0 = clerp(RH.C0, table[5], speed) 
106+
Primary.FontSize = Enum.FontSize.Size14
107-
	LH.C0 = clerp(LH.C0, table[6], speed) 
107+
Primary.Text = "M4A1"
108-
	if bool == true then
108+
Primary.TextScaled = true
109-
		if resetc1 == false then
109+
Primary.TextSize = 14
110-
			resetc1 = true
110+
Primary.TextWrapped = true
111-
			RootJoint.C1 = RootJoint.C1
111+
112-
			Torso.Neck.C1 = Torso.Neck.C1
112+
TextLabel.Parent = Frame
113-
			RW.C1 = rarmc1
113+
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
114-
			LW.C1 = larmc1
114+
TextLabel.BackgroundTransparency = 1
115-
			RH.C1 = rlegc1
115+
TextLabel.Position = UDim2.new(0.0075757578, 0, 0.213808462, 0)
116-
			LH.C1 = llegc1
116+
TextLabel.Size = UDim2.new(0.290909082, 0, 0.0556792878, 0)
117
TextLabel.Font = Enum.Font.SourceSans
118
TextLabel.FontSize = Enum.FontSize.Size14
119
TextLabel.Text = "Primary Weapon"
120
TextLabel.TextColor3 = Color3.new(0, 0, 0)
121-
ArtificialHB = Create("BindableEvent", script){
121+
TextLabel.TextScaled = true
122-
	Parent = script,
122+
TextLabel.TextSize = 14
123-
	Name = "Heartbeat",
123+
TextLabel.TextWrapped = true
124
125
TextLabel_2.Parent = Frame
126-
script:WaitForChild("Heartbeat")
126+
TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
127
TextLabel_2.BackgroundTransparency = 1
128-
frame = 1 / 30
128+
TextLabel_2.Position = UDim2.new(0.0075757578, 0, 0.385300666, 0)
129-
tf = 0
129+
TextLabel_2.Size = UDim2.new(0.291000009, 0, 0.0560000017, 0)
130-
allowframeloss = false
130+
TextLabel_2.Font = Enum.Font.SourceSans
131-
tossremainder = false
131+
TextLabel_2.FontSize = Enum.FontSize.Size14
132-
lastframe = tick()
132+
TextLabel_2.Text = "Secondery Weapon"
133-
script.Heartbeat:Fire()
133+
TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
134
TextLabel_2.TextScaled = true
135-
game:GetService("RunService").Heartbeat:connect(function(s, p)
135+
TextLabel_2.TextSize = 14
136-
	tf = tf + s
136+
TextLabel_2.TextWrapped = true
137-
	if tf >= frame then
137+
138-
		if allowframeloss then
138+
Secondery.Name = "Secondery"
139-
			script.Heartbeat:Fire()
139+
Secondery.Parent = Frame
140-
			lastframe = tick()
140+
Secondery.BackgroundColor3 = Color3.new(1, 1, 1)
141
Secondery.Position = UDim2.new(0.00453514745, 0, 0.451388896, 0)
142-
			for i = 1, math.floor(tf / frame) do
142+
Secondery.Size = UDim2.new(0.291000009, 0, 0.0939999968, 0)
143-
				script.Heartbeat:Fire()
143+
Secondery.Font = Enum.Font.SourceSans
144
Secondery.FontSize = Enum.FontSize.Size14
145-
			lastframe = tick()
145+
Secondery.Text = "Glock 17"
146
Secondery.TextScaled = true
147-
		if tossremainder then
147+
Secondery.TextSize = 14
148-
			tf = 0
148+
Secondery.TextWrapped = true
149
150-
			tf = tf - frame * math.floor(tf / frame)
150+
TextLabel_3.Parent = Frame
151
TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
152
TextLabel_3.BackgroundTransparency = 1
153
TextLabel_3.Position = UDim2.new(0.00151515147, 0, 0.559020042, 0)
154
TextLabel_3.Size = UDim2.new(0.291000009, 0, 0.0560000017, 0)
155-
function swait(num)
155+
TextLabel_3.Font = Enum.Font.SourceSans
156-
	if num == 0 or num == nil then
156+
TextLabel_3.FontSize = Enum.FontSize.Size14
157-
		ArtificialHB.Event:wait()
157+
TextLabel_3.Text = "Melee Weapon"
158
TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
159-
		for i = 0, num do
159+
TextLabel_3.TextScaled = true
160-
			ArtificialHB.Event:wait()
160+
TextLabel_3.TextSize = 14
161
TextLabel_3.TextWrapped = true
162
163
Melee.Name = "Melee"
164
Melee.Parent = Frame
165-
function RemoveOutlines(part)
165+
Melee.BackgroundColor3 = Color3.new(1, 1, 1)
166-
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
166+
Melee.Position = UDim2.new(0.00226757373, 0, 0.627314806, 0)
167
Melee.Size = UDim2.new(0.291000009, 0, 0.0939999968, 0)
168
Melee.Font = Enum.Font.SourceSans
169-
CFuncs = {	
169+
Melee.FontSize = Enum.FontSize.Size14
170-
	["Part"] = {
170+
Melee.Text = "Baton"
171-
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
171+
Melee.TextScaled = true
172-
			local Part = Create("Part"){
172+
Melee.TextSize = 14
173-
				Parent = Parent,
173+
Melee.TextWrapped = true
174-
				Reflectance = Reflectance,
174+
175-
				Transparency = Transparency,
175+
Ready.Name = "Ready"
176-
				CanCollide = false,
176+
Ready.Parent = Frame
177-
				Locked = true,
177+
Ready.BackgroundColor3 = Color3.new(1, 1, 1)
178-
				BrickColor = BrickColor.new(tostring(BColor)),
178+
Ready.BackgroundTransparency = 1
179-
				Name = Name,
179+
Ready.Position = UDim2.new(0.292517006, 0, 0.819444418, 0)
180-
				Size = Size,
180+
Ready.Size = UDim2.new(0.365079373, 0, 0.0949074104, 0)
181-
				Material = Material,
181+
Ready.Font = Enum.Font.SourceSans
182-
			}
182+
Ready.FontSize = Enum.FontSize.Size14
183-
			RemoveOutlines(Part)
183+
Ready.Text = "Ready?"
184-
			return Part
184+
Ready.TextColor3 = Color3.new(0, 1, 0)
185-
		end;
185+
Ready.TextScaled = true
186-
	};
186+
Ready.TextSize = 14
187
Ready.TextWrapped = true
188-
	["Mesh"] = {
188+
189-
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
189+
TextLabel_4.Parent = Frame
190-
			local Msh = Create(Mesh){
190+
TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
191-
				Parent = Part,
191+
TextLabel_4.BackgroundTransparency = 1
192-
				Offset = OffSet,
192+
TextLabel_4.Position = UDim2.new(0.304545462, 0, 0.216035634, 0)
193-
				Scale = Scale,
193+
TextLabel_4.Size = UDim2.new(0.290909082, 0, 0.0556792878, 0)
194-
			}
194+
TextLabel_4.Font = Enum.Font.SourceSans
195-
			if Mesh == "SpecialMesh" then
195+
TextLabel_4.FontSize = Enum.FontSize.Size14
196-
				Msh.MeshType = MeshType
196+
TextLabel_4.Text = "Acessory 1"
197-
				Msh.MeshId = MeshId
197+
TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
198
TextLabel_4.TextScaled = true
199-
			return Msh
199+
TextLabel_4.TextSize = 14
200-
		end;
200+
TextLabel_4.TextWrapped = true
201-
	};
201+
202
TextLabel_5.Parent = Frame
203-
	["Mesh"] = {
203+
TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
204-
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
204+
TextLabel_5.BackgroundTransparency = 1
205-
			local Msh = Create(Mesh){
205+
TextLabel_5.Position = UDim2.new(0.301515162, 0, 0.394209355, 0)
206-
				Parent = Part,
206+
TextLabel_5.Size = UDim2.new(0.290909082, 0, 0.0556792878, 0)
207-
				Offset = OffSet,
207+
TextLabel_5.Font = Enum.Font.SourceSans
208-
				Scale = Scale,
208+
TextLabel_5.FontSize = Enum.FontSize.Size14
209-
			}
209+
TextLabel_5.Text = "Acessory 2"
210-
			if Mesh == "SpecialMesh" then
210+
TextLabel_5.TextColor3 = Color3.new(0, 0, 0)
211-
				Msh.MeshType = MeshType
211+
TextLabel_5.TextScaled = true
212-
				Msh.MeshId = MeshId
212+
TextLabel_5.TextSize = 14
213
TextLabel_5.TextWrapped = true
214-
			return Msh
214+
215-
		end;
215+
TextLabel_6.Parent = Frame
216-
	};
216+
TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
217
TextLabel_6.BackgroundTransparency = 1
218-
	["Weld"] = {
218+
TextLabel_6.Position = UDim2.new(0.300000012, 0, 0.559020042, 0)
219-
		Create = function(Parent, Part0, Part1, C0, C1)
219+
TextLabel_6.Size = UDim2.new(0.290909082, 0, 0.0556792878, 0)
220-
			local Weld = Create("Weld"){
220+
TextLabel_6.Font = Enum.Font.SourceSans
221-
				Parent = Parent,
221+
TextLabel_6.FontSize = Enum.FontSize.Size14
222-
				Part0 = Part0,
222+
TextLabel_6.Text = "Throwable"
223-
				Part1 = Part1,
223+
TextLabel_6.TextColor3 = Color3.new(0, 0, 0)
224-
				C0 = C0,
224+
TextLabel_6.TextScaled = true
225-
				C1 = C1,
225+
TextLabel_6.TextSize = 14
226-
			}
226+
TextLabel_6.TextWrapped = true
227-
			return Weld
227+
228-
		end;
228+
Acessory1.Name = "Acessory1"
229-
	};
229+
Acessory1.Parent = Frame
230
Acessory1.BackgroundColor3 = Color3.new(1, 1, 1)
231-
	["Sound"] = {
231+
Acessory1.Position = UDim2.new(0.303030312, 0, 0.280623615, 0)
232-
		Create = function(id, par, vol, pit) 
232+
Acessory1.Size = UDim2.new(0.290909082, 0, 0.0935412049, 0)
233-
			coroutine.resume(coroutine.create(function()
233+
Acessory1.Font = Enum.Font.SourceSans
234-
				local S = Create("Sound"){
234+
Acessory1.FontSize = Enum.FontSize.Size14
235-
					Volume = vol,
235+
Acessory1.Text = "Taser"
236-
					Pitch = pit or 1,
236+
Acessory1.TextScaled = true
237-
					SoundId = id,
237+
Acessory1.TextSize = 14
238-
					Parent = par or workspace,
238+
Acessory1.TextWrapped = true
239-
				}
239+
240-
				wait() 
240+
Acessory2.Name = "Acessory2"
241-
				S:play() 
241+
Acessory2.Parent = Frame
242-
				game:GetService("Debris"):AddItem(S, 6)
242+
Acessory2.BackgroundColor3 = Color3.new(1, 1, 1)
243-
			end))
243+
Acessory2.Position = UDim2.new(0.303030312, 0, 0.454342991, 0)
244-
		end;
244+
Acessory2.Size = UDim2.new(0.290909082, 0, 0.0935412049, 0)
245-
	};
245+
Acessory2.Font = Enum.Font.SourceSans
246
Acessory2.FontSize = Enum.FontSize.Size14
247-
	["ParticleEmitter"] = {
247+
Acessory2.Text = "Handcuffs"
248-
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
248+
Acessory2.TextScaled = true
249-
			local fp = Create("ParticleEmitter"){
249+
Acessory2.TextSize = 14
250-
				Parent = Parent,
250+
Acessory2.TextWrapped = true
251-
				Color = ColorSequence.new(Color1, Color2),
251+
252-
				LightEmission = LightEmission,
252+
Throwable.Name = "Throwable"
253-
				Size = Size,
253+
Throwable.Parent = Frame
254-
				Texture = Texture,
254+
Throwable.BackgroundColor3 = Color3.new(1, 1, 1)
255-
				Transparency = Transparency,
255+
Throwable.Position = UDim2.new(0.300000012, 0, 0.628062367, 0)
256-
				ZOffset = ZOffset,
256+
Throwable.Size = UDim2.new(0.290909082, 0, 0.0935412049, 0)
257-
				Acceleration = Accel,
257+
Throwable.Font = Enum.Font.SourceSans
258-
				Drag = Drag,
258+
Throwable.FontSize = Enum.FontSize.Size14
259-
				LockedToPart = LockedToPart,
259+
Throwable.Text = "Grenade"
260-
				VelocityInheritance = VelocityInheritance,
260+
Throwable.TextScaled = true
261-
				EmissionDirection = EmissionDirection,
261+
Throwable.TextSize = 14
262-
				Enabled = Enabled,
262+
Throwable.TextWrapped = true
263-
				Lifetime = LifeTime,
263+
264-
				Rate = Rate,
264+
TextLabel_7.Parent = Frame
265-
				Rotation = Rotation,
265+
TextLabel_7.BackgroundColor3 = Color3.new(1, 1, 1)
266-
				RotSpeed = RotSpeed,
266+
TextLabel_7.BackgroundTransparency = 1
267-
				Speed = Speed,
267+
TextLabel_7.Position = UDim2.new(0.0212121215, 0, 0.106904231, 0)
268-
				VelocitySpread = VelocitySpread,
268+
TextLabel_7.Size = UDim2.new(0.909090936, 0, 0.0824053437, 0)
269-
			}
269+
TextLabel_7.Font = Enum.Font.Arcade
270-
			return fp
270+
TextLabel_7.FontSize = Enum.FontSize.Size14
271-
		end;
271+
TextLabel_7.Text = "Equipment"
272-
	};
272+
TextLabel_7.TextColor3 = Color3.new(1, 0.666667, 0)
273
TextLabel_7.TextScaled = true
274-
	CreateTemplate = {
274+
TextLabel_7.TextSize = 14
275
TextLabel_7.TextWrapped = true
276-
	};
276+
277
Error.Name = "Error"
278
Error.Parent = Frame
279
Error.BackgroundColor3 = Color3.new(1, 1, 1)
280
Error.BackgroundTransparency = 1
281-
New = function(Object, Parent, Name, Data)
281+
Error.Position = UDim2.new(0.0333333351, 0, 0.73942095, 0)
282-
	local Object = Instance.new(Object)
282+
Error.Size = UDim2.new(0.909090936, 0, 0.0824053437, 0)
283-
	for Index, Value in pairs(Data or {}) do
283+
Error.Font = Enum.Font.SourceSansBold
284-
		Object[Index] = Value
284+
Error.FontSize = Enum.FontSize.Size14
285
Error.Text = ""
286-
	Object.Parent = Parent
286+
Error.TextColor3 = Color3.new(1, 0, 0)
287-
	Object.Name = Name
287+
Error.TextScaled = true
288-
	return Object
288+
Error.TextSize = 14
289
Error.TextWrapped = true
290
291-
Handle = New("Part",m,"Handle",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
291+
ClothingFrame.Name = "ClothingFrame"
292-
moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
292+
ClothingFrame.Parent = Frame
293-
Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
293+
ClothingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
294-
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
294+
ClothingFrame.Position = UDim2.new(0.609090924, 0, 0.138307357, 0)
295-
mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
295+
ClothingFrame.Size = UDim2.new(0.351515144, 0, 0.583518922, 0)
296-
Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
296+
297-
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
297+
TextLabel_8.Parent = ClothingFrame
298-
mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
298+
TextLabel_8.BackgroundColor3 = Color3.new(1, 1, 1)
299-
Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
299+
TextLabel_8.BackgroundTransparency = 1
300-
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
300+
TextLabel_8.Position = UDim2.new(0.0172413792, 0, 0.0190839693, 0)
301-
mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
301+
TextLabel_8.Size = UDim2.new(0.965517223, 0, 0.0954198465, 0)
302-
Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
302+
TextLabel_8.Font = Enum.Font.SourceSans
303-
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
303+
TextLabel_8.FontSize = Enum.FontSize.Size14
304-
mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
304+
TextLabel_8.Text = "Clothing Presets"
305-
Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
305+
TextLabel_8.TextColor3 = Color3.new(0, 0, 0)
306-
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
306+
TextLabel_8.TextScaled = true
307-
mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
307+
TextLabel_8.TextSize = 14
308-
Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
308+
TextLabel_8.TextWrapped = true
309-
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
309+
310-
mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
310+
Apoc.Name = "Apoc"
311-
Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
311+
Apoc.Parent = ClothingFrame
312-
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
312+
Apoc.BackgroundColor3 = Color3.new(0, 0, 0)
313-
mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
313+
Apoc.Position = UDim2.new(0.0129310349, 0, 0.148854956, 0)
314-
Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Yellow"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
314+
Apoc.Size = UDim2.new(0.974137902, 0, 0.0877862573, 0)
315-
Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
315+
Apoc.Font = Enum.Font.SourceSans
316-
mot = New("Weld",Partss,"mot",{Part0 = Partss,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
316+
Apoc.FontSize = Enum.FontSize.Size14
317-
Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
317+
Apoc.Text = "Apoc"
318-
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
318+
Apoc.TextColor3 = Color3.new(0, 1, 0)
319-
mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
319+
Apoc.TextScaled = true
320-
Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
320+
Apoc.TextSize = 14
321-
mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
321+
Apoc.TextWrapped = true
322-
Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
322+
323-
mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
323+
Current.Name = "Current"
324-
Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
324+
Current.Parent = ClothingFrame
325-
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
325+
Current.BackgroundColor3 = Color3.new(1, 1, 1)
326-
mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
326+
Current.BackgroundTransparency = 1
327-
Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
327+
Current.Position = UDim2.new(0.0215517245, 0, 0.893129766, 0)
328-
Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
328+
Current.Size = UDim2.new(0.965517223, 0, 0.0954198465, 0)
329-
mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
329+
Current.Font = Enum.Font.SourceSans
330-
Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
330+
Current.FontSize = Enum.FontSize.Size14
331-
Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
331+
Current.Text = "Currlently Picked: Apoc"
332-
mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
332+
Current.TextColor3 = Color3.new(0, 0, 0)
333-
Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
333+
Current.TextScaled = true
334-
Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
334+
Current.TextSize = 14
335-
mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
335+
Current.TextWrapped = true
336-
Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
336+
337-
Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
337+
Keep.Name = "Keep"
338-
mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
338+
Keep.Parent = ClothingFrame
339-
Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
339+
Keep.BackgroundColor3 = Color3.new(0, 0, 0)
340-
Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
340+
Keep.Position = UDim2.new(0.0172413792, 0, 0.786259532, 0)
341-
mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
341+
Keep.Size = UDim2.new(0.974137902, 0, 0.0877862573, 0)
342-
Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
342+
Keep.Font = Enum.Font.SourceSans
343-
Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
343+
Keep.FontSize = Enum.FontSize.Size14
344-
mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
344+
Keep.Text = "Keep Clothing"
345-
Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
345+
Keep.TextColor3 = Color3.new(0, 1, 0)
346-
Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
346+
Keep.TextScaled = true
347-
mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
347+
Keep.TextSize = 14
348-
Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
348+
Keep.TextWrapped = true
349-
Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
349+
350-
mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
350+
Australia.Name = "Australia"
351-
Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
351+
Australia.Parent = ClothingFrame
352-
Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
352+
Australia.BackgroundColor3 = Color3.new(0, 0, 0)
353-
mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
353+
Australia.Position = UDim2.new(0.0129310349, 0, 0.270992368, 0)
354
Australia.Size = UDim2.new(0.974137902, 0, 0.0877862573, 0)
355-
for _,v in pairs(m:children()) do
355+
Australia.Font = Enum.Font.SourceSans
356-
if v:IsA("Part") then
356+
Australia.FontSize = Enum.FontSize.Size14
357-
v.CanCollide = false
357+
Australia.Text = "Australia"
358
Australia.TextColor3 = Color3.new(0, 1, 0)
359
Australia.TextScaled = true
360-
for _,v in pairs(m:children()) do
360+
Australia.TextSize = 14
361-
if v:IsA("Part") then
361+
Australia.TextWrapped = true
362-
v.Material = "Neon"
362+
363
Roblox.Name = "Roblox"
364
Roblox.Parent = ClothingFrame
365-
spawn(function()
365+
Roblox.BackgroundColor3 = Color3.new(0, 0, 0)
366-
while wait() do
366+
Roblox.Position = UDim2.new(0.0129310349, 0, 0.667938948, 0)
367-
for _,v in pairs(m:children()) do
367+
Roblox.Size = UDim2.new(0.974137902, 0, 0.0877862573, 0)
368-
if v:IsA("Part") then
368+
Roblox.Font = Enum.Font.SourceSans
369-
v.BrickColor=BrickColor.random()
369+
Roblox.FontSize = Enum.FontSize.Size14
370
Roblox.Text = "Roblox's Default"
371
Roblox.TextColor3 = Color3.new(0, 1, 0)
372
Roblox.TextScaled = true
373
Roblox.TextSize = 14
374
Roblox.TextWrapped = true
375
376-
function rayCast(Position, Direction, Range, Ignore)
376+
SWAT.Name = "SWAT"
377-
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
377+
SWAT.Parent = ClothingFrame
378-
end 
378+
SWAT.BackgroundColor3 = Color3.new(0, 0, 0)
379
SWAT.Position = UDim2.new(0.0129310349, 0, 0.538167953, 0)
380-
--[[FindNearestTorso = function(pos)
380+
SWAT.Size = UDim2.new(0.974137902, 0, 0.0877862573, 0)
381-
	local list = (game.Workspace:children())
381+
SWAT.Font = Enum.Font.SourceSans
382-
	local torso = nil
382+
SWAT.FontSize = Enum.FontSize.Size14
383-
	local dist = 1000
383+
SWAT.Text = "SWAT"
384-
	local temp, human, temp2 = nil, nil, nil
384+
SWAT.TextColor3 = Color3.new(0, 1, 0)
385-
	for x = 1, #list do
385+
SWAT.TextScaled = true
386-
		temp2 = list[x]
386+
SWAT.TextSize = 14
387-
		if temp2.className == "Model" and temp2.Name ~= Character.Name then
387+
SWAT.TextWrapped = true
388-
			temp = temp2:findFirstChild("Torso")
388+
389-
			human = temp2:findFirstChild("Humanoid")
389+
NYPD.Name = "NYPD"
390-
			if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
390+
NYPD.Parent = ClothingFrame
391-
				local dohit = true
391+
NYPD.BackgroundColor3 = Color3.new(0, 0, 0)
392-
				if dohit == true then
392+
NYPD.Position = UDim2.new(0.0172413792, 0, 0.408396959, 0)
393-
					torso = temp
393+
NYPD.Size = UDim2.new(0.974137902, 0, 0.0877862573, 0)
394-
					dist = (temp.Position - pos).magnitude
394+
NYPD.Font = Enum.Font.SourceSans
395
NYPD.FontSize = Enum.FontSize.Size14
396
NYPD.Text = "NYPD"
397
NYPD.TextColor3 = Color3.new(0, 1, 0)
398
NYPD.TextScaled = true
399-
	return torso, dist
399+
NYPD.TextSize = 14
400-
end]]
400+
NYPD.TextWrapped = true
401-
function FindNearestTorso(Position, Distance, SinglePlayer)
401+
402-
	if SinglePlayer then
402+
403-
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
403+
----------ANTI SCRIPT LOGGING--------
404
if you:IsFriendsWith(65006475) then
405-
	local List = {}
405+
	Whitelist.Text = "You Are Whitelisted. User: "..you.Name
406-
	for i, v in pairs(workspace:GetChildren()) do
406+
	print(you.Name.." Is Whitelisted")
407-
		if v:IsA("Model") then
407+
408-
			if v:findFirstChild("Torso") then
408+
	Ready:Destroy()
409-
				if v ~= Character then
409+
	Whitelist.Text = "You Are NOT Whitelisted. User: "..you.Name
410-
					if (v.Torso.Position - Position).magnitude <= Distance then
410+
	Whitelist.TextColor3 = Color3.new(255, 0,0)
411-
						table.insert(List, v)
411+
	Error.Text = "Please buy a whitelist here: roblox.com/library/1046169249/Police-Sim-2018-Whitelist "
412-
					end 
412+
	warn(you.Name.." Is NOT Whitelisted")
413-
				end 
413+
414-
			end 
414+
415-
		end 
415+
------------DONE-------------
416
417-
	return List
417+
418
-----------GIVE WEAPONS AND REPLACE CLOTHING--------
419-
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
419+
420-
	if hit.Parent == nil then
420+
function givetools()
421
	print("Giving Tools")
422
	Error.Text = ""
423-
	local h = hit.Parent:FindFirstChild("Humanoid")
423+
	if Primary.Text == "P90" then
424-
	for _, v in pairs(hit.Parent:children()) do
424+
		SpawnP90()
425-
		if v:IsA("Humanoid") then
425+
	elseif Primary.Text == "M4A1" then
426-
			h = v
426+
		SpawnM4A1()
427
		else
428
		Error.Text = Primary.Text.." is not a valid primary weapon"
429-
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
429+
430-
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
430+
431-
			if hit.Parent.DebounceHit.Value == true then
431+
	if Secondery.Text == "M1911" or Secondery.Text == "1911" then
432
		Spawn1911()
433
	elseif Secondery.Text == "Glock 17" or Secondery == "G17" then
434
		SpawnG17()
435-
		local c = Create("ObjectValue"){
435+
	elseif Secondery.Text == "Golden Gun" or Secondery.Text == "Golden Pistol" or Secondery.Text == "Gold Pistol" or Secondery.Text == "Gold Gun" then
436-
			Name = "creator",
436+
		SpawnGoldenPistol()
437-
			Value = game:service("Players").LocalPlayer,
437+
438-
			Parent = h,
438+
		Error.Text = Secondery.Text.." is not a valid secondery weapon"
439-
		}
439+
440-
		game:GetService("Debris"):AddItem(c, .5)
440+
441-
		if HitSound ~= nil and HitPitch ~= nil then
441+
	if Throwable.Text == "Grenade" then
442-
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
442+
		SpawnGrenade()
443
	elseif Throwable.Text == "Flashbang" or Throwable.Text == "Smoke" then
444-
		local Damage = math.random(minim, maxim)
444+
		SpawnFlashbang()
445-
		local blocked = false
445+
	elseif Throwable.Text == "Phone Bomb" or Throwable.Text == "Phone" then
446-
		local block = hit.Parent:findFirstChild("Block")
446+
		SpawnPhoneBomb()
447-
		if block ~= nil then
447+
448-
			if block.className == "IntValue" then
448+
		Error.Text = Throwable.Text.." is not a valid throwable weapon"
449-
				if block.Value > 0 then
449+
450-
					blocked = true
450+
451-
					block.Value = block.Value - 1
451+
	if Acessory1.Text == "Taser" or Acessory2.Text == "Taser" then
452-
					print(block.Value)
452+
		SpawnTaser()
453
		end
454
	if Acessory1.Text == "Handcuffs" or Acessory2.Text == "Handcuffs" then
455
		SpawnArrest()
456-
		if blocked == false then
456+
457-
			h.Health = h.Health - Damage
457+
458-
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
458+
459
	
460-
			h.Health = h.Health - (Damage / 2)
460+
	if currentclothing == "Apoc" then
461-
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
461+
		local basetemplate = "http://www.roblox.com/asset/?id=" -- Shirt And Pants editing/adding
462
local shirt = 132601069
463-
		if Type == "Knockdown" then
463+
local pants = 132601229
464-
			local hum = hit.Parent.Humanoid
464+
wait(0.5) -- Required to not cause duplicated stuff
465-
			hum.PlatformStand = true
465+
local h = Character:findFirstChild("Shirt")
466-
			coroutine.resume(coroutine.create(function(HHumanoid)
466+
if h ~= nil then
467-
				swait(1)
467+
	h.ShirtTemplate = basetemplate..shirt
468-
				HHumanoid.PlatformStand = false
468+
469-
			end), hum)
469+
	local i = Instance.new("Shirt")
470-
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
470+
	i.Name = "Shirt"
471-
			local bodvol = Create("BodyVelocity"){
471+
	i.ShirtTemplate = basetemplate..shirt
472-
				velocity = angle * knockback,
472+
	i.Parent = Character
473-
				P = 5000,
473+
474-
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
474+
local p = Character:findFirstChild("Pants")
475-
				Parent = hit,
475+
if p ~= nil then
476-
			}
476+
p.PantsTemplate = basetemplate..pants
477-
			local rl = Create("BodyAngularVelocity"){
477+
478-
				P = 3000,
478+
	local np = Instance.new("Pants")
479-
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
479+
	np.PantsTemplate = basetemplate..pants
480-
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
480+
	np.Name = "Pants"
481-
				Parent = hit,
481+
	np.Parent = Character
482-
			}
482+
483-
			game:GetService("Debris"):AddItem(bodvol, .5)
483+
484-
			game:GetService("Debris"):AddItem(rl, .5)
484+
			if currentclothing == "Australia" then
485-
		elseif Type == "Normal" then
485+
		local basetemplate = "http://www.roblox.com/asset/?id=" -- Shirt And Pants editing/adding
486-
			local vp = Create("BodyVelocity"){
486+
local shirt = 189734370
487-
				P = 500,
487+
local pants = 171600563
488-
				maxForce = Vector3.new(math.huge, 0, math.huge),
488+
wait(0.5) -- Required to not cause duplicated stuff
489-
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
489+
local h = Character:findFirstChild("Shirt")
490-
			}
490+
if h ~= nil then
491-
			if knockback > 0 then
491+
	h.ShirtTemplate = basetemplate..shirt
492-
				vp.Parent = hit.Parent.Torso
492+
493
	local i = Instance.new("Shirt")
494-
			game:GetService("Debris"):AddItem(vp, .5)
494+
	i.Name = "Shirt"
495-
		elseif Type == "Up" then
495+
	i.ShirtTemplate = basetemplate..shirt
496-
			local bodyVelocity = Create("BodyVelocity"){
496+
	i.Parent = Character
497-
				velocity = Vector3.new(0, 20, 0),
497+
498-
				P = 5000,
498+
local p = Character:findFirstChild("Pants")
499-
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
499+
if p ~= nil then
500-
				Parent = hit,
500+
p.PantsTemplate = basetemplate..pants
501-
			}
501+
502-
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
502+
	local np = Instance.new("Pants")
503-
		elseif Type == "DarkUp" then
503+
	np.PantsTemplate = basetemplate..pants
504-
			coroutine.resume(coroutine.create(function()
504+
	np.Name = "Pants"
505-
				for i = 0, 1, 0.1 do
505+
	np.Parent = Character
506-
					swait()
506+
507-
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
507+
508
				if currentclothing == "NYPD" then
509-
			end))
509+
		local basetemplate = "http://www.roblox.com/asset/?id=" -- Shirt And Pants editing/adding
510-
			local bodyVelocity = Create("BodyVelocity"){
510+
local shirt = 851646372
511-
				velocity = Vector3.new(0, 20, 0),
511+
local pants = 851646802
512-
				P = 5000,
512+
wait(0.5) -- Required to not cause duplicated stuff
513-
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
513+
local h = Character:findFirstChild("Shirt")
514-
				Parent = hit,
514+
if h ~= nil then
515-
			}
515+
	h.ShirtTemplate = basetemplate..shirt
516-
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
516+
517-
		elseif Type == "Snare" then
517+
	local i = Instance.new("Shirt")
518-
			local bp = Create("BodyPosition"){
518+
	i.Name = "Shirt"
519-
				P = 2000,
519+
	i.ShirtTemplate = basetemplate..shirt
520-
				D = 100,
520+
	i.Parent = Character
521-
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
521+
522-
				position = hit.Parent.Torso.Position,
522+
local p = Character:findFirstChild("Pants")
523-
				Parent = hit.Parent.Torso,
523+
if p ~= nil then
524-
			}
524+
p.PantsTemplate = basetemplate..pants
525-
			game:GetService("Debris"):AddItem(bp, 1)
525+
526-
		elseif Type == "Freeze" then
526+
	local np = Instance.new("Pants")
527-
			local BodPos = Create("BodyPosition"){
527+
	np.PantsTemplate = basetemplate..pants
528-
				P = 50000,
528+
	np.Name = "Pants"
529-
				D = 1000,
529+
	np.Parent = Character
530-
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
530+
531-
				position = hit.Parent.Torso.Position,
531+
532-
				Parent = hit.Parent.Torso,
532+
					if currentclothing == "SWAT" then
533-
			}
533+
		local basetemplate = "http://www.roblox.com/asset/?id=" -- Shirt And Pants editing/adding
534-
			local BodGy = Create("BodyGyro") {
534+
local shirt = 165359778
535-
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
535+
local pants = 165359806
536-
				P = 20e+003,
536+
wait(0.5) -- Required to not cause duplicated stuff
537-
				Parent = hit.Parent.Torso,
537+
local h = Character:findFirstChild("Shirt")
538-
				cframe = hit.Parent.Torso.CFrame,
538+
if h ~= nil then
539-
			}
539+
	h.ShirtTemplate = basetemplate..shirt
540-
			hit.Parent.Torso.Anchored = true
540+
541-
			coroutine.resume(coroutine.create(function(Part) 
541+
	local i = Instance.new("Shirt")
542-
				swait(1.5)
542+
	i.Name = "Shirt"
543-
				Part.Anchored = false
543+
	i.ShirtTemplate = basetemplate..shirt
544-
			end), hit.Parent.Torso)
544+
	i.Parent = Character
545-
			game:GetService("Debris"):AddItem(BodPos, 3)
545+
546-
			game:GetService("Debris"):AddItem(BodGy, 3)
546+
local p = Character:findFirstChild("Pants")
547
if p ~= nil then
548-
		local debounce = Create("BoolValue"){
548+
p.PantsTemplate = basetemplate..pants
549-
			Name = "DebounceHit",
549+
550-
			Parent = hit.Parent,
550+
	local np = Instance.new("Pants")
551-
			Value = true,
551+
	np.PantsTemplate = basetemplate..pants
552-
		}
552+
	np.Name = "Pants"
553-
		game:GetService("Debris"):AddItem(debounce, Delay)
553+
	np.Parent = Character
554-
		c = Create("ObjectValue"){
554+
555-
			Name = "creator",
555+
556-
			Value = Player,
556+
						if currentclothing == "Roblox" then
557-
			Parent = h,
557+
		local basetemplate = "http://www.roblox.com/asset/?id=" -- Shirt And Pants editing/adding
558-
		}
558+
local shirt = 842718865
559-
		game:GetService("Debris"):AddItem(c, .5)
559+
local pants = 851415944
560
wait(0.5) -- Required to not cause duplicated stuff
561
local h = Character:findFirstChild("Shirt")
562
if h ~= nil then
563-
function ShowDamage(Pos, Text, Time, Color)
563+
	h.ShirtTemplate = basetemplate..shirt
564-
	local Rate = (1 / 30)
564+
565-
	local Pos = (Pos or Vector3.new(0, 0, 0))
565+
	local i = Instance.new("Shirt")
566-
	local Text = (Text or "")
566+
	i.Name = "Shirt"
567-
	local Time = (Time or 2)
567+
	i.ShirtTemplate = basetemplate..shirt
568-
	local Color = (Color or Color3.new(1, 0, 1))
568+
	i.Parent = Character
569-
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
569+
570-
	EffectPart.Anchored = true
570+
local p = Character:findFirstChild("Pants")
571-
	local BillboardGui = Create("BillboardGui"){
571+
if p ~= nil then
572-
		Size = UDim2.new(3, 0, 3, 0),
572+
p.PantsTemplate = basetemplate..pants
573-
		Adornee = EffectPart,
573+
574-
		Parent = EffectPart,
574+
	local np = Instance.new("Pants")
575
	np.PantsTemplate = basetemplate..pants
576-
	local TextLabel = Create("TextLabel"){
576+
	np.Name = "Pants"
577-
		BackgroundTransparency = 1,
577+
	np.Parent = Character
578-
		Size = UDim2.new(1, 0, 1, 0),
578+
579-
		Text = Text,
579+
580-
		Font = "SciFi",
580+
	if Error.Text == "" then
581-
		TextColor3 = Color,
581+
		ConfigMe:Remove()
582-
		TextScaled = true,
582+
583-
		Parent = BillboardGui,
583+
584
Ready.MouseButton1Click:connect(givetools)
585-
	game.Debris:AddItem(EffectPart, (Time))
585+
586-
	EffectPart.Parent = game:GetService("Workspace")
586+
function ap()
587
	currentclothing = "Apoc"
588-
		local Frames = (Time / Rate)
588+
	Current.Text = "Currlently Picked: "..currentclothing
589-
		for Frame = 1, Frames do
589+
590-
			wait(Rate)
590+
591-
			local Percent = (Frame / Frames)
591+
function au()
592-
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
592+
	currentclothing = "Australia"
593-
			TextLabel.TextTransparency = Percent
593+
	Current.Text = "Currlently Picked: "..currentclothing
594
end
595-
		if EffectPart and EffectPart.Parent then
595+
596-
			EffectPart:Destroy()
596+
function ny()
597
	currentclothing = "NYPD"
598
	Current.Text = "Currlently Picked: "..currentclothing
599
end
600
601-
function dmg(dude)
601+
function sw()
602-
if dude.Name ~= Character then
602+
	currentclothing = "SWAT"
603-
dude.Humanoid.PlatformStand = true
603+
	Current.Text = "Currlently Picked: "..currentclothing
604-
local bgf = Instance.new("BodyGyro",dude.Head)
604+
605-
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
605+
606-
local val = Instance.new("BoolValue",dude)
606+
function rblx()
607-
val.Name = "IsHit"
607+
	currentclothing = "Roblox"
608-
for i = 1, 6 do
608+
	Current.Text = "Currlently Picked: "..currentclothing
609-
local blo = Instance.new("Part",game.Workspace)
609+
610-
blo.Size = Vector3.new(.6,.2,.6)
610+
611-
blo.Material = "Neon"
611+
function keepclothing()
612-
blo.BrickColor = BrickColor.new("Crimson")
612+
	currentclothing = "Keep Clothing"
613-
--blo.Position = dude.Head.Position
613+
	Current.Text = "Currlently Picked: "..currentclothing
614-
blo.CFrame = dude.Head.CFrame
614+
615-
game:GetService("Debris"):AddItem(blo,30)
615+
616
617-
local ds = coroutine.wrap(function()
617+
Apoc.MouseButton1Click:connect(ap)
618-
wait(.2)
618+
Australia.MouseButton1Click:connect(au)
619-
dude.Torso:BreakJoints()
619+
NYPD.MouseButton1Click:connect(ny)
620
SWAT.MouseButton1Click:connect(sw)
621-
ds()
621+
Roblox.MouseButton1Click:connect(rblx)
622
Keep.MouseButton1Click:connect(keepclothing)
623
624
625-
function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
625+
626-
    --local buddy
626+
627-
	for _, c in pairs(workspace:children()) do
627+
--Functions!!!-------
628-
		local hum = c:findFirstChild("Humanoid")
628+
629-
		if hum ~= nil then
629+
630-
			local head = c:findFirstChild("Torso")
630+
function SpawnP90()
631-
			if head ~= nil then
631+
--Converted with ttyyuu12345's model to script plugin v4
632-
				local targ = head.Position - Part.Position
632+
function sandbox(var,func)
633-
				local mag = targ.magnitude
633+
	local env = getfenv(func)
634-
				if mag <= Magnitude and c.Name ~= Player.Name then 
634+
	local newenv = setmetatable({},{
635-
				if c.Name ~= Character then
635+
		__index = function(self,k)
636-
				if c.Name ~= "CKbackup" then
636+
			if k=="script" then
637-
			local asd = Instance.new("ParticleEmitter",c.Torso)
637+
				return var
638-
			asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
638+
			else
639-
			asd.LightEmission = .1
639+
				return env[k]
640-
			asd.Size = NumberSequence.new(0.2)
640+
641-
			asd.Texture = "http://www.roblox.com/asset/?ID=183711814"
641+
		end,
642-
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
642+
	})
643-
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
643+
	setfenv(func,newenv)
644-
			asd.Transparency = bbb
644+
	return func
645-
			asd.Size = aaa
645+
646-
			asd.ZOffset = .9
646+
cors = {}
647-
			asd.Acceleration = Vector3.new(0, -5, 0)
647+
mas = Instance.new("Model",game:GetService("Lighting"))
648-
			asd.LockedToPart = false
648+
Tool0 = Instance.new("Tool")
649-
			asd.EmissionDirection = "Back"
649+
Part1 = Instance.new("Part")
650-
			asd.Lifetime = NumberRange.new(1, 2)
650+
FileMesh2 = Instance.new("FileMesh")
651-
			asd.Rate = 1000
651+
Sound3 = Instance.new("Sound")
652-
			asd.Rotation = NumberRange.new(-100, 100)
652+
Sound4 = Instance.new("Sound")
653-
			asd.RotSpeed = NumberRange.new(-100, 100)
653+
Sound5 = Instance.new("Sound")
654-
			asd.Speed = NumberRange.new(6)
654+
Sound6 = Instance.new("Sound")
655-
			asd.VelocitySpread = 10000
655+
Sound7 = Instance.new("Sound")
656-
			asd.Enabled=true
656+
Part8 = Instance.new("Part")
657-
					--Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
657+
FileMesh9 = Instance.new("FileMesh")
658-
					dmg(c)
658+
Part10 = Instance.new("Part")
659-
					CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=836454385", c.Torso, 1.2, 1)
659+
FileMesh11 = Instance.new("FileMesh")
660-
					coroutine.wrap(function()
660+
Part12 = Instance.new("Part")
661-
					wait(.2)
661+
FileMesh13 = Instance.new("FileMesh")
662-
					asd.Enabled = false
662+
Part14 = Instance.new("Part")
663-
					wait(2)
663+
BlockMesh15 = Instance.new("BlockMesh")
664-
					asd:Remove()
664+
PointLight16 = Instance.new("PointLight")
665-
					end)()
665+
BillboardGui17 = Instance.new("BillboardGui")
666-
				       else
666+
ImageLabel18 = Instance.new("ImageLabel")
667-
        CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=836454385", c.Torso, 1.5, 1)		
667+
Script19 = Instance.new("Script")
668-
        Effects.Sphere.Create(BrickColor.random(), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
668+
Part20 = Instance.new("Part")
669
BlockMesh21 = Instance.new("BlockMesh")
670
LocalScript29 = Instance.new("LocalScript")
671
NumberValue30 = Instance.new("NumberValue")
672
NumberValue31 = Instance.new("NumberValue")
673
Smoke32 = Instance.new("Smoke")
674
Smoke33 = Instance.new("Smoke")
675
Smoke34 = Instance.new("Smoke")
676
ScreenGui35 = Instance.new("ScreenGui")
677-
EffectModel = Create("Model"){
677+
Frame36 = Instance.new("Frame")
678-
	Parent = Character,
678+
TextLabel37 = Instance.new("TextLabel")
679-
	Name = "Effects",
679+
TextLabel38 = Instance.new("TextLabel")
680
TextLabel39 = Instance.new("TextLabel")
681
TextLabel40 = Instance.new("TextLabel")
682-
Effects = {
682+
Tool0.Name = "P90"
683-
	Block = {
683+
Tool0.Parent = mas
684-
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
684+
Tool0.GripForward = Vector3.new(0, 0, 1)
685-
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
685+
Tool0.GripRight = Vector3.new(-0.99999994, 0, 0)
686-
			prt.Anchored = true
686+
Part1.Name = "Handle"
687-
			prt.CFrame = cframe
687+
Part1.Parent = Tool0
688-
			prt.Material = "Neon"
688+
Part1.Material = Enum.Material.Metal
689-
			local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
689+
Part1.Rotation = Vector3.new(-180, 0, -180)
690-
			game:GetService("Debris"):AddItem(prt, 10)
690+
Part1.Anchored = true
691-
			if Type == 1 or Type == nil then
691+
Part1.Size = Vector3.new(0.393000007, 1.48800004, 3.44199991)
692-
				table.insert(Effects, {
692+
Part1.CFrame = CFrame.new(-91.4020081, -8.42202759, -18.1459465, -1.00000262, 0, 0, 0, 1, 0, 0, 0, -1.00000262)
693-
					prt,
693+
Part1.Position = Vector3.new(-91.4020081, -8.42202759, -18.1459465)
694-
					"Block1",
694+
Part1.Orientation = Vector3.new(0, 180, 0)
695-
					delay,
695+
FileMesh2.Parent = Part1
696-
					x3,
696+
FileMesh2.MeshId = "rbxassetid://431269323"
697-
					y3,
697+
FileMesh2.Scale = Vector3.new(0.00200000009, 0.0022499999, 0.00200000009)
698-
					z3,
698+
FileMesh2.TextureId = "rbxassetid://431271935"
699-
					msh
699+
FileMesh2.Scale = Vector3.new(0.00200000009, 0.0022499999, 0.00200000009)
700-
				})
700+
Sound3.Name = "Shoot"
701-
			elseif Type == 2 then
701+
Sound3.Parent = Part1
702-
				table.insert(Effects, {
702+
Sound3.SoundId = "rbxassetid://131070686"
703-
					prt,
703+
Sound3.Volume = 1
704-
					"Block2",
704+
Sound4.Name = "Bolt"
705-
					delay,
705+
Sound4.Parent = Part1
706-
					x3,
706+
Sound4.SoundId = "http://roblox.com/asset/?id=166238161"
707-
					y3,
707+
Sound4.Volume = 0.20000000298023
708-
					z3,
708+
Sound5.Name = "Click"
709-
					msh
709+
Sound5.Parent = Part1
710-
				})
710+
Sound5.SoundId = "http://www.roblox.com/asset/?id=146501511"
711
Sound6.Name = "MagOut"
712-
		end;
712+
Sound6.Parent = Part1
713-
	};
713+
Sound6.Pitch = 1.3999999761581
714
Sound6.SoundId = "http://www.roblox.com/asset/?id=131045401"
715-
		Cylinder = {
715+
Sound7.Name = "MagIn"
716-
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
716+
Sound7.Parent = Part1
717-
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
717+
Sound7.Pitch = 1.3999999761581
718-
			prt.Anchored = true
718+
Sound7.SoundId = "http://www.roblox.com/asset/?id=131045429"
719-
			prt.Material = "Neon"
719+
Part8.Name = "Mag"
720-
			prt.CFrame = cframe
720+
Part8.Parent = Tool0
721-
			local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
721+
Part8.Rotation = Vector3.new(-180, 0, -180)
722-
			game:GetService("Debris"):AddItem(prt, 10)
722+
Part8.Anchored = true
723-
			table.insert(Effects, {
723+
Part8.CanCollide = false
724-
				prt,
724+
Part8.Size = Vector3.new(0.375999987, 0.211999997, 2.05900002)
725-
				"Cylinder",
725+
Part8.CFrame = CFrame.new(-91.4060059, -8.06302834, -18.5619469, -1, 0, 0, 0, 1, 0, 0, 0, -1)
726-
				delay,
726+
Part8.Position = Vector3.new(-91.4060059, -8.06302834, -18.5619469)
727-
				x3,
727+
Part8.Orientation = Vector3.new(0, 180, 0)
728-
				y3,
728+
FileMesh9.Parent = Part8
729-
				z3,
729+
FileMesh9.MeshId = "rbxassetid://431269405"
730-
				msh
730+
FileMesh9.Scale = Vector3.new(0.00200000009, 0.0022499999, 0.00200000009)
731-
			})
731+
FileMesh9.TextureId = "rbxassetid://431271935"
732-
		end;
732+
FileMesh9.Scale = Vector3.new(0.00200000009, 0.0022499999, 0.00200000009)
733-
	};
733+
Part10.Name = "Bolt"
734-
	Head = {
734+
Part10.Parent = Tool0
735-
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
735+
Part10.Rotation = Vector3.new(-180, 0, -180)
736-
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
736+
Part10.Anchored = true
737-
			prt.Anchored = true
737+
Part10.CanCollide = false
738-
			prt.Material = "Neon"
738+
Part10.Size = Vector3.new(0.432000011, 0.200000003, 1.023)
739-
			prt.CFrame = cframe
739+
Part10.CFrame = CFrame.new(-91.4250107, -8.3010273, -19.2610569, -1, 0, 0, 0, 1, 0, 0, 0, -1)
740-
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
740+
Part10.Position = Vector3.new(-91.4250107, -8.3010273, -19.2610569)
741-
			game:GetService("Debris"):AddItem(prt, 10)
741+
Part10.Orientation = Vector3.new(0, 180, 0)
742-
			table.insert(Effects, {
742+
FileMesh11.Parent = Part10
743-
				prt,
743+
FileMesh11.MeshId = "rbxassetid://431269367"
744-
				"Cylinder",
744+
FileMesh11.Scale = Vector3.new(0.00200000009, 0.0022499999, 0.00200000009)
745-
				delay,
745+
FileMesh11.TextureId = "rbxassetid://431271935"
746-
				x3,
746+
FileMesh11.Scale = Vector3.new(0.00200000009, 0.0022499999, 0.00200000009)
747-
				y3,
747+
Part12.Name = "Stuff"
748-
				z3,
748+
Part12.Parent = Tool0
749-
				msh
749+
Part12.Rotation = Vector3.new(-180, 0, -180)
750-
			})
750+
Part12.Anchored = true
751-
		end;
751+
Part12.CanCollide = false
752-
	};
752+
Part12.Size = Vector3.new(0.405999988, 1.28600001, 2.88400006)
753
Part12.CFrame = CFrame.new(-91.398407, -8.07502937, -18.842947, -1, 0, 0, 0, 1, 0, 0, 0, -1)
754-
	Sphere = {
754+
Part12.Position = Vector3.new(-91.398407, -8.07502937, -18.842947)
755-
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
755+
Part12.Orientation = Vector3.new(0, 180, 0)
756-
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
756+
FileMesh13.Parent = Part12
757-
			prt.Anchored = true
757+
FileMesh13.MeshId = "rbxassetid://431269262"
758-
			prt.Material = "Neon"
758+
FileMesh13.Scale = Vector3.new(0.00200000009, 0.0022499999, 0.00200000009)
759-
			prt.CFrame = cframe
759+
FileMesh13.TextureId = "rbxassetid://431271935"
760-
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
760+
FileMesh13.Scale = Vector3.new(0.00200000009, 0.0022499999, 0.00200000009)
761-
			game:GetService("Debris"):AddItem(prt, 10)
761+
Part14.Name = "SmokePart"
762-
			table.insert(Effects, {
762+
Part14.Parent = Tool0
763-
				prt,
763+
Part14.Material = Enum.Material.SmoothPlastic
764-
				"Cylinder",
764+
Part14.BrickColor = BrickColor.new("Dark stone grey")
765-
				delay,
765+
Part14.Transparency = 1
766-
				x3,
766+
Part14.Anchored = true
767-
				y3,
767+
Part14.CanCollide = false
768-
				z3,
768+
Part14.FormFactor = Enum.FormFactor.Custom
769-
				msh
769+
Part14.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
770-
			})
770+
Part14.CFrame = CFrame.new(-91.3676376, -8.27242851, -20.4089146, 1, 0, 0, 0, 1, 0, 0, 0, 1)
771-
		end;
771+
Part14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
772-
	};
772+
Part14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
773
Part14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
774-
	Elect = {
774+
Part14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
775-
		Create = function(cff, x, y, z)
775+
Part14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
776-
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
776+
Part14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
777-
			prt.Anchored = true
777+
Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
778-
			prt.Material = "Neon"
778+
Part14.Position = Vector3.new(-91.3676376, -8.27242851, -20.4089146)
779-
			prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
779+
Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
780-
			prt.CFrame = CFrame.new(prt.Position)
780+
BlockMesh15.Parent = Part14
781-
			game:GetService("Debris"):AddItem(prt, 2)
781+
BlockMesh15.Scale = Vector3.new(0.658373058, 0.658372879, 0.658373058)
782-
			local xval = math.random() / 2
782+
BlockMesh15.Scale = Vector3.new(0.658373058, 0.658372879, 0.658373058)
783-
			local yval = math.random() / 2
783+
PointLight16.Name = "Flash"
784-
			local zval = math.random() / 2
784+
PointLight16.Parent = Part14
785-
			local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
785+
PointLight16.Color = Color3.new(1, 0.666667, 0)
786-
			table.insert(Effects, {
786+
PointLight16.Enabled = false
787-
				prt,
787+
PointLight16.Brightness = 3
788-
				"Elec",
788+
PointLight16.Range = 10
789-
				0.1,
789+
PointLight16.Color = Color3.new(1, 0.666667, 0)
790-
				x,
790+
BillboardGui17.Name = "Light"
791-
				y,
791+
BillboardGui17.Parent = Part14
792-
				z,
792+
BillboardGui17.Size = UDim2.new(2.5, 0, 2.5, 0)
793-
				xval,
793+
BillboardGui17.Active = true
794-
				yval,
794+
ImageLabel18.Name = "Light"
795-
				zval
795+
ImageLabel18.Parent = BillboardGui17
796-
			})
796+
ImageLabel18.Transparency = 1
797-
		end;
797+
ImageLabel18.Size = UDim2.new(2, 0, 2, 0)
798
ImageLabel18.Position = UDim2.new(-0.5, 0, -0.5, 0)
799-
	};
799+
ImageLabel18.Active = true
800
ImageLabel18.Visible = false
801-
	Ring = {
801+
ImageLabel18.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
802-
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
802+
ImageLabel18.BackgroundTransparency = 1
803-
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
803+
ImageLabel18.Image = "http://www.roblox.com/asset/?id=68683102"
804-
			prt.Anchored = true
804+
Script19.Parent = BillboardGui17
805-
			prt.CFrame = cframe
805+
table.insert(cors,sandbox(Script19,function()
806-
			prt.Material = "Neon"
806+
script.Parent.Adornee = script.Parent.Parent
807-
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
807+
end))
808-
			game:GetService("Debris"):AddItem(prt, 10)
808+
Part20.Name = "AimPart"
809-
			table.insert(Effects, {
809+
Part20.Parent = Tool0
810-
				prt,
810+
Part20.Material = Enum.Material.SmoothPlastic
811-
				"Cylinder",
811+
Part20.BrickColor = BrickColor.new("Dark stone grey")
812-
				delay,
812+
Part20.Transparency = 1
813-
				x3,
813+
Part20.Anchored = true
814-
				y3,
814+
Part20.CanCollide = false
815-
				z3,
815+
Part20.FormFactor = Enum.FormFactor.Custom
816-
				msh
816+
Part20.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
817-
			})
817+
Part20.CFrame = CFrame.new(-91.4038239, -7.41953945, -17.7698975, 1, 0, 0, 0, 1, 0, 0, 0, 1)
818-
		end;
818+
Part20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
819-
	};
819+
Part20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
820
Part20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
821
Part20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
822-
	Wave = {
822+
Part20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
823-
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
823+
Part20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
824-
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
824+
Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
825-
			prt.Anchored = true
825+
Part20.Position = Vector3.new(-91.4038239, -7.41953945, -17.7698975)
826-
			prt.CFrame = cframe
826+
Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
827-
			prt.Material = "Neon"
827+
BlockMesh21.Parent = Part20
828-
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
828+
BlockMesh21.Scale = Vector3.new(0.141079962, 0.357402384, 0.141079962)
829-
			game:GetService("Debris"):AddItem(prt, 10)
829+
BlockMesh21.Scale = Vector3.new(0.141079962, 0.357402384, 0.141079962)
830-
			table.insert(Effects, {
830+
831-
				prt,
831+
--Gun Gui
832-
				"Cylinder",
832+
833-
				delay,
833+
-- Objects
834-
				x3,
834+
835-
				y3,
835+
local Gui = Instance.new("ScreenGui")
836-
				z3,
836+
local Frame = Instance.new("Frame")
837-
				msh
837+
local AmmoDisplay = Instance.new("TextLabel")
838-
			})
838+
local StoredAmmoDisplay = Instance.new("TextLabel")
839-
		end;
839+
local _000 = Instance.new("TextLabel")
840-
	};
840+
local _000_2 = Instance.new("TextLabel")
841
842-
	Break = {
842+
-- Properties
843-
		Create = function(brickcolor, cframe, x1, y1, z1)
843+
844-
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
844+
Gui.Name = "Gui"
845-
			prt.Anchored = true
845+
Gui.Parent = LocalScript29
846-
			prt.Material = "Neon"
846+
847-
			prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
847+
Frame.Parent = Gui
848-
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
848+
Frame.BackgroundColor3 = Color3.new(0, 0, 0)
849-
			local num = math.random(10, 50) / 1000
849+
Frame.BackgroundTransparency = 1
850-
			game:GetService("Debris"):AddItem(prt, 10)
850+
Frame.BorderColor3 = Color3.new(0.466667, 0.466667, 0.466667)
851-
			table.insert(Effects, {
851+
Frame.BorderSizePixel = 0
852-
				prt,
852+
Frame.Position = UDim2.new(0.125, -5, 1.14999998, -120)
853-
				"Shatter",
853+
Frame.Size = UDim2.new(-0.100000001, 0, -0.0399999991, 0)
854-
				num,
854+
Frame.SizeConstraint = Enum.SizeConstraint.RelativeXX
855-
				prt.CFrame,
855+
856-
				math.random() - math.random(),
856+
AmmoDisplay.Name = "AmmoDisplay"
857-
				0,
857+
AmmoDisplay.Parent = Frame
858-
				math.random(50, 100) / 100
858+
AmmoDisplay.BackgroundColor3 = Color3.new(0.501961, 0, 0)
859-
			})
859+
AmmoDisplay.BackgroundTransparency = 1
860-
		end;
860+
AmmoDisplay.Position = UDim2.new(-0.0599999987, 0, 0, 0)
861-
	};
861+
AmmoDisplay.Size = UDim2.new(0.540000021, 0, 1.25, 0)
862
AmmoDisplay.ZIndex = 2
863-
	Fire = {
863+
AmmoDisplay.Font = Enum.Font.SourceSansBold
864-
		Create = function(brickcolor, cframe, x1, y1, z1, delay)
864+
AmmoDisplay.FontSize = Enum.FontSize.Size36
865-
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
865+
AmmoDisplay.Text = "30"
866-
			prt.Anchored = true
866+
AmmoDisplay.TextColor3 = Color3.new(1, 1, 1)
867-
			prt.Material = "Neon"
867+
AmmoDisplay.TextScaled = true
868-
			prt.CFrame = cframe
868+
AmmoDisplay.TextSize = 36
869-
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
869+
AmmoDisplay.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
870-
			game:GetService("Debris"):AddItem(prt, 10)
870+
AmmoDisplay.TextWrapped = true
871-
			table.insert(Effects, {
871+
AmmoDisplay.TextXAlignment = Enum.TextXAlignment.Right
872-
				prt,
872+
873-
				"Fire",
873+
StoredAmmoDisplay.Name = "StoredAmmoDisplay"
874-
				delay,
874+
StoredAmmoDisplay.Parent = Frame
875-
				1,
875+
StoredAmmoDisplay.BackgroundColor3 = Color3.new(0.501961, 0, 0)
876-
				1,
876+
StoredAmmoDisplay.BackgroundTransparency = 1
877-
				1,
877+
StoredAmmoDisplay.Position = UDim2.new(0.419999987, 0, 0.25, 0)
878-
				msh
878+
StoredAmmoDisplay.Size = UDim2.new(0.550000012, 0, 0.75, 0)
879-
			})
879+
StoredAmmoDisplay.ZIndex = 2
880-
		end;
880+
StoredAmmoDisplay.Font = Enum.Font.SourceSans
881-
	};
881+
StoredAmmoDisplay.FontSize = Enum.FontSize.Size14
882
StoredAmmoDisplay.Text = "360"
883-
	FireWave = {
883+
StoredAmmoDisplay.TextColor3 = Color3.new(1, 1, 1)
884-
		Create = function(brickcolor, cframe, x1, y1, z1)
884+
StoredAmmoDisplay.TextScaled = true
885-
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
885+
StoredAmmoDisplay.TextSize = 14
886-
			prt.Anchored = true
886+
StoredAmmoDisplay.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
887-
			prt.CFrame = cframe
887+
StoredAmmoDisplay.TextWrapped = true
888-
			prt.Material = "Neon"
888+
StoredAmmoDisplay.TextXAlignment = Enum.TextXAlignment.Right
889-
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
889+
890-
			local d = Create("Decal"){
890+
_000.Name = "000"
891-
				Parent = prt,
891+
_000.Parent = Frame
892-
				Texture = "rbxassetid://26356434",
892+
_000.BackgroundColor3 = Color3.new(0.501961, 0, 0)
893-
				Face = "Top",
893+
_000.BackgroundTransparency = 1
894-
			}
894+
_000.Position = UDim2.new(0.419999987, 0, 0.25, 0)
895-
			local d = Create("Decal"){
895+
_000.Size = UDim2.new(0.550000012, 0, 0.75, 0)
896-
				Parent = prt,
896+
_000.ZIndex = 2
897-
				Texture = "rbxassetid://26356434",
897+
_000.Font = Enum.Font.SourceSans
898-
				Face = "Bottom",
898+
_000.FontSize = Enum.FontSize.Size14
899-
			}
899+
_000.Text = "000"
900-
			game:GetService("Debris"):AddItem(prt, 10)
900+
_000.TextColor3 = Color3.new(1, 1, 1)
901-
			table.insert(Effects, {
901+
_000.TextScaled = true
902-
				prt,
902+
_000.TextSize = 14
903-
				"FireWave",
903+
_000.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
904-
				1,
904+
_000.TextTransparency = 0.80000001192093
905-
				30,
905+
_000.TextWrapped = true
906-
				math.random(400, 600) / 100,
906+
_000.TextXAlignment = Enum.TextXAlignment.Right
907-
				msh
907+
908-
			})
908+
_000_2.Name = "000"
909-
		end;
909+
_000_2.Parent = Frame
910-
	};
910+
_000_2.BackgroundColor3 = Color3.new(0.501961, 0, 0)
911
_000_2.BackgroundTransparency = 1
912-
	Lightning = {
912+
_000_2.Position = UDim2.new(-0.25, 0, 0, 0)
913-
		Create = function(p0, p1, tym, ofs, col, th, tra, last)
913+
_000_2.Size = UDim2.new(0.75, 0, 1.25, 0)
914-
			local magz = (p0 - p1).magnitude
914+
_000_2.ZIndex = 2
915-
			local curpos = p0
915+
_000_2.Font = Enum.Font.SourceSansBold
916-
			local trz = {
916+
_000_2.FontSize = Enum.FontSize.Size48
917-
				-ofs,
917+
_000_2.Text = "000"
918-
				ofs
918+
_000_2.TextColor3 = Color3.new(1, 1, 1)
919-
			}
919+
_000_2.TextScaled = true
920-
			for i = 1, tym do
920+
_000_2.TextSize = 48
921-
				local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
921+
_000_2.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
922-
				local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
922+
_000_2.TextTransparency = 0.80000001192093
923-
				local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
923+
_000_2.TextWrapped = true
924-
				li.Material = "Neon"
924+
_000_2.TextXAlignment = Enum.TextXAlignment.Right
925-
				if tym == i then
925+
926-
					local magz2 = (curpos - p1).magnitude
926+
LocalScript29.Name = "Gun_Script"
927-
					li.Size = Vector3.new(th, th, magz2)
927+
LocalScript29.Parent = Tool0
928-
					li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
928+
table.insert(cors,sandbox(LocalScript29,function()
929-
					table.insert(Effects, {
929+
sp = script.Parent
930-
						li,
930+
931-
						"Disappear",
931+
Mesh = false -- If true will load BC 2.0 Arm meshes as well.
932-
						last
932+
Shirt = true -- If true will load the user's shirt to the arms as well
933-
					})
933+
934-
				else
934+
function onEquipped(mouse)
935-
					do
935+
	local Player = game:GetService("Players").LocalPlayer	
936-
						do
936+
	local Cam = game.Workspace.CurrentCamera
937-
							li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
937+
938-
							curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
938+
	local Arms = Instance.new("Model")
939-
							game.Debris:AddItem(li, 10)
939+
	Arms.Name = "Arms"
940-
							table.insert(Effects, {
940+
	Arms.Parent = Cam
941-
								li,
941+
942-
								"Disappear",
942+
	if Shirt == true then
943-
								last
943+
		local Humanoid = Instance.new("Humanoid")
944-
							})
944+
		Humanoid.MaxHealth = 0
945
		Humanoid.Health = 0
946
		Humanoid.Name = ""
947
		Humanoid.Parent = Arms
948
		
949
		local newShirt = Player.Character:FindFirstChild("Shirt"):clone()
950-
	};
950+
		newShirt.Parent = Arms
951
	else end
952-
	EffectTemplate = {
952+
953
	local RightArm = Player.Character:FindFirstChild("Right Arm"):clone()
954-
	};
954+
	RightArm.Name = "Right Arm"
955
	RightArm.Transparency = 0
956
	
957-
function chatfunc(text)
957+
	local w = Instance.new("Weld")
958-
local chat = coroutine.wrap(function()
958+
	w.Part0 = RightArm
959-
if Character:FindFirstChild("TalkingBillBoard")~= nil then
959+
	w.Part1 = Player.Character:FindFirstChild("Right Arm")
960-
Character:FindFirstChild("TalkingBillBoard"):destroy()
960+
	w.C0 = CFrame.new()
961
	w.C1 = CFrame.new()
962-
local naeeym2 = Instance.new("BillboardGui",Character)
962+
	w.Parent = RightArm	
963-
naeeym2.Size = UDim2.new(0,100,0,40)
963+
	RightArm.Parent = Arms
964-
naeeym2.StudsOffset = Vector3.new(0,3,0)
964+
		
965-
naeeym2.Adornee = Character.Head
965+
	local LeftArm = Player.Character:FindFirstChild("Left Arm"):clone()
966-
naeeym2.Name = "TalkingBillBoard"
966+
	LeftArm.Name = "Left Arm"
967-
local tecks2 = Instance.new("TextLabel",naeeym2)
967+
	LeftArm.Transparency = 0	
968-
tecks2.BackgroundTransparency = 1
968+
969-
tecks2.BorderSizePixel = 0
969+
	local w = Instance.new("Weld")
970-
tecks2.Text = ""
970+
	w.Part0 = LeftArm
971-
tecks2.Font = "Cartoon"
971+
	w.Part1 = Player.Character:FindFirstChild("Left Arm")
972-
tecks2.TextSize = 30
972+
	w.C0 = CFrame.new()
973-
tecks2.TextStrokeTransparency = 0
973+
	w.C1 = CFrame.new()
974-
tecks2.TextColor3 = Color3.new(.6,0,0)
974+
	w.Parent = LeftArm	
975-
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
975+
	LeftArm.Parent = Arms
976-
tecks2.Size = UDim2.new(1,0,0.5,0)
976+
977-
local tecks3 = Instance.new("TextLabel",naeeym2)
977+
	if Mesh ~= false then
978-
tecks3.BackgroundTransparency = 1
978+
		local LeftArmMesh = script:FindFirstChild("LeftArm")
979-
tecks3.BorderSizePixel = 0
979+
		LeftArmMesh.Parent = LeftArm
980-
tecks3.Text = ""
980+
		local RightArmMesh = script:FindFirstChild("RightArm")
981-
tecks3.Font = "Cartoon"
981+
		RightArmMesh.Parent = RightArm
982-
tecks3.TextSize = 30
982+
	else end
983-
tecks3.TextStrokeTransparency = 0
983+
				
984-
tecks3.TextColor3 = BrickColor.new("Hot white").Color
984+
985-
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
985+
986-
tecks3.Size = UDim2.new(1,0,0.5,0)
986+
function onUnequipped(mouse)
987-
spawn(function()
987+
	local Player = game:GetService("Players").LocalPlayer		
988-
	while wait() do
988+
	local Cam = game.Workspace.CurrentCamera
989-
		tecks3.TextColor3 = BrickColor.random().Color
989+
	for _, Model in pairs(Cam:GetChildren()) do
990-
		tecks2.TextColor3 = BrickColor.random().Color
990+
		if Model.Name == "Arms" then
991
			Model:remove()
992
		else end
993-
for i = 1,string.len(text),1 do
993+
994-
CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=178104975", Character, 1, 1)
994+
995-
tecks2.Text = string.sub(text,1,i)
995+
996-
tecks3.Text = string.sub(text,1,i)
996+
sp.Equipped:connect(onEquipped)
997-
wait(0.01)
997+
sp.Unequipped:connect(onUnequipped)
998
999-
wait(2)
999+
wait(0.5)
1000-
for i = 1, 50 do
1000+
--Made by YouTubes--
1001-
swait()
1001+
--Edit settings below--
1002-
tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
1002+
local Tool = script.Parent
1003-
tecks2.Rotation = tecks2.Rotation - .8
1003+
local Settings = {
1004-
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
1004+
	Range = 2500
1005-
tecks2.TextTransparency = tecks2.TextTransparency + .04
1005+
	,Spread = 8
1006-
tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
1006+
	,Damage = {30, 30}
1007-
tecks3.Rotation = tecks2.Rotation + .8
1007+
	,HeadShotDamage = {60, 60}
1008-
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
1008+
	,Bullets = 1
1009-
tecks3.TextTransparency = tecks2.TextTransparency + .04
1009+
	,FireRate = 0.068
1010
	,Automatic = true
1011-
naeeym2:Destroy()
1011+
	,AntiTK = false
1012
	,ImpactDuration = .5
1013-
chat()
1013+
	--Reload
1014
	,ReloadKey = "R"
1015-
function onChatted(msg)
1015+
	,ReloadTime = 1.63
1016-
chatfunc(msg)
1016+
	,Ammo = 50
1017
	,IncludeChamberedBullet = true
1018-
Player.Chatted:connect(onChatted)
1018+
	--Gui
1019
	,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
1020-
abss = Instance.new("BillboardGui",Character)
1020+
	--Arms
1021-
abss.Size = UDim2.new(10,0,10,0)
1021+
	,OneHanded = false
1022-
abss.Enabled = false
1022+
	,FakeArms = true
1023-
imgl = Instance.new("ImageLabel",abss)
1023+
	,FakeArmTransparency = 0
1024-
imgl.Position = UDim2.new(0,0,0,0)
1024+
	-- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
1025-
imgl.Size = UDim2.new(1,0,1,0)
1025+
	,RightPos = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
1026-
imgl.Image = "rbxassetid://183711814"
1026+
	,LeftPos = CFrame.new(1.2, 0.21, 0.55)* CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
1027-
imgl.BackgroundTransparency = 1
1027+
	,AimPart = Tool.AimPart
1028-
imgl.ImageColor3 = Color3.new(.9,0,0)
1028+
	,AimPartOffset = CFrame.new()
1029-
img2 = Instance.new("ImageLabel",abss)
1029+
	,AimGripOffset = Vector3.new(0, 0, 0)
1030-
img2.Position = UDim2.new(0,0,0,0)
1030+
	,LeftAimPos = CFrame.new(1, 0.9, 0.35) * CFrame.Angles(math.rad(-95), math.rad(20), math.rad(0), 00)
1031-
img2.Size = UDim2.new(1,0,1,0)
1031+
	,AimAnim = {
1032-
img2.Image = "rbxassetid://183711814"
1032+
		Enabled = false
1033-
img2.BackgroundTransparency = 1
1033+
		,Frames = 50
1034-
img2.ImageColor3 = Color3.new(.9,0,0)
1034+
		,Time = 0.1
1035-
spawn(function()
1035+
1036-
	while wait() do
1036+
	,ChangeFOV = {true, 45}
1037-
		imgl.ImageColor3 = BrickColor.random().Color
1037+
	,SpreadReduction = 8
1038-
		img2.ImageColor3 = BrickColor.random().Color
1038+
	--Weld
1039
	,Weld = true
1040
	--Mouse
1041
	,Icons = {
1042-
spawn(function()
1042+
		Idle = "rbxassetid://70288585"
1043-
chatfunc("Noobcider By Skrubl0rdzI")
1043+
		,Fire1 = "rbxassetid://70288578"
1044-
wait(3)
1044+
		,Fire2 = "rbxassetid://70288572"
1045-
chatfunc("Modified Date : 06/16/2017")
1045+
		,Fire3 = "rbxassetid://70288578"
1046-
wait(3)
1046+
		,Reload = "rbxassetid://70288599"
1047-
chatfunc("Original Script : Genocider")
1047+
		,Aim = "rbxasset://textures/Blank.png"
1048-
wait(3)
1048+
1049-
chatfunc("Have Fun!1!!")
1049+
	,FireMouseAnimTime = 0.15
1050
	--Recoil
1051
	,Recoil = math.rad(0.79)
1052-
spawn(function()
1052+
	--Smoke
1053-
	while wait(1) do
1053+
	,Smoke = true
1054-
		Effects.Sphere.Create(BrickColor.random(), RootPart.CFrame, 40,40,40, 1, 1, 1, 0.07)
1054+
	,SmokePart = Tool.SmokePart
1055
	,Smokes = {{script.Smoke, 6, 0.01}, {script.Smoke1, 0.01}, {script.Smoke2, 0.01}}
1056
	--Sprint
1057-
function attackone()
1057+
	,Sprint = true
1058-
	attack = true
1058+
	,SprintSpeed = 25
1059-
	Humanoid.WalkSpeed = 0
1059+
	,SprintKey = "0"
1060-
	CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138080313", Character, 1, .5)
1060+
	,SprintSpreadIncrease = 40
1061-
	if targetted.Name ~= "Skrubl0rdzI" then
1061+
	,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
1062-
			local partasdeff = Instance.new("ParticleEmitter",targetted.Torso)
1062+
	,DropHats = true
1063-
			partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
1063+
1064-
			partasdeff.LightEmission = .1
1064+
1065-
			partasdeff.Size = NumberSequence.new(0.2)
1065+
--Do not edit below this lign--
1066-
			partasdeff.Texture = "http://www.roblox.com/asset/?ID=183711814"
1066+
1067-
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
1067+
local Orig_Spread = Settings.Spread
1068-
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1068+
local Orig_Grip = Tool.GripPos
1069-
			partasdeff.Transparency = bbb
1069+
1070-
			partasdeff.Size = aaa
1070+
local Player = game.Players.LocalPlayer
1071-
			partasdeff.ZOffset = .9
1071+
1072-
			partasdeff.Acceleration = Vector3.new(0, -5, 0)
1072+
1073-
			partasdeff.LockedToPart = false
1073+
local Camera = workspace.CurrentCamera
1074-
			partasdeff.EmissionDirection = "Back"
1074+
1075-
			partasdeff.Lifetime = NumberRange.new(1, 2)
1075+
local Ammo, StoredAmmo = script.Ammo, script.StoredAmmo
1076-
			partasdeff.Rate = 1000
1076+
1077-
			partasdeff.Rotation = NumberRange.new(-100, 100)
1077+
local Gui, CanUpdateGui = nil, true
1078-
			partasdeff.RotSpeed = NumberRange.new(-100, 100)
1078+
1079-
			partasdeff.Speed = NumberRange.new(6)
1079+
local Sprinting, Equipped
1080-
			partasdeff.VelocitySpread = 10000
1080+
1081-
			partasdeff.Enabled=false
1081+
function Update_Gui()
1082-
	for i = 0, 3, 0.1 do
1082+
	if Gui and CanUpdateGui then
1083-
		swait()
1083+
		Gui.Frame.AmmoDisplay.Text = Ammo.Value
1084-
		PlayAnimationFromTable({
1084+
		Gui.Frame.StoredAmmoDisplay.Text = StoredAmmo.Value
1085-
         CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1085+
1086-
         CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1086+
1087-
         CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1087+
1088-
         CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1088+
local Welded
1089-
         CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1089+
if Settings.Weld then
1090-
         CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1090+
1091-
		}, .1, false)
1091+
		local weldC0s = {}
1092-
		moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1092+
		for i, v in pairs(Tool:GetChildren()) do
1093
			if v:IsA("BasePart") and v ~= Tool.Handle then
1094-
	Effects.Block.Create(BrickColor.random(), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
1094+
				table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
1095-
    Effects.Block.Create(BrickColor.random(), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
1095+
				v.Anchored = false
1096-
    dmg(targetted)
1096+
1097-
    local ex = Instance.new("Explosion",workspace)
1097+
1098-
    ex.Position = Partss.Position
1098+
		Tool.Handle.Anchored = false
1099-
    ex.BlastRadius = 0
1099+
		local welds = {}
1100-
    partasdeff.Enabled=true
1100+
		Tool.Equipped:connect(function()
1101-
	for i = 0, 1, 0.1 do
1101+
			for i, v in ipairs(welds) do
1102-
		swait()
1102+
				v.Part1 = nil
1103-
		PlayAnimationFromTable({
1103+
				v:Destroy()
1104-
         CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1104+
1105-
         CFrame.new(-0.0879677385, 1.49240708, -0.127746791, 0.0201510563, -0.100440688, -0.994740784, 0.0566197298, 0.99346137, -0.0991647467, 0.998197258, -0.0543235913, 0.0257058665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1105+
			for i, v in ipairs(weldC0s) do
1106-
         CFrame.new(2.03539443, 0.729742587, 0.0108130341, -0.00389442407, -0.967803538, 0.251676887, 0.0148300035, -0.251707017, -0.967689872, 0.999882519, -3.62247229e-05, 0.0153327845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1106+
				if v[1] and v[2] then
1107-
         CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1107+
					local w = Instance.new("Weld", Tool.Handle)
1108-
         CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1108+
					w.Part0 = Tool.Handle
1109-
         CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1109+
					w.Part1 = v[1]
1110-
		}, .3, false)
1110+
					w.C0 = v[2]
1111-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1111+
					table.insert(welds, w)
1112
				end
1113-
	partasdeff.Enabled=false
1113+
1114-
	for i = 0, 2, 0.1 do
1114+
		end)
1115-
		swait()
1115+
		wait()
1116-
		PlayAnimationFromTable({
1116+
		Welded = true
1117-
         CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1117+
1118-
         CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1118+
1119-
         CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1119+
1120-
         CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1120+
local Left_Weld, Right_Weld
1121-
         CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1121+
1122-
         CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1122+
Ammo.Changed:connect(Update_Gui)
1123-
		}, .3, false)
1123+
StoredAmmo.Changed:connect(Update_Gui)
1124-
		moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1124+
1125
Settings.Range = math.min(Settings.Range, 999)
1126-
	coroutine.wrap(function()
1126+
1127
local Ignore_Model = workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", workspace)
1128-
	partasdeff:Remove()
1128+
Ignore_Model.Name = "Ray_Ignore"
1129-
	end)()
1129+
1130
local Ray_Ignore = {Character, Ignore_Model, Camera}
1131-
	sel = math.random(1,3)
1131+
1132-
	if sel == 1 then	
1132+
Character.Humanoid.Died:connect(function()
1133-
	chatfunc("...")
1133+
	Tool.Parent = Player.Backpack
1134-
	elseif sel == 2 then	
1134+
1135-
	chatfunc("No...")
1135+
1136-
	elseif sel == 3 then
1136+
function Fire(Mouse)
1137-
	chatfunc("I can't do that...")
1137+
	local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
1138
	local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
1139-
	for i = 0, 5, 0.1 do
1139+
	local Hit, Pos = workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
1140-
		swait()
1140+
	if Hit and Hit.Parent:FindFirstChild("Humanoid") then
1141-
		PlayAnimationFromTable({
1141+
		local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
1142-
         CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1142+
		if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
1143-
         CFrame.new(-0.055980958, 1.49253583, -0.318915963, 0.999889553, 0.0107171191, -0.0102898544, -0.00218299939, 0.791040659, 0.611759722, 0.0146959936, -0.61166966, 0.790976703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), 
1143+
			return
1144-
         CFrame.new(1.54004693, 0.0494250022, 1.90734852e-06, 0.997847795, -0.0655719861, 0, 0.0655719936, 0.997847855, 7.53468894e-22, -4.94064563e-23, -7.51847299e-22, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1144+
1145-
         CFrame.new(-1.51232088, 0.0410207808, -3.73942044e-06, 0.998558879, 0.053665854, -2.33806347e-07, -0.0536658242, 0.998558939, -1.04548817e-05, -3.27600219e-07, 1.04523697e-05, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1145+
		local Humanoid = Hit.Parent.Humanoid
1146-
         CFrame.new(0.540300906, -1.99793804, -2.11055158e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1146+
		local c = Instance.new("ObjectValue")
1147-
         CFrame.new(-0.539562821, -1.99794102, -5.75710146e-09, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1147+
		c.Name = "creator"
1148-
		}, .3, false)
1148+
		c.Value = Player
1149-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111967381, -1.6377008, -0.318754196, -0.0172117949, 0, -0.999851942, 0.999851942, 0, -0.0172117949, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1149+
		game.Debris:AddItem(c, 3)
1150
		c.Parent = Humanoid
1151
		if Hit.Name == "Head" then
1152-
	Humanoid.WalkSpeed = 8
1152+
			Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
1153-
	attack = false
1153+
1154
			Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
1155-
local Grabbed = false
1155+
1156
	elseif Hit then
1157-
function shoot()
1157+
		local Hit_Part = Instance.new("Part", Ignore_Model)
1158-
	attack = true
1158+
		Hit_Part.FormFactor = "Custom"
1159-
	for i = 0, 3, 0.1 do
1159+
		Hit_Part.TopSurface = 0
1160-
		swait()
1160+
		Hit_Part.BottomSurface = 0
1161-
		PlayAnimationFromTable({
1161+
		Hit_Part.Anchored = true
1162-
         CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1162+
		Hit_Part.CanCollide = false
1163-
         CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1163+
		Hit_Part.Size = Vector3.new()
1164-
         CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1164+
		Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
1165-
         CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1165+
		Hit_Part.BrickColor = BrickColor.new("Black")
1166-
         CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1166+
		Hit_Part.Material = "Metal"		
1167-
         CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1167+
		local Meta = Instance.new("Sound")
1168-
		}, .1, false)
1168+
		Meta.Name = "Crack"
1169-
		moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1169+
		Meta.SoundId = "rbxassetid://151284431"
1170
		Meta.Volume = 0.3
1171-
	for i = 1,10 do
1171+
		Meta.Pitch = 2
1172-
		Effects.Block.Create(BrickColor.random(), Partss.CFrame, 11,11,11, -1,-1,-1, 0.07)
1172+
		Meta.Parent = Hit_Part
1173-
		wait(0.01)
1173+
		Meta:play()
1174
		local Cur = Instance.new("SpecialMesh")
1175
		Cur.MeshType = "Sphere"
1176-
	local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Mouse.Hit,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1176+
		Cur.Parent = Hit_Part
1177-
	local fc = Instance.new("Explosion",workspace) fc.Position = ref1.Position
1177+
		Cur.Scale = Vector3.new(0.5,0.5,0.5)
1178-
	CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=141679994", Character, 1.5, 1)
1178+
		Instance.new("Smoke", Hit_Part).Opacity = 15
1179-
	for i = 1,10 do
1179+
		local g = Instance.new("PointLight", Hit_Part)
1180-
		Effects.Block.Create(BrickColor.random(), ref1.CFrame, 33,33,33, 9,9,9, 0.07)
1180+
		g.Color = Color3.new(0, 0, 0)
1181
		g.Range = 0
1182-
	wait(0.75)
1182+
		g.Shadows = true
1183-
	ref1:Destroy()
1183+
		local PE = Instance.new("ParticleEmitter")
1184-
	attack = false
1184+
		PE.Parent = Hit_Part
1185
		PE.Size = NumberSequence.new(0.75)
1186
		PE.LightEmission = 0
1187-
function hedshoot()
1187+
		PE.Lifetime = NumberRange.new(5)
1188-
	attack = true
1188+
		PE.ZOffset = 0.5
1189
		PE.Texture = "http://www.roblox.com/asset/?id=133619974"
1190-
	--local GGyro = Instance.new("BodyPosition")
1190+
		PE.Rate = 50
1191-
	local grab = nil
1191+
		PE.Speed = NumberRange.new(2.5)
1192-
	for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
1192+
		PE.VelocitySpread = NumberSequence.new(-0.05)
1193-
		if v:FindFirstChild('Torso') then
1193+
		PE.Transparency = NumberSequence.new(-1)
1194-
			Grabbed = true
1194+
		game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
1195-
			    CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", v.Torso, 1, .8)
1195+
		game.Debris:AddItem(PE, 0.17)
1196-
			grab = v
1196+
	--[[	if not Hit.Anchored then
1197
			local w = Instance.new("Weld", Hit_Part)
1198
			w.Part0 = Hit
1199
			w.Part1 = Hit_Part
1200-
	for i = 1,10 do
1200+
			w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
1201-
  		Effects.Wave.Create(BrickColor.random(), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07)
1201+
			Hit_Part.Anchored = false
1202-
  		wait(0.03)
1202+
	end]]
1203-
  	end
1203+
		if Hit.Transparency >= 0.1 then
1204-
  	end)
1204+
			Hit:BreakJoints()
1205-
CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=721590903", RootPart, 0, .5)
1205+
			Hit.Anchored = false
1206-
		for i = 0, 1, 0.1 do
1206+
			Hit.CanCollide = true
1207-
		swait()
1207+
			Hit.Size = Hit.Size /2
1208-
		if Grabbed == true then
1208+
			local sound = Instance.new("Sound", Hit)
1209-
			grab.Humanoid.PlatformStand = true
1209+
			sound.Volume = 10
1210-
			--GGyro.position = Partss.Position
1210+
			sound.SoundId = "rbxassetid://138122923"
1211-
			--GGyro.Parent = grab.Head
1211+
			sound:Play()
1212-
			grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
1212+
			for i=1, 4, 1 do
1213
				local clone = Hit:Clone()
1214-
		PlayAnimationFromTable({
1214+
				clone.Parent = workspace
1215-
         CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1215+
				game.Debris:AddItem(clone, 3)
1216-
         CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1216+
1217-
         CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1217+
			game.Debris:AddItem(Hit, 1)
1218-
         CFrame.new(-1.66092706, 0.266950369, 2.51774691e-06, 0.876968205, 0.480548859, -2.5331974e-06, -0.480548888, 0.876968026, -7.03267551e-06, -1.13248825e-06, 7.38352537e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1218+
1219-
         CFrame.new(0.146832585, -1.7542398, 0.105335698, 0.266426086, 0.491796821, -0.828946948, 0.0135936746, 0.8580302, 0.513420045, 0.96375972, -0.148056909, 0.221916124) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1219+
		if Hit.Parent:IsA("Hat") or Hit.Parent:IsA("Accessory") and Settings.DropHats then
1220-
         CFrame.new(-1.09110987, -1.74702656, 0.342675447, 0.765578806, 0.632523358, 0.117487431, -0.642276406, 0.740949869, 0.196148768, 0.0370163769, -0.225626737, 0.973510265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1220+
			Hit.Parent.Parent = workspace
1221-
		}, .3, false)
1221+
			game.Debris:AddItem(Hit, 3)
1222-
		RootPart.Velocity = RootPart.CFrame.lookVector * 90
1222+
1223-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1223+
1224
end
1225-
		if Grabbed == true then
1225+
1226-
		Humanoid.WalkSpeed = 0
1226+
1227-
		for i = 0, 2, 0.1 do
1227+
local Can_Shoot = true
1228-
		swait()
1228+
local Reloading = false
1229-
		if Grabbed == true then
1229+
1230-
			grab.Humanoid.PlatformStand = true
1230+
local First_Person = false
1231-
			--GGyro.position = Partss.Position
1231+
1232-
			--GGyro.Parent = grab.Head
1232+
local Mouse_Held
1233-
			grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
1233+
1234
Tool.Equipped:connect(function(Mouse)
1235-
		PlayAnimationFromTable({
1235+
	Equipped = true
1236-
         CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1236+
	if Settings.Weld and not Welded then
1237-
         CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1237+
		wait()
1238-
         CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1238+
		Tool.Parent = Player.Backpack
1239-
         CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1239+
1240-
         CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1240+
	Character = Player.Character
1241-
         CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1241+
	if Gui then
1242-
		}, .3, false)
1242+
1243-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1243+
1244
	Ray_Ignore = {Character, Ignore_Model, Camera}
1245-
		if grab.Name ~= "CKbackup" then
1245+
	Mouse.Icon = Settings.Icons.Idle
1246-
			local partasdeff = Instance.new("ParticleEmitter",grab.Torso)
1246+
	Gui = script.Gui:Clone()
1247-
			partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
1247+
	Gui.Parent = Player.PlayerGui
1248-
			partasdeff.LightEmission = .1
1248+
	Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
1249-
			partasdeff.Size = NumberSequence.new(0.2)
1249+
	Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
1250-
			partasdeff.Texture = "http://www.roblox.com/asset/?ID=183711814"
1250+
	CanUpdateGui = true
1251-
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
1251+
	Update_Gui()
1252-
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1252+
	Mouse.Button1Down:connect(function()
1253-
			partasdeff.Transparency = bbb
1253+
		if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
1254-
			partasdeff.Size = aaa
1254+
			Mouse_Held = true
1255-
			partasdeff.ZOffset = .9
1255+
			while true do
1256-
			partasdeff.Acceleration = Vector3.new(0, -5, 0)
1256+
				Can_Shoot = false
1257-
			partasdeff.LockedToPart = false
1257+
				delay(0, function()
1258-
			partasdeff.EmissionDirection = "Back"
1258+
					local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
1259-
			partasdeff.Lifetime = NumberRange.new(1, 2)
1259+
					if not Aiming then
1260-
			partasdeff.Rate = 1000
1260+
						Mouse.Icon = Settings.Icons.Fire1
1261-
			partasdeff.Rotation = NumberRange.new(-100, 100)
1261+
1262-
			partasdeff.RotSpeed = NumberRange.new(-100, 100)
1262+
					wait(t)
1263-
			partasdeff.Speed = NumberRange.new(10)
1263+
					if not Aiming then
1264-
			partasdeff.VelocitySpread = 20
1264+
						if Reloading then return end
1265-
			partasdeff.Enabled=false
1265+
						Mouse.Icon = Settings.Icons.Fire2
1266-
	sel = math.random(1,3)
1266+
1267-
	if sel == 1 then	
1267+
					wait(t)
1268-
	chatfunc("im teting sori")
1268+
					if not Aiming then
1269
						if Reloading then return end
1270-
	for i = 0, 2, 0.1 do
1270+
						Mouse.Icon = Settings.Icons.Fire3
1271-
		swait()
1271+
1272-
				if Grabbed == true then
1272+
					wait(t)
1273-
			grab.Humanoid.PlatformStand = true
1273+
					if not Aiming then
1274-
			--GGyro.position = Partss.Position
1274+
						if Reloading then return end
1275-
			--GGyro.Parent = grab.Head
1275+
						Mouse.Icon = Settings.Icons.Idle
1276-
			grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
1276+
1277
				end)
1278-
		PlayAnimationFromTable({
1278+
				for _ = 1, Settings.Bullets do
1279-
         CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1279+
					Fire(Mouse)
1280-
         CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1280+
1281-
         CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1281+
				local bg = Instance.new("BillboardGui", Settings.SmokePart)
1282-
         CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1282+
				bg.Adornee = Settings.SmokePart
1283-
         CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1283+
				local flashsize = math.random(5, 8)/10
1284-
         CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1284+
				bg.Size = UDim2.new(flashsize, 0, flashsize, 0)
1285-
		}, .1, false)
1285+
				local flash = Instance.new("ImageLabel", bg)
1286-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1286+
				flash.BackgroundTransparency = 1
1287
				flash.Size = UDim2.new(1, 0, 1, 0)
1288-
    Effects.Block.Create(BrickColor.random(), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
1288+
				flash.Image = "rbxassetid://172841900"
1289-
    Effects.Block.Create(BrickColor.random(), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
1289+
				flash.Rotation = math.random(0, 360)
1290-
    CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=836454385", Character, 1, .5)
1290+
				game.Debris:AddItem(bg, 0.025)
1291-
    dmg(grab)
1291+
				delay(0, function()
1292-
		grab.Head.Velocity = grab.Head.CFrame.lookVector * -60
1292+
					local r  = math.abs(Settings.Recoil)
1293-
	partasdeff.Enabled=true
1293+
					local ran = math.random(-1, 1)
1294-
	for i = 0, 1, 0.1 do
1294+
					Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(r,  r*ran, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
1295-
		swait()
1295+
					local c = -r/20
1296-
		PlayAnimationFromTable({
1296+
					local cx = -(r*ran)/20
1297-
         CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1297+
					for i = 1, math.random(15, 25) do
1298-
         CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1298+
						if EquipId == curId then
1299-
         CFrame.new(1.95760894, 1.20200562, -0.275867403, 0.278526366, -0.669772983, 0.688351095, 0.0506580099, -0.705469668, -0.706927419, 0.959091723, 0.23176837, -0.162562534) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1299+
							Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(c,  cx, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
1300-
         CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1300+
							wait()
1301-
         CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1301+
						else
1302-
         CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1302+
							break
1303-
		}, .3, false)
1303+
1304-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111932531, -1.63769579, -0.318755656, -0.0172050633, -1.61863863e-05, -0.999852121, 0.999851882, 5.15580177e-06, -0.017205067, 5.453825e-06, -1, 1.60960481e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1304+
1305
				end)
1306-
	partasdeff.Enabled=false
1306+
				if Tool.Handle:FindFirstChild("Shoot") then
1307-
	for i = 0, 2.5, 0.1 do
1307+
					Tool.Handle.Shoot:Play()
1308-
		swait()	
1308+
1309-
		PlayAnimationFromTable({
1309+
				Ammo.Value = Ammo.Value - 1
1310-
         CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1310+
				Tool.Bolt.Transparency = 1
1311-
         CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1311+
				--Tool.Bolt1.Transparency = 0			
1312-
         CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1312+
				wait(Settings.FireRate)
1313-
         CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1313+
				Tool.Bolt.Transparency = 0
1314-
         CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1314+
				--Tool.Bolt1.Transparency = 1
1315-
         CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1315+
				if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
1316-
		}, .2, false)
1316+
					break
1317-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1317+
1318
			end
1319-
	coroutine.wrap(function()	
1319+
			Can_Shoot = true
1320-
		wait(2)
1320+
		elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
1321-
	partasdeff:Remove()	
1321+
			Tool.Handle.Click:Play()
1322-
	end)()
1322+
1323
	end)
1324-
	grab.Humanoid.PlatformStand = false
1324+
	Mouse.Button1Up:connect(function()
1325-
	for i = 0, 3, 0.1 do
1325+
		Mouse_Held = false
1326-
		swait()
1326+
1327-
		PlayAnimationFromTable({
1327+
	Mouse.KeyDown:connect(function(Key)
1328-
         CFrame.new(0.104280457, -1.46030498e-22, -0.179343686, 0.249860913, 5.18448626e-22, 0.968281686, -5.82335151e-22, 1, -5.29395592e-22, -0.968281686, -3.70576914e-22, 0.249860913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1328+
		if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
1329-
         CFrame.new(0.00671941042, 1.48144531, -0.121562012, 0.0679168552, 0.388981611, -0.918738663, 0.158512011, 0.904961228, 0.394866198, 0.985018492, -0.172449201, -0.000196114182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1329+
			if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
1330-
         CFrame.new(1.5714488, -0.100437641, -0.219321564, 0.297819793, -0.653239965, -0.696118593, -0.0311920028, 0.722160041, -0.691022456, 0.954112411, 0.227513462, 0.194697708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1330+
1331-
         CFrame.new(-1.5814501, 0.177012652, 5.41775626e-06, 0.939689815, 0.342028022, -2.68220901e-06, -0.342027992, 0.939689755, -6.1805149e-06, 4.17232513e-07, 6.72787428e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1331+
1332-
         CFrame.new(0.569012046, -1.89856982, -0.00933695585, 0.266445845, -0.0764764398, -0.960811257, 0.0135949478, 0.997046292, -0.075590536, 0.963754177, 0.00707861409, 0.266698539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1332+
			Can_Shoot = false
1333-
         CFrame.new(-0.849534154, -2.01595497, 0.241721377, 0.948572636, 0.308689058, 0.070150286, -0.312330276, 0.948733151, 0.0485308319, -0.0515729487, -0.067945078, 0.996355295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1333+
			Reloading = true
1334-
		}, .1, false)
1334+
			local TextLabel = Gui.Frame.AmmoDisplay
1335-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111981034, -1.63767779, -0.318741798, -0.0172085222, -1.4077872e-05, -0.999851882, 0.999851942, 7.4505806e-06, -0.0172085222, 7.68899918e-06, -1.00000012, 1.39512122e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1335+
			delay(0, function()
1336
				CanUpdateGui = false
1337-
sel = math.random(1,3)
1337+
				TextLabel.Text = "000"
1338-
if sel == 1 then	
1338+
				wait(Settings.ReloadTime/3)
1339-
chatfunc("im testing sori!")
1339+
				if TextLabel then
1340
					TextLabel.Text = "000"
1341-
		for i = 0, 5, 0.1 do
1341+
1342-
		swait()
1342+
				wait(Settings.ReloadTime/3)
1343-
		PlayAnimationFromTable({
1343+
				if TextLabel then
1344-
         CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1344+
					TextLabel.Text = "000"
1345-
         CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), 
1345+
1346-
         CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1346+
			end)
1347-
         CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1347+
			Mouse.Icon = Settings.Icons.Reload
1348-
         CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1348+
-- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
1349-
         CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1349+
Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
1350-
		}, .3, false)
1350+
Left_Weld.C1 = CFrame.new(1.2, 0.6, 0.45) * CFrame.Angles(math.rad(-90), math.rad(45), math.rad(0), 0)
1351-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1351+
wait(.02)
1352
Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
1353
Left_Weld.C1 = CFrame.new(1.2, 0.5, 0.45) * CFrame.Angles(math.rad(-90), math.rad(50), math.rad(0), 0)
1354
wait(.02)
1355-
	--GGyro.Parent = nil
1355+
Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
1356-
	attack = false
1356+
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
1357-
	Grabbed = false
1357+
wait(0.02)
1358-
	Humanoid.WalkSpeed = 20
1358+
1359
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
1360
Tool.Handle.MagOut:play()
1361-
function moarblood()
1361+
Tool.Mag.Transparency = 1
1362-
	attack = true
1362+
1363-
	CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", Character, 1, .8)
1363+
wait(0.03)
1364-
    RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,4)
1364+
Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
1365-
local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(4.93319941, -1.31948221, -45.7696877, 0.141969427, -5.55023435e-05, -0.989871144, 0.989874005, 1.80069164e-05, 0.141970903, 1.06166653e-05, -1.00000143, 5.59078326e-05),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
1365+
wait(0.03)
1366-
mot = New("Weld",k,"mot",{Part0 = k,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.141969457, 0.989873946, 1.06166663e-05, -5.55023507e-05, 1.80069164e-05, -1.00000167, -0.989871264, 0.141970903, 5.59078399e-05),C1 = CFrame.new(6.67572021e-06, -1.40000057, -3.81469727e-06, 0.989870846, -0.14197053, -1.2531201e-06, 0.141970515, 0.989870906, 1.03843358e-05, -2.33842215e-07, -1.04570581e-05, 0.99999994),})
1366+
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
1367-
wait(.5)
1367+
wait(0.03)
1368-
	for i = 0, 1.2, 0.1 do
1368+
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
1369-
		swait()
1369+
wait(0.03)
1370-
		PlayAnimationFromTable({
1370+
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
1371-
         CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1371+
wait(0.03)
1372-
         CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1372+
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.15) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(25), 0)
1373-
         CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1373+
wait(0.03)
1374-
         CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1374+
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.10) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(30), 0)
1375-
         CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1375+
wait(0.03)
1376-
         CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1376+
Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.05) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(35), 0)
1377-
		}, .2, false)
1377+
wait(0.03)
1378-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1378+
Left_Weld.C1 = CFrame.new(1.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(40), 0)
1379
wait(0.03)
1380-
	if targetted.Name ~= "CKbackup" then
1380+
Left_Weld.C1 = CFrame.new(1.2, 0.15, 0) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(45), 0)
1381-
	local grab = nil
1381+
wait(0.03)
1382-
	for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
1382+
Left_Weld.C1 = CFrame.new(1.2, 0.1, 0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(50), 0)
1383-
		if v:FindFirstChild('Head') then
1383+
wait(0.5)
1384-
			Grabbed = true
1384+
1385-
			    CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", v.Head, 1, .8)
1385+
Left_Weld.C1 = CFrame.new(1.2, 0.1, 0.0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(40), 0)
1386-
			grab = v
1386+
Tool.Handle.MagIn:play()
1387
Tool.Mag.Transparency = 0
1388
1389-
         Humanoid.WalkSpeed = 0
1389+
wait(0.03)
1390-
		for i = 0, 2, 0.1 do
1390+
Left_Weld.C1 = CFrame.new(1.2, 0.15, 0.05) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(35), 0)
1391-
		swait()
1391+
wait(0.03)
1392-
		if Grabbed == true then
1392+
Left_Weld.C1 = CFrame.new(1.2, 0.2, 0.10) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(30), 0)
1393-
			grab.Humanoid.PlatformStand = true
1393+
wait(0.03)
1394-
			--GGyro.position = Partss.Position
1394+
Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.15) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(25), 0)
1395-
			--GGyro.Parent = grab.Head
1395+
wait(0.03)
1396-
			grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
1396+
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
1397
wait(0.03)
1398-
		PlayAnimationFromTable({
1398+
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
1399-
         CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1399+
wait(0.03)
1400-
         CFrame.new(-0.0263810754, 1.49789393, -0.36129567, 0.83927381, -0.177804202, 0.513814509, -0.0293880031, 0.928800881, 0.369412124, -0.542914331, -0.325137854, 0.774292946) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1400+
Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
1401-
         CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1401+
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
1402-
         CFrame.new(-0.925376594, 0.275374949, -0.912649989, 0.847262561, -0.507846355, 0.155686736, 0.278232396, 0.17463918, -0.944503605, 0.452473402, 0.84355998, 0.289265245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1402+
wait(0.03)
1403-
         CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1403+
Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
1404-
         CFrame.new(-0.671897829, -2.02211738, 0.00865991414, 0.942302644, 0.108399101, -0.316726208, -0.108764961, 0.993929207, 0.0165806562, 0.31660068, 0.0188247077, 0.948372126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1404+
Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(05), 0)
1405-
		}, .25, false)
1405+
wait(0.03)
1406-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1406+
Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
1407
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
1408-
		if Grabbed == true then
1408+
wait(0.03)
1409-
				sel = math.random(1,3)
1409+
1410-
	if sel == 1 then	
1410+
Right_Weld.C1 = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
1411-
	chatfunc("im testing sori")
1411+
Left_Weld.C1 = CFrame.new(1.2, 0.21, 0.55)* CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
1412
1413-
			local partasdeff = Instance.new("ParticleEmitter",targetted.Head)
1413+
			Mouse.Icon = Settings.Icons.Idle
1414-
			partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
1414+
			CanUpdateGui = true
1415-
			partasdeff.LightEmission = .1
1415+
			local m = Settings.Ammo
1416-
			partasdeff.Size = NumberSequence.new(0.2)
1416+
			if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
1417-
			partasdeff.Texture = "http://www.roblox.com/asset/?ID=183711814"
1417+
				m = m + 1
1418-
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
1418+
1419-
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1419+
			if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
1420-
			partasdeff.Transparency = bbb
1420+
				Ammo.Value = Ammo.Value + StoredAmmo.Value
1421-
			partasdeff.Size = aaa
1421+
				StoredAmmo.Value = 0
1422-
			partasdeff.ZOffset = .9
1422+
			else
1423-
			partasdeff.Acceleration = Vector3.new(0, -5, 0)
1423+
				StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
1424-
			partasdeff.LockedToPart = false
1424+
				Ammo.Value = m
1425-
			partasdeff.EmissionDirection = "Back"
1425+
1426-
			partasdeff.Lifetime = NumberRange.new(1, 2)
1426+
			Can_Shoot = true
1427-
			partasdeff.Rate = 1000
1427+
			Reloading = false
1428-
			partasdeff.Rotation = NumberRange.new(-100, 100)
1428+
		elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
1429-
			partasdeff.RotSpeed = NumberRange.new(-100, 100)
1429+
			Sprinting = true
1430-
			partasdeff.Speed = NumberRange.new(6)
1430+
			Character.Humanoid.WalkSpeed = Settings.SprintSpeed
1431-
			partasdeff.VelocitySpread = 10000
1431+
			Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
1432-
			partasdeff.Enabled=false	
1432+
1433-
	for i = 0, 3, 0.1 do
1433+
1434-
		swait()
1434+
	Mouse.KeyUp:connect(function(Key)
1435-
		if Grabbed == true then
1435+
		if Key:upper() == Settings.SprintKey:upper() and Sprinting then
1436-
			grab.Humanoid.PlatformStand = true
1436+
			Sprinting = false
1437-
			--GGyro.position = Partss.Position
1437+
			Character.Humanoid.WalkSpeed = 16
1438-
			--GGyro.Parent = grab.Head
1438+
			Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
1439-
			grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
1439+
			Right_Weld.C0 = CFrame.new(0, -1.5, 0)
1440
		end
1441-
		PlayAnimationFromTable({
1441+
1442-
         CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1442+
	Mouse.Button2Down:connect(function()
1443-
         CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1443+
		if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
1444-
         CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1444+
			Aiming = true
1445-
         CFrame.new(-1.5511272, 1.22937977, -0.634234905, 0.785770595, 0.333147645, 0.521131098, 0.522403002, -0.808557391, -0.270795107, 0.331149668, 0.485022962, -0.809378147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1445+
			_G.MouseSensitivity = 0.3	
1446-
         CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1446+
			Mouse.Icon = Settings.Icons.Aim
1447-
         CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1447+
1448-
		}, .1, false)
1448+
				if Settings.AimAnim.Enabled then
1449-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1449+
				Right_Weld.C1 = CFrame.new()
1450
				Right_Weld.C0 = CFrame.new()
1451-
	partasdeff.Enabled=true
1451+
				delay(0, function()
1452-
	grab.Torso.Transparency = 1
1452+
					Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame))
1453-
	dmg(grab)
1453+
				end)
1454-
	CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", grab.Head, .8, .8)
1454+
				delay(0, function()
1455-
	CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", grab.Head, 1, .7)
1455+
					Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftAimPos)
1456
				end)
1457-
	coroutine.wrap(function()
1457+
				delay(0, function()
1458-
	wait(.4)
1458+
					if Settings.ChangeFOV[1] then
1459-
	partasdeff.Enabled=false
1459+
						Camera.FieldOfView = 70
1460-
	end)()
1460+
						local Cam_Dif, T_F = 70 - Settings.ChangeFOV[2], Settings.AimAnim.Time * Settings.AimAnim.Frames
1461-
	for i = 0, 3.5, 0.1 do
1461+
						for i = 1, T_F do
1462-
		swait()
1462+
							local FOV = 70 - Cam_Dif/T_F * i
1463-
		PlayAnimationFromTable({
1463+
							Camera.FieldOfView = FOV
1464-
         CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1464+
							wait(Settings.AimAnim.Time/Settings.AimAnim.Frames)
1465-
         CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1465+
							if not Aiming then
1466-
         CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1466+
								return
1467-
         CFrame.new(-1.40260935, 1.29555511, -0.560751677, 0.832364976, 0.188659444, 0.521130562, 0.370884001, -0.88832134, -0.2707977, 0.411842346, 0.418681324, -0.809378505) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1467+
1468-
         CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1468+
1469-
         CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1469+
						Camera.FieldOfView = Settings.ChangeFOV[2]
1470-
		}, .3, false)
1470+
1471-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1471+
				end)
1472
			else
1473
				Right_Weld.C1 = CFrame.new()
1474
				Right_Weld.C0 = CFrame.new()
1475-
         Humanoid.WalkSpeed = 0
1475+
				Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
1476-
	for i = 0, 3, 0.1 do
1476+
				Left_Weld.C1 = Settings.LeftAimPos
1477-
		swait()
1477+
				if Settings.ChangeFOV[1] then
1478-
		PlayAnimationFromTable({
1478+
					Camera.FieldOfView = Settings.ChangeFOV[2]
1479-
         CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1479+
1480-
         CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1480+
1481-
         CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1481+
			Tool.GripPos = Orig_Grip + Settings.AimGripOffset
1482-
         CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1482+
			Settings.Spread = Settings.Spread - Settings.SpreadReduction
1483-
         CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1483+
1484-
         CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1484+
1485-
		}, .2, false)
1485+
	Mouse.Button2Up:connect(function()
1486-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1486+
		if Aiming then
1487
			Mouse.Icon = Settings.Icons.Idle
1488-
sel = math.random(1,3)
1488+
			
1489-
if sel == 1 then	
1489+
			Tool.GripPos = Orig_Grip 
1490-
chatfunc("Aahhh...")
1490+
			if Settings.AimAnim.Enabled then
1491-
elseif sel == 2 then	
1491+
				delay(0, function()
1492-
chatfunc("Oh Sugarie, I thought you're enemy...")
1492+
					Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, CFrame.new(0, -1.5, 0))
1493-
elseif sel == 3 then
1493+
				end)
1494-
chatfunc("Sigh...")
1494+
				delay(0, function()
1495
					Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftPos)
1496-
	for i = 0, 5, 0.1 do
1496+
				end)
1497-
		swait()
1497+
			else
1498-
		PlayAnimationFromTable({
1498+
				Right_Weld.C1 = Settings.RightPos
1499-
         CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1499+
				Right_Weld.C0 = CFrame.new(0, -1.5, 0)
1500-
         CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), 
1500+
				Left_Weld.C1 = Settings.LeftPos
1501-
         CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1501+
1502-
         CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1502+
			if Settings.ChangeFOV[1] then
1503-
         CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1503+
				Camera.FieldOfView = 70
1504-
         CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1504+
1505-
		}, .3, false)
1505+
			Settings.Spread = Settings.Spread + Settings.SpreadReduction
1506-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1506+
			Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1507
			Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1508
			wait(0.25)
1509-
	attack = false
1509+
			Aiming = false
1510-
	Grabbed = false	
1510+
			_G.MouseSensitivity = 1	
1511-
	k:Remove()
1511+
1512-
         Humanoid.WalkSpeed = 8
1512+
1513
	wait()
1514
	Camera.Changed:connect(function()
1515-
function painlessrain2()
1515+
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
1516-
attack = true
1516+
			Mouse.TargetFilter = workspace
1517-
    Humanoid.WalkSpeed = 0
1517+
			Character.Torso.Neck.C1 = CFrame.new()
1518-
   local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1518+
			Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
1519
		end
1520-
	coroutine.wrap(function()
1520+
1521-
	for i = 0, 4 do
1521+
	Mouse.Idle:connect(function()
1522-
	wait(.2)
1522+
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
1523-
	CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=158475221", RootPart, 1, 1)
1523+
			Mouse.TargetFilter = workspace
1524
			Character.Torso.Neck.C1 = CFrame.new()
1525-
	end)()
1525+
			Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
1526-
	for i = 0, 4, 0.1 do
1526+
1527-
		swait()
1527+
1528-
		PlayAnimationFromTable({
1528+
	while wait() and Equipped do
1529-
         CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1529+
		if Sprinting then
1530-
         CFrame.new(-0.115934461, 1.42953098, -0.0387745127, 0.0422455594, -0.156738758, -0.986736298, 0.091215007, 0.984098434, -0.152414545, 0.994934857, -0.083566308, 0.0558707118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1530+
			Can_Shoot = false
1531-
         CFrame.new(1.88563442, 0.849646449, -0.150348112, 0.134151325, -0.917590559, 0.374207288, 0.151069015, -0.354270071, -0.922860146, 0.979378283, 0.180334046, 0.0910937041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1531+
			Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
1532-
         CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1532+
			Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
1533-
         CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1533+
		elseif not Aiming and not Sprinting then
1534-
         CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1534+
			Can_Shoot = true
1535-
		}, .07, false)
1535+
			Left_Weld.C0 = CFrame.new(0, -1.5, 0)
1536-
		moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3)
1536+
1537
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
1538-
	for i = 0, 1.5, 0.1 do
1538+
			Mouse.TargetFilter = nil
1539-
		swait()
1539+
			Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1540-
		PlayAnimationFromTable({
1540+
			Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1541-
         CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1541+
1542-
         CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1542+
1543-
         CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1543+
1544-
         CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1544+
1545-
         CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1545+
local Arms_Made
1546-
         CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1546+
local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
1547-
		}, .2, false)
1547+
1548-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1548+
Tool.Equipped:connect(function(Mouse)
1549
	if Character and not Arms_Made then
1550-
	for i = 0, 0 do
1550+
		Arms_Made = true
1551-
  	  Effects.Block.Create(BrickColor.random(), Partss.CFrame, 33,33,33, -1,-1,-1, 0.07)
1551+
		local Torso = Character.Torso
1552-
  	  wait(2)
1552+
		Torso["Right Shoulder"].Part1 = nil
1553
		Left_Weld = Instance.new("Weld", Torso)
1554-
attack = false
1554+
		Left_Weld.Name = "Left_Weld"
1555-
Humanoid.WalkSpeed = 8
1555+
		Left_Weld.Part0 = Character.Head
1556-
	for i = 0, 99 do
1556+
		Left_Weld.C0 = CFrame.new(0, -1.5, 0)
1557-
		wait(0.01)
1557+
		if not Settings.OneHanded then
1558-
		mdmg(ref1, 3)
1558+
			Torso["Left Shoulder"].Part1 = nil
1559-
        CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=141679994", Character, 1.5, 1)		
1559+
			Left_Weld.Part1 = Character["Left Arm"]
1560-
		ref1.Position = Mouse.hit.p
1560+
1561-
		ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
1561+
		Right_Weld = Instance.new("Weld", Torso)
1562-
        Effects.Cylinder.Create(BrickColor.random(), ref1.CFrame, 5, 9999, 5, -5, 0, -5, 0.07)
1562+
		Right_Weld.Name = "Right_Weld"
1563-
        Effects.Sphere.Create(BrickColor.random(), ref1.CFrame, 7,7,7, -9,-9,-9, 0.07)
1563+
		Right_Weld.Part0 = Character.Head
1564
		Right_Weld.Part1 = Character["Right Arm"]
1565-
	ref1:Remove()
1565+
		Right_Weld.C0 = CFrame.new(0, -1.5, 0)
1566
		Left_Weld.C1 = Settings.LeftPos
1567
		Right_Weld.C1 = Settings.RightPos
1568-
function painlessrain()
1568+
1569-
attack = true
1569+
	if Settings.FakeArms and not Fake_Arm_Right then
1570-
    Humanoid.WalkSpeed = 0
1570+
		Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
1571-
   local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1571+
		Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
1572
		Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
1573-
	coroutine.wrap(function()
1573+
		local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
1574-
	for i = 0, 4 do
1574+
		for i = 1, 2 do
1575-
	wait(.2)
1575+
			local w = Instance.new("Weld", fakeArms[i])
1576-
	CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=158475221", RootPart, 1, 1)
1576+
			w.Part0 = Character[fakeArms[i].Name]
1577
			w.Part1 = fakeArms[i]
1578-
	end)()
1578+
			fakeArms[i].Transparency = Settings.FakeArmTransparency
1579-
	for i = 0, 4, 0.1 do
1579+
1580-
		swait()
1580+
		Fake_Arm_Model = Instance.new("Model", Camera)
1581-
		PlayAnimationFromTable({
1581+
		Fake_Arm_Right.Parent = Fake_Arm_Model
1582-
         CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1582+
		if not Settings.OneHanded then
1583-
         CFrame.new(-0.115934461, 1.42953098, -0.0387745127, 0.0422455594, -0.156738758, -0.986736298, 0.091215007, 0.984098434, -0.152414545, 0.994934857, -0.083566308, 0.0558707118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1583+
			Fake_Arm_Left.Parent = Fake_Arm_Model
1584-
         CFrame.new(1.88563442, 0.849646449, -0.150348112, 0.134151325, -0.917590559, 0.374207288, 0.151069015, -0.354270071, -0.922860146, 0.979378283, 0.180334046, 0.0910937041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1584+
1585-
         CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1585+
		Fake_Arm_Model.Name = "FakeArms"
1586-
         CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1586+
		if Settings.CharacterMeshes then
1587-
         CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1587+
			for i, v in pairs(Character:GetChildren()) do
1588-
		}, .07, false)
1588+
				if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
1589-
		moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3)
1589+
					v:Clone().Parent = Fake_Arm_Model
1590
				end
1591-
	for i = 0, 1.5, 0.1 do
1591+
1592-
		swait()
1592+
1593-
		PlayAnimationFromTable({
1593+
		if Character:FindFirstChild("Shirt") then
1594-
         CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1594+
			Instance.new("Humanoid", Fake_Arm_Model)
1595-
         CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1595+
			Character.Shirt:Clone().Parent = Fake_Arm_Model
1596-
         CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1596+
1597-
         CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1597+
			local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
1598-
         CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1598+
			Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(1, 2, 1)
1599-
         CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1599+
			local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
1600-
		}, .2, false)
1600+
			Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(1, 2, 1)
1601-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1601+
1602
	end
1603-
	for i = 0, 2 do
1603+
1604-
  	  Effects.Block.Create(BrickColor.random(), Partss.CFrame, 66,66,66, -1,-1,-1, 0.07)
1604+
1605-
  	  wait(1)
1605+
Tool.Unequipped:connect(function()
1606
	Equipped = false
1607-
attack = false
1607+
	Tool.GripPos = Orig_Grip
1608-
Humanoid.WalkSpeed = 8
1608+
	Aiming = false
1609-
	for i = 0, 1 do
1609+
	Settings.Spread = Orig_Spread
1610-
		wait(0.01)
1610+
	if Settings.ChangeFOV[1] then
1611-
		mdmg(ref1, 50)
1611+
		Camera.FieldOfView = 70
1612-
        CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=141679994", Character, 1.5, 1)		
1612+
1613-
		ref1.Position = Mouse.hit.p
1613+
	if Gui then
1614-
		ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
1614+
		Gui:Destroy()
1615-
		for i = 1,10 do
1615+
		Gui = nil
1616-
			Effects.Cylinder.Create(BrickColor.random(), ref1.CFrame, 520, 9999, 520, -1, 0, -1, 0.07)
1616+
1617-
			Effects.Sphere.Create(BrickColor.random(), ref1.CFrame, 700,700,700,-1,-1,-1, 0.07)
1617+
	for i, v in pairs(Tool.Handle:GetChildren()) do
1618-
   	    end
1618+
		if v:IsA("Sound") then
1619
			v:Stop()
1620-
	ref1:Remove()
1620+
1621
	end
1622
	if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
1623-
function TargetSelect(person)
1623+
		Fake_Arm_Model:Destroy()
1624-
local dd=coroutine.wrap(function()
1624+
		Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
1625-
if targetted ~= person then
1625+
1626-
targetted = person
1626+
	if Character and Left_Weld and Right_Weld then
1627-
img2.Size = UDim2.new(1,0,1,0)
1627+
		Arms_Made = false
1628-
img2.ImageTransparency = 0
1628+
		local Torso = Character.Torso
1629-
img2.Position = UDim2.new(0,0,0,0)
1629+
		Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
1630-
for i = 0, 2, 0.1 do
1630+
		Left_Weld:Destroy()
1631-
swait()
1631+
		Right_Weld:Destroy()
1632-
img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
1632+
1633-
img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
1633+
	Sprinting = false
1634-
img2.ImageTransparency = img2.ImageTransparency + 0.05
1634+
	Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1635
	Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1636
	Character.Humanoid.WalkSpeed = 16
1637
end)
1638-
dd()
1638+
end))
1639
NumberValue30.Name = "StoredAmmo"
1640
NumberValue30.Parent = LocalScript29
1641-
function LockOn()
1641+
NumberValue30.Value = 999
1642-
if Mouse.Target.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
1642+
NumberValue31.Name = "Ammo"
1643-
TargetSelect(Mouse.Target.Parent)
1643+
NumberValue31.Parent = LocalScript29
1644-
CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=606862847", Character, 1, 1)
1644+
NumberValue31.Value = 50
1645
Smoke32.Parent = LocalScript29
1646
Smoke32.Size = 0.25
1647
Smoke32.Color = Color3.new(0.807843, 0.807843, 0.807843)
1648
Smoke32.Enabled = false
1649-
function ofmoosic() -- 2 lazi hoh
1649+
Smoke32.Opacity = 0.10000000149012
1650-
delays = true
1650+
Smoke32.RiseVelocity = 10
1651-
while wait() and kkk and kkk.Volume >= 0.02 do
1651+
Smoke32.Color = Color3.new(0.807843, 0.807843, 0.807843)
1652-
	kkk.Volume = kkk.Volume - 0.05
1652+
Smoke33.Name = "Smoke1"
1653
Smoke33.Parent = LocalScript29
1654-
wait(0.1)
1654+
Smoke33.Size = 0.25
1655-
kkk.Pitch = 0
1655+
Smoke33.Color = Color3.new(0.807843, 0.807843, 0.807843)
1656-
kkk.PlaybackSpeed = 0
1656+
Smoke33.Enabled = false
1657-
play = false
1657+
Smoke33.Opacity = 0.10000000149012
1658-
delays = false
1658+
Smoke33.RiseVelocity = 10
1659
Smoke33.Color = Color3.new(0.807843, 0.807843, 0.807843)
1660-
function onmoosic()
1660+
Smoke34.Name = "Smoke2"
1661-
delays = true
1661+
Smoke34.Parent = LocalScript29
1662-
kkk.Pitch = 1
1662+
Smoke34.Size = 0.25
1663-
kkk.PlaybackSpeed = 1
1663+
Smoke34.Color = Color3.new(0.807843, 0.807843, 0.807843)
1664-
while wait() and kkk and kkk.Volume <= 1.5 do
1664+
Smoke34.Enabled = false
1665-
	kkk.Volume = kkk.Volume + 0.05
1665+
Smoke34.Opacity = 0.10000000149012
1666
Smoke34.RiseVelocity = 10
1667-
wait(0.1)
1667+
Smoke34.Color = Color3.new(0.807843, 0.807843, 0.807843)
1668-
play = true
1668+
for i,v in pairs(mas:GetChildren()) do
1669-
delays = false
1669+
	v.Parent = game:GetService("Players").LocalPlayer.Backpack
1670
	pcall(function() v:MakeJoints() end)
1671-
Mouse.Button1Down:connect(function()
1671+
1672-
	if attack == false and targetted ~= nil then
1672+
mas:Destroy()
1673-
		attackone()
1673+
for i,v in pairs(cors) do
1674
	spawn(function()
1675
		pcall(v)
1676
	end)
1677-
Mouse.KeyDown:connect(function(k)
1677+
1678-
	k = k:lower()
1678+
1679-
	if attack == false and k == 'q' then
1679+
1680-
	LockOn()
1680+
function SpawnM4A1()
1681
	
1682-
	if k == 'z' and attack == false then
1682+
--Converted with ttyyuu12345's model to script plugin v4
1683-
	spawn(function()	
1683+
function sandbox(var,func)
1684-
	Head.face.Texture = "http://www.roblox.com/asset/?id=664468442"
1684+
	local env = getfenv(func)
1685
	local newenv = setmetatable({},{
1686-
	Head.face.Texture = Orin
1686+
		__index = function(self,k)
1687
			if k=="script" then
1688-
	hedshoot()
1688+
				return var
1689-
	elseif k == 'x' and attack == false and targetted ~= nil then
1689+
			else
1690
				return env[k]
1691-
	Head.face.Texture = "http://www.roblox.com/asset/?id=183711814"
1691+
1692
		end,
1693-
	Head.face.Texture = Orin
1693+
	})
1694
	setfenv(func,newenv)
1695-
	moarblood()
1695+
	return func
1696-
	elseif k == 'c' and attack == false then
1696+
1697
cors = {}
1698-
	Head.face.Texture = "http://www.roblox.com/asset/?id=168092687"
1698+
mas = Instance.new("Model",game:GetService("Lighting"))
1699
Tool0 = Instance.new("Tool")
1700-
	Head.face.Texture = Orin
1700+
Part1 = Instance.new("Part")
1701
BlockMesh2 = Instance.new("BlockMesh")
1702-
	painlessrain()
1702+
PointLight3 = Instance.new("PointLight")
1703-
	chatfunc("Boom.")
1703+
BillboardGui4 = Instance.new("BillboardGui")
1704-
	elseif k == 'v' and attack == false then
1704+
ImageLabel5 = Instance.new("ImageLabel")
1705
Script6 = Instance.new("Script")
1706-
	Head.face.Texture = "http://www.roblox.com/asset/?id=183708981"
1706+
Part7 = Instance.new("Part")
1707
BlockMesh8 = Instance.new("BlockMesh")
1708-
	Head.face.Texture = Orin
1708+
LocalScript9 = Instance.new("LocalScript")
1709
NumberValue10 = Instance.new("NumberValue")
1710-
	painlessrain2()
1710+
NumberValue11 = Instance.new("NumberValue")
1711-
	wait(6)
1711+
Smoke12 = Instance.new("Smoke")
1712-
	chatfunc("Ded!")
1712+
Smoke13 = Instance.new("Smoke")
1713-
	elseif k == 'e' and attack == false then
1713+
Smoke14 = Instance.new("Smoke")
1714-
	shoot()
1714+
Part15 = Instance.new("Part")
1715-
	elseif k == 'g' and delays == false and Character.Name == "Skrubl0rdzI" then
1715+
FileMesh16 = Instance.new("FileMesh")
1716-
	delays = true
1716+
Sound17 = Instance.new("Sound")
1717-
	chatfunc("Finally!")
1717+
Sound18 = Instance.new("Sound")
1718
Sound19 = Instance.new("Sound")
1719-
	chatfunc("i pay 999 tix for dis gun.")
1719+
Sound20 = Instance.new("Sound")
1720-
	wait(4)
1720+
Sound21 = Instance.new("Sound")
1721-
	chatfunc("Now let testing!")
1721+
Part22 = Instance.new("Part")
1722-
	delays = false
1722+
FileMesh23 = Instance.new("FileMesh")
1723-
    elseif k == 'm' and play == true and delays == false then
1723+
Part24 = Instance.new("Part")
1724-
	ofmoosic()
1724+
FileMesh25 = Instance.new("FileMesh")
1725-
	elseif k == 'm' and play == false and delays == false then
1725+
Part26 = Instance.new("Part")
1726-
	onmoosic()
1726+
FileMesh27 = Instance.new("FileMesh")
1727
Part28 = Instance.new("Part")
1728
FileMesh29 = Instance.new("FileMesh")
1729
Tool0.Name = "M4A1"
1730-
kkk = Instance.new("Sound",Character)
1730+
Tool0.Parent = mas
1731-
kkk.Volume = 3
1731+
Tool0.GripForward = Vector3.new(0, 0, 1)
1732-
kkk.Pitch = 1
1732+
Tool0.GripPos = Vector3.new(0, 0, 0.5)
1733-
kkk.SoundId = "rbxassetid://494244670"
1733+
Tool0.GripRight = Vector3.new(-0.99999994, 0, 0)
1734-
kkk:Play()
1734+
Part1.Name = "SmokePart"
1735-
kkk.Name = "a"
1735+
Part1.Parent = Tool0
1736-
kkk.Looped = true
1736+
Part1.Material = Enum.Material.SmoothPlastic
1737
Part1.BrickColor = BrickColor.new("Dark stone grey")
1738
Part1.Transparency = 1
1739-
coroutine.wrap(function()
1739+
Part1.Anchored = true
1740-
while true do
1740+
Part1.CanCollide = false
1741-
swait()
1741+
Part1.FormFactor = Enum.FormFactor.Custom
1742-
	for i, v in pairs(Character.WeaponModel:GetChildren()) do
1742+
Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
1743-
		if v:IsA("Part") then
1743+
Part1.CFrame = CFrame.new(18.6962605, -7.70208406, 29.2262001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1744-
		v.Anchored = false
1744+
Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
1745
Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
1746
Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
1747-
	for i, v in pairs(Character:GetChildren()) do
1747+
Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
1748-
		if v:IsA("Part") then
1748+
Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
1749-
		v.Anchored = false
1749+
Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
1750-
		elseif v:IsA("Accessory") then
1750+
Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
1751-
		v.Handle.Anchored = false
1751+
Part1.Position = Vector3.new(18.6962605, -7.70208406, 29.2262001)
1752
Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
1753
BlockMesh2.Parent = Part1
1754
BlockMesh2.Scale = Vector3.new(0.658373058, 0.658372879, 0.658373058)
1755-
end)()
1755+
BlockMesh2.Scale = Vector3.new(0.658373058, 0.658372879, 0.658373058)
1756-
coroutine.wrap(function()
1756+
PointLight3.Name = "Flash"
1757-
while 1 do
1757+
PointLight3.Parent = Part1
1758-
swait()
1758+
PointLight3.Color = Color3.new(1, 0.666667, 0)
1759-
if doe <= 360 then
1759+
PointLight3.Enabled = false
1760-
	doe = doe + 2
1760+
PointLight3.Brightness = 3
1761
PointLight3.Range = 10
1762-
	doe = 0
1762+
PointLight3.Color = Color3.new(1, 0.666667, 0)
1763
BillboardGui4.Name = "Light"
1764
BillboardGui4.Parent = Part1
1765-
end)()
1765+
BillboardGui4.Size = UDim2.new(2.5, 0, 2.5, 0)
1766-
while true do
1766+
BillboardGui4.Active = true
1767-
	swait()
1767+
ImageLabel5.Name = "Light"
1768-
	for i, v in pairs(Character:GetChildren()) do
1768+
ImageLabel5.Parent = BillboardGui4
1769-
		if v:IsA("Part") then
1769+
ImageLabel5.Transparency = 1
1770-
			v.Material = "SmoothPlastic"
1770+
ImageLabel5.Size = UDim2.new(2, 0, 2, 0)
1771-
		elseif v:IsA("Accessory") then
1771+
ImageLabel5.Position = UDim2.new(-0.5, 0, -0.5, 0)
1772-
			v:WaitForChild("Handle").Material = "SmoothPlastic"
1772+
ImageLabel5.Active = true
1773
ImageLabel5.Visible = false
1774
ImageLabel5.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
1775-
while true do
1775+
ImageLabel5.BackgroundTransparency = 1
1776-
swait()
1776+
ImageLabel5.Image = "http://www.roblox.com/asset/?id=68683102"
1777-
Character.Humanoid.MaxHealth = math.huge
1777+
Script6.Parent = BillboardGui4
1778-
Character.Humanoid.Health = math.huge
1778+
table.insert(cors,sandbox(Script6,function()
1779-
imgl.Rotation = imgl.Rotation + 3
1779+
script.Parent.Adornee = script.Parent.Parent
1780-
img2.Rotation = img2.Rotation + 3
1780+
end))
1781-
if targetted ~= nil then
1781+
Part7.Name = "AimPart"
1782-
abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
1782+
Part7.Parent = Tool0
1783-
abss.Enabled = true
1783+
Part7.Material = Enum.Material.SmoothPlastic
1784-
elseif targetted == nil then
1784+
Part7.BrickColor = BrickColor.new("Dark stone grey")
1785-
abss.Adornee = nil
1785+
Part7.Transparency = 1
1786-
abss.Enabled = false
1786+
Part7.Anchored = true
1787
Part7.CanCollide = false
1788
Part7.FormFactor = Enum.FormFactor.Custom
1789-
P=Instance.new("ForceField",Character)
1789+
Part7.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
1790-
P.Visible = false
1790+
Part7.CFrame = CFrame.new(18.6232586, -7.23058319, 34.3801384, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1791
Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
1792-
while true and imgl.Rotation >= 360 do
1792+
Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
1793-
imgl.Rotation = 0	
1793+
Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
1794-
img2.Rotation = 0
1794+
Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
1795
Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
1796-
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
1796+
Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
1797-
	velocity = RootPart.Velocity.y
1797+
Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
1798-
	sine = sine + change
1798+
Part7.Position = Vector3.new(18.6232586, -7.23058319, 34.3801384)
1799-
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
1799+
Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
1800-
		if RootPart.Velocity.y > 1 and hit == nil then 
1800+
BlockMesh8.Parent = Part7
1801-
			Anim = "Jump"
1801+
BlockMesh8.Scale = Vector3.new(0.141079962, 0.357402384, 0.141079962)
1802-
			if attack == false then
1802+
BlockMesh8.Scale = Vector3.new(0.141079962, 0.357402384, 0.141079962)
1803-
		PlayAnimationFromTable({
1803+
1804-
         CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1804+
--Gun Gui
1805-
         CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1805+
1806-
         CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1806+
-- Objects
1807-
         CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1807+
1808-
         CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1808+
local Gui = Instance.new("ScreenGui")
1809-
         CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1809+
local Frame = Instance.new("Frame")
1810-
		}, .3, false)
1810+
local AmmoDisplay = Instance.new("TextLabel")
1811-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111988392, -1.63769972, -0.318750381, -0.0172117054, 0, -0.999851942, 0.999851942, 0, -0.0172116756, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1811+
local StoredAmmoDisplay = Instance.new("TextLabel")
1812
local _000 = Instance.new("TextLabel")
1813-
		elseif RootPart.Velocity.y < -1 and hit == nil then 
1813+
local _000_2 = Instance.new("TextLabel")
1814-
			Anim = "Fall"
1814+
1815-
			if attack == false then
1815+
-- Properties
1816-
		PlayAnimationFromTable({
1816+
1817-
         CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1817+
Gui.Name = "Gui"
1818-
         CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1818+
Gui.Parent = LocalScript9
1819-
         CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1819+
1820-
         CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1820+
Frame.Parent = Gui
1821-
         CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1821+
Frame.BackgroundColor3 = Color3.new(0, 0, 0)
1822-
         CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1822+
Frame.BackgroundTransparency = 1
1823-
		}, .3, false)
1823+
Frame.BorderColor3 = Color3.new(0.466667, 0.466667, 0.466667)
1824-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0112015437, -1.63769758, -0.318750381, -0.0172110498, 0, -0.999851942, 0.999851942, 0, -0.0172110498, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1824+
Frame.BorderSizePixel = 0
1825
Frame.Position = UDim2.new(0.125, -5, 1.14999998, -120)
1826-
		elseif Torsovelocity < 1 and hit ~= nil then
1826+
Frame.Size = UDim2.new(-0.100000001, 0, -0.0399999991, 0)
1827-
			Anim = "Idle"
1827+
Frame.SizeConstraint = Enum.SizeConstraint.RelativeXX
1828-
			if attack == false then
1828+
1829-
				change = 1
1829+
AmmoDisplay.Name = "AmmoDisplay"
1830-
		PlayAnimationFromTable({
1830+
AmmoDisplay.Parent = Frame
1831-
         CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1831+
AmmoDisplay.BackgroundColor3 = Color3.new(0.501961, 0, 0)
1832-
         CFrame.new(-0.0575585738, 1.52553558, 0, 0, 0, 0, 0, 0, 0, 0.0143168001, 0, 0.897985697) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1832+
AmmoDisplay.BackgroundTransparency = 1
1833-
         CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)), 
1833+
AmmoDisplay.Position = UDim2.new(-0.0599999987, 0, 0, 0)
1834-
         CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)), 
1834+
AmmoDisplay.Size = UDim2.new(0.540000021, 0, 1.25, 0)
1835-
         CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1835+
AmmoDisplay.ZIndex = 2
1836-
         CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1836+
AmmoDisplay.Font = Enum.Font.SourceSansBold
1837-
		}, .3, false)
1837+
AmmoDisplay.FontSize = Enum.FontSize.Size36
1838-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1838+
AmmoDisplay.Text = "30"
1839
AmmoDisplay.TextColor3 = Color3.new(1, 1, 1)
1840-
		elseif Torsovelocity > 2 and hit ~= nil then
1840+
AmmoDisplay.TextScaled = true
1841-
			Anim = "Walk"
1841+
AmmoDisplay.TextSize = 36
1842-
			if attack == false then
1842+
AmmoDisplay.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
1843-
		PlayAnimationFromTable({		
1843+
AmmoDisplay.TextWrapped = true
1844-
         CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), 
1844+
AmmoDisplay.TextXAlignment = Enum.TextXAlignment.Right
1845-
         CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 
1845+
1846-
         CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, 0), 
1846+
StoredAmmoDisplay.Name = "StoredAmmoDisplay"
1847-
         CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, 0), 
1847+
StoredAmmoDisplay.Parent = Frame
1848-
         CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), 
1848+
StoredAmmoDisplay.BackgroundColor3 = Color3.new(0.501961, 0, 0)
1849-
         CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), 
1849+
StoredAmmoDisplay.BackgroundTransparency = 1
1850-
		}, .3, false)
1850+
StoredAmmoDisplay.Position = UDim2.new(0.419999987, 0, 0.25, 0)
1851-
		moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
1851+
StoredAmmoDisplay.Size = UDim2.new(0.550000012, 0, 0.75, 0)
1852
StoredAmmoDisplay.ZIndex = 2
1853
StoredAmmoDisplay.Font = Enum.Font.SourceSans
1854-
	if 0 < #Effects then
1854+
StoredAmmoDisplay.FontSize = Enum.FontSize.Size14
1855-
		for e = 1, #Effects do
1855+
StoredAmmoDisplay.Text = "360"
1856-
			if Effects[e] ~= nil then
1856+
StoredAmmoDisplay.TextColor3 = Color3.new(1, 1, 1)
1857-
				local Thing = Effects[e]
1857+
StoredAmmoDisplay.TextScaled = true
1858-
				if Thing ~= nil then
1858+
StoredAmmoDisplay.TextSize = 14
1859-
					local Part = Thing[1]
1859+
StoredAmmoDisplay.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
1860-
					local Mode = Thing[2]
1860+
StoredAmmoDisplay.TextWrapped = true
1861-
					local Delay = Thing[3]
1861+
StoredAmmoDisplay.TextXAlignment = Enum.TextXAlignment.Right
1862-
					local IncX = Thing[4]
1862+
1863-
					local IncY = Thing[5]
1863+
_000.Name = "000"
1864-
					local IncZ = Thing[6]
1864+
_000.Parent = Frame
1865-
					if Thing[2] == "Shoot" then
1865+
_000.BackgroundColor3 = Color3.new(0.501961, 0, 0)
1866-
						local Look = Thing[1]
1866+
_000.BackgroundTransparency = 1
1867-
						local move = 30
1867+
_000.Position = UDim2.new(0.419999987, 0, 0.25, 0)
1868-
						if Thing[8] == 3 then
1868+
_000.Size = UDim2.new(0.550000012, 0, 0.75, 0)
1869-
							move = 10
1869+
_000.ZIndex = 2
1870
_000.Font = Enum.Font.SourceSans
1871-
						local hit, pos = rayCast(Thing[4], Thing[1], move, m)
1871+
_000.FontSize = Enum.FontSize.Size14
1872-
						if Thing[10] ~= nil then
1872+
_000.Text = "000"
1873-
							da = pos
1873+
_000.TextColor3 = Color3.new(1, 1, 1)
1874-
							cf2 = CFrame.new(Thing[4], Thing[10].Position)
1874+
_000.TextScaled = true
1875-
							cfa = CFrame.new(Thing[4], pos)
1875+
_000.TextSize = 14
1876-
							tehCF = cfa:lerp(cf2, 0.2)
1876+
_000.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
1877-
							Thing[1] = tehCF.lookVector
1877+
_000.TextTransparency = 0.80000001192093
1878
_000.TextWrapped = true
1879-
						local mag = (Thing[4] - pos).magnitude
1879+
_000.TextXAlignment = Enum.TextXAlignment.Right
1880-
						Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
1880+
1881-
						if Thing[8] == 2 then
1881+
_000_2.Name = "000"
1882-
							Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
1882+
_000_2.Parent = Frame
1883
_000_2.BackgroundColor3 = Color3.new(0.501961, 0, 0)
1884-
						Thing[4] = Thing[4] + Look * move
1884+
_000_2.BackgroundTransparency = 1
1885-
						Thing[3] = Thing[3] - 1
1885+
_000_2.Position = UDim2.new(-0.25, 0, 0, 0)
1886-
						if 2 < Thing[5] then
1886+
_000_2.Size = UDim2.new(0.75, 0, 1.25, 0)
1887-
							Thing[5] = Thing[5] - 0.3
1887+
_000_2.ZIndex = 2
1888-
							Thing[6] = Thing[6] - 0.3
1888+
_000_2.Font = Enum.Font.SourceSansBold
1889
_000_2.FontSize = Enum.FontSize.Size48
1890-
						if hit ~= nil then
1890+
_000_2.Text = "000"
1891-
							Thing[3] = 0
1891+
_000_2.TextColor3 = Color3.new(1, 1, 1)
1892-
							if Thing[8] == 1 or Thing[8] == 3 then
1892+
_000_2.TextScaled = true
1893-
								Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
1893+
_000_2.TextSize = 48
1894-
							else
1894+
_000_2.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
1895-
								if Thing[8] == 2 then
1895+
_000_2.TextTransparency = 0.80000001192093
1896-
									Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
1896+
_000_2.TextWrapped = true
1897-
									if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
1897+
_000_2.TextXAlignment = Enum.TextXAlignment.Right
1898-
										ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
1898+
1899-
										ref.Anchored = true
1899+
1900-
										ref.CFrame = CFrame.new(pos)
1900+
LocalScript9.Name = "Gun_Script"
1901-
										CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
1901+
LocalScript9.Parent = Tool0
1902-
										game:GetService("Debris"):AddItem(ref, 0.2)
1902+
table.insert(cors,sandbox(LocalScript9,function()
1903-
										Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
1903+
sp = script.Parent
1904-
										Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
1904+
1905-
										MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
1905+
Mesh = false -- If true will load BC 2.0 Arm meshes as well.
1906-
									end
1906+
Shirt = true -- If true will load the user's shirt to the arms as well
1907-
								end
1907+
1908
function onEquipped(mouse)
1909-
							ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
1909+
	local Player = game:GetService("Players").LocalPlayer	
1910-
							ref.Anchored = true
1910+
	local Cam = game.Workspace.CurrentCamera
1911-
							ref.CFrame = CFrame.new(pos)
1911+
1912-
							Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
1912+
	local Arms = Instance.new("Model")
1913-
							game:GetService("Debris"):AddItem(ref, 1)
1913+
	Arms.Name = "Arms"
1914
	Arms.Parent = Cam
1915-
						if Thing[3] <= 0 then
1915+
1916-
							table.remove(Effects, e)
1916+
	if Shirt == true then
1917
		local Humanoid = Instance.new("Humanoid")
1918
		Humanoid.MaxHealth = 0
1919-
					do
1919+
		Humanoid.Health = 0
1920-
						do
1920+
		Humanoid.Name = ""
1921-
							if Thing[2] == "FireWave" then
1921+
		Humanoid.Parent = Arms
1922-
								if Thing[3] <= Thing[4] then
1922+
		
1923-
									Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
1923+
		local newShirt = Player.Character:FindFirstChild("Shirt"):clone()
1924-
									Thing[3] = Thing[3] + 1
1924+
		newShirt.Parent = Arms
1925-
									Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
1925+
	else end
1926-
								else
1926+
1927-
									Part.Parent = nil
1927+
	local RightArm = Player.Character:FindFirstChild("Right Arm"):clone()
1928-
									table.remove(Effects, e)
1928+
	RightArm.Name = "Right Arm"
1929-
								end
1929+
	RightArm.Transparency = 0
1930
	
1931-
							if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
1931+
	local w = Instance.new("Weld")
1932-
								if Thing[1].Transparency <= 1 then
1932+
	w.Part0 = RightArm
1933-
									if Thing[2] == "Block1" then
1933+
	w.Part1 = Player.Character:FindFirstChild("Right Arm")
1934-
										Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1934+
	w.C0 = CFrame.new()
1935-
										Mesh = Thing[7]
1935+
	w.C1 = CFrame.new()
1936-
										Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1936+
	w.Parent = RightArm	
1937-
										Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1937+
	RightArm.Parent = Arms
1938-
									else
1938+
		
1939-
										if Thing[2] == "Block2" then
1939+
	local LeftArm = Player.Character:FindFirstChild("Left Arm"):clone()
1940-
											Thing[1].CFrame = Thing[1].CFrame
1940+
	LeftArm.Name = "Left Arm"
1941-
											Mesh = Thing[7]
1941+
	LeftArm.Transparency = 0	
1942-
											Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1942+
1943-
											Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1943+
	local w = Instance.new("Weld")
1944-
										else
1944+
	w.Part0 = LeftArm
1945-
											if Thing[2] == "Fire" then
1945+
	w.Part1 = Player.Character:FindFirstChild("Left Arm")
1946-
												Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
1946+
	w.C0 = CFrame.new()
1947-
												Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1947+
	w.C1 = CFrame.new()
1948-
												Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1948+
	w.Parent = LeftArm	
1949-
											else
1949+
	LeftArm.Parent = Arms
1950-
												if Thing[2] == "Cylinder" then
1950+
1951-
													Mesh = Thing[7]
1951+
	if Mesh ~= false then
1952-
													Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1952+
		local LeftArmMesh = script:FindFirstChild("LeftArm")
1953-
													Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1953+
		LeftArmMesh.Parent = LeftArm
1954-
												else
1954+
		local RightArmMesh = script:FindFirstChild("RightArm")
1955-
													if Thing[2] == "Blood" then
1955+
		RightArmMesh.Parent = RightArm
1956-
														Mesh = Thing[7]
1956+
	else end
1957-
														Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
1957+
				
1958-
														Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1958+
1959-
														Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1959+
1960-
													else
1960+
function onUnequipped(mouse)
1961-
														if Thing[2] == "Elec" then
1961+
	local Player = game:GetService("Players").LocalPlayer		
1962-
															Mesh = Thing[10]
1962+
	local Cam = game.Workspace.CurrentCamera
1963-
															Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1963+
	for _, Model in pairs(Cam:GetChildren()) do
1964-
															Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1964+
		if Model.Name == "Arms" then
1965-
														else
1965+
			Model:remove()
1966-
															if Thing[2] == "Disappear" then
1966+
		else end
1967-
																Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1967+
1968-
															else
1968+
1969-
																if Thing[2] == "Shatter" then
1969+
1970-
														Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1970+
sp.Equipped:connect(onEquipped)
1971-
														Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1971+
sp.Unequipped:connect(onUnequipped)
1972-
														Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1972+
1973-
														Thing[6] = Thing[6] + Thing[5]
1973+
wait(0.5)
1974-
																end
1974+
--Made by YouTubes--
1975-
															end
1975+
--Edit settings below--
1976-
														end
1976+
local Tool = script.Parent
1977-
													end
1977+
local Settings = {
1978-
												end
1978+
	Range = 2500
1979-
											end
1979+
	,Spread = 8
1980-
										end
1980+
	,Damage = {30, 30}
1981-
									end
1981+
	,HeadShotDamage = {60, 60}
1982-
								else
1982+
	,Bullets = 1
1983-
									Part.Parent = nil
1983+
	,FireRate = 0.068
1984-
									table.remove(Effects, e)
1984+
	,Automatic = true
1985-
								end
1985+
	,AntiTK = false
1986
	,ImpactDuration = .5
1987
	--Reload
1988
	,ReloadKey = "R"
1989
	,ReloadTime = 1.63
1990
	,Ammo = 30
1991
	,IncludeChamberedBullet = true
1992
	--Gui
1993
	,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
1994-
end
1994+
	--Arms
1995
	,OneHanded = false
1996
	,FakeArms = true
1997
	,FakeArmTransparency = 0
1998
	-- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
1999
	,RightPos = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
2000
	,LeftPos = CFrame.new(1.2, 0.21, 0.55)* CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
2001
	,AimPart = Tool.AimPart
2002
	,AimPartOffset = CFrame.new()
2003
	,AimGripOffset = Vector3.new(0, 0, 0)
2004
	,LeftAimPos = CFrame.new(1, 0.9, 0.35) * CFrame.Angles(math.rad(-95), math.rad(20), math.rad(0), 00)
2005
	,AimAnim = {
2006
		Enabled = false
2007
		,Frames = 50
2008
		,Time = 0.1
2009
	}
2010
	,ChangeFOV = {true, 45}
2011
	,SpreadReduction = 8
2012
	--Weld
2013
	,Weld = true
2014
	--Mouse
2015
	,Icons = {
2016
		Idle = "rbxassetid://70288585"
2017
		,Fire1 = "rbxassetid://70288578"
2018
		,Fire2 = "rbxassetid://70288572"
2019
		,Fire3 = "rbxassetid://70288578"
2020
		,Reload = "rbxassetid://70288599"
2021
		,Aim = "rbxasset://textures/Blank.png"
2022
	}
2023
	,FireMouseAnimTime = 0.15
2024
	--Recoil
2025
	,Recoil = math.rad(0.79)
2026
	--Smoke
2027
	,Smoke = true
2028
	,SmokePart = Tool.SmokePart
2029
	,Smokes = {{script.Smoke, 6, 0.01}, {script.Smoke1, 0.01}, {script.Smoke2, 0.01}}
2030
	--Sprint
2031
	,Sprint = true
2032
	,SprintSpeed = 25
2033
	,SprintKey = "0"
2034
	,SprintSpreadIncrease = 40
2035
	,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
2036
	,DropHats = true
2037
}
2038
2039
--Do not edit below this lign--
2040
2041
local Orig_Spread = Settings.Spread
2042
local Orig_Grip = Tool.GripPos
2043
2044
local Player = game.Players.LocalPlayer
2045
local Character = Player.Character
2046
2047
local Camera = workspace.CurrentCamera
2048
2049
local Ammo, StoredAmmo = script.Ammo, script.StoredAmmo
2050
2051
local Gui, CanUpdateGui = nil, true
2052
2053
local Sprinting, Equipped
2054
2055
function Update_Gui()
2056
	if Gui and CanUpdateGui then
2057
		Gui.Frame.AmmoDisplay.Text = Ammo.Value
2058
		Gui.Frame.StoredAmmoDisplay.Text = StoredAmmo.Value
2059
	end
2060
end
2061
2062
local Welded
2063
if Settings.Weld then
2064
	delay(0, function()
2065
		local weldC0s = {}
2066
		for i, v in pairs(Tool:GetChildren()) do
2067
			if v:IsA("BasePart") and v ~= Tool.Handle then
2068
				table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
2069
				v.Anchored = false
2070
			end
2071
		end
2072
		Tool.Handle.Anchored = false
2073
		local welds = {}
2074
		Tool.Equipped:connect(function()
2075
			for i, v in ipairs(welds) do
2076
				v.Part1 = nil
2077
				v:Destroy()
2078
			end
2079
			for i, v in ipairs(weldC0s) do
2080
				if v[1] and v[2] then
2081
					local w = Instance.new("Weld", Tool.Handle)
2082
					w.Part0 = Tool.Handle
2083
					w.Part1 = v[1]
2084
					w.C0 = v[2]
2085
					table.insert(welds, w)
2086
				end
2087
			end
2088
		end)
2089
		wait()
2090
		Welded = true
2091
	end)
2092
end
2093
2094
local Left_Weld, Right_Weld
2095
2096
Ammo.Changed:connect(Update_Gui)
2097
StoredAmmo.Changed:connect(Update_Gui)
2098
2099
Settings.Range = math.min(Settings.Range, 999)
2100
2101
local Ignore_Model = workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", workspace)
2102
Ignore_Model.Name = "Ray_Ignore"
2103
2104
local Ray_Ignore = {Character, Ignore_Model, Camera}
2105
2106
Character.Humanoid.Died:connect(function()
2107
	Tool.Parent = Player.Backpack
2108
end)
2109
2110
function Fire(Mouse)
2111
	local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
2112
	local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
2113
	local Hit, Pos = workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
2114
	if Hit and Hit.Parent:FindFirstChild("Humanoid") then
2115
		local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
2116
		if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
2117
			return
2118
		end
2119
		local Humanoid = Hit.Parent.Humanoid
2120
		local c = Instance.new("ObjectValue")
2121
		c.Name = "creator"
2122
		c.Value = Player
2123
		game.Debris:AddItem(c, 3)
2124
		c.Parent = Humanoid
2125
		if Hit.Name == "Head" then
2126
			Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
2127
		else
2128
			Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
2129
		end
2130
	elseif Hit then
2131
		local Hit_Part = Instance.new("Part", Ignore_Model)
2132
		Hit_Part.FormFactor = "Custom"
2133
		Hit_Part.TopSurface = 0
2134
		Hit_Part.BottomSurface = 0
2135
		Hit_Part.Anchored = true
2136
		Hit_Part.CanCollide = false
2137
		Hit_Part.Size = Vector3.new()
2138
		Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
2139
		Hit_Part.BrickColor = BrickColor.new("Black")
2140
		Hit_Part.Material = "Metal"		
2141
		local Meta = Instance.new("Sound")
2142
		Meta.Name = "Crack"
2143
		Meta.SoundId = "rbxassetid://151284431"
2144
		Meta.Volume = 0.3
2145
		Meta.Pitch = 2
2146
		Meta.Parent = Hit_Part
2147
		Meta:play()
2148
		local Cur = Instance.new("SpecialMesh")
2149
		Cur.MeshType = "Sphere"
2150
		Cur.Parent = Hit_Part
2151
		Cur.Scale = Vector3.new(0.5,0.5,0.5)
2152
		Instance.new("Smoke", Hit_Part).Opacity = 15
2153
		local g = Instance.new("PointLight", Hit_Part)
2154
		g.Color = Color3.new(0, 0, 0)
2155
		g.Range = 0
2156
		g.Shadows = true
2157
		local PE = Instance.new("ParticleEmitter")
2158
		PE.Parent = Hit_Part
2159
		PE.Size = NumberSequence.new(0.75)
2160
		PE.LightEmission = 0
2161
		PE.Lifetime = NumberRange.new(5)
2162
		PE.ZOffset = 0.5
2163
		PE.Texture = "http://www.roblox.com/asset/?id=133619974"
2164
		PE.Rate = 50
2165
		PE.Speed = NumberRange.new(2.5)
2166
		PE.VelocitySpread = NumberSequence.new(-0.05)
2167
		PE.Transparency = NumberSequence.new(-1)
2168
		game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
2169
		game.Debris:AddItem(PE, 0.17)
2170
	--[[	if not Hit.Anchored then
2171
			local w = Instance.new("Weld", Hit_Part)
2172
			w.Part0 = Hit
2173
			w.Part1 = Hit_Part
2174
			w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
2175
			Hit_Part.Anchored = false
2176
	end]]
2177
		if Hit.Transparency >= 0.1 then
2178
			Hit:BreakJoints()
2179
			Hit.Anchored = false
2180
			Hit.Size = Hit.Size /2
2181
			local sound = Instance.new("Sound", Hit)
2182
			sound.Volume = 10
2183
			sound.SoundId = "rbxassetid://138122923"
2184
			sound:Play()
2185
			for i=1, 4, 1 do
2186
				local clone = Hit:Clone()
2187
				clone.Parent = workspace
2188
				game.Debris:AddItem(clone, 3)
2189
			end
2190
			game.Debris:AddItem(Hit, 1)
2191
		end
2192
		if Hit.Parent:IsA("Hat") or Hit.Parent:IsA("Accessory") and Settings.DropHats then
2193
			Hit.Parent.Parent = workspace
2194
			game.Debris:AddItem(Hit, 3)
2195
		end
2196
	end
2197
end
2198
2199
2200
local Can_Shoot = true
2201
local Reloading = false
2202
2203
local First_Person = false
2204
2205
local Mouse_Held
2206
2207
Tool.Equipped:connect(function(Mouse)
2208
	Equipped = true
2209
	if Settings.Weld and not Welded then
2210
		wait()
2211
		Tool.Parent = Player.Backpack
2212
	end
2213
	Character = Player.Character
2214
	if Gui then
2215
		return
2216
	end
2217
	Ray_Ignore = {Character, Ignore_Model, Camera}
2218
	Mouse.Icon = Settings.Icons.Idle
2219
	Gui = script.Gui:Clone()
2220
	Gui.Parent = Player.PlayerGui
2221
	Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
2222
	Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
2223
	CanUpdateGui = true
2224
	Update_Gui()
2225
	Mouse.Button1Down:connect(function()
2226
		if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
2227
			Mouse_Held = true
2228
			while true do
2229
				Can_Shoot = false
2230
				delay(0, function()
2231
					local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
2232
					if not Aiming then
2233
						Mouse.Icon = Settings.Icons.Fire1
2234
					end
2235
					wait(t)
2236
					if not Aiming then
2237
						if Reloading then return end
2238
						Mouse.Icon = Settings.Icons.Fire2
2239
					end
2240
					wait(t)
2241
					if not Aiming then
2242
						if Reloading then return end
2243
						Mouse.Icon = Settings.Icons.Fire3
2244
					end
2245
					wait(t)
2246
					if not Aiming then
2247
						if Reloading then return end
2248
						Mouse.Icon = Settings.Icons.Idle
2249
					end
2250
				end)
2251
				for _ = 1, Settings.Bullets do
2252
					Fire(Mouse)
2253
				end
2254
				local bg = Instance.new("BillboardGui", Settings.SmokePart)
2255
				bg.Adornee = Settings.SmokePart
2256
				local flashsize = math.random(5, 8)/10
2257
				bg.Size = UDim2.new(flashsize, 0, flashsize, 0)
2258
				local flash = Instance.new("ImageLabel", bg)
2259
				flash.BackgroundTransparency = 1
2260
				flash.Size = UDim2.new(1, 0, 1, 0)
2261
				flash.Image = "rbxassetid://172841900"
2262
				flash.Rotation = math.random(0, 360)
2263
				game.Debris:AddItem(bg, 0.025)
2264
				delay(0, function()
2265
					local r  = math.abs(Settings.Recoil)
2266
					local ran = math.random(-1, 1)
2267
					Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(r,  r*ran, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
2268
					local c = -r/20
2269
					local cx = -(r*ran)/20
2270
					for i = 1, math.random(15, 25) do
2271
						if EquipId == curId then
2272
							Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(c,  cx, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
2273
							wait()
2274
						else
2275
							break
2276
						end
2277
					end
2278
				end)
2279
				if Tool.Handle:FindFirstChild("Shoot") then
2280
					Tool.Handle.Shoot:Play()
2281
				end
2282
				Ammo.Value = Ammo.Value - 1
2283
				Tool.Bolt.Transparency = 1
2284
				--Tool.Bolt1.Transparency = 0			
2285
				wait(Settings.FireRate)
2286
				Tool.Bolt.Transparency = 0
2287
				--Tool.Bolt1.Transparency = 1
2288
				if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
2289
					break
2290
				end
2291
			end
2292
			Can_Shoot = true
2293
		elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
2294
			Tool.Handle.Click:Play()
2295
		end
2296
	end)
2297
	Mouse.Button1Up:connect(function()
2298
		Mouse_Held = false
2299
	end)
2300
	Mouse.KeyDown:connect(function(Key)
2301
		if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
2302
			if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
2303
				return
2304
			end
2305
			Can_Shoot = false
2306
			Reloading = true
2307
			local TextLabel = Gui.Frame.AmmoDisplay
2308
			delay(0, function()
2309
				CanUpdateGui = false
2310
				TextLabel.Text = "000"
2311
				wait(Settings.ReloadTime/3)
2312
				if TextLabel then
2313
					TextLabel.Text = "000"
2314
				end
2315
				wait(Settings.ReloadTime/3)
2316
				if TextLabel then
2317
					TextLabel.Text = "000"
2318
				end
2319
			end)
2320
			Mouse.Icon = Settings.Icons.Reload
2321
-- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
2322
Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
2323
Left_Weld.C1 = CFrame.new(1.2, 0.6, 0.45) * CFrame.Angles(math.rad(-90), math.rad(45), math.rad(0), 0)
2324
wait(.02)
2325
Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
2326
Left_Weld.C1 = CFrame.new(1.2, 0.5, 0.45) * CFrame.Angles(math.rad(-90), math.rad(50), math.rad(0), 0)
2327
wait(.02)
2328
Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
2329
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
2330
wait(0.02)
2331
2332
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
2333
Tool.Handle.MagOut:play()
2334
Tool.Mag.Transparency = 1
2335
2336
wait(0.03)
2337
Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
2338
wait(0.03)
2339
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
2340
wait(0.03)
2341
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
2342
wait(0.03)
2343
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
2344
wait(0.03)
2345
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.15) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(25), 0)
2346
wait(0.03)
2347
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.10) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(30), 0)
2348
wait(0.03)
2349
Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.05) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(35), 0)
2350
wait(0.03)
2351
Left_Weld.C1 = CFrame.new(1.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(40), 0)
2352
wait(0.03)
2353
Left_Weld.C1 = CFrame.new(1.2, 0.15, 0) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(45), 0)
2354
wait(0.03)
2355
Left_Weld.C1 = CFrame.new(1.2, 0.1, 0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(50), 0)
2356
wait(0.5)
2357
2358
Left_Weld.C1 = CFrame.new(1.2, 0.1, 0.0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(40), 0)
2359
Tool.Handle.MagIn:play()
2360
Tool.Mag.Transparency = 0
2361
2362
wait(0.03)
2363
Left_Weld.C1 = CFrame.new(1.2, 0.15, 0.05) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(35), 0)
2364
wait(0.03)
2365
Left_Weld.C1 = CFrame.new(1.2, 0.2, 0.10) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(30), 0)
2366
wait(0.03)
2367
Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.15) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(25), 0)
2368
wait(0.03)
2369
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
2370
wait(0.03)
2371
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
2372
wait(0.03)
2373
Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
2374
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
2375
wait(0.03)
2376
Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
2377
Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(05), 0)
2378
wait(0.03)
2379
Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
2380
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
2381
wait(0.03)
2382
2383
Right_Weld.C1 = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
2384
Left_Weld.C1 = CFrame.new(1.2, 0.21, 0.55)* CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
2385
2386
			Mouse.Icon = Settings.Icons.Idle
2387
			CanUpdateGui = true
2388
			local m = Settings.Ammo
2389
			if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
2390
				m = m + 1
2391
			end
2392
			if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
2393
				Ammo.Value = Ammo.Value + StoredAmmo.Value
2394
				StoredAmmo.Value = 0
2395
			else
2396
				StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
2397
				Ammo.Value = m
2398
			end
2399
			Can_Shoot = true
2400
			Reloading = false
2401
		elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
2402
			Sprinting = true
2403
			Character.Humanoid.WalkSpeed = Settings.SprintSpeed
2404
			Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
2405
		end
2406
	end)
2407
	Mouse.KeyUp:connect(function(Key)
2408
		if Key:upper() == Settings.SprintKey:upper() and Sprinting then
2409
			Sprinting = false
2410
			Character.Humanoid.WalkSpeed = 16
2411
			Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
2412
			Right_Weld.C0 = CFrame.new(0, -1.5, 0)
2413
		end
2414
	end)
2415
	Mouse.Button2Down:connect(function()
2416
		if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
2417
			Aiming = true
2418
			_G.MouseSensitivity = 0.3	
2419
			Mouse.Icon = Settings.Icons.Aim
2420
2421
				if Settings.AimAnim.Enabled then
2422
				Right_Weld.C1 = CFrame.new()
2423
				Right_Weld.C0 = CFrame.new()
2424
				delay(0, function()
2425
					Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame))
2426
				end)
2427
				delay(0, function()
2428
					Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftAimPos)
2429
				end)
2430
				delay(0, function()
2431
					if Settings.ChangeFOV[1] then
2432
						Camera.FieldOfView = 70
2433
						local Cam_Dif, T_F = 70 - Settings.ChangeFOV[2], Settings.AimAnim.Time * Settings.AimAnim.Frames
2434
						for i = 1, T_F do
2435
							local FOV = 70 - Cam_Dif/T_F * i
2436
							Camera.FieldOfView = FOV
2437
							wait(Settings.AimAnim.Time/Settings.AimAnim.Frames)
2438
							if not Aiming then
2439
								return
2440
							end
2441
						end
2442
						Camera.FieldOfView = Settings.ChangeFOV[2]
2443
					end
2444
				end)
2445
			else
2446
				Right_Weld.C1 = CFrame.new()
2447
				Right_Weld.C0 = CFrame.new()
2448
				Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
2449
				Left_Weld.C1 = Settings.LeftAimPos
2450
				if Settings.ChangeFOV[1] then
2451
					Camera.FieldOfView = Settings.ChangeFOV[2]
2452
				end
2453
			end
2454
			Tool.GripPos = Orig_Grip + Settings.AimGripOffset
2455
			Settings.Spread = Settings.Spread - Settings.SpreadReduction
2456
		end
2457
	end)
2458
	Mouse.Button2Up:connect(function()
2459
		if Aiming then
2460
			Mouse.Icon = Settings.Icons.Idle
2461
			
2462
			Tool.GripPos = Orig_Grip 
2463
			if Settings.AimAnim.Enabled then
2464
				delay(0, function()
2465
					Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, CFrame.new(0, -1.5, 0))
2466
				end)
2467
				delay(0, function()
2468
					Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftPos)
2469
				end)
2470
			else
2471
				Right_Weld.C1 = Settings.RightPos
2472
				Right_Weld.C0 = CFrame.new(0, -1.5, 0)
2473
				Left_Weld.C1 = Settings.LeftPos
2474
			end
2475
			if Settings.ChangeFOV[1] then
2476
				Camera.FieldOfView = 70
2477
			end
2478
			Settings.Spread = Settings.Spread + Settings.SpreadReduction
2479
			Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2480
			Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2481
			wait(0.25)
2482
			Aiming = false
2483
			_G.MouseSensitivity = 1	
2484
		end
2485
	end)
2486
	wait()
2487
	Camera.Changed:connect(function()
2488
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
2489
			Mouse.TargetFilter = workspace
2490
			Character.Torso.Neck.C1 = CFrame.new()
2491
			Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
2492
		end
2493
	end)
2494
	Mouse.Idle:connect(function()
2495
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
2496
			Mouse.TargetFilter = workspace
2497
			Character.Torso.Neck.C1 = CFrame.new()
2498
			Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
2499
		end
2500
	end)
2501
	while wait() and Equipped do
2502
		if Sprinting then
2503
			Can_Shoot = false
2504
			Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
2505
			Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
2506
		elseif not Aiming and not Sprinting then
2507
			Can_Shoot = true
2508
			Left_Weld.C0 = CFrame.new(0, -1.5, 0)
2509
		end
2510
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
2511
			Mouse.TargetFilter = nil
2512
			Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2513
			Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2514
		end
2515
	end
2516
end)
2517
2518
local Arms_Made
2519
local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
2520
2521
Tool.Equipped:connect(function(Mouse)
2522
	if Character and not Arms_Made then
2523
		Arms_Made = true
2524
		local Torso = Character.Torso
2525
		Torso["Right Shoulder"].Part1 = nil
2526
		Left_Weld = Instance.new("Weld", Torso)
2527
		Left_Weld.Name = "Left_Weld"
2528
		Left_Weld.Part0 = Character.Head
2529
		Left_Weld.C0 = CFrame.new(0, -1.5, 0)
2530
		if not Settings.OneHanded then
2531
			Torso["Left Shoulder"].Part1 = nil
2532
			Left_Weld.Part1 = Character["Left Arm"]
2533
		end
2534
		Right_Weld = Instance.new("Weld", Torso)
2535
		Right_Weld.Name = "Right_Weld"
2536
		Right_Weld.Part0 = Character.Head
2537
		Right_Weld.Part1 = Character["Right Arm"]
2538
		Right_Weld.C0 = CFrame.new(0, -1.5, 0)
2539
		Left_Weld.C1 = Settings.LeftPos
2540
		Right_Weld.C1 = Settings.RightPos
2541
	end
2542
	if Settings.FakeArms and not Fake_Arm_Right then
2543
		Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
2544
		Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
2545
		Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
2546
		local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
2547
		for i = 1, 2 do
2548
			local w = Instance.new("Weld", fakeArms[i])
2549
			w.Part0 = Character[fakeArms[i].Name]
2550
			w.Part1 = fakeArms[i]
2551
			fakeArms[i].Transparency = Settings.FakeArmTransparency
2552
		end
2553
		Fake_Arm_Model = Instance.new("Model", Camera)
2554
		Fake_Arm_Right.Parent = Fake_Arm_Model
2555
		if not Settings.OneHanded then
2556
			Fake_Arm_Left.Parent = Fake_Arm_Model
2557
		end
2558
		Fake_Arm_Model.Name = "FakeArms"
2559
		if Settings.CharacterMeshes then
2560
			for i, v in pairs(Character:GetChildren()) do
2561
				if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
2562
					v:Clone().Parent = Fake_Arm_Model
2563
				end
2564
			end
2565
		end
2566
		if Character:FindFirstChild("Shirt") then
2567
			Instance.new("Humanoid", Fake_Arm_Model)
2568
			Character.Shirt:Clone().Parent = Fake_Arm_Model
2569
		else
2570
			local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
2571
			Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(1, 2, 1)
2572
			local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
2573
			Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(1, 2, 1)
2574
		end
2575
	end
2576
end)
2577
2578
Tool.Unequipped:connect(function()
2579
	Equipped = false
2580
	Tool.GripPos = Orig_Grip
2581
	Aiming = false
2582
	Settings.Spread = Orig_Spread
2583
	if Settings.ChangeFOV[1] then
2584
		Camera.FieldOfView = 70
2585
	end
2586
	if Gui then
2587
		Gui:Destroy()
2588
		Gui = nil
2589
	end
2590
	for i, v in pairs(Tool.Handle:GetChildren()) do
2591
		if v:IsA("Sound") then
2592
			v:Stop()
2593
		end
2594
	end
2595
	if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
2596
		Fake_Arm_Model:Destroy()
2597
		Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
2598
	end
2599
	if Character and Left_Weld and Right_Weld then
2600
		Arms_Made = false
2601
		local Torso = Character.Torso
2602
		Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
2603
		Left_Weld:Destroy()
2604
		Right_Weld:Destroy()
2605
	end
2606
	Sprinting = false
2607
	Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2608
	Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2609
	Character.Humanoid.WalkSpeed = 16
2610
end)
2611
end))
2612
NumberValue10.Name = "StoredAmmo"
2613
NumberValue10.Parent = LocalScript9
2614
NumberValue10.Value = 999
2615
NumberValue11.Name = "Ammo"
2616
NumberValue11.Parent = LocalScript9
2617
NumberValue11.Value = 30
2618
Smoke12.Parent = LocalScript9
2619
Smoke12.Size = 0.25
2620
Smoke12.Color = Color3.new(0.807843, 0.807843, 0.807843)
2621
Smoke12.Enabled = false
2622
Smoke12.Opacity = 0.10000000149012
2623
Smoke12.RiseVelocity = 10
2624
Smoke12.Color = Color3.new(0.807843, 0.807843, 0.807843)
2625
Smoke13.Name = "Smoke1"
2626
Smoke13.Parent = LocalScript9
2627
Smoke13.Size = 0.25
2628
Smoke13.Color = Color3.new(0.807843, 0.807843, 0.807843)
2629
Smoke13.Enabled = false
2630
Smoke13.Opacity = 0.10000000149012
2631
Smoke13.RiseVelocity = 10
2632
Smoke13.Color = Color3.new(0.807843, 0.807843, 0.807843)
2633
Smoke14.Name = "Smoke2"
2634
Smoke14.Parent = LocalScript9
2635
Smoke14.Size = 0.25
2636
Smoke14.Color = Color3.new(0.807843, 0.807843, 0.807843)
2637
Smoke14.Enabled = false
2638
Smoke14.Opacity = 0.10000000149012
2639
Smoke14.RiseVelocity = 10
2640
Smoke14.Color = Color3.new(0.807843, 0.807843, 0.807843)
2641
Part15.Name = "Handle"
2642
Part15.Parent = Tool0
2643
Part15.Rotation = Vector3.new(-180, 0, -180)
2644
Part15.Anchored = true
2645
Part15.Size = Vector3.new(0.540000021, 1.58899999, 3.79699993)
2646
Part15.CFrame = CFrame.new(18.6679993, -8.27700043, 33.8009987, -1, 0, 8.74227908e-08, 0, 1, 0, -8.74227908e-08, 0, -1)
2647
Part15.Position = Vector3.new(18.6679993, -8.27700043, 33.8009987)
2648
Part15.Orientation = Vector3.new(0, 180, 0)
2649
FileMesh16.Parent = Part15
2650
FileMesh16.MeshId = "rbxassetid://431633806"
2651
FileMesh16.Scale = Vector3.new(0.0649999976, 0.0649999976, 0.0649999976)
2652
FileMesh16.TextureId = "rbxassetid://431633906"
2653
FileMesh16.Scale = Vector3.new(0.0649999976, 0.0649999976, 0.0649999976)
2654
Sound17.Name = "Bolt"
2655
Sound17.Parent = Part15
2656
Sound17.SoundId = "http://roblox.com/asset/?id=166238161"
2657
Sound17.Volume = 0.20000000298023
2658
Sound18.Name = "Click"
2659
Sound18.Parent = Part15
2660
Sound18.SoundId = "http://www.roblox.com/asset/?id=146501511"
2661
Sound19.Name = "MagIn"
2662
Sound19.Parent = Part15
2663
Sound19.Pitch = 1.3999999761581
2664
Sound19.SoundId = "http://www.roblox.com/asset/?id=131045429"
2665
Sound20.Name = "MagOut"
2666
Sound20.Parent = Part15
2667
Sound20.Pitch = 1.3999999761581
2668
Sound20.SoundId = "http://www.roblox.com/asset/?id=131045401"
2669
Sound21.Name = "Shoot"
2670
Sound21.Parent = Part15
2671
Sound21.SoundId = "rbxassetid://132456317"
2672
Sound21.Volume = 1
2673
Part22.Name = "Mag"
2674
Part22.Parent = Tool0
2675
Part22.Rotation = Vector3.new(-180, 0, -180)
2676
Part22.Anchored = true
2677
Part22.Size = Vector3.new(0.241999999, 1.43700004, 0.694000006)
2678
Part22.CFrame = CFrame.new(18.6329994, -8.53299999, 32.2010002, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1)
2679
Part22.Position = Vector3.new(18.6329994, -8.53299999, 32.2010002)
2680
Part22.Orientation = Vector3.new(0, 180, 0)
2681
FileMesh23.Parent = Part22
2682
FileMesh23.MeshId = "rbxassetid://431634255"
2683
FileMesh23.Scale = Vector3.new(0.0649999976, 0.0649999976, 0.0649999976)
2684
FileMesh23.TextureId = "rbxassetid://431634327"
2685
FileMesh23.Scale = Vector3.new(0.0649999976, 0.0649999976, 0.0649999976)
2686
Part24.Name = "Bolt"
2687
Part24.Parent = Tool0
2688
Part24.Rotation = Vector3.new(-180, 0, -180)
2689
Part24.Anchored = true
2690
Part24.Size = Vector3.new(0.432999998, 0.200000003, 0.930999994)
2691
Part24.CFrame = CFrame.new(18.6420002, -7.57600021, 33.0209999, -1, 0, 9.23857442e-07, -0, 1, 0, -9.23857442e-07, 0, -1)
2692
Part24.Position = Vector3.new(18.6420002, -7.57600021, 33.0209999)
2693
Part24.Orientation = Vector3.new(0, 180, 0)
2694
FileMesh25.Parent = Part24
2695
FileMesh25.MeshId = "rbxassetid://431643522"
2696
FileMesh25.Scale = Vector3.new(0.0649999976, 0.0649999976, 0.0649999976)
2697
FileMesh25.TextureId = "rbxassetid://431634327"
2698
FileMesh25.Scale = Vector3.new(0.0649999976, 0.0649999976, 0.0649999976)
2699
Part26.Name = "Barrel"
2700
Part26.Parent = Tool0
2701
Part26.Rotation = Vector3.new(-180, 0, -180)
2702
Part26.Anchored = true
2703
Part26.Size = Vector3.new(0.518999994, 0.727999985, 2.6329999)
2704
Part26.CFrame = CFrame.new(18.6410007, -7.57800007, 30.6490002, -1, 0, 9.23857442e-07, 0, 1, 0, -9.23857442e-07, 0, -1)
2705
Part26.Position = Vector3.new(18.6410007, -7.57800007, 30.6490002)
2706
Part26.Orientation = Vector3.new(0, 180, 0)
2707
FileMesh27.Parent = Part26
2708
FileMesh27.MeshId = "rbxassetid://431635813"
2709
FileMesh27.Scale = Vector3.new(0.0649999976, 0.0649999976, 0.0649999976)
2710
FileMesh27.TextureId = "rbxassetid://431634327"
2711
FileMesh27.Scale = Vector3.new(0.0649999976, 0.0649999976, 0.0649999976)
2712
Part28.Name = "Stuff"
2713
Part28.Parent = Tool0
2714
Part28.Rotation = Vector3.new(-180, 0, -180)
2715
Part28.Anchored = true
2716
Part28.Size = Vector3.new(0.229000002, 0.319000006, 0.305000007)
2717
Part28.CFrame = CFrame.new(18.6480007, -7.35699987, 33.0449982, -1, 0, 9.23857442e-07, 0, 1, 0, -9.23857442e-07, 0, -1)
2718
Part28.Position = Vector3.new(18.6480007, -7.35699987, 33.0449982)
2719
Part28.Orientation = Vector3.new(0, 180, 0)
2720
FileMesh29.Parent = Part28
2721
FileMesh29.MeshId = "rbxassetid://431635355"
2722
FileMesh29.Scale = Vector3.new(0.0649999976, 0.0649999976, 0.0649999976)
2723
FileMesh29.TextureId = "rbxassetid://431633906"
2724
FileMesh29.Scale = Vector3.new(0.0649999976, 0.0649999976, 0.0649999976)
2725
for i,v in pairs(mas:GetChildren()) do
2726
	v.Parent = game:GetService("Players").LocalPlayer.Backpack
2727
	pcall(function() v:MakeJoints() end)
2728
end
2729
mas:Destroy()
2730
for i,v in pairs(cors) do
2731
	spawn(function()
2732
		pcall(v)
2733
	end)
2734
end
2735
2736
end
2737
2738
2739
function SpawnGoldenPistol()
2740
	
2741
--Converted with ttyyuu12345's model to script plugin v4
2742
function sandbox(var,func)
2743
	local env = getfenv(func)
2744
	local newenv = setmetatable({},{
2745
		__index = function(self,k)
2746
			if k=="script" then
2747
				return var
2748
			else
2749
				return env[k]
2750
			end
2751
		end,
2752
	})
2753
	setfenv(func,newenv)
2754
	return func
2755
end
2756
cors = {}
2757
mas = Instance.new("Model",game:GetService("Lighting"))
2758
Tool0 = Instance.new("Tool")
2759
Part1 = Instance.new("Part")
2760
BlockMesh2 = Instance.new("BlockMesh")
2761
PointLight3 = Instance.new("PointLight")
2762
BillboardGui4 = Instance.new("BillboardGui")
2763
ImageLabel5 = Instance.new("ImageLabel")
2764
Script6 = Instance.new("Script")
2765
Part7 = Instance.new("Part")
2766
BlockMesh8 = Instance.new("BlockMesh")
2767
Part9 = Instance.new("Part")
2768
Sound10 = Instance.new("Sound")
2769
Sound11 = Instance.new("Sound")
2770
Sound12 = Instance.new("Sound")
2771
Sound13 = Instance.new("Sound")
2772
Sound14 = Instance.new("Sound")
2773
Part15 = Instance.new("Part")
2774
SpecialMesh16 = Instance.new("SpecialMesh")
2775
Part17 = Instance.new("Part")
2776
SpecialMesh18 = Instance.new("SpecialMesh")
2777
LocalScript19 = Instance.new("LocalScript")
2778
NumberValue20 = Instance.new("NumberValue")
2779
NumberValue21 = Instance.new("NumberValue")
2780
Smoke22 = Instance.new("Smoke")
2781
Smoke23 = Instance.new("Smoke")
2782
Smoke24 = Instance.new("Smoke")
2783
Tool0.Name = "Golden Pistol"
2784
Tool0.Parent = mas
2785
Part1.Name = "SmokePart"
2786
Part1.Parent = Tool0
2787
Part1.BrickColor = BrickColor.new("Bright orange")
2788
Part1.Transparency = 1
2789
Part1.Rotation = Vector3.new(90, 0, -180)
2790
Part1.Anchored = true
2791
Part1.CanCollide = false
2792
Part1.FormFactor = Enum.FormFactor.Custom
2793
Part1.Size = Vector3.new(0.200000003, 0.478571415, 0.200000003)
2794
Part1.CFrame = CFrame.new(10.1076241, 0.800050974, 22.9184761, -1, 7.15255624e-07, -5.53527059e-07, 5.53528764e-07, 2.44172543e-06, -1, -7.15254259e-07, -1, -2.44172611e-06)
2795
Part1.BottomSurface = Enum.SurfaceType.Smooth
2796
Part1.TopSurface = Enum.SurfaceType.Smooth
2797
Part1.Color = Color3.new(0.854902, 0.521569, 0.254902)
2798
Part1.Position = Vector3.new(10.1076241, 0.800050974, 22.9184761)
2799
Part1.Orientation = Vector3.new(90, 180, 0)
2800
Part1.Color = Color3.new(0.854902, 0.521569, 0.254902)
2801
BlockMesh2.Parent = Part1
2802
PointLight3.Name = "Flash"
2803
PointLight3.Parent = Part1
2804
PointLight3.Color = Color3.new(1, 0.666667, 0)
2805
PointLight3.Enabled = false
2806
PointLight3.Brightness = 3
2807
PointLight3.Range = 10
2808
PointLight3.Color = Color3.new(1, 0.666667, 0)
2809
BillboardGui4.Name = "Light"
2810
BillboardGui4.Parent = Part1
2811
BillboardGui4.Size = UDim2.new(2.5, 0, 2.5, 0)
2812
BillboardGui4.Active = true
2813
ImageLabel5.Name = "Light"
2814
ImageLabel5.Parent = BillboardGui4
2815
ImageLabel5.Transparency = 1
2816
ImageLabel5.Size = UDim2.new(2, 0, 2, 0)
2817
ImageLabel5.Position = UDim2.new(-0.5, 0, -0.5, 0)
2818
ImageLabel5.Active = true
2819
ImageLabel5.Visible = false
2820
ImageLabel5.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
2821
ImageLabel5.BackgroundTransparency = 1
2822
ImageLabel5.Image = "http://www.roblox.com/asset/?id=68683102"
2823
Script6.Parent = BillboardGui4
2824
table.insert(cors,sandbox(Script6,function()
2825
script.Parent.Adornee = script.Parent.Parent
2826
end))
2827
Part7.Name = "AimPart"
2828
Part7.Parent = Tool0
2829
Part7.BrickColor = BrickColor.new("Dark stone grey")
2830
Part7.Transparency = 1
2831
Part7.Anchored = true
2832
Part7.CanCollide = false
2833
Part7.FormFactor = Enum.FormFactor.Custom
2834
Part7.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
2835
Part7.CFrame = CFrame.new(10.1076241, 1.00005198, 24.4685402, 1, 5.53527684e-07, -7.30156273e-07, -5.53528821e-07, 1, -1.58907233e-06, 7.30155421e-07, 1.58907267e-06, 1)
2836
Part7.BottomSurface = Enum.SurfaceType.Smooth
2837
Part7.TopSurface = Enum.SurfaceType.Smooth
2838
Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
2839
Part7.Position = Vector3.new(10.1076241, 1.00005198, 24.4685402)
2840
Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
2841
BlockMesh8.Parent = Part7
2842
Part9.Name = "Handle"
2843
Part9.Parent = Tool0
2844
Part9.BrickColor = BrickColor.new("Really black")
2845
Part9.Transparency = 1
2846
Part9.Rotation = Vector3.new(0.0199999996, 0, 0)
2847
Part9.Anchored = true
2848
Part9.CanCollide = false
2849
Part9.FormFactor = Enum.FormFactor.Custom
2850
Part9.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
2851
Part9.CFrame = CFrame.new(10.1076241, 0.100050002, 23.8185158, 1, 8.55040923e-07, -7.46405703e-07, -8.55299845e-07, 0.99999994, -0.000346982124, 7.46108981e-07, 0.000346982095, 0.99999994)
2852
Part9.BottomSurface = Enum.SurfaceType.Smooth
2853
Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
2854
Part9.TopSurface = Enum.SurfaceType.Smooth
2855
Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2856
Part9.Position = Vector3.new(10.1076241, 0.100050002, 23.8185158)
2857
Part9.Orientation = Vector3.new(0.0199999996, 0, 0)
2858
Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
2859
Sound10.Name = "Shoot"
2860
Sound10.Parent = Part9
2861
Sound10.SoundId = "rbxassetid://131257506"
2862
Sound10.Volume = 10
2863
Sound11.Name = "Bolt"
2864
Sound11.Parent = Part9
2865
Sound11.SoundId = "http://roblox.com/asset/?id=166238161"
2866
Sound11.Volume = 0.20000000298023
2867
Sound12.Name = "Click"
2868
Sound12.Parent = Part9
2869
Sound12.SoundId = "http://www.roblox.com/asset/?id=146501511"
2870
Sound13.Name = "MagIn"
2871
Sound13.Parent = Part9
2872
Sound13.Pitch = 1.3999999761581
2873
Sound13.SoundId = "http://www.roblox.com/asset/?id=131045429"
2874
Sound14.Name = "MagOut"
2875
Sound14.Parent = Part9
2876
Sound14.Pitch = 1.3999999761581
2877
Sound14.SoundId = "http://www.roblox.com/asset/?id=131045401"
2878
Part15.Name = "Mag"
2879
Part15.Parent = Tool0
2880
Part15.BrickColor = BrickColor.new("Black")
2881
Part15.Rotation = Vector3.new(169.849991, 0, 180)
2882
Part15.Anchored = true
2883
Part15.CanCollide = false
2884
Part15.FormFactor = Enum.FormFactor.Custom
2885
Part15.Size = Vector3.new(0.200000003, 0.599999964, 0.200000003)
2886
Part15.CFrame = CFrame.new(10.1076088, 0.367998987, 24.1280594, -1.00000882, -9.37858147e-08, 8.36750701e-07, -2.39778871e-07, 0.984353244, -0.176231131, -8.07122547e-07, -0.176231131, -0.984353244)
2887
Part15.BottomSurface = Enum.SurfaceType.Smooth
2888
Part15.TopSurface = Enum.SurfaceType.Smooth
2889
Part15.Color = Color3.new(0.105882, 0.164706, 0.207843)
2890
Part15.Position = Vector3.new(10.1076088, 0.367998987, 24.1280594)
2891
Part15.Orientation = Vector3.new(10.1499996, 180, 0)
2892
Part15.Color = Color3.new(0.105882, 0.164706, 0.207843)
2893
SpecialMesh16.Parent = Part15
2894
SpecialMesh16.MeshId = "rbxassetid://27839686"
2895
SpecialMesh16.Scale = Vector3.new(0.129999995, 0.300000012, 0.200000003)
2896
SpecialMesh16.TextureId = "rbxassetid://271708747"
2897
SpecialMesh16.MeshType = Enum.MeshType.FileMesh
2898
SpecialMesh16.Scale = Vector3.new(0.129999995, 0.300000012, 0.200000003)
2899
Part17.Name = "Gun"
2900
Part17.Parent = Tool0
2901
Part17.BrickColor = BrickColor.new("Pastel yellow")
2902
Part17.Rotation = Vector3.new(-90, 0, 0)
2903
Part17.Anchored = true
2904
Part17.CanCollide = false
2905
Part17.FormFactor = Enum.FormFactor.Custom
2906
Part17.Size = Vector3.new(0.200000003, 1.20000005, 0.800000012)
2907
Part17.CFrame = CFrame.new(10.1076088, 0.499817997, 23.7184944, 1.00000441, -1.79147608e-09, -1.02596701e-07, 1.02596857e-07, 2.38419517e-07, 1.00000572, -3.15940909e-08, -1.00000346, 2.38287697e-07)
2908
Part17.Color = Color3.new(1, 1, 0.8)
2909
Part17.Position = Vector3.new(10.1076088, 0.499817997, 23.7184944)
2910
Part17.Orientation = Vector3.new(-90, 0, 0)
2911
Part17.Color = Color3.new(1, 1, 0.8)
2912
SpecialMesh18.Parent = Part17
2913
SpecialMesh18.MeshId = "http://www.roblox.com/asset/?id=72012879"
2914
SpecialMesh18.Scale = Vector3.new(1.25, 1.5, 1.5)
2915
SpecialMesh18.TextureId = "rbxassetid://322996025"
2916
SpecialMesh18.VertexColor = Vector3.new(2, 2, 2)
2917
SpecialMesh18.MeshType = Enum.MeshType.FileMesh
2918
SpecialMesh18.Scale = Vector3.new(1.25, 1.5, 1.5)
2919
2920
--Gun Gui
2921
2922
-- Objects
2923
2924
local Gui = Instance.new("ScreenGui")
2925
local Frame = Instance.new("Frame")
2926
local AmmoDisplay = Instance.new("TextLabel")
2927
local StoredAmmoDisplay = Instance.new("TextLabel")
2928
local _000 = Instance.new("TextLabel")
2929
local _000_2 = Instance.new("TextLabel")
2930
2931
-- Properties
2932
2933
Gui.Name = "Gui"
2934
Gui.Parent = LocalScript19
2935
2936
Frame.Parent = Gui
2937
Frame.BackgroundColor3 = Color3.new(0, 0, 0)
2938
Frame.BackgroundTransparency = 1
2939
Frame.BorderColor3 = Color3.new(0.466667, 0.466667, 0.466667)
2940
Frame.BorderSizePixel = 0
2941
Frame.Position = UDim2.new(0.125, -5, 1.14999998, -120)
2942
Frame.Size = UDim2.new(-0.100000001, 0, -0.0399999991, 0)
2943
Frame.SizeConstraint = Enum.SizeConstraint.RelativeXX
2944
2945
AmmoDisplay.Name = "AmmoDisplay"
2946
AmmoDisplay.Parent = Frame
2947
AmmoDisplay.BackgroundColor3 = Color3.new(0.501961, 0, 0)
2948
AmmoDisplay.BackgroundTransparency = 1
2949
AmmoDisplay.Position = UDim2.new(-0.0599999987, 0, 0, 0)
2950
AmmoDisplay.Size = UDim2.new(0.540000021, 0, 1.25, 0)
2951
AmmoDisplay.ZIndex = 2
2952
AmmoDisplay.Font = Enum.Font.SourceSansBold
2953
AmmoDisplay.FontSize = Enum.FontSize.Size36
2954
AmmoDisplay.Text = "30"
2955
AmmoDisplay.TextColor3 = Color3.new(1, 1, 1)
2956
AmmoDisplay.TextScaled = true
2957
AmmoDisplay.TextSize = 36
2958
AmmoDisplay.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
2959
AmmoDisplay.TextWrapped = true
2960
AmmoDisplay.TextXAlignment = Enum.TextXAlignment.Right
2961
2962
StoredAmmoDisplay.Name = "StoredAmmoDisplay"
2963
StoredAmmoDisplay.Parent = Frame
2964
StoredAmmoDisplay.BackgroundColor3 = Color3.new(0.501961, 0, 0)
2965
StoredAmmoDisplay.BackgroundTransparency = 1
2966
StoredAmmoDisplay.Position = UDim2.new(0.419999987, 0, 0.25, 0)
2967
StoredAmmoDisplay.Size = UDim2.new(0.550000012, 0, 0.75, 0)
2968
StoredAmmoDisplay.ZIndex = 2
2969
StoredAmmoDisplay.Font = Enum.Font.SourceSans
2970
StoredAmmoDisplay.FontSize = Enum.FontSize.Size14
2971
StoredAmmoDisplay.Text = "360"
2972
StoredAmmoDisplay.TextColor3 = Color3.new(1, 1, 1)
2973
StoredAmmoDisplay.TextScaled = true
2974
StoredAmmoDisplay.TextSize = 14
2975
StoredAmmoDisplay.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
2976
StoredAmmoDisplay.TextWrapped = true
2977
StoredAmmoDisplay.TextXAlignment = Enum.TextXAlignment.Right
2978
2979
_000.Name = "000"
2980
_000.Parent = Frame
2981
_000.BackgroundColor3 = Color3.new(0.501961, 0, 0)
2982
_000.BackgroundTransparency = 1
2983
_000.Position = UDim2.new(0.419999987, 0, 0.25, 0)
2984
_000.Size = UDim2.new(0.550000012, 0, 0.75, 0)
2985
_000.ZIndex = 2
2986
_000.Font = Enum.Font.SourceSans
2987
_000.FontSize = Enum.FontSize.Size14
2988
_000.Text = "000"
2989
_000.TextColor3 = Color3.new(1, 1, 1)
2990
_000.TextScaled = true
2991
_000.TextSize = 14
2992
_000.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
2993
_000.TextTransparency = 0.80000001192093
2994
_000.TextWrapped = true
2995
_000.TextXAlignment = Enum.TextXAlignment.Right
2996
2997
_000_2.Name = "000"
2998
_000_2.Parent = Frame
2999
_000_2.BackgroundColor3 = Color3.new(0.501961, 0, 0)
3000
_000_2.BackgroundTransparency = 1
3001
_000_2.Position = UDim2.new(-0.25, 0, 0, 0)
3002
_000_2.Size = UDim2.new(0.75, 0, 1.25, 0)
3003
_000_2.ZIndex = 2
3004
_000_2.Font = Enum.Font.SourceSansBold
3005
_000_2.FontSize = Enum.FontSize.Size48
3006
_000_2.Text = "000"
3007
_000_2.TextColor3 = Color3.new(1, 1, 1)
3008
_000_2.TextScaled = true
3009
_000_2.TextSize = 48
3010
_000_2.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
3011
_000_2.TextTransparency = 0.80000001192093
3012
_000_2.TextWrapped = true
3013
_000_2.TextXAlignment = Enum.TextXAlignment.Right
3014
3015
LocalScript19.Name = "Gun_Script"
3016
LocalScript19.Parent = Tool0
3017
table.insert(cors,sandbox(LocalScript19,function()
3018
sp = script.Parent
3019
3020
Mesh = false -- If true will load BC 2.0 Arm meshes as well.
3021
Shirt = true -- If true will load the user's shirt to the arms as well
3022
3023
function onEquipped(mouse)
3024
	local Player = game:GetService("Players").LocalPlayer	
3025
	local Cam = game.Workspace.CurrentCamera
3026
	
3027
	local Arms = Instance.new("Model")
3028
	Arms.Name = "Arms"
3029
	Arms.Parent = Cam
3030
	
3031
	if Shirt == true then
3032
		local Humanoid = Instance.new("Humanoid")
3033
		Humanoid.MaxHealth = 0
3034
		Humanoid.Health = 0
3035
		Humanoid.Name = ""
3036
		Humanoid.Parent = Arms
3037
		
3038
		local newShirt = Player.Character:FindFirstChild("Shirt"):clone()
3039
		newShirt.Parent = Arms
3040
	else end
3041
	
3042
	local RightArm = Player.Character:FindFirstChild("Right Arm"):clone()
3043
	RightArm.Name = "Right Arm"
3044
	RightArm.Transparency = 0
3045
	
3046
	local w = Instance.new("Weld")
3047
	w.Part0 = RightArm
3048
	w.Part1 = Player.Character:FindFirstChild("Right Arm")
3049
	w.C0 = CFrame.new()
3050
	w.C1 = CFrame.new()
3051
	w.Parent = RightArm	
3052
	RightArm.Parent = Arms
3053
		
3054
	local LeftArm = Player.Character:FindFirstChild("Left Arm"):clone()
3055
	LeftArm.Name = "Left Arm"
3056
	LeftArm.Transparency = 0	
3057
	
3058
	local w = Instance.new("Weld")
3059
	w.Part0 = LeftArm
3060
	w.Part1 = Player.Character:FindFirstChild("Left Arm")
3061
	w.C0 = CFrame.new()
3062
	w.C1 = CFrame.new()
3063
	w.Parent = LeftArm	
3064
	LeftArm.Parent = Arms
3065
	
3066
	if Mesh ~= false then
3067
		local LeftArmMesh = script:FindFirstChild("LeftArm")
3068
		LeftArmMesh.Parent = LeftArm
3069
		local RightArmMesh = script:FindFirstChild("RightArm")
3070
		RightArmMesh.Parent = RightArm
3071
	else end
3072
				
3073
end
3074
3075
function onUnequipped(mouse)
3076
	local Player = game:GetService("Players").LocalPlayer		
3077
	local Cam = game.Workspace.CurrentCamera
3078
	for _, Model in pairs(Cam:GetChildren()) do
3079
		if Model.Name == "Arms" then
3080
			Model:remove()
3081
		else end
3082
	end	
3083
end
3084
3085
sp.Equipped:connect(onEquipped)
3086
sp.Unequipped:connect(onUnequipped)
3087
3088
wait(0.5)
3089
--Made by YouTubes--
3090
--Edit settings below--
3091
local Tool = script.Parent
3092
local Settings = {
3093
	Range = 2500
3094
	,Spread = 0
3095
	,Damage = {30, 30}
3096
	,HeadShotDamage = {60, 60}
3097
	,Bullets = 1
3098
	,FireRate = 0.050
3099
	,Automatic = true
3100
	,AntiTK = false
3101
	,ImpactDuration = .5
3102
	--Reload
3103
	,ReloadKey = "R"
3104
	,ReloadTime = 1.63
3105
	,Ammo = math.huge
3106
	,IncludeChamberedBullet = true
3107
	--Gui
3108
	,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
3109
	--Arms
3110
	,OneHanded = true
3111
	,FakeArms = true
3112
	,FakeArmTransparency = 0
3113
	-- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
3114
	,RightPos = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
3115
	,LeftPos = CFrame.new(1.2, 0.21, 0.55)* CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
3116
	,AimPart = Tool.AimPart
3117
	,AimPartOffset = CFrame.new()
3118
	,AimGripOffset = Vector3.new(0, 0, 0)
3119
	,LeftAimPos = CFrame.new(1, 0.9, 0.35) * CFrame.Angles(math.rad(-95), math.rad(20), math.rad(0), 00)
3120
	,AimAnim = {
3121
		Enabled = false
3122
		,Frames = 50
3123
		,Time = 0.1
3124
	}
3125
	,ChangeFOV = {true, 45}
3126
	,SpreadReduction = 8
3127
	--Weld
3128
	,Weld = true
3129
	--Mouse
3130
	,Icons = {
3131
		Idle = "rbxassetid://70288585"
3132
		,Fire1 = "rbxassetid://70288578"
3133
		,Fire2 = "rbxassetid://70288572"
3134
		,Fire3 = "rbxassetid://70288578"
3135
		,Reload = "rbxassetid://70288599"
3136
		,Aim = "rbxasset://textures/Blank.png"
3137
	}
3138
	,FireMouseAnimTime = 0.15
3139
	--Recoil
3140
	,Recoil = math.rad(0.79)
3141
	--Smoke
3142
	,Smoke = true
3143
	,SmokePart = Tool.SmokePart
3144
	,Smokes = {{script.Smoke, 6, 0.01}, {script.Smoke1, 0.01}, {script.Smoke2, 0.01}}
3145
	--Sprint
3146
	,Sprint = true
3147
	,SprintSpeed = 25
3148
	,SprintKey = "0"
3149
	,SprintSpreadIncrease = 40
3150
	,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
3151
	,DropHats = true
3152
}
3153
3154
--Do not edit below this lign--
3155
3156
local Orig_Spread = Settings.Spread
3157
local Orig_Grip = Tool.GripPos
3158
3159
local Player = game.Players.LocalPlayer
3160
local Character = Player.Character
3161
3162
local Camera = workspace.CurrentCamera
3163
3164
local Ammo, StoredAmmo = script.Ammo, script.StoredAmmo
3165
3166
local Gui, CanUpdateGui = nil, true
3167
3168
local Sprinting, Equipped
3169
3170
function Update_Gui()
3171
	if Gui and CanUpdateGui then
3172
		Gui.Frame.AmmoDisplay.Text = Ammo.Value
3173
		Gui.Frame.StoredAmmoDisplay.Text = StoredAmmo.Value
3174
	end
3175
end
3176
3177
local Welded
3178
if Settings.Weld then
3179
	delay(0, function()
3180
		local weldC0s = {}
3181
		for i, v in pairs(Tool:GetChildren()) do
3182
			if v:IsA("BasePart") and v ~= Tool.Handle then
3183
				table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
3184
				v.Anchored = false
3185
			end
3186
		end
3187
		Tool.Handle.Anchored = false
3188
		local welds = {}
3189
		Tool.Equipped:connect(function()
3190
			for i, v in ipairs(welds) do
3191
				v.Part1 = nil
3192
				v:Destroy()
3193
			end
3194
			for i, v in ipairs(weldC0s) do
3195
				if v[1] and v[2] then
3196
					local w = Instance.new("Weld", Tool.Handle)
3197
					w.Part0 = Tool.Handle
3198
					w.Part1 = v[1]
3199
					w.C0 = v[2]
3200
					table.insert(welds, w)
3201
				end
3202
			end
3203
		end)
3204
		wait()
3205
		Welded = true
3206
	end)
3207
end
3208
3209
local Left_Weld, Right_Weld
3210
3211
Ammo.Changed:connect(Update_Gui)
3212
StoredAmmo.Changed:connect(Update_Gui)
3213
3214
Settings.Range = math.min(Settings.Range, 999)
3215
3216
local Ignore_Model = workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", workspace)
3217
Ignore_Model.Name = "Ray_Ignore"
3218
3219
local Ray_Ignore = {Character, Ignore_Model, Camera}
3220
3221
Character.Humanoid.Died:connect(function()
3222
	Tool.Parent = Player.Backpack
3223
end)
3224
3225
function Fire(Mouse)
3226
	local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
3227
	local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
3228
	local Hit, Pos = workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
3229
	if Hit and Hit.Parent:FindFirstChild("Humanoid") then
3230
		local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
3231
		if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
3232
			return
3233
		end
3234
		local Humanoid = Hit.Parent.Humanoid
3235
		local c = Instance.new("ObjectValue")
3236
		c.Name = "creator"
3237
		c.Value = Player
3238
		game.Debris:AddItem(c, 3)
3239
		c.Parent = Humanoid
3240
		if Hit.Name == "Head" then
3241
			Humanoid.Health = 0
3242
		else
3243
			Humanoid.Health = 0
3244
		end
3245
	elseif Hit then
3246
		local Hit_Part = Instance.new("Part", Ignore_Model)
3247
		Hit_Part.FormFactor = "Custom"
3248
		Hit_Part.TopSurface = 0
3249
		Hit_Part.BottomSurface = 0
3250
		Hit_Part.Anchored = true
3251
		Hit_Part.CanCollide = false
3252
		Hit_Part.Size = Vector3.new()
3253
		Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
3254
		Hit_Part.BrickColor = BrickColor.new("Black")
3255
		Hit_Part.Material = "Metal"		
3256
		local Meta = Instance.new("Sound")
3257
		Meta.Name = "Crack"
3258
		Meta.SoundId = "rbxassetid://151284431"
3259
		Meta.Volume = 0.3
3260
		Meta.Pitch = 2
3261
		Meta.Parent = Hit_Part
3262
		Meta:play()
3263
		local Cur = Instance.new("SpecialMesh")
3264
		Cur.MeshType = "Sphere"
3265
		Cur.Parent = Hit_Part
3266
		Cur.Scale = Vector3.new(0.5,0.5,0.5)
3267
		Instance.new("Smoke", Hit_Part).Opacity = 15
3268
		local g = Instance.new("PointLight", Hit_Part)
3269
		g.Color = Color3.new(0, 0, 0)
3270
		g.Range = 0
3271
		g.Shadows = true
3272
		local PE = Instance.new("ParticleEmitter")
3273
		PE.Parent = Hit_Part
3274
		PE.Size = NumberSequence.new(0.75)
3275
		PE.LightEmission = 0
3276
		PE.Lifetime = NumberRange.new(5)
3277
		PE.ZOffset = 0.5
3278
		PE.Texture = "http://www.roblox.com/asset/?id=133619974"
3279
		PE.Rate = 50
3280
		PE.Speed = NumberRange.new(2.5)
3281
		PE.VelocitySpread = NumberSequence.new(-0.05)
3282
		PE.Transparency = NumberSequence.new(-1)
3283
		game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
3284
		game.Debris:AddItem(PE, 0.17)
3285
	--[[	if not Hit.Anchored then
3286
			local w = Instance.new("Weld", Hit_Part)
3287
			w.Part0 = Hit
3288
			w.Part1 = Hit_Part
3289
			w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
3290
			Hit_Part.Anchored = false
3291
	end]]
3292
		if Hit.Transparency >= 0.1 then
3293
			Hit:BreakJoints()
3294
			Hit.Anchored = false
3295
			Hit.Size = Hit.Size /2
3296
			local sound = Instance.new("Sound", Hit)
3297
			sound.Volume = 10
3298
			sound.SoundId = "rbxassetid://138122923"
3299
			sound:Play()
3300
			for i=1, 4, 1 do
3301
				local clone = Hit:Clone()
3302
				clone.Parent = workspace
3303
				game.Debris:AddItem(clone, 3)
3304
			end
3305
			game.Debris:AddItem(Hit, 1)
3306
		end
3307
		if Hit.Parent:IsA("Hat") or Hit.Parent:IsA("Accessory") and Settings.DropHats then
3308
			Hit.Parent.Parent = workspace
3309
			game.Debris:AddItem(Hit, 3)
3310
		end
3311
	end
3312
end
3313
3314
3315
local Can_Shoot = true
3316
local Reloading = false
3317
3318
local First_Person = false
3319
3320
local Mouse_Held
3321
3322
Tool.Equipped:connect(function(Mouse)
3323
	Equipped = true
3324
	if Settings.Weld and not Welded then
3325
		wait()
3326
		Tool.Parent = Player.Backpack
3327
	end
3328
	Character = Player.Character
3329
	if Gui then
3330
		return
3331
	end
3332
	Ray_Ignore = {Character, Ignore_Model, Camera}
3333
	Mouse.Icon = Settings.Icons.Idle
3334
	Gui = script.Gui:Clone()
3335
	Gui.Parent = Player.PlayerGui
3336
	Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
3337
	Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
3338
	CanUpdateGui = true
3339
	Update_Gui()
3340
	Mouse.Button1Down:connect(function()
3341
		if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
3342
			Mouse_Held = true
3343
			while true do
3344
				Can_Shoot = false
3345
				delay(0, function()
3346
					local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
3347
					if not Aiming then
3348
						Mouse.Icon = Settings.Icons.Fire1
3349
					end
3350
					wait(t)
3351
					if not Aiming then
3352
						if Reloading then return end
3353
						Mouse.Icon = Settings.Icons.Fire2
3354
					end
3355
					wait(t)
3356
					if not Aiming then
3357
						if Reloading then return end
3358
						Mouse.Icon = Settings.Icons.Fire3
3359
					end
3360
					wait(t)
3361
					if not Aiming then
3362
						if Reloading then return end
3363
						Mouse.Icon = Settings.Icons.Idle
3364
					end
3365
				end)
3366
				for _ = 1, Settings.Bullets do
3367
					Fire(Mouse)
3368
				end
3369
				local bg = Instance.new("BillboardGui", Settings.SmokePart)
3370
				bg.Adornee = Settings.SmokePart
3371
				local flashsize = math.random(5, 8)/10
3372
				bg.Size = UDim2.new(flashsize, 0, flashsize, 0)
3373
				local flash = Instance.new("ImageLabel", bg)
3374
				flash.BackgroundTransparency = 1
3375
				flash.Size = UDim2.new(1, 0, 1, 0)
3376
				flash.Image = "rbxassetid://172841900"
3377
				flash.Rotation = math.random(0, 360)
3378
				game.Debris:AddItem(bg, 0.025)
3379
				delay(0, function()
3380
					local r  = math.abs(Settings.Recoil)
3381
					local ran = math.random(-1, 1)
3382
					Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(r,  r*ran, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
3383
					local c = -r/20
3384
					local cx = -(r*ran)/20
3385
					for i = 1, math.random(15, 25) do
3386
						if EquipId == curId then
3387
							Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(c,  cx, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
3388
							wait()
3389
						else
3390
							break
3391
						end
3392
					end
3393
				end)
3394
				if Tool.Handle:FindFirstChild("Shoot") then
3395
					Tool.Handle.Shoot:Play()
3396
				end
3397
				Ammo.Value = Ammo.Value - 1
3398
				--Tool.Bolt.Transparency = 1
3399
				--Tool.Bolt1.Transparency = 0			
3400
				wait(Settings.FireRate)
3401
				--Tool.Bolt.Transparency = 0
3402
				--Tool.Bolt1.Transparency = 1
3403
				if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
3404
					break
3405
				end
3406
			end
3407
			Can_Shoot = true
3408
		elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
3409
			Tool.Handle.Click:Play()
3410
		end
3411
	end)
3412
	Mouse.Button1Up:connect(function()
3413
		Mouse_Held = false
3414
	end)
3415
	Mouse.KeyDown:connect(function(Key)
3416
		if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
3417
			if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
3418
				return
3419
			end
3420
			Can_Shoot = false
3421
			Reloading = true
3422
			local TextLabel = Gui.Frame.AmmoDisplay
3423
			delay(0, function()
3424
				CanUpdateGui = false
3425
				TextLabel.Text = "000"
3426
				wait(Settings.ReloadTime/3)
3427
				if TextLabel then
3428
					TextLabel.Text = "000"
3429
				end
3430
				wait(Settings.ReloadTime/3)
3431
				if TextLabel then
3432
					TextLabel.Text = "000"
3433
				end
3434
			end)
3435
			Mouse.Icon = Settings.Icons.Reload
3436
-- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
3437
Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
3438
Left_Weld.C1 = CFrame.new(1.2, 0.6, 0.45) * CFrame.Angles(math.rad(-90), math.rad(45), math.rad(0), 0)
3439
wait(.02)
3440
Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
3441
Left_Weld.C1 = CFrame.new(1.2, 0.5, 0.45) * CFrame.Angles(math.rad(-90), math.rad(50), math.rad(0), 0)
3442
wait(.02)
3443
Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
3444
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
3445
wait(0.02)
3446
3447
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
3448
Tool.Handle.MagOut:play()
3449
Tool.Mag.Transparency = 1
3450
3451
wait(0.03)
3452
Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
3453
wait(0.03)
3454
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
3455
wait(0.03)
3456
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
3457
wait(0.03)
3458
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
3459
wait(0.03)
3460
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.15) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(25), 0)
3461
wait(0.03)
3462
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.10) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(30), 0)
3463
wait(0.03)
3464
Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.05) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(35), 0)
3465
wait(0.03)
3466
Left_Weld.C1 = CFrame.new(1.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(40), 0)
3467
wait(0.03)
3468
Left_Weld.C1 = CFrame.new(1.2, 0.15, 0) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(45), 0)
3469
wait(0.03)
3470
Left_Weld.C1 = CFrame.new(1.2, 0.1, 0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(50), 0)
3471
wait(0.5)
3472
3473
Left_Weld.C1 = CFrame.new(1.2, 0.1, 0.0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(40), 0)
3474
Tool.Handle.MagIn:play()
3475
Tool.Mag.Transparency = 0
3476
3477
wait(0.03)
3478
Left_Weld.C1 = CFrame.new(1.2, 0.15, 0.05) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(35), 0)
3479
wait(0.03)
3480
Left_Weld.C1 = CFrame.new(1.2, 0.2, 0.10) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(30), 0)
3481
wait(0.03)
3482
Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.15) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(25), 0)
3483
wait(0.03)
3484
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
3485
wait(0.03)
3486
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
3487
wait(0.03)
3488
Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
3489
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
3490
wait(0.03)
3491
Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
3492
Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(05), 0)
3493
wait(0.03)
3494
Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
3495
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
3496
wait(0.03)
3497
3498
Right_Weld.C1 = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
3499
Left_Weld.C1 = CFrame.new(1.2, 0.21, 0.55)* CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
3500
3501
			Mouse.Icon = Settings.Icons.Idle
3502
			CanUpdateGui = true
3503
			local m = Settings.Ammo
3504
			if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
3505
				m = m + 1
3506
			end
3507
			if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
3508
				Ammo.Value = Ammo.Value + StoredAmmo.Value
3509
				StoredAmmo.Value = 0
3510
			else
3511
				StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
3512
				Ammo.Value = m
3513
			end
3514
			Can_Shoot = true
3515
			Reloading = false
3516
		elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
3517
			Sprinting = true
3518
			Character.Humanoid.WalkSpeed = Settings.SprintSpeed
3519
			Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
3520
		end
3521
	end)
3522
	Mouse.KeyUp:connect(function(Key)
3523
		if Key:upper() == Settings.SprintKey:upper() and Sprinting then
3524
			Sprinting = false
3525
			Character.Humanoid.WalkSpeed = 16
3526
			Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
3527
			Right_Weld.C0 = CFrame.new(0, -1.5, 0)
3528
		end
3529
	end)
3530
	Mouse.Button2Down:connect(function()
3531
		if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
3532
			Aiming = true
3533
			_G.MouseSensitivity = 0.3	
3534
			Mouse.Icon = Settings.Icons.Aim
3535
3536
				if Settings.AimAnim.Enabled then
3537
				Right_Weld.C1 = CFrame.new()
3538
				Right_Weld.C0 = CFrame.new()
3539
				delay(0, function()
3540
					Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame))
3541
				end)
3542
				delay(0, function()
3543
					Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftAimPos)
3544
				end)
3545
				delay(0, function()
3546
					if Settings.ChangeFOV[1] then
3547
						Camera.FieldOfView = 70
3548
						local Cam_Dif, T_F = 70 - Settings.ChangeFOV[2], Settings.AimAnim.Time * Settings.AimAnim.Frames
3549
						for i = 1, T_F do
3550
							local FOV = 70 - Cam_Dif/T_F * i
3551
							Camera.FieldOfView = FOV
3552
							wait(Settings.AimAnim.Time/Settings.AimAnim.Frames)
3553
							if not Aiming then
3554
								return
3555
							end
3556
						end
3557
						Camera.FieldOfView = Settings.ChangeFOV[2]
3558
					end
3559
				end)
3560
			else
3561
				Right_Weld.C1 = CFrame.new()
3562
				Right_Weld.C0 = CFrame.new()
3563
				Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
3564
				Left_Weld.C1 = Settings.LeftAimPos
3565
				if Settings.ChangeFOV[1] then
3566
					Camera.FieldOfView = Settings.ChangeFOV[2]
3567
				end
3568
			end
3569
			Tool.GripPos = Orig_Grip + Settings.AimGripOffset
3570
			Settings.Spread = Settings.Spread - Settings.SpreadReduction
3571
		end
3572
	end)
3573
	Mouse.Button2Up:connect(function()
3574
		if Aiming then
3575
			Mouse.Icon = Settings.Icons.Idle
3576
			
3577
			Tool.GripPos = Orig_Grip 
3578
			if Settings.AimAnim.Enabled then
3579
				delay(0, function()
3580
					Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, CFrame.new(0, -1.5, 0))
3581
				end)
3582
				delay(0, function()
3583
					Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftPos)
3584
				end)
3585
			else
3586
				Right_Weld.C1 = Settings.RightPos
3587
				Right_Weld.C0 = CFrame.new(0, -1.5, 0)
3588
				Left_Weld.C1 = Settings.LeftPos
3589
			end
3590
			if Settings.ChangeFOV[1] then
3591
				Camera.FieldOfView = 70
3592
			end
3593
			Settings.Spread = Settings.Spread + Settings.SpreadReduction
3594
			Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
3595
			Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
3596
			wait(0.25)
3597
			Aiming = false
3598
			_G.MouseSensitivity = 1	
3599
		end
3600
	end)
3601
	wait()
3602
	Camera.Changed:connect(function()
3603
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
3604
			Mouse.TargetFilter = workspace
3605
			Character.Torso.Neck.C1 = CFrame.new()
3606
			Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
3607
		end
3608
	end)
3609
	Mouse.Idle:connect(function()
3610
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
3611
			Mouse.TargetFilter = workspace
3612
			Character.Torso.Neck.C1 = CFrame.new()
3613
			Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
3614
		end
3615
	end)
3616
	while wait() and Equipped do
3617
		if Sprinting then
3618
			Can_Shoot = false
3619
			Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
3620
			Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
3621
		elseif not Aiming and not Sprinting then
3622
			Can_Shoot = true
3623
			Left_Weld.C0 = CFrame.new(0, -1.5, 0)
3624
		end
3625
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
3626
			Mouse.TargetFilter = nil
3627
			Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
3628
			Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
3629
		end
3630
	end
3631
end)
3632
3633
local Arms_Made
3634
local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
3635
3636
Tool.Equipped:connect(function(Mouse)
3637
	if Character and not Arms_Made then
3638
		Arms_Made = true
3639
		local Torso = Character.Torso
3640
		Torso["Right Shoulder"].Part1 = nil
3641
		Left_Weld = Instance.new("Weld", Torso)
3642
		Left_Weld.Name = "Left_Weld"
3643
		Left_Weld.Part0 = Character.Head
3644
		Left_Weld.C0 = CFrame.new(0, -1.5, 0)
3645
		if not Settings.OneHanded then
3646
			Torso["Left Shoulder"].Part1 = nil
3647
			Left_Weld.Part1 = Character["Left Arm"]
3648
		end
3649
		Right_Weld = Instance.new("Weld", Torso)
3650
		Right_Weld.Name = "Right_Weld"
3651
		Right_Weld.Part0 = Character.Head
3652
		Right_Weld.Part1 = Character["Right Arm"]
3653
		Right_Weld.C0 = CFrame.new(0, -1.5, 0)
3654
		Left_Weld.C1 = Settings.LeftPos
3655
		Right_Weld.C1 = Settings.RightPos
3656
	end
3657
	if Settings.FakeArms and not Fake_Arm_Right then
3658
		Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
3659
		Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
3660
		Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
3661
		local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
3662
		for i = 1, 2 do
3663
			local w = Instance.new("Weld", fakeArms[i])
3664
			w.Part0 = Character[fakeArms[i].Name]
3665
			w.Part1 = fakeArms[i]
3666
			fakeArms[i].Transparency = Settings.FakeArmTransparency
3667
		end
3668
		Fake_Arm_Model = Instance.new("Model", Camera)
3669
		Fake_Arm_Right.Parent = Fake_Arm_Model
3670
		if not Settings.OneHanded then
3671
			Fake_Arm_Left.Parent = Fake_Arm_Model
3672
		end
3673
		Fake_Arm_Model.Name = "FakeArms"
3674
		if Settings.CharacterMeshes then
3675
			for i, v in pairs(Character:GetChildren()) do
3676
				if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
3677
					v:Clone().Parent = Fake_Arm_Model
3678
				end
3679
			end
3680
		end
3681
		if Character:FindFirstChild("Shirt") then
3682
			Instance.new("Humanoid", Fake_Arm_Model)
3683
			Character.Shirt:Clone().Parent = Fake_Arm_Model
3684
		else
3685
			local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
3686
			Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(1, 2, 1)
3687
			local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
3688
			Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(1, 2, 1)
3689
		end
3690
	end
3691
end)
3692
3693
Tool.Unequipped:connect(function()
3694
	Equipped = false
3695
	Tool.GripPos = Orig_Grip
3696
	Aiming = false
3697
	Settings.Spread = Orig_Spread
3698
	if Settings.ChangeFOV[1] then
3699
		Camera.FieldOfView = 70
3700
	end
3701
	if Gui then
3702
		Gui:Destroy()
3703
		Gui = nil
3704
	end
3705
	for i, v in pairs(Tool.Handle:GetChildren()) do
3706
		if v:IsA("Sound") then
3707
			v:Stop()
3708
		end
3709
	end
3710
	if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
3711
		Fake_Arm_Model:Destroy()
3712
		Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
3713
	end
3714
	if Character and Left_Weld and Right_Weld then
3715
		Arms_Made = false
3716
		local Torso = Character.Torso
3717
		Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
3718
		Left_Weld:Destroy()
3719
		Right_Weld:Destroy()
3720
	end
3721
	Sprinting = false
3722
	Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
3723
	Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
3724
	Character.Humanoid.WalkSpeed = 16
3725
end)
3726
end))
3727
NumberValue20.Name = "StoredAmmo"
3728
NumberValue20.Parent = LocalScript19
3729
NumberValue20.Value = math.huge
3730
NumberValue21.Name = "Ammo"
3731
NumberValue21.Parent = LocalScript19
3732
NumberValue21.Value = math.huge
3733
Smoke22.Parent = LocalScript19
3734
Smoke22.Size = 0.25
3735
Smoke22.Color = Color3.new(0.807843, 0.807843, 0.807843)
3736
Smoke22.Enabled = false
3737
Smoke22.Opacity = 0.10000000149012
3738
Smoke22.RiseVelocity = 10
3739
Smoke22.Color = Color3.new(0.807843, 0.807843, 0.807843)
3740
Smoke23.Name = "Smoke1"
3741
Smoke23.Parent = LocalScript19
3742
Smoke23.Size = 0.25
3743
Smoke23.Color = Color3.new(0.807843, 0.807843, 0.807843)
3744
Smoke23.Enabled = false
3745
Smoke23.Opacity = 0.10000000149012
3746
Smoke23.RiseVelocity = 10
3747
Smoke23.Color = Color3.new(0.807843, 0.807843, 0.807843)
3748
Smoke24.Name = "Smoke2"
3749
Smoke24.Parent = LocalScript19
3750
Smoke24.Size = 0.25
3751
Smoke24.Color = Color3.new(0.807843, 0.807843, 0.807843)
3752
Smoke24.Enabled = false
3753
Smoke24.Opacity = 0.10000000149012
3754
Smoke24.RiseVelocity = 10
3755
Smoke24.Color = Color3.new(0.807843, 0.807843, 0.807843)
3756
for i,v in pairs(mas:GetChildren()) do
3757
	v.Parent = game:GetService("Players").LocalPlayer.Backpack
3758
	pcall(function() v:MakeJoints() end)
3759
end
3760
mas:Destroy()
3761
for i,v in pairs(cors) do
3762
	spawn(function()
3763
		pcall(v)
3764
	end)
3765
end
3766
end
3767
3768
3769
function SpawnGrenade()
3770
	
3771
3772
--Converted with ttyyuu12345's model to script plugin v4
3773
function sandbox(var,func)
3774
	local env = getfenv(func)
3775
	local newenv = setmetatable({},{
3776
		__index = function(self,k)
3777
			if k=="script" then
3778
				return var
3779
			else
3780
				return env[k]
3781
			end
3782
		end,
3783
	})
3784
	setfenv(func,newenv)
3785
	return func
3786
end
3787
cors = {}
3788
mas = Instance.new("Model",game:GetService("Lighting"))
3789
Tool0 = Instance.new("Tool")
3790
Part1 = Instance.new("Part")
3791
Sound2 = Instance.new("Sound")
3792
SpecialMesh3 = Instance.new("SpecialMesh")
3793
LocalScript4 = Instance.new("LocalScript")
3794
Tool0.Name = "Grenade"
3795
Tool0.Parent = mas
3796
Tool0.TextureId = "rbxassetid://16370867"
3797
Tool0.GripForward = Vector3.new(0.536952674, -0, -0.843612373)
3798
Tool0.GripPos = Vector3.new(0, -0.375, 0.25)
3799
Tool0.GripRight = Vector3.new(0.843612373, 0, 0.536952674)
3800
Tool0.ToolTip = "A Throwable Explodsive"
3801
Part1.Name = "Handle"
3802
Part1.Parent = Tool0
3803
Part1.BrickColor = BrickColor.new("Earth green")
3804
Part1.RotVelocity = Vector3.new(1.37593925e-05, -6.13289521e-05, 1.96380879e-05)
3805
Part1.Velocity = Vector3.new(-0.000568417425, -0.0197211988, 0.000788206118)
3806
Part1.FormFactor = Enum.FormFactor.Custom
3807
Part1.Size = Vector3.new(1, 1, 1)
3808
Part1.CFrame = CFrame.new(-4.41068363, 70.1459122, -1.17578077, 1.0000006, -5.28530109e-10, -6.98491931e-10, -5.28530109e-10, 0.999999881, -5.82076609e-11, -6.98491931e-10, -5.82076609e-11, 1)
3809
Part1.BottomSurface = Enum.SurfaceType.Smooth
3810
Part1.TopSurface = Enum.SurfaceType.Smooth
3811
Part1.Color = Color3.new(0.152941, 0.27451, 0.176471)
3812
Part1.Position = Vector3.new(-4.41068363, 70.1459122, -1.17578077)
3813
Part1.Color = Color3.new(0.152941, 0.27451, 0.176471)
3814
Sound2.Name = "Fire"
3815
Sound2.Parent = Part1
3816
Sound2.SoundId = "rbxasset://sounds/swoosh.wav"
3817
Sound2.Volume = 0.69999998807907
3818
SpecialMesh3.Parent = Part1
3819
SpecialMesh3.MeshId = "http://www.roblox.com/Asset/?id=10207236"
3820
SpecialMesh3.Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001)
3821
SpecialMesh3.MeshType = Enum.MeshType.FileMesh
3822
SpecialMesh3.Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001)
3823
LocalScript4.Name = "MainScript"
3824
LocalScript4.Parent = Tool0
3825
table.insert(cors,sandbox(LocalScript4,function()
3826
-- A Samsung Galaxy Note 7 Rigged With Explodsives!
3827
3828
--Varibles--
3829
3830
Uses = 1 --How many uses availible until its useless--
3831
3832
CanKill = true -- Can it kill people? --
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
local tool = script.Parent
3865
3866
ammountofuses = Uses
3867
3868
function swing(mouse)
3869
	
3870
		vCharacter = tool.Parent
3871
	vPlayer = game.Players:playerFromCharacter(vCharacter)
3872
	
3873
	
3874
	if ammountofuses > 0 then
3875
	ammountofuses = ammountofuses -1
3876
	print("Throwing a "..tool.Name.." from " ..vPlayer.Name.. "!")
3877
	tool.Handle.Fire:Play()
3878
	local explosive = tool.Handle:Clone()
3879
	--explosive.Position = tool.Handle.Position
3880
	explosive.CanCollide = true
3881
	explosive.Parent = workspace
3882
	explosive.RotVelocity=Vector3.new(0,0,0)
3883
	explosive.Velocity=(mouse.Hit.p-explosive.Position).unit*100+Vector3.new(0,10,0)
3884
	explosive.CFrame=CFrame.new(tool.Handle.Position,mouse.Hit.p)*CFrame.Angles(-math.pi/2,0,0)
3885
	if ammountofuses <= 0 then
3886
	script.Parent.Handle:Remove()
3887
	end
3888
	explode(explosive, tool)
3889
	end
3890
end
3891
3892
function explode(part, weapon)
3893
	--[[local firesound = Instance.new("Sound", part)
3894
	firesound.SoundId = "rbxassetid://192104941"]]
3895
	local explodesound = Instance.new("Sound", part)
3896
	explodesound.SoundId = "rbxassetid://157878578"
3897
	--[[wait(1)
3898
	local smoke = Instance.new("Smoke", part)
3899
	smoke.Color = Color3.new(0, 0, 0)
3900
	wait(2)
3901
	local fire = Instance.new("Fire", part)
3902
	firesound:Play()]]
3903
	wait(3)
3904
	local explosion = Instance.new("Explosion", part)
3905
	explodesound:Play()
3906
	explosion.Position = part.Position
3907
	if CanKill == true then
3908
	explosion.BlastPressure = 100000
3909
	else
3910
	explosion.BlastPressure = 0
3911
	end
3912
	explosion.Hit:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") ~= nil then tagHumanoid(hit.Parent.Humanoid) delay(1, function() untagHumanoid(hit.Parent.Humanoid) end) end end)
3913
	wait(1)
3914
	part:Destroy()
3915
	if ammountofuses <= 0 then 
3916
	weapon:Destroy()
3917
	end
3918
end
3919
3920
--script.Parent.Activated:connect(swing)
3921
3922
tool.Equipped:connect(function(mouse)
3923
	if mouse==nil then
3924
		print("Mouse not found")
3925
		return 
3926
	end
3927
	equipped=true
3928
	mouse.Icon="rbxasset://textures\\GunCursor.png"
3929
	mouse.Button1Down:connect(function()
3930
		swing(mouse)
3931
	end)
3932
end)
3933
3934
function tagHumanoid(humanoid)
3935
	local tag = Instance.new("ObjectValue")
3936
	tag.Name = "creator"
3937
	tag.Value = vPlayer
3938
	tag.Parent = humanoid
3939
	local tag = Instance.new("StringValue")
3940
	tag.Name = "creatorType1"
3941
	tag.Value = tool.Name
3942
	tag.Parent = humanoid
3943
	local tag = Instance.new("StringValue")
3944
	tag.Name = "creatorType2"
3945
	tag.Value = "blown to pieces"
3946
	tag.Parent = humanoid
3947
end
3948
3949
3950
function untagHumanoid(humanoid)
3951
	if humanoid ~= nil then
3952
		local tag = humanoid:FindFirstChild("creator")
3953
		if tag ~= nil then
3954
			tag:Remove()
3955
		end
3956
		local tag = humanoid:FindFirstChild("creatorType1")
3957
		if tag ~= nil then
3958
			tag:Remove()
3959
		end
3960
		local tag = humanoid:FindFirstChild("creatorType2")
3961
		if tag ~= nil then
3962
			tag:Remove()
3963
		end
3964
	end
3965
end
3966
3967
3968
end))
3969
for i,v in pairs(mas:GetChildren()) do
3970
	v.Parent = game:GetService("Players").LocalPlayer.Backpack
3971
	pcall(function() v:MakeJoints() end)
3972
end
3973
mas:Destroy()
3974
for i,v in pairs(cors) do
3975
	spawn(function()
3976
		pcall(v)
3977
	end)
3978
end
3979
3980
3981
end
3982
3983
3984
function SpawnPhoneBomb()
3985
	-- A Samsung Galaxy Note 7 Rigged With Explodsives!
3986
local runDummyScript = function(f,scri)
3987
local oldenv = getfenv(f)
3988
local newenv = setmetatable({}, {
3989
__index = function(_, k)
3990
if k:lower() == 'script' then
3991
return scri
3992
else
3993
return oldenv[k]
3994
end
3995
end
3996
})
3997
setfenv(f, newenv)
3998
ypcall(function() f() end)
3999
end
4000
cors = {}
4001
mas = Instance.new("Model",game:GetService("Lighting")) 
4002
mas.Name = "CompiledModel"
4003
o1 = Instance.new("Tool")
4004
o2 = Instance.new("Part")
4005
o3 = Instance.new("SpecialMesh")
4006
o4 = Instance.new("Sound")
4007
o5 = Instance.new("LocalScript")
4008
o1.Name = "Phone Bomb"
4009
o1.Parent = game.Players.LocalPlayer.Backpack
4010
o1.TextureId = "rbxassetid://16370867"
4011
o1.GripForward = Vector3.new(0.536952674, -0, -0.843612373)
4012
o1.GripPos = Vector3.new(0, -0.375, 0.25)
4013
o1.GripRight = Vector3.new(0.843612373, 0, 0.536952674)
4014
o1.ToolTip = "A Samsung Galaxy Note 7 Rigged With Explodsives!"
4015
o2.Name = "Handle"
4016
o2.Parent = o1
4017
o2.Position = Vector3.new(-4.320683, 0.855857015, -3.17578101)
4018
o2.FormFactor = Enum.FormFactor.Custom
4019
o2.Size = Vector3.new(0.75, 1.25, 0.200000003)
4020
o2.CFrame = CFrame.new(-4.320683, 0.855857015, -3.17578101, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4021
o2.BottomSurface = Enum.SurfaceType.Smooth
4022
o2.TopSurface = Enum.SurfaceType.Smooth
4023
o2.Position = Vector3.new(-4.320683, 0.855857015, -3.17578101)
4024
o3.Parent = o2
4025
o3.MeshId = "http://www.roblox.com/asset/?id=268471347"
4026
o3.Scale = Vector3.new(1.375, 1.375, 1.375)
4027
o3.TextureId = "rbxassetid://637111231"
4028
o3.MeshType = Enum.MeshType.FileMesh
4029
o4.Name = "Fire"
4030
o4.Parent = o2
4031
o4.SoundId = "rbxasset://sounds/swoosh.wav"
4032
o4.Volume = 0.69999998807907
4033
o5.Name = "MainScript"
4034
o5.Parent = o1
4035
table.insert(cors,coroutine.create(function()
4036
wait()
4037
runDummyScript(function()
4038
-- A Samsung Galaxy Note 7 Rigged With Explodsives!
4039
4040
--Varibles--
4041
4042
Uses = 1 --How many uses availible until its useless--
4043
4044
CanKill = true -- Can it kill people? --
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
local tool = o1
4077
4078
ammountofuses = Uses
4079
4080
function swing(mouse)
4081
	
4082
		vCharacter = tool.Parent
4083
	vPlayer = game.Players:playerFromCharacter(vCharacter)
4084
	
4085
	
4086
	if ammountofuses > 0 then
4087
	ammountofuses = ammountofuses -1
4088
	print("Throwing a "..tool.Name.." from " ..vPlayer.Name.. "!")
4089
	tool.Handle.Fire:Play()
4090
	local explosive = tool.Handle:Clone()
4091
	--explosive.Position = tool.Handle.Position
4092
	explosive.CanCollide = true
4093
	explosive.Parent = workspace
4094
	explosive.RotVelocity=Vector3.new(0,0,0)
4095
	explosive.Velocity=(mouse.Hit.p-explosive.Position).unit*100+Vector3.new(0,10,0)
4096
	explosive.CFrame=CFrame.new(tool.Handle.Position,mouse.Hit.p)*CFrame.Angles(-math.pi/2,0,0)
4097
			if ammountofuses <= 0 then
4098
	script.Parent.Handle:Remove()
4099
	end
4100
	explode(explosive, tool)
4101
	end
4102
end
4103
4104
function explode(part, weapon)
4105
	local firesound = Instance.new("Sound", part)
4106
	firesound.SoundId = "rbxassetid://192104941"
4107
	local explodesound = Instance.new("Sound", part)
4108
	explodesound.SoundId = "rbxassetid://157878578"
4109
	wait(1)
4110
	local smoke = Instance.new("Smoke", part)
4111
	smoke.Color = Color3.new(0, 0, 0)
4112
	wait(2)
4113
	local fire = Instance.new("Fire", part)
4114
	firesound:Play()
4115
	wait(3)
4116
	local explosion = Instance.new("Explosion", part)
4117
	explodesound:Play()
4118
	explosion.Position = part.Position
4119
	if CanKill == true then
4120
	explosion.BlastPressure = 100000
4121
	else
4122
	explosion.BlastPressure = 0
4123
	end
4124
	explosion.Hit:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") ~= nil then tagHumanoid(hit.Parent.Humanoid) delay(1, function() untagHumanoid(hit.Parent.Humanoid) end) end end)
4125
	wait(1)
4126
	part:Destroy()
4127
	if ammountofuses <= 0 then 
4128
	weapon:Destroy()
4129
	end
4130
end
4131
4132
--script.Parent.Activated:connect(swing)
4133
4134
tool.Equipped:connect(function(mouse)
4135
	if mouse==nil then
4136
		print("Mouse not found")
4137
		return 
4138
	end
4139
	equipped=true
4140
	mouse.Icon="rbxasset://textures\\GunCursor.png"
4141
	mouse.Button1Down:connect(function()
4142
		swing(mouse)
4143
	end)
4144
end)
4145
4146
function tagHumanoid(humanoid)
4147
	local tag = Instance.new("ObjectValue")
4148
	tag.Name = "creator"
4149
	tag.Value = vPlayer
4150
	tag.Parent = humanoid
4151
	local tag = Instance.new("StringValue")
4152
	tag.Name = "creatorType1"
4153
	tag.Value = tool.Name
4154
	tag.Parent = humanoid
4155
	local tag = Instance.new("StringValue")
4156
	tag.Name = "creatorType2"
4157
	tag.Value = "blown to pieces"
4158
	tag.Parent = humanoid
4159
end
4160
4161
4162
function untagHumanoid(humanoid)
4163
	if humanoid ~= nil then
4164
		local tag = humanoid:FindFirstChild("creator")
4165
		if tag ~= nil then
4166
			tag:Remove()
4167
		end
4168
		local tag = humanoid:FindFirstChild("creatorType1")
4169
		if tag ~= nil then
4170
			tag:Remove()
4171
		end
4172
		local tag = humanoid:FindFirstChild("creatorType2")
4173
		if tag ~= nil then
4174
			tag:Remove()
4175
		end
4176
	end
4177
end
4178
4179
4180
end,o5)
4181
end))
4182
mas.Parent = workspace
4183
mas:MakeJoints()
4184
local mas1 = mas:GetChildren()
4185
for i=1,#mas1 do
4186
	mas1[i].Parent = workspace 
4187
	ypcall(function() mas1[i]:MakeJoints() end)
4188
end
4189
mas:Destroy()
4190
for i=1,#cors do
4191
coroutine.resume(cors[i])
4192
end
4193
end
4194
4195
function SpawnFlashbang()
4196
	
4197
--Converted with ttyyuu12345's model to script plugin v4
4198
function sandbox(var,func)
4199
	local env = getfenv(func)
4200
	local newenv = setmetatable({},{
4201
		__index = function(self,k)
4202
			if k=="script" then
4203
				return var
4204
			else
4205
				return env[k]
4206
			end
4207
		end,
4208
	})
4209
	setfenv(func,newenv)
4210
	return func
4211
end
4212
cors = {}
4213
mas = Instance.new("Model",game:GetService("Lighting"))
4214
Tool0 = Instance.new("Tool")
4215
Part1 = Instance.new("Part")
4216
Sound2 = Instance.new("Sound")
4217
SpecialMesh3 = Instance.new("SpecialMesh")
4218
LocalScript4 = Instance.new("LocalScript")
4219
Tool0.Name = "Smoke Grenade"
4220
Tool0.Parent = mas
4221
Tool0.TextureId = "rbxassetid://16370867"
4222
Tool0.GripForward = Vector3.new(0.536952674, -0, -0.843612373)
4223
Tool0.GripPos = Vector3.new(0, -0.375, 0.25)
4224
Tool0.GripRight = Vector3.new(0.843612373, 0, 0.536952674)
4225
Tool0.ToolTip = "A Throwable Smoke Maker"
4226
Part1.Name = "Handle"
4227
Part1.Parent = Tool0
4228
Part1.BrickColor = BrickColor.new("Earth green")
4229
Part1.RotVelocity = Vector3.new(1.37593925e-05, -6.13289521e-05, 1.96380879e-05)
4230
Part1.Velocity = Vector3.new(-0.000691075344, -0.0197487175, 0.000788206118)
4231
Part1.FormFactor = Enum.FormFactor.Custom
4232
Part1.Size = Vector3.new(1, 1, 1)
4233
Part1.CFrame = CFrame.new(-4.41068363, 70.1459122, 0.824219227, 1.0000006, -5.28530109e-10, -6.98491931e-10, -5.28530109e-10, 0.999999881, -5.82076609e-11, -6.98491931e-10, -5.82076609e-11, 1)
4234
Part1.BottomSurface = Enum.SurfaceType.Smooth
4235
Part1.TopSurface = Enum.SurfaceType.Smooth
4236
Part1.Color = Color3.new(0.152941, 0.27451, 0.176471)
4237
Part1.Position = Vector3.new(-4.41068363, 70.1459122, 0.824219227)
4238
Part1.Color = Color3.new(0.152941, 0.27451, 0.176471)
4239
Sound2.Name = "Fire"
4240
Sound2.Parent = Part1
4241
Sound2.SoundId = "rbxasset://sounds/swoosh.wav"
4242
Sound2.Volume = 0.69999998807907
4243
SpecialMesh3.Parent = Part1
4244
SpecialMesh3.MeshId = "http://www.roblox.com/asset/?id=16975131"
4245
SpecialMesh3.Scale = Vector3.new(0.600000024, 0.649999976, 0.600000024)
4246
SpecialMesh3.TextureId = "http://www.roblox.com/asset/?id=16975111"
4247
SpecialMesh3.MeshType = Enum.MeshType.FileMesh
4248
SpecialMesh3.Scale = Vector3.new(0.600000024, 0.649999976, 0.600000024)
4249
LocalScript4.Name = "MainScript"
4250
LocalScript4.Parent = Tool0
4251
table.insert(cors,sandbox(LocalScript4,function()
4252
-- A Samsung Galaxy Note 7 Rigged With Explodsives!
4253
4254
--Varibles--
4255
4256
Uses = 1 --How many uses availible until its useless--
4257
4258
CanKill = false -- Can it kill people? --
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
local tool = script.Parent
4291
4292
ammountofuses = Uses
4293
4294
function swing(mouse)
4295
	
4296
		vCharacter = tool.Parent
4297
	vPlayer = game.Players:playerFromCharacter(vCharacter)
4298
	
4299
	
4300
	if ammountofuses > 0 then
4301
	ammountofuses = ammountofuses -1
4302
	print("Throwing a "..tool.Name.." from " ..vPlayer.Name.. "!")
4303
	tool.Handle.Fire:Play()
4304
	local explosive = tool.Handle:Clone()
4305
	--explosive.Position = tool.Handle.Position
4306
	explosive.CanCollide = true
4307
	explosive.Parent = workspace
4308
	explosive.RotVelocity=Vector3.new(0,0,0)
4309
	explosive.Velocity=(mouse.Hit.p-explosive.Position).unit*100+Vector3.new(0,10,0)
4310
	explosive.CFrame=CFrame.new(tool.Handle.Position,mouse.Hit.p)*CFrame.Angles(-math.pi/2,0,0)
4311
	if ammountofuses <= 0 then
4312
	script.Parent.Handle:Remove()
4313
	end
4314
	explode(explosive, tool)
4315
	end
4316
end
4317
4318
function explode(part, weapon)
4319
	--[[local firesound = Instance.new("Sound", part)
4320
	firesound.SoundId = "rbxassetid://192104941"]]
4321
	local explodesound = Instance.new("Sound", part)
4322
	explodesound.SoundId = "rbxassetid://157878578"
4323
	--[[wait(1)
4324
	local smoke = Instance.new("Smoke", part)
4325
	smoke.Color = Color3.new(0, 0, 0)
4326
	wait(2)
4327
	local fire = Instance.new("Fire", part)
4328
	firesound:Play()]]
4329
	wait(3)
4330
	local explosion = Instance.new("Explosion", part)
4331
	explodesound:Play()
4332
	explosion.Position = part.Position
4333
	if CanKill == true then
4334
	explosion.BlastPressure = 100000
4335
	else
4336
	explosion.BlastPressure = 0
4337
	end
4338
	explosion.Hit:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") ~= nil then tagHumanoid(hit.Parent.Humanoid) delay(1, function() untagHumanoid(hit.Parent.Humanoid) end) end end)
4339
	wait(1)
4340
	local smoke = Instance.new("Smoke", part)
4341
	smoke.Color = Color3.new(255, 255, 255)
4342
	if ammountofuses <= 0 then 
4343
	weapon:Destroy()
4344
	end
4345
end
4346
4347
--script.Parent.Activated:connect(swing)
4348
4349
tool.Equipped:connect(function(mouse)
4350
	if mouse==nil then
4351
		print("Mouse not found")
4352
		return 
4353
	end
4354
	equipped=true
4355
	mouse.Icon="rbxasset://textures\\GunCursor.png"
4356
	mouse.Button1Down:connect(function()
4357
		swing(mouse)
4358
	end)
4359
end)
4360
4361
function tagHumanoid(humanoid)
4362
	local tag = Instance.new("ObjectValue")
4363
	tag.Name = "creator"
4364
	tag.Value = vPlayer
4365
	tag.Parent = humanoid
4366
	local tag = Instance.new("StringValue")
4367
	tag.Name = "creatorType1"
4368
	tag.Value = tool.Name
4369
	tag.Parent = humanoid
4370
	local tag = Instance.new("StringValue")
4371
	tag.Name = "creatorType2"
4372
	tag.Value = "blown to pieces"
4373
	tag.Parent = humanoid
4374
end
4375
4376
4377
function untagHumanoid(humanoid)
4378
	if humanoid ~= nil then
4379
		local tag = humanoid:FindFirstChild("creator")
4380
		if tag ~= nil then
4381
			tag:Remove()
4382
		end
4383
		local tag = humanoid:FindFirstChild("creatorType1")
4384
		if tag ~= nil then
4385
			tag:Remove()
4386
		end
4387
		local tag = humanoid:FindFirstChild("creatorType2")
4388
		if tag ~= nil then
4389
			tag:Remove()
4390
		end
4391
	end
4392
end
4393
4394
4395
end))
4396
for i,v in pairs(mas:GetChildren()) do
4397
	v.Parent = game:GetService("Players").LocalPlayer.Backpack
4398
	pcall(function() v:MakeJoints() end)
4399
end
4400
mas:Destroy()
4401
for i,v in pairs(cors) do
4402
	spawn(function()
4403
		pcall(v)
4404
	end)
4405
end
4406
4407
end
4408
4409
4410
function SpawnTaser()
4411
	
4412
--Converted with ttyyuu12345's model to script plugin v4
4413
function sandbox(var,func)
4414
	local env = getfenv(func)
4415
	local newenv = setmetatable({},{
4416
		__index = function(self,k)
4417
			if k=="script" then
4418
				return var
4419
			else
4420
				return env[k]
4421
			end
4422
		end,
4423
	})
4424
	setfenv(func,newenv)
4425
	return func
4426
end
4427
cors = {}
4428
mas = Instance.new("Model",game:GetService("Lighting"))
4429
Tool0 = Instance.new("Tool")
4430
Part1 = Instance.new("Part")
4431
SpecialMesh2 = Instance.new("SpecialMesh")
4432
Sound3 = Instance.new("Sound")
4433
LocalScript4 = Instance.new("LocalScript")
4434
Tool0.Name = "Taser"
4435
Tool0.Parent = mas
4436
Tool0.GripPos = Vector3.new(0, -0.400000006, 0.400000006)
4437
Tool0.ToolTip = "Taser"
4438
Part1.Name = "Handle"
4439
Part1.Parent = Tool0
4440
Part1.BrickColor = BrickColor.new("Black")
4441
Part1.Rotation = Vector3.new(-180, 0, -180)
4442
Part1.FormFactor = Enum.FormFactor.Custom
4443
Part1.Size = Vector3.new(1, 1.61800003, 0.617999971)
4444
Part1.CFrame = CFrame.new(6.97999907, 0.809001982, -40.0199966, -1, 0, 0, 0, 1, 0, 0, 0, -1)
4445
Part1.BottomSurface = Enum.SurfaceType.Smooth
4446
Part1.TopSurface = Enum.SurfaceType.Smooth
4447
Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
4448
Part1.Position = Vector3.new(6.97999907, 0.809001982, -40.0199966)
4449
Part1.Orientation = Vector3.new(0, 180, 0)
4450
Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
4451
SpecialMesh2.Parent = Part1
4452
SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=82337638"
4453
SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=82337709"
4454
SpecialMesh2.MeshType = Enum.MeshType.FileMesh
4455
Sound3.Name = "Fire"
4456
Sound3.Parent = Part1
4457
Sound3.SoundId = "http://www.roblox.com/asset/?id=10756118"
4458
LocalScript4.Parent = Tool0
4459
table.insert(cors,sandbox(LocalScript4,function()
4460
MaxDistance = 512
4461
Tool = script.Parent
4462
TouchDamage = 100
4463
DirectDamage = 100
4464
4465
function fireLaser(pos, target, obj)
4466
	
4467
	local part = Instance.new("Part")
4468
	part.Anchored = true
4469
	part.CanCollide = false
4470
	part.formFactor = "Symmetric"
4471
	part.TopSurface = 0
4472
	part.BottomSurface = 0
4473
	part.BrickColor = BrickColor.new("Institutional white")
4474
	part.Transparency = 0.5
4475
	part.Name = "Laser Shot"
4476
	part.Locked = true
4477
	part.Size = Vector3.new(1,1,(pos - obj.Position).magnitude)
4478
	part.CFrame = CFrame.new(((obj.Position + pos)/2) + 1 * (pos - obj.Position).unit, pos)
4479
4480
	local mesh = Instance.new("BlockMesh")
4481
	mesh.Scale = Vector3.new(0.25,0.25,1)
4482
	mesh.Parent = part
4483
4484
	part.Parent = workspace
4485
	--Optional:  Laser will damage others than the target.
4486
	--part.Touched:connect(onTouch)
4487
	local h = getHumanoid(target.Parent)
4488
	local player = game.Players:findFirstChild(Tool.Parent.Name)
4489
	if player ~= nil and h ~= nil and target.Parent ~= Tool.Parent then
4490
		tagHumanoid(h, player)
4491
		h.PlatformStand = true
4492
		h.JumpPower = 0
4493
		h.WalkSpeed = 0
4494
		wait(0.05)
4495
		untagHumanoid(h)
4496
	elseif player ~= nil and h==nil and target.Parent ~= Tool.Parent then
4497
		if target:getMass() <= 216 then
4498
			--burn(target, part)
4499
		end
4500
	else
4501
		getTarget(pos)
4502
	end
4503
4504
	for v=1, 10 do
4505
		part.Transparency = 0.1 * v
4506
		wait(0.05)
4507
	end
4508
4509
	part:remove()
4510
end
4511
4512
function burn(obj, laser)
4513
	local spark = Instance.new("Sparkles")
4514
	spark.Color = laser.Color
4515
	spark.Parent = obj
4516
	for i=1, 10, 1 do
4517
		local ex = Instance.new("Explosion")
4518
		ex.BlastRadius = 0
4519
		ex.Position = obj.Position
4520
		ex.Parent = workspace
4521
		obj.Transparency = 0.1 * i
4522
		wait(0.1)
4523
	end
4524
	obj:remove()
4525
end
4526
4527
function getTarget(pos)
4528
	local child = workspace:getChildren()
4529
	for i,v in pairs(child) do
4530
		local h = getHumanoid(v)
4531
		if h ~= nil and v ~= Tool.Parent then
4532
			local torso = v:findFirstChild("Torso")
4533
			if torso ~= nil then
4534
				if (torso.Position - pos).magnitude <= 3 then
4535
					local player = game.Players:findFirstChild(Tool.Parent.Name)
4536
					if player ~= nil then
4537
						tagHumanoid(h, player)
4538
					end
4539
					h:takeDamage(DirectDamage)
4540
					wait(0.05)
4541
					untagHumanoid(h)
4542
				end
4543
			end
4544
		end
4545
	end
4546
end
4547
				
4548
4549
function getHumanoid(obj)
4550
	local child = obj:getChildren()
4551
	for i=1, #child do 
4552
		if child[i].className == "Humanoid" then
4553
			return child[i]
4554
		end
4555
	end
4556
	return nil
4557
end
4558
4559
db = false
4560
function onTouch(hit)
4561
	if db then return end
4562
	db = true
4563
	if hit.Parent ~= Tool.Parent then
4564
		local h = getHumanoid(hit.Parent)
4565
		if h ~= nil then
4566
			local player = game.Players:findFirstChild(Tool.Parent.Name)
4567
			if player ~= nil then
4568
				tagHumanoid(h, player)
4569
			end
4570
			h:takeDamage(TouchDamage)
4571
			wait(0.1)
4572
			untagHumanoid(h)
4573
		end
4574
	end
4575
	wait(0.9)
4576
	db = false
4577
end
4578
			
4579
4580
function tagHumanoid(humanoid, player)
4581
	local creator_tag = Instance.new("ObjectValue")
4582
	creator_tag.Value = player
4583
	creator_tag.Name = "creator"
4584
	creator_tag.Parent = humanoid
4585
end
4586
4587
function untagHumanoid(humanoid)
4588
	if humanoid ~= nil then
4589
		local tag = humanoid:findFirstChild("creator")
4590
		if tag ~= nil then
4591
			tag.Parent = nil
4592
		end
4593
	end
4594
end
4595
4596
enabled = true
4597
function onActivated(mouse)
4598
	if not enabled or mouse.Target == nil then return end
4599
	enabled = false
4600
	local handle = Tool:findFirstChild("Handle")
4601
	local human = Tool.Parent:findFirstChild("Humanoid")
4602
	if handle ~= nil and human ~= nil then
4603
		if (handle.Position - human.TargetPoint).magnitude <= MaxDistance then
4604
			handle.Fire:play()
4605
			fireLaser(human.TargetPoint, mouse.Target, handle)
4606
		end
4607
	end
4608
	enabled = true
4609
end
4610
4611
mouseabled = true
4612
function onButton1Down(mouse)
4613
	if not mouseabled or mouse.Target == nil then return end
4614
	mouseabled = false
4615
	mouse.Icon = "rbxasset://textures/GunWaitCursor.png"
4616
	wait(0.5)
4617
	mouseabled = true
4618
	mouse.Icon = "rbxasset://textures/GunCursor.png"
4619
end
4620
4621
zoom = false
4622
function onKeyDown(key)
4623
	key:lower()
4624
	if key == "q" then 
4625
		if not zoom then
4626
			zoom = true
4627
4628
			local obj = Instance.new("Part")
4629
			obj.Parent = Tool.Parent
4630
			obj.Size = Vector3.new(1,1,1)
4631
			obj.Transparency = 1
4632
			obj.CanCollide = false
4633
			obj.Anchored = true
4634
			obj.Name = "Zoom"
4635
			obj.CFrame = CFrame.new(Tool.Parent.Humanoid.TargetPoint)
4636
4637
			cam = workspace.CurrentCamera:Clone()
4638
			cam.Parent = workspace
4639
			workspace.CurrentCamera.CameraSubject = obj
4640
			workspace.CurrentCamera.CameraType = 4	
4641
		else
4642
			zoom = false
4643
	
4644
			local check = Tool.Parent:findFirstChild("Zoom")
4645
			if check ~= nil then 
4646
				check:remove()
4647
			end
4648
			
4649
			workspace.CurrentCamera.CameraSubject = Tool.Parent.Humanoid
4650
			workspace.CurrentCamera:Remove()
4651
			workspace.CurrentCamera = cam
4652
		end
4653
	end
4654
end
4655
4656
function onSelected(mouse)
4657
	connection = script.Parent.Activated:connect(function() onActivated(mouse) end)
4658
	mouse.KeyDown:connect(onKeyDown)
4659
	mouse.Button1Down:connect(function() onButton1Down(mouse) end)
4660
4661
	mouse.Icon = "rbxasset://textures/GunCursor.png"
4662
end
4663
4664
function onDeselected()
4665
	connection:disconnect()
4666
end
4667
4668
script.Parent.Equipped:connect(onSelected)
4669
script.Parent.Unequipped:connect(onDeselected)
4670
end))
4671
for i,v in pairs(mas:GetChildren()) do
4672
	v.Parent = game:GetService("Players").LocalPlayer.Backpack
4673
	pcall(function() v:MakeJoints() end)
4674
end
4675
mas:Destroy()
4676
for i,v in pairs(cors) do
4677
	spawn(function()
4678
		pcall(v)
4679
	end)
4680
end
4681
4682
end
4683
4684
function SpawnG17()
4685
	
4686
--Converted with ttyyuu12345's model to script plugin v4
4687
function sandbox(var,func)
4688
	local env = getfenv(func)
4689
	local newenv = setmetatable({},{
4690
		__index = function(self,k)
4691
			if k=="script" then
4692
				return var
4693
			else
4694
				return env[k]
4695
			end
4696
		end,
4697
	})
4698
	setfenv(func,newenv)
4699
	return func
4700
end
4701
cors = {}
4702
mas = Instance.new("Model",game:GetService("Lighting"))
4703
Tool0 = Instance.new("Tool")
4704
Part1 = Instance.new("Part")
4705
BlockMesh2 = Instance.new("BlockMesh")
4706
PointLight3 = Instance.new("PointLight")
4707
BillboardGui4 = Instance.new("BillboardGui")
4708
ImageLabel5 = Instance.new("ImageLabel")
4709
Script6 = Instance.new("Script")
4710
Part7 = Instance.new("Part")
4711
BlockMesh8 = Instance.new("BlockMesh")
4712
LocalScript9 = Instance.new("LocalScript")
4713
NumberValue10 = Instance.new("NumberValue")
4714
NumberValue11 = Instance.new("NumberValue")
4715
Smoke12 = Instance.new("Smoke")
4716
Smoke13 = Instance.new("Smoke")
4717
Smoke14 = Instance.new("Smoke")
4718
Part15 = Instance.new("Part")
4719
FileMesh16 = Instance.new("FileMesh")
4720
Sound17 = Instance.new("Sound")
4721
Sound18 = Instance.new("Sound")
4722
Sound19 = Instance.new("Sound")
4723
Sound20 = Instance.new("Sound")
4724
Sound21 = Instance.new("Sound")
4725
Part22 = Instance.new("Part")
4726
FileMesh23 = Instance.new("FileMesh")
4727
Part24 = Instance.new("Part")
4728
FileMesh25 = Instance.new("FileMesh")
4729
Tool0.Name = "Glock 17"
4730
Tool0.Parent = mas
4731
Tool0.GripForward = Vector3.new(0, 0, 1)
4732
Tool0.GripRight = Vector3.new(-0.99999994, 0, 0)
4733
Part1.Name = "SmokePart"
4734
Part1.Parent = Tool0
4735
Part1.Material = Enum.Material.SmoothPlastic
4736
Part1.BrickColor = BrickColor.new("Dark stone grey")
4737
Part1.Transparency = 1
4738
Part1.Anchored = true
4739
Part1.CanCollide = false
4740
Part1.FormFactor = Enum.FormFactor.Custom
4741
Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
4742
Part1.CFrame = CFrame.new(9.1289444, -6.32531691, 18.8775139, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4743
Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4744
Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4745
Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4746
Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4747
Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4748
Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4749
Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
4750
Part1.Position = Vector3.new(9.1289444, -6.32531691, 18.8775139)
4751
Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
4752
BlockMesh2.Parent = Part1
4753
BlockMesh2.Scale = Vector3.new(0.658373058, 0.658372879, 0.658373058)
4754
BlockMesh2.Scale = Vector3.new(0.658373058, 0.658372879, 0.658373058)
4755
PointLight3.Name = "Flash"
4756
PointLight3.Parent = Part1
4757
PointLight3.Color = Color3.new(1, 0.666667, 0)
4758
PointLight3.Enabled = false
4759
PointLight3.Brightness = 3
4760
PointLight3.Range = 10
4761
PointLight3.Color = Color3.new(1, 0.666667, 0)
4762
BillboardGui4.Name = "Light"
4763
BillboardGui4.Parent = Part1
4764
BillboardGui4.Size = UDim2.new(2.5, 0, 2.5, 0)
4765
BillboardGui4.Active = true
4766
ImageLabel5.Name = "Light"
4767
ImageLabel5.Parent = BillboardGui4
4768
ImageLabel5.Transparency = 1
4769
ImageLabel5.Size = UDim2.new(2, 0, 2, 0)
4770
ImageLabel5.Position = UDim2.new(-0.5, 0, -0.5, 0)
4771
ImageLabel5.Active = true
4772
ImageLabel5.Visible = false
4773
ImageLabel5.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
4774
ImageLabel5.BackgroundTransparency = 1
4775
ImageLabel5.Image = "http://www.roblox.com/asset/?id=68683102"
4776
Script6.Parent = BillboardGui4
4777
table.insert(cors,sandbox(Script6,function()
4778
script.Parent.Adornee = script.Parent.Parent
4779
end))
4780
Part7.Name = "AimPart"
4781
Part7.Parent = Tool0
4782
Part7.Material = Enum.Material.SmoothPlastic
4783
Part7.BrickColor = BrickColor.new("Dark stone grey")
4784
Part7.Transparency = 1
4785
Part7.Anchored = true
4786
Part7.CanCollide = false
4787
Part7.FormFactor = Enum.FormFactor.Custom
4788
Part7.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
4789
Part7.CFrame = CFrame.new(9.11491966, -6.07727814, 21.8804073, 1, 0, 0, 0, 1, 0, 0, 0, 1)
4790
Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
4791
Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
4792
Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
4793
Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
4794
Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
4795
Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
4796
Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
4797
Part7.Position = Vector3.new(9.11491966, -6.07727814, 21.8804073)
4798
Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
4799
BlockMesh8.Parent = Part7
4800
BlockMesh8.Scale = Vector3.new(0.141079962, 0.357402384, 0.141079962)
4801
BlockMesh8.Scale = Vector3.new(0.141079962, 0.357402384, 0.141079962)
4802
--Gun Gui
4803
4804
-- Objects
4805
4806
local Gui = Instance.new("ScreenGui")
4807
local Frame = Instance.new("Frame")
4808
local AmmoDisplay = Instance.new("TextLabel")
4809
local StoredAmmoDisplay = Instance.new("TextLabel")
4810
local _000 = Instance.new("TextLabel")
4811
local _000_2 = Instance.new("TextLabel")
4812
4813
-- Properties
4814
4815
Gui.Name = "Gui"
4816
Gui.Parent = LocalScript9
4817
4818
Frame.Parent = Gui
4819
Frame.BackgroundColor3 = Color3.new(0, 0, 0)
4820
Frame.BackgroundTransparency = 1
4821
Frame.BorderColor3 = Color3.new(0.466667, 0.466667, 0.466667)
4822
Frame.BorderSizePixel = 0
4823
Frame.Position = UDim2.new(0.125, -5, 1.14999998, -120)
4824
Frame.Size = UDim2.new(-0.100000001, 0, -0.0399999991, 0)
4825
Frame.SizeConstraint = Enum.SizeConstraint.RelativeXX
4826
4827
AmmoDisplay.Name = "AmmoDisplay"
4828
AmmoDisplay.Parent = Frame
4829
AmmoDisplay.BackgroundColor3 = Color3.new(0.501961, 0, 0)
4830
AmmoDisplay.BackgroundTransparency = 1
4831
AmmoDisplay.Position = UDim2.new(-0.0599999987, 0, 0, 0)
4832
AmmoDisplay.Size = UDim2.new(0.540000021, 0, 1.25, 0)
4833
AmmoDisplay.ZIndex = 2
4834
AmmoDisplay.Font = Enum.Font.SourceSansBold
4835
AmmoDisplay.FontSize = Enum.FontSize.Size36
4836
AmmoDisplay.Text = "30"
4837
AmmoDisplay.TextColor3 = Color3.new(1, 1, 1)
4838
AmmoDisplay.TextScaled = true
4839
AmmoDisplay.TextSize = 36
4840
AmmoDisplay.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
4841
AmmoDisplay.TextWrapped = true
4842
AmmoDisplay.TextXAlignment = Enum.TextXAlignment.Right
4843
4844
StoredAmmoDisplay.Name = "StoredAmmoDisplay"
4845
StoredAmmoDisplay.Parent = Frame
4846
StoredAmmoDisplay.BackgroundColor3 = Color3.new(0.501961, 0, 0)
4847
StoredAmmoDisplay.BackgroundTransparency = 1
4848
StoredAmmoDisplay.Position = UDim2.new(0.419999987, 0, 0.25, 0)
4849
StoredAmmoDisplay.Size = UDim2.new(0.550000012, 0, 0.75, 0)
4850
StoredAmmoDisplay.ZIndex = 2
4851
StoredAmmoDisplay.Font = Enum.Font.SourceSans
4852
StoredAmmoDisplay.FontSize = Enum.FontSize.Size14
4853
StoredAmmoDisplay.Text = "360"
4854
StoredAmmoDisplay.TextColor3 = Color3.new(1, 1, 1)
4855
StoredAmmoDisplay.TextScaled = true
4856
StoredAmmoDisplay.TextSize = 14
4857
StoredAmmoDisplay.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
4858
StoredAmmoDisplay.TextWrapped = true
4859
StoredAmmoDisplay.TextXAlignment = Enum.TextXAlignment.Right
4860
4861
_000.Name = "000"
4862
_000.Parent = Frame
4863
_000.BackgroundColor3 = Color3.new(0.501961, 0, 0)
4864
_000.BackgroundTransparency = 1
4865
_000.Position = UDim2.new(0.419999987, 0, 0.25, 0)
4866
_000.Size = UDim2.new(0.550000012, 0, 0.75, 0)
4867
_000.ZIndex = 2
4868
_000.Font = Enum.Font.SourceSans
4869
_000.FontSize = Enum.FontSize.Size14
4870
_000.Text = "000"
4871
_000.TextColor3 = Color3.new(1, 1, 1)
4872
_000.TextScaled = true
4873
_000.TextSize = 14
4874
_000.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
4875
_000.TextTransparency = 0.80000001192093
4876
_000.TextWrapped = true
4877
_000.TextXAlignment = Enum.TextXAlignment.Right
4878
4879
_000_2.Name = "000"
4880
_000_2.Parent = Frame
4881
_000_2.BackgroundColor3 = Color3.new(0.501961, 0, 0)
4882
_000_2.BackgroundTransparency = 1
4883
_000_2.Position = UDim2.new(-0.25, 0, 0, 0)
4884
_000_2.Size = UDim2.new(0.75, 0, 1.25, 0)
4885
_000_2.ZIndex = 2
4886
_000_2.Font = Enum.Font.SourceSansBold
4887
_000_2.FontSize = Enum.FontSize.Size48
4888
_000_2.Text = "000"
4889
_000_2.TextColor3 = Color3.new(1, 1, 1)
4890
_000_2.TextScaled = true
4891
_000_2.TextSize = 48
4892
_000_2.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
4893
_000_2.TextTransparency = 0.80000001192093
4894
_000_2.TextWrapped = true
4895
_000_2.TextXAlignment = Enum.TextXAlignment.Right
4896
LocalScript9.Name = "Gun_Script"
4897
LocalScript9.Parent = Tool0
4898
table.insert(cors,sandbox(LocalScript9,function()
4899
sp = script.Parent
4900
4901
Mesh = false -- If true will load BC 2.0 Arm meshes as well.
4902
Shirt = true -- If true will load the user's shirt to the arms as well
4903
4904
function onEquipped(mouse)
4905
	local Player = game:GetService("Players").LocalPlayer	
4906
	local Cam = game.Workspace.CurrentCamera
4907
	
4908
	local Arms = Instance.new("Model")
4909
	Arms.Name = "Arms"
4910
	Arms.Parent = Cam
4911
	
4912
	if Shirt == true then
4913
		local Humanoid = Instance.new("Humanoid")
4914
		Humanoid.MaxHealth = 0
4915
		Humanoid.Health = 0
4916
		Humanoid.Name = ""
4917
		Humanoid.Parent = Arms
4918
		
4919
		local newShirt = Player.Character:FindFirstChild("Shirt"):clone()
4920
		newShirt.Parent = Arms
4921
	else end
4922
	
4923
	local RightArm = Player.Character:FindFirstChild("Right Arm"):clone()
4924
	RightArm.Name = "Right Arm"
4925
	RightArm.Transparency = 0
4926
	
4927
	local w = Instance.new("Weld")
4928
	w.Part0 = RightArm
4929
	w.Part1 = Player.Character:FindFirstChild("Right Arm")
4930
	w.C0 = CFrame.new()
4931
	w.C1 = CFrame.new()
4932
	w.Parent = RightArm	
4933
	RightArm.Parent = Arms
4934
		
4935
	local LeftArm = Player.Character:FindFirstChild("Left Arm"):clone()
4936
	LeftArm.Name = "Left Arm"
4937
	LeftArm.Transparency = 0	
4938
	
4939
	local w = Instance.new("Weld")
4940
	w.Part0 = LeftArm
4941
	w.Part1 = Player.Character:FindFirstChild("Left Arm")
4942
	w.C0 = CFrame.new()
4943
	w.C1 = CFrame.new()
4944
	w.Parent = LeftArm	
4945
	LeftArm.Parent = Arms
4946
	
4947
	if Mesh ~= false then
4948
		local LeftArmMesh = script:FindFirstChild("LeftArm")
4949
		LeftArmMesh.Parent = LeftArm
4950
		local RightArmMesh = script:FindFirstChild("RightArm")
4951
		RightArmMesh.Parent = RightArm
4952
	else end
4953
				
4954
end
4955
4956
function onUnequipped(mouse)
4957
	local Player = game:GetService("Players").LocalPlayer		
4958
	local Cam = game.Workspace.CurrentCamera
4959
	for _, Model in pairs(Cam:GetChildren()) do
4960
		if Model.Name == "Arms" then
4961
			Model:remove()
4962
		else end
4963
	end	
4964
end
4965
4966
sp.Equipped:connect(onEquipped)
4967
sp.Unequipped:connect(onUnequipped)
4968
4969
wait(0.5)
4970
--Made by YouTubes--
4971
--Edit settings below--
4972
local Tool = script.Parent
4973
local Settings = {
4974
	Range = 2500
4975
	,Spread = 8
4976
	,Damage = {15, 25}
4977
	,HeadShotDamage = {60, 60}
4978
	,Bullets = 1
4979
	,FireRate = 0.068
4980
	,Automatic = false
4981
	,AntiTK = false
4982
	,ImpactDuration = .5
4983
	--Reload
4984
	,ReloadKey = "R"
4985
	,ReloadTime = 1.63
4986
	,Ammo = 17
4987
	,IncludeChamberedBullet = true
4988
	--Gui
4989
	,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
4990
	--Arms
4991
	,OneHanded = true
4992
	,FakeArms = true
4993
	,FakeArmTransparency = 0
4994
	-- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
4995
	,RightPos = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
4996
	,LeftPos = CFrame.new(1.2, 0.21, 0.55)* CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
4997
	,AimPart = Tool.AimPart
4998
	,AimPartOffset = CFrame.new()
4999
	,AimGripOffset = Vector3.new(0, 0, 0)
5000
	,LeftAimPos = CFrame.new(1, 0.9, 0.35) * CFrame.Angles(math.rad(-95), math.rad(20), math.rad(0), 00)
5001
	,AimAnim = {
5002
		Enabled = false
5003
		,Frames = 50
5004
		,Time = 0.1
5005
	}
5006
	,ChangeFOV = {true, 45}
5007
	,SpreadReduction = 8
5008
	--Weld
5009
	,Weld = true
5010
	--Mouse
5011
	,Icons = {
5012
		Idle = "rbxassetid://70288585"
5013
		,Fire1 = "rbxassetid://70288578"
5014
		,Fire2 = "rbxassetid://70288572"
5015
		,Fire3 = "rbxassetid://70288578"
5016
		,Reload = "rbxassetid://70288599"
5017
		,Aim = "rbxasset://textures/Blank.png"
5018
	}
5019
	,FireMouseAnimTime = 0.15
5020
	--Recoil
5021
	,Recoil = math.rad(0.79)
5022
	--Smoke
5023
	,Smoke = true
5024
	,SmokePart = Tool.SmokePart
5025
	,Smokes = {{script.Smoke, 6, 0.01}, {script.Smoke1, 0.01}, {script.Smoke2, 0.01}}
5026
	--Sprint
5027
	,Sprint = true
5028
	,SprintSpeed = 25
5029
	,SprintKey = "0"
5030
	,SprintSpreadIncrease = 40
5031
	,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
5032
	,DropHats = true
5033
}
5034
5035
--Do not edit below this lign--
5036
5037
local Orig_Spread = Settings.Spread
5038
local Orig_Grip = Tool.GripPos
5039
5040
local Player = game.Players.LocalPlayer
5041
local Character = Player.Character
5042
5043
local Camera = workspace.CurrentCamera
5044
5045
local Ammo, StoredAmmo = script.Ammo, script.StoredAmmo
5046
5047
local Gui, CanUpdateGui = nil, true
5048
5049
local Sprinting, Equipped
5050
5051
function Update_Gui()
5052
	if Gui and CanUpdateGui then
5053
		Gui.Frame.AmmoDisplay.Text = Ammo.Value
5054
		Gui.Frame.StoredAmmoDisplay.Text = StoredAmmo.Value
5055
	end
5056
end
5057
5058
local Welded
5059
if Settings.Weld then
5060
	delay(0, function()
5061
		local weldC0s = {}
5062
		for i, v in pairs(Tool:GetChildren()) do
5063
			if v:IsA("BasePart") and v ~= Tool.Handle then
5064
				table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
5065
				v.Anchored = false
5066
			end
5067
		end
5068
		Tool.Handle.Anchored = false
5069
		local welds = {}
5070
		Tool.Equipped:connect(function()
5071
			for i, v in ipairs(welds) do
5072
				v.Part1 = nil
5073
				v:Destroy()
5074
			end
5075
			for i, v in ipairs(weldC0s) do
5076
				if v[1] and v[2] then
5077
					local w = Instance.new("Weld", Tool.Handle)
5078
					w.Part0 = Tool.Handle
5079
					w.Part1 = v[1]
5080
					w.C0 = v[2]
5081
					table.insert(welds, w)
5082
				end
5083
			end
5084
		end)
5085
		wait()
5086
		Welded = true
5087
	end)
5088
end
5089
5090
local Left_Weld, Right_Weld
5091
5092
Ammo.Changed:connect(Update_Gui)
5093
StoredAmmo.Changed:connect(Update_Gui)
5094
5095
Settings.Range = math.min(Settings.Range, 999)
5096
5097
local Ignore_Model = workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", workspace)
5098
Ignore_Model.Name = "Ray_Ignore"
5099
5100
local Ray_Ignore = {Character, Ignore_Model, Camera}
5101
5102
Character.Humanoid.Died:connect(function()
5103
	Tool.Parent = Player.Backpack
5104
end)
5105
5106
function Fire(Mouse)
5107
	local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
5108
	local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
5109
	local Hit, Pos = workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
5110
	if Hit and Hit.Parent:FindFirstChild("Humanoid") then
5111
		local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
5112
		if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
5113
			return
5114
		end
5115
		local Humanoid = Hit.Parent.Humanoid
5116
		local c = Instance.new("ObjectValue")
5117
		c.Name = "creator"
5118
		c.Value = Player
5119
		game.Debris:AddItem(c, 3)
5120
		c.Parent = Humanoid
5121
		if Hit.Name == "Head" then
5122
			Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
5123
		else
5124
			Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
5125
		end
5126
	elseif Hit then
5127
		local Hit_Part = Instance.new("Part", Ignore_Model)
5128
		Hit_Part.FormFactor = "Custom"
5129
		Hit_Part.TopSurface = 0
5130
		Hit_Part.BottomSurface = 0
5131
		Hit_Part.Anchored = true
5132
		Hit_Part.CanCollide = false
5133
		Hit_Part.Size = Vector3.new()
5134
		Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
5135
		Hit_Part.BrickColor = BrickColor.new("Black")
5136
		Hit_Part.Material = "Metal"		
5137
		local Meta = Instance.new("Sound")
5138
		Meta.Name = "Crack"
5139
		Meta.SoundId = "rbxassetid://151284431"
5140
		Meta.Volume = 0.3
5141
		Meta.Pitch = 2
5142
		Meta.Parent = Hit_Part
5143
		Meta:play()
5144
		local Cur = Instance.new("SpecialMesh")
5145
		Cur.MeshType = "Sphere"
5146
		Cur.Parent = Hit_Part
5147
		Cur.Scale = Vector3.new(0.5,0.5,0.5)
5148
		Instance.new("Smoke", Hit_Part).Opacity = 15
5149
		local g = Instance.new("PointLight", Hit_Part)
5150
		g.Color = Color3.new(0, 0, 0)
5151
		g.Range = 0
5152
		g.Shadows = true
5153
		local PE = Instance.new("ParticleEmitter")
5154
		PE.Parent = Hit_Part
5155
		PE.Size = NumberSequence.new(0.75)
5156
		PE.LightEmission = 0
5157
		PE.Lifetime = NumberRange.new(5)
5158
		PE.ZOffset = 0.5
5159
		PE.Texture = "http://www.roblox.com/asset/?id=133619974"
5160
		PE.Rate = 50
5161
		PE.Speed = NumberRange.new(2.5)
5162
		PE.VelocitySpread = NumberSequence.new(-0.05)
5163
		PE.Transparency = NumberSequence.new(-1)
5164
		game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
5165
		game.Debris:AddItem(PE, 0.17)
5166
	--[[	if not Hit.Anchored then
5167
			local w = Instance.new("Weld", Hit_Part)
5168
			w.Part0 = Hit
5169
			w.Part1 = Hit_Part
5170
			w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
5171
			Hit_Part.Anchored = false
5172
	end]]
5173
		if Hit.Transparency >= 0.1 then
5174
			Hit:BreakJoints()
5175
			Hit.Anchored = false
5176
			Hit.Size = Hit.Size /2
5177
			local sound = Instance.new("Sound", Hit)
5178
			sound.Volume = 10
5179
			sound.SoundId = "rbxassetid://138122923"
5180
			sound:Play()
5181
			for i=1, 4, 1 do
5182
				local clone = Hit:Clone()
5183
				clone.Parent = workspace
5184
				game.Debris:AddItem(clone, 3)
5185
			end
5186
			game.Debris:AddItem(Hit, 1)
5187
		end
5188
		if Hit.Parent:IsA("Hat") or Hit.Parent:IsA("Accessory") and Settings.DropHats then
5189
			Hit.Parent.Parent = workspace
5190
			game.Debris:AddItem(Hit, 3)
5191
		end
5192
	end
5193
end
5194
5195
5196
local Can_Shoot = true
5197
local Reloading = false
5198
5199
local First_Person = false
5200
5201
local Mouse_Held
5202
5203
Tool.Equipped:connect(function(Mouse)
5204
	Equipped = true
5205
	if Settings.Weld and not Welded then
5206
		wait()
5207
		Tool.Parent = Player.Backpack
5208
	end
5209
	Character = Player.Character
5210
	if Gui then
5211
		return
5212
	end
5213
	Ray_Ignore = {Character, Ignore_Model, Camera}
5214
	Mouse.Icon = Settings.Icons.Idle
5215
	Gui = script.Gui:Clone()
5216
	Gui.Parent = Player.PlayerGui
5217
	Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
5218
	Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
5219
	CanUpdateGui = true
5220
	Update_Gui()
5221
	Mouse.Button1Down:connect(function()
5222
		if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
5223
			Mouse_Held = true
5224
			while true do
5225
				Can_Shoot = false
5226
				delay(0, function()
5227
					local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
5228
					if not Aiming then
5229
						Mouse.Icon = Settings.Icons.Fire1
5230
					end
5231
					wait(t)
5232
					if not Aiming then
5233
						if Reloading then return end
5234
						Mouse.Icon = Settings.Icons.Fire2
5235
					end
5236
					wait(t)
5237
					if not Aiming then
5238
						if Reloading then return end
5239
						Mouse.Icon = Settings.Icons.Fire3
5240
					end
5241
					wait(t)
5242
					if not Aiming then
5243
						if Reloading then return end
5244
						Mouse.Icon = Settings.Icons.Idle
5245
					end
5246
				end)
5247
				for _ = 1, Settings.Bullets do
5248
					Fire(Mouse)
5249
				end
5250
				local bg = Instance.new("BillboardGui", Settings.SmokePart)
5251
				bg.Adornee = Settings.SmokePart
5252
				local flashsize = math.random(5, 8)/10
5253
				bg.Size = UDim2.new(flashsize, 0, flashsize, 0)
5254
				local flash = Instance.new("ImageLabel", bg)
5255
				flash.BackgroundTransparency = 1
5256
				flash.Size = UDim2.new(1, 0, 1, 0)
5257
				flash.Image = "rbxassetid://172841900"
5258
				flash.Rotation = math.random(0, 360)
5259
				game.Debris:AddItem(bg, 0.025)
5260
				delay(0, function()
5261
					local r  = math.abs(Settings.Recoil)
5262
					local ran = math.random(-1, 1)
5263
					Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(r,  r*ran, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
5264
					local c = -r/20
5265
					local cx = -(r*ran)/20
5266
					for i = 1, math.random(15, 25) do
5267
						if EquipId == curId then
5268
							Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(c,  cx, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
5269
							wait()
5270
						else
5271
							break
5272
						end
5273
					end
5274
				end)
5275
				if Tool.Handle:FindFirstChild("Shoot") then
5276
					Tool.Handle.Shoot:Play()
5277
				end
5278
				Ammo.Value = Ammo.Value - 1
5279
				--Tool.Bolt.Transparency = 1
5280
				--Tool.Bolt1.Transparency = 0			
5281
				wait(Settings.FireRate)
5282
			--	Tool.Bolt.Transparency = 0
5283
				--Tool.Bolt1.Transparency = 1
5284
				if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
5285
					break
5286
				end
5287
			end
5288
			Can_Shoot = true
5289
		elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
5290
			Tool.Handle.Click:Play()
5291
		end
5292
	end)
5293
	Mouse.Button1Up:connect(function()
5294
		Mouse_Held = false
5295
	end)
5296
	Mouse.KeyDown:connect(function(Key)
5297
		if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
5298
			if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
5299
				return
5300
			end
5301
			Can_Shoot = false
5302
			Reloading = true
5303
			local TextLabel = Gui.Frame.AmmoDisplay
5304
			delay(0, function()
5305
				CanUpdateGui = false
5306
				TextLabel.Text = "000"
5307
				wait(Settings.ReloadTime/3)
5308
				if TextLabel then
5309
					TextLabel.Text = "000"
5310
				end
5311
				wait(Settings.ReloadTime/3)
5312
				if TextLabel then
5313
					TextLabel.Text = "000"
5314
				end
5315
			end)
5316
			Mouse.Icon = Settings.Icons.Reload
5317
-- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
5318
Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
5319
Left_Weld.C1 = CFrame.new(1.2, 0.6, 0.45) * CFrame.Angles(math.rad(-90), math.rad(45), math.rad(0), 0)
5320
wait(.02)
5321
Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
5322
Left_Weld.C1 = CFrame.new(1.2, 0.5, 0.45) * CFrame.Angles(math.rad(-90), math.rad(50), math.rad(0), 0)
5323
wait(.02)
5324
Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
5325
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
5326
wait(0.02)
5327
5328
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
5329
Tool.Handle.MagOut:play()
5330
Tool.Mag.Transparency = 1
5331
5332
wait(0.03)
5333
Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
5334
wait(0.03)
5335
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
5336
wait(0.03)
5337
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
5338
wait(0.03)
5339
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
5340
wait(0.03)
5341
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.15) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(25), 0)
5342
wait(0.03)
5343
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.10) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(30), 0)
5344
wait(0.03)
5345
Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.05) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(35), 0)
5346
wait(0.03)
5347
Left_Weld.C1 = CFrame.new(1.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(40), 0)
5348
wait(0.03)
5349
Left_Weld.C1 = CFrame.new(1.2, 0.15, 0) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(45), 0)
5350
wait(0.03)
5351
Left_Weld.C1 = CFrame.new(1.2, 0.1, 0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(50), 0)
5352
wait(0.5)
5353
5354
Left_Weld.C1 = CFrame.new(1.2, 0.1, 0.0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(40), 0)
5355
Tool.Handle.MagIn:play()
5356
Tool.Mag.Transparency = 0
5357
5358
wait(0.03)
5359
Left_Weld.C1 = CFrame.new(1.2, 0.15, 0.05) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(35), 0)
5360
wait(0.03)
5361
Left_Weld.C1 = CFrame.new(1.2, 0.2, 0.10) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(30), 0)
5362
wait(0.03)
5363
Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.15) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(25), 0)
5364
wait(0.03)
5365
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
5366
wait(0.03)
5367
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
5368
wait(0.03)
5369
Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
5370
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
5371
wait(0.03)
5372
Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
5373
Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(05), 0)
5374
wait(0.03)
5375
Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
5376
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
5377
wait(0.03)
5378
5379
Right_Weld.C1 = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
5380
Left_Weld.C1 = CFrame.new(1.2, 0.21, 0.55)* CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
5381
5382
			Mouse.Icon = Settings.Icons.Idle
5383
			CanUpdateGui = true
5384
			local m = Settings.Ammo
5385
			if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
5386
				m = m + 1
5387
			end
5388
			if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
5389
				Ammo.Value = Ammo.Value + StoredAmmo.Value
5390
				StoredAmmo.Value = 0
5391
			else
5392
				StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
5393
				Ammo.Value = m
5394
			end
5395
			Can_Shoot = true
5396
			Reloading = false
5397
		elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
5398
			Sprinting = true
5399
			Character.Humanoid.WalkSpeed = Settings.SprintSpeed
5400
			Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
5401
		end
5402
	end)
5403
	Mouse.KeyUp:connect(function(Key)
5404
		if Key:upper() == Settings.SprintKey:upper() and Sprinting then
5405
			Sprinting = false
5406
			Character.Humanoid.WalkSpeed = 16
5407
			Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
5408
			Right_Weld.C0 = CFrame.new(0, -1.5, 0)
5409
		end
5410
	end)
5411
	Mouse.Button2Down:connect(function()
5412
		if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
5413
			Aiming = true
5414
			_G.MouseSensitivity = 0.3	
5415
			Mouse.Icon = Settings.Icons.Aim
5416
5417
				if Settings.AimAnim.Enabled then
5418
				Right_Weld.C1 = CFrame.new()
5419
				Right_Weld.C0 = CFrame.new()
5420
				delay(0, function()
5421
					Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame))
5422
				end)
5423
				delay(0, function()
5424
					Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftAimPos)
5425
				end)
5426
				delay(0, function()
5427
					if Settings.ChangeFOV[1] then
5428
						Camera.FieldOfView = 70
5429
						local Cam_Dif, T_F = 70 - Settings.ChangeFOV[2], Settings.AimAnim.Time * Settings.AimAnim.Frames
5430
						for i = 1, T_F do
5431
							local FOV = 70 - Cam_Dif/T_F * i
5432
							Camera.FieldOfView = FOV
5433
							wait(Settings.AimAnim.Time/Settings.AimAnim.Frames)
5434
							if not Aiming then
5435
								return
5436
							end
5437
						end
5438
						Camera.FieldOfView = Settings.ChangeFOV[2]
5439
					end
5440
				end)
5441
			else
5442
				Right_Weld.C1 = CFrame.new()
5443
				Right_Weld.C0 = CFrame.new()
5444
				Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
5445
				Left_Weld.C1 = Settings.LeftAimPos
5446
				if Settings.ChangeFOV[1] then
5447
					Camera.FieldOfView = Settings.ChangeFOV[2]
5448
				end
5449
			end
5450
			Tool.GripPos = Orig_Grip + Settings.AimGripOffset
5451
			Settings.Spread = Settings.Spread - Settings.SpreadReduction
5452
		end
5453
	end)
5454
	Mouse.Button2Up:connect(function()
5455
		if Aiming then
5456
			Mouse.Icon = Settings.Icons.Idle
5457
			
5458
			Tool.GripPos = Orig_Grip 
5459
			if Settings.AimAnim.Enabled then
5460
				delay(0, function()
5461
					Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, CFrame.new(0, -1.5, 0))
5462
				end)
5463
				delay(0, function()
5464
					Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftPos)
5465
				end)
5466
			else
5467
				Right_Weld.C1 = Settings.RightPos
5468
				Right_Weld.C0 = CFrame.new(0, -1.5, 0)
5469
				Left_Weld.C1 = Settings.LeftPos
5470
			end
5471
			if Settings.ChangeFOV[1] then
5472
				Camera.FieldOfView = 70
5473
			end
5474
			Settings.Spread = Settings.Spread + Settings.SpreadReduction
5475
			Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
5476
			Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
5477
			wait(0.25)
5478
			Aiming = false
5479
			_G.MouseSensitivity = 1	
5480
		end
5481
	end)
5482
	wait()
5483
	Camera.Changed:connect(function()
5484
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
5485
			Mouse.TargetFilter = workspace
5486
			Character.Torso.Neck.C1 = CFrame.new()
5487
			Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
5488
		end
5489
	end)
5490
	Mouse.Idle:connect(function()
5491
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
5492
			Mouse.TargetFilter = workspace
5493
			Character.Torso.Neck.C1 = CFrame.new()
5494
			Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
5495
		end
5496
	end)
5497
	while wait() and Equipped do
5498
		if Sprinting then
5499
			Can_Shoot = false
5500
			Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
5501
			Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
5502
		elseif not Aiming and not Sprinting then
5503
			Can_Shoot = true
5504
			Left_Weld.C0 = CFrame.new(0, -1.5, 0)
5505
		end
5506
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
5507
			Mouse.TargetFilter = nil
5508
			Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
5509
			Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
5510
		end
5511
	end
5512
end)
5513
5514
local Arms_Made
5515
local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
5516
5517
Tool.Equipped:connect(function(Mouse)
5518
	if Character and not Arms_Made then
5519
		Arms_Made = true
5520
		local Torso = Character.Torso
5521
		Torso["Right Shoulder"].Part1 = nil
5522
		Left_Weld = Instance.new("Weld", Torso)
5523
		Left_Weld.Name = "Left_Weld"
5524
		Left_Weld.Part0 = Character.Head
5525
		Left_Weld.C0 = CFrame.new(0, -1.5, 0)
5526
		if not Settings.OneHanded then
5527
			Torso["Left Shoulder"].Part1 = nil
5528
			Left_Weld.Part1 = Character["Left Arm"]
5529
		end
5530
		Right_Weld = Instance.new("Weld", Torso)
5531
		Right_Weld.Name = "Right_Weld"
5532
		Right_Weld.Part0 = Character.Head
5533
		Right_Weld.Part1 = Character["Right Arm"]
5534
		Right_Weld.C0 = CFrame.new(0, -1.5, 0)
5535
		Left_Weld.C1 = Settings.LeftPos
5536
		Right_Weld.C1 = Settings.RightPos
5537
	end
5538
	if Settings.FakeArms and not Fake_Arm_Right then
5539
		Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
5540
		Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
5541
		Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
5542
		local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
5543
		for i = 1, 2 do
5544
			local w = Instance.new("Weld", fakeArms[i])
5545
			w.Part0 = Character[fakeArms[i].Name]
5546
			w.Part1 = fakeArms[i]
5547
			fakeArms[i].Transparency = Settings.FakeArmTransparency
5548
		end
5549
		Fake_Arm_Model = Instance.new("Model", Camera)
5550
		Fake_Arm_Right.Parent = Fake_Arm_Model
5551
		if not Settings.OneHanded then
5552
			Fake_Arm_Left.Parent = Fake_Arm_Model
5553
		end
5554
		Fake_Arm_Model.Name = "FakeArms"
5555
		if Settings.CharacterMeshes then
5556
			for i, v in pairs(Character:GetChildren()) do
5557
				if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
5558
					v:Clone().Parent = Fake_Arm_Model
5559
				end
5560
			end
5561
		end
5562
		if Character:FindFirstChild("Shirt") then
5563
			Instance.new("Humanoid", Fake_Arm_Model)
5564
			Character.Shirt:Clone().Parent = Fake_Arm_Model
5565
		else
5566
			local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
5567
			Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(1, 2, 1)
5568
			local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
5569
			Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(1, 2, 1)
5570
		end
5571
	end
5572
end)
5573
5574
Tool.Unequipped:connect(function()
5575
	Equipped = false
5576
	Tool.GripPos = Orig_Grip
5577
	Aiming = false
5578
	Settings.Spread = Orig_Spread
5579
	if Settings.ChangeFOV[1] then
5580
		Camera.FieldOfView = 70
5581
	end
5582
	if Gui then
5583
		Gui:Destroy()
5584
		Gui = nil
5585
	end
5586
	for i, v in pairs(Tool.Handle:GetChildren()) do
5587
		if v:IsA("Sound") then
5588
			v:Stop()
5589
		end
5590
	end
5591
	if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
5592
		Fake_Arm_Model:Destroy()
5593
		Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
5594
	end
5595
	if Character and Left_Weld and Right_Weld then
5596
		Arms_Made = false
5597
		local Torso = Character.Torso
5598
		Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
5599
		Left_Weld:Destroy()
5600
		Right_Weld:Destroy()
5601
	end
5602
	Sprinting = false
5603
	Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
5604
	Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
5605
	Character.Humanoid.WalkSpeed = 16
5606
end)
5607
end))
5608
NumberValue10.Name = "StoredAmmo"
5609
NumberValue10.Parent = LocalScript9
5610
NumberValue10.Value = 999
5611
NumberValue11.Name = "Ammo"
5612
NumberValue11.Parent = LocalScript9
5613
NumberValue11.Value = 17
5614
Smoke12.Parent = LocalScript9
5615
Smoke12.Size = 0.25
5616
Smoke12.Color = Color3.new(0.807843, 0.807843, 0.807843)
5617
Smoke12.Enabled = false
5618
Smoke12.Opacity = 0.10000000149012
5619
Smoke12.RiseVelocity = 10
5620
Smoke12.Color = Color3.new(0.807843, 0.807843, 0.807843)
5621
Smoke13.Name = "Smoke1"
5622
Smoke13.Parent = LocalScript9
5623
Smoke13.Size = 0.25
5624
Smoke13.Color = Color3.new(0.807843, 0.807843, 0.807843)
5625
Smoke13.Enabled = false
5626
Smoke13.Opacity = 0.10000000149012
5627
Smoke13.RiseVelocity = 10
5628
Smoke13.Color = Color3.new(0.807843, 0.807843, 0.807843)
5629
Smoke14.Name = "Smoke2"
5630
Smoke14.Parent = LocalScript9
5631
Smoke14.Size = 0.25
5632
Smoke14.Color = Color3.new(0.807843, 0.807843, 0.807843)
5633
Smoke14.Enabled = false
5634
Smoke14.Opacity = 0.10000000149012
5635
Smoke14.RiseVelocity = 10
5636
Smoke14.Color = Color3.new(0.807843, 0.807843, 0.807843)
5637
Part15.Name = "Handle"
5638
Part15.Parent = Tool0
5639
Part15.Rotation = Vector3.new(-180, 0, -180)
5640
Part15.Anchored = true
5641
Part15.Size = Vector3.new(0.381999999, 1.28199995, 2.3829999)
5642
Part15.CFrame = CFrame.new(9.13755798, -6.86499977, 20.1830006, -1, 0, 8.74227908e-08, 0, 1, 0, -8.74227908e-08, 0, -1)
5643
Part15.Position = Vector3.new(9.13755798, -6.86499977, 20.1830006)
5644
Part15.Orientation = Vector3.new(0, 180, 0)
5645
FileMesh16.Parent = Part15
5646
FileMesh16.MeshId = "rbxassetid://430349699"
5647
FileMesh16.Scale = Vector3.new(0.00300000003, 0.00300000003, 0.00300000003)
5648
FileMesh16.TextureId = "rbxassetid://430348267"
5649
FileMesh16.Scale = Vector3.new(0.00300000003, 0.00300000003, 0.00300000003)
5650
Sound17.Name = "Bolt"
5651
Sound17.Parent = Part15
5652
Sound17.SoundId = "http://roblox.com/asset/?id=166238161"
5653
Sound17.Volume = 0.20000000298023
5654
Sound18.Name = "Click"
5655
Sound18.Parent = Part15
5656
Sound18.SoundId = "http://www.roblox.com/asset/?id=146501511"
5657
Sound19.Name = "MagIn"
5658
Sound19.Parent = Part15
5659
Sound19.Pitch = 1.3999999761581
5660
Sound19.SoundId = "http://www.roblox.com/asset/?id=131045429"
5661
Sound20.Name = "MagOut"
5662
Sound20.Parent = Part15
5663
Sound20.Pitch = 1.3999999761581
5664
Sound20.SoundId = "http://www.roblox.com/asset/?id=131045401"
5665
Sound21.Name = "Shoot"
5666
Sound21.Parent = Part15
5667
Sound21.SoundId = "rbxassetid://131070686"
5668
Sound21.Volume = 1
5669
Part22.Name = "Mag"
5670
Part22.Parent = Tool0
5671
Part22.Rotation = Vector3.new(-180, 0, -180)
5672
Part22.Anchored = true
5673
Part22.Size = Vector3.new(0.316000015, 1.30400002, 0.842999995)
5674
Part22.CFrame = CFrame.new(9.13755798, -6.98799992, 20.8470001, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1)
5675
Part22.Position = Vector3.new(9.13755798, -6.98799992, 20.8470001)
5676
Part22.Orientation = Vector3.new(0, 180, 0)
5677
FileMesh23.Parent = Part22
5678
FileMesh23.MeshId = "rbxassetid://430349765"
5679
FileMesh23.Scale = Vector3.new(0.00300000003, 0.00300000003, 0.00300000003)
5680
FileMesh23.TextureId = "rbxassetid://430348267"
5681
FileMesh23.Scale = Vector3.new(0.00300000003, 0.00300000003, 0.00300000003)
5682
Part24.Name = "Bolt"
5683
Part24.Parent = Tool0
5684
Part24.Rotation = Vector3.new(-180, 0, -180)
5685
Part24.Anchored = true
5686
Part24.Size = Vector3.new(0.282999992, 0.451999992, 2.35899997)
5687
Part24.CFrame = CFrame.new(9.13555908, -6.39799976, 20.1800003, -1, 0, 9.23857442e-07, -0, 1, 0, -9.23857442e-07, 0, -1)
5688
Part24.Position = Vector3.new(9.13555908, -6.39799976, 20.1800003)
5689
Part24.Orientation = Vector3.new(0, 180, 0)
5690
FileMesh25.Parent = Part24
5691
FileMesh25.MeshId = "rbxassetid://430349880"
5692
FileMesh25.Scale = Vector3.new(0.00300000003, 0.00300000003, 0.00300000003)
5693
FileMesh25.TextureId = "rbxassetid://430348267"
5694
FileMesh25.Scale = Vector3.new(0.00300000003, 0.00300000003, 0.00300000003)
5695
for i,v in pairs(mas:GetChildren()) do
5696
	v.Parent = game:GetService("Players").LocalPlayer.Backpack
5697
	pcall(function() v:MakeJoints() end)
5698
end
5699
mas:Destroy()
5700
for i,v in pairs(cors) do
5701
	spawn(function()
5702
		pcall(v)
5703
	end)
5704
end
5705
5706
end
5707
5708
function Spawn1911()
5709
	
5710
--Converted with ttyyuu12345's model to script plugin v4
5711
function sandbox(var,func)
5712
	local env = getfenv(func)
5713
	local newenv = setmetatable({},{
5714
		__index = function(self,k)
5715
			if k=="script" then
5716
				return var
5717
			else
5718
				return env[k]
5719
			end
5720
		end,
5721
	})
5722
	setfenv(func,newenv)
5723
	return func
5724
end
5725
cors = {}
5726
mas = Instance.new("Model",game:GetService("Lighting"))
5727
Tool0 = Instance.new("Tool")
5728
Part1 = Instance.new("Part")
5729
BlockMesh2 = Instance.new("BlockMesh")
5730
PointLight3 = Instance.new("PointLight")
5731
BillboardGui4 = Instance.new("BillboardGui")
5732
ImageLabel5 = Instance.new("ImageLabel")
5733
Script6 = Instance.new("Script")
5734
Part7 = Instance.new("Part")
5735
BlockMesh8 = Instance.new("BlockMesh")
5736
Part9 = Instance.new("Part")
5737
Sound10 = Instance.new("Sound")
5738
Sound11 = Instance.new("Sound")
5739
Sound12 = Instance.new("Sound")
5740
Sound13 = Instance.new("Sound")
5741
Sound14 = Instance.new("Sound")
5742
Part15 = Instance.new("Part")
5743
SpecialMesh16 = Instance.new("SpecialMesh")
5744
Part17 = Instance.new("Part")
5745
SpecialMesh18 = Instance.new("SpecialMesh")
5746
LocalScript19 = Instance.new("LocalScript")
5747
NumberValue20 = Instance.new("NumberValue")
5748
NumberValue21 = Instance.new("NumberValue")
5749
Smoke22 = Instance.new("Smoke")
5750
Smoke23 = Instance.new("Smoke")
5751
Smoke24 = Instance.new("Smoke")
5752
Tool0.Name = "M1911"
5753
Tool0.Parent = mas
5754
Tool0.TextureId = "rbxassetid://245265452"
5755
Part1.Name = "SmokePart"
5756
Part1.Parent = Tool0
5757
Part1.BrickColor = BrickColor.new("Bright orange")
5758
Part1.Transparency = 1
5759
Part1.Rotation = Vector3.new(90, 0, -180)
5760
Part1.Anchored = true
5761
Part1.CanCollide = false
5762
Part1.FormFactor = Enum.FormFactor.Custom
5763
Part1.Size = Vector3.new(0.200000003, 0.478571415, 0.200000003)
5764
Part1.CFrame = CFrame.new(1.44665051, 0.703978181, 16.5859318, -1, 7.15255624e-07, -5.53527059e-07, 5.53528764e-07, 2.44172543e-06, -1, -7.15254259e-07, -1, -2.44172611e-06)
5765
Part1.BottomSurface = Enum.SurfaceType.Smooth
5766
Part1.TopSurface = Enum.SurfaceType.Smooth
5767
Part1.Color = Color3.new(0.854902, 0.521569, 0.254902)
5768
Part1.Position = Vector3.new(1.44665051, 0.703978181, 16.5859318)
5769
Part1.Orientation = Vector3.new(90, 180, 0)
5770
Part1.Color = Color3.new(0.854902, 0.521569, 0.254902)
5771
BlockMesh2.Parent = Part1
5772
PointLight3.Name = "Flash"
5773
PointLight3.Parent = Part1
5774
PointLight3.Color = Color3.new(1, 0.666667, 0)
5775
PointLight3.Enabled = false
5776
PointLight3.Brightness = 3
5777
PointLight3.Range = 10
5778
PointLight3.Color = Color3.new(1, 0.666667, 0)
5779
BillboardGui4.Name = "Light"
5780
BillboardGui4.Parent = Part1
5781
BillboardGui4.Size = UDim2.new(2.5, 0, 2.5, 0)
5782
BillboardGui4.Active = true
5783
ImageLabel5.Name = "Light"
5784
ImageLabel5.Parent = BillboardGui4
5785
ImageLabel5.Transparency = 1
5786
ImageLabel5.Size = UDim2.new(2, 0, 2, 0)
5787
ImageLabel5.Position = UDim2.new(-0.5, 0, -0.5, 0)
5788
ImageLabel5.Active = true
5789
ImageLabel5.Visible = false
5790
ImageLabel5.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
5791
ImageLabel5.BackgroundTransparency = 1
5792
ImageLabel5.Image = "http://www.roblox.com/asset/?id=68683102"
5793
Script6.Parent = BillboardGui4
5794
table.insert(cors,sandbox(Script6,function()
5795
script.Parent.Adornee = script.Parent.Parent
5796
end))
5797
Part7.Name = "AimPart"
5798
Part7.Parent = Tool0
5799
Part7.BrickColor = BrickColor.new("Dark stone grey")
5800
Part7.Transparency = 1
5801
Part7.Anchored = true
5802
Part7.CanCollide = false
5803
Part7.FormFactor = Enum.FormFactor.Custom
5804
Part7.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
5805
Part7.CFrame = CFrame.new(1.44665051, 0.903979182, 18.1359978, 1, 5.53527684e-07, -7.30156273e-07, -5.53528821e-07, 1, -1.58907233e-06, 7.30155421e-07, 1.58907267e-06, 1)
5806
Part7.BottomSurface = Enum.SurfaceType.Smooth
5807
Part7.TopSurface = Enum.SurfaceType.Smooth
5808
Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
5809
Part7.Position = Vector3.new(1.44665051, 0.903979182, 18.1359978)
5810
Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
5811
BlockMesh8.Parent = Part7
5812
Part9.Name = "Handle"
5813
Part9.Parent = Tool0
5814
Part9.BrickColor = BrickColor.new("Really black")
5815
Part9.Transparency = 1
5816
Part9.Rotation = Vector3.new(0.0199999996, 0, 0)
5817
Part9.Anchored = true
5818
Part9.CanCollide = false
5819
Part9.FormFactor = Enum.FormFactor.Custom
5820
Part9.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
5821
Part9.CFrame = CFrame.new(1.44665051, 0.00397720933, 17.4859734, 1, 8.55040923e-07, -7.46405703e-07, -8.55299845e-07, 0.99999994, -0.000346982124, 7.46108981e-07, 0.000346982095, 0.99999994)
5822
Part9.BottomSurface = Enum.SurfaceType.Smooth
5823
Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
5824
Part9.TopSurface = Enum.SurfaceType.Smooth
5825
Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
5826
Part9.Position = Vector3.new(1.44665051, 0.00397720933, 17.4859734)
5827
Part9.Orientation = Vector3.new(0.0199999996, 0, 0)
5828
Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
5829
Sound10.Name = "Shoot"
5830
Sound10.Parent = Part9
5831
Sound10.SoundId = "rbxassetid://131257506"
5832
Sound10.Volume = 10
5833
Sound11.Name = "Bolt"
5834
Sound11.Parent = Part9
5835
Sound11.SoundId = "http://roblox.com/asset/?id=166238161"
5836
Sound11.Volume = 0.20000000298023
5837
Sound12.Name = "Click"
5838
Sound12.Parent = Part9
5839
Sound12.SoundId = "http://www.roblox.com/asset/?id=146501511"
5840
Sound13.Name = "MagIn"
5841
Sound13.Parent = Part9
5842
Sound13.Pitch = 1.3999999761581
5843
Sound13.SoundId = "http://www.roblox.com/asset/?id=131045429"
5844
Sound14.Name = "MagOut"
5845
Sound14.Parent = Part9
5846
Sound14.Pitch = 1.3999999761581
5847
Sound14.SoundId = "http://www.roblox.com/asset/?id=131045401"
5848
Part15.Name = "Mag"
5849
Part15.Parent = Tool0
5850
Part15.BrickColor = BrickColor.new("Black")
5851
Part15.Rotation = Vector3.new(169.849991, 0, 180)
5852
Part15.Anchored = true
5853
Part15.CanCollide = false
5854
Part15.FormFactor = Enum.FormFactor.Custom
5855
Part15.Size = Vector3.new(0.200000003, 0.599999964, 0.200000003)
5856
Part15.CFrame = CFrame.new(1.44663525, 0.271926194, 17.795517, -1.00000882, -9.37858147e-08, 8.36750701e-07, -2.39778871e-07, 0.984353244, -0.176231131, -8.07122547e-07, -0.176231131, -0.984353244)
5857
Part15.BottomSurface = Enum.SurfaceType.Smooth
5858
Part15.TopSurface = Enum.SurfaceType.Smooth
5859
Part15.Color = Color3.new(0.105882, 0.164706, 0.207843)
5860
Part15.Position = Vector3.new(1.44663525, 0.271926194, 17.795517)
5861
Part15.Orientation = Vector3.new(10.1499996, 180, 0)
5862
Part15.Color = Color3.new(0.105882, 0.164706, 0.207843)
5863
SpecialMesh16.Parent = Part15
5864
SpecialMesh16.MeshId = "rbxassetid://27839686"
5865
SpecialMesh16.Scale = Vector3.new(0.129999995, 0.300000012, 0.200000003)
5866
SpecialMesh16.TextureId = "rbxassetid://271708747"
5867
SpecialMesh16.MeshType = Enum.MeshType.FileMesh
5868
SpecialMesh16.Scale = Vector3.new(0.129999995, 0.300000012, 0.200000003)
5869
Part17.Name = "Gun"
5870
Part17.Parent = Tool0
5871
Part17.BrickColor = BrickColor.new("Pastel yellow")
5872
Part17.Rotation = Vector3.new(-90, 0, 0)
5873
Part17.Anchored = true
5874
Part17.CanCollide = false
5875
Part17.FormFactor = Enum.FormFactor.Custom
5876
Part17.Size = Vector3.new(0.200000003, 1.20000005, 0.800000012)
5877
Part17.CFrame = CFrame.new(1.44663525, 0.403745204, 17.385952, 1.00000441, -1.79147608e-09, -1.02596701e-07, 1.02596857e-07, 2.38419517e-07, 1.00000572, -3.15940909e-08, -1.00000346, 2.38287697e-07)
5878
Part17.Color = Color3.new(1, 1, 0.8)
5879
Part17.Position = Vector3.new(1.44663525, 0.403745204, 17.385952)
5880
Part17.Orientation = Vector3.new(-90, 0, 0)
5881
Part17.Color = Color3.new(1, 1, 0.8)
5882
SpecialMesh18.Parent = Part17
5883
SpecialMesh18.MeshId = "http://www.roblox.com/asset/?id=72012879"
5884
SpecialMesh18.Scale = Vector3.new(1.25, 1.5, 1.5)
5885
SpecialMesh18.TextureId = "rbxassetid://72012859"
5886
SpecialMesh18.VertexColor = Vector3.new(2, 2, 2)
5887
SpecialMesh18.MeshType = Enum.MeshType.FileMesh
5888
SpecialMesh18.Scale = Vector3.new(1.25, 1.5, 1.5)
5889
--Gun Gui
5890
5891
-- Objects
5892
5893
local Gui = Instance.new("ScreenGui")
5894
local Frame = Instance.new("Frame")
5895
local AmmoDisplay = Instance.new("TextLabel")
5896
local StoredAmmoDisplay = Instance.new("TextLabel")
5897
local _000 = Instance.new("TextLabel")
5898
local _000_2 = Instance.new("TextLabel")
5899
5900
-- Properties
5901
5902
Gui.Name = "Gui"
5903
Gui.Parent = LocalScript19
5904
5905
Frame.Parent = Gui
5906
Frame.BackgroundColor3 = Color3.new(0, 0, 0)
5907
Frame.BackgroundTransparency = 1
5908
Frame.BorderColor3 = Color3.new(0.466667, 0.466667, 0.466667)
5909
Frame.BorderSizePixel = 0
5910
Frame.Position = UDim2.new(0.125, -5, 1.14999998, -120)
5911
Frame.Size = UDim2.new(-0.100000001, 0, -0.0399999991, 0)
5912
Frame.SizeConstraint = Enum.SizeConstraint.RelativeXX
5913
5914
AmmoDisplay.Name = "AmmoDisplay"
5915
AmmoDisplay.Parent = Frame
5916
AmmoDisplay.BackgroundColor3 = Color3.new(0.501961, 0, 0)
5917
AmmoDisplay.BackgroundTransparency = 1
5918
AmmoDisplay.Position = UDim2.new(-0.0599999987, 0, 0, 0)
5919
AmmoDisplay.Size = UDim2.new(0.540000021, 0, 1.25, 0)
5920
AmmoDisplay.ZIndex = 2
5921
AmmoDisplay.Font = Enum.Font.SourceSansBold
5922
AmmoDisplay.FontSize = Enum.FontSize.Size36
5923
AmmoDisplay.Text = "30"
5924
AmmoDisplay.TextColor3 = Color3.new(1, 1, 1)
5925
AmmoDisplay.TextScaled = true
5926
AmmoDisplay.TextSize = 36
5927
AmmoDisplay.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
5928
AmmoDisplay.TextWrapped = true
5929
AmmoDisplay.TextXAlignment = Enum.TextXAlignment.Right
5930
5931
StoredAmmoDisplay.Name = "StoredAmmoDisplay"
5932
StoredAmmoDisplay.Parent = Frame
5933
StoredAmmoDisplay.BackgroundColor3 = Color3.new(0.501961, 0, 0)
5934
StoredAmmoDisplay.BackgroundTransparency = 1
5935
StoredAmmoDisplay.Position = UDim2.new(0.419999987, 0, 0.25, 0)
5936
StoredAmmoDisplay.Size = UDim2.new(0.550000012, 0, 0.75, 0)
5937
StoredAmmoDisplay.ZIndex = 2
5938
StoredAmmoDisplay.Font = Enum.Font.SourceSans
5939
StoredAmmoDisplay.FontSize = Enum.FontSize.Size14
5940
StoredAmmoDisplay.Text = "360"
5941
StoredAmmoDisplay.TextColor3 = Color3.new(1, 1, 1)
5942
StoredAmmoDisplay.TextScaled = true
5943
StoredAmmoDisplay.TextSize = 14
5944
StoredAmmoDisplay.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
5945
StoredAmmoDisplay.TextWrapped = true
5946
StoredAmmoDisplay.TextXAlignment = Enum.TextXAlignment.Right
5947
5948
_000.Name = "000"
5949
_000.Parent = Frame
5950
_000.BackgroundColor3 = Color3.new(0.501961, 0, 0)
5951
_000.BackgroundTransparency = 1
5952
_000.Position = UDim2.new(0.419999987, 0, 0.25, 0)
5953
_000.Size = UDim2.new(0.550000012, 0, 0.75, 0)
5954
_000.ZIndex = 2
5955
_000.Font = Enum.Font.SourceSans
5956
_000.FontSize = Enum.FontSize.Size14
5957
_000.Text = "000"
5958
_000.TextColor3 = Color3.new(1, 1, 1)
5959
_000.TextScaled = true
5960
_000.TextSize = 14
5961
_000.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
5962
_000.TextTransparency = 0.80000001192093
5963
_000.TextWrapped = true
5964
_000.TextXAlignment = Enum.TextXAlignment.Right
5965
5966
_000_2.Name = "000"
5967
_000_2.Parent = Frame
5968
_000_2.BackgroundColor3 = Color3.new(0.501961, 0, 0)
5969
_000_2.BackgroundTransparency = 1
5970
_000_2.Position = UDim2.new(-0.25, 0, 0, 0)
5971
_000_2.Size = UDim2.new(0.75, 0, 1.25, 0)
5972
_000_2.ZIndex = 2
5973
_000_2.Font = Enum.Font.SourceSansBold
5974
_000_2.FontSize = Enum.FontSize.Size48
5975
_000_2.Text = "000"
5976
_000_2.TextColor3 = Color3.new(1, 1, 1)
5977
_000_2.TextScaled = true
5978
_000_2.TextSize = 48
5979
_000_2.TextStrokeColor3 = Color3.new(0.647059, 0, 0.129412)
5980
_000_2.TextTransparency = 0.80000001192093
5981
_000_2.TextWrapped = true
5982
_000_2.TextXAlignment = Enum.TextXAlignment.Right
5983
LocalScript19.Name = "Gun_Script"
5984
LocalScript19.Parent = Tool0
5985
table.insert(cors,sandbox(LocalScript19,function()
5986
sp = script.Parent
5987
5988
Mesh = false -- If true will load BC 2.0 Arm meshes as well.
5989
Shirt = true -- If true will load the user's shirt to the arms as well
5990
5991
function onEquipped(mouse)
5992
	local Player = game:GetService("Players").LocalPlayer	
5993
	local Cam = game.Workspace.CurrentCamera
5994
	
5995
	local Arms = Instance.new("Model")
5996
	Arms.Name = "Arms"
5997
	Arms.Parent = Cam
5998
	
5999
	if Shirt == true then
6000
		local Humanoid = Instance.new("Humanoid")
6001
		Humanoid.MaxHealth = 0
6002
		Humanoid.Health = 0
6003
		Humanoid.Name = ""
6004
		Humanoid.Parent = Arms
6005
		
6006
		local newShirt = Player.Character:FindFirstChild("Shirt"):clone()
6007
		newShirt.Parent = Arms
6008
	else end
6009
	
6010
	local RightArm = Player.Character:FindFirstChild("Right Arm"):clone()
6011
	RightArm.Name = "Right Arm"
6012
	RightArm.Transparency = 0
6013
	
6014
	local w = Instance.new("Weld")
6015
	w.Part0 = RightArm
6016
	w.Part1 = Player.Character:FindFirstChild("Right Arm")
6017
	w.C0 = CFrame.new()
6018
	w.C1 = CFrame.new()
6019
	w.Parent = RightArm	
6020
	RightArm.Parent = Arms
6021
		
6022
	local LeftArm = Player.Character:FindFirstChild("Left Arm"):clone()
6023
	LeftArm.Name = "Left Arm"
6024
	LeftArm.Transparency = 0	
6025
	
6026
	local w = Instance.new("Weld")
6027
	w.Part0 = LeftArm
6028
	w.Part1 = Player.Character:FindFirstChild("Left Arm")
6029
	w.C0 = CFrame.new()
6030
	w.C1 = CFrame.new()
6031
	w.Parent = LeftArm	
6032
	LeftArm.Parent = Arms
6033
	
6034
	if Mesh ~= false then
6035
		local LeftArmMesh = script:FindFirstChild("LeftArm")
6036
		LeftArmMesh.Parent = LeftArm
6037
		local RightArmMesh = script:FindFirstChild("RightArm")
6038
		RightArmMesh.Parent = RightArm
6039
	else end
6040
				
6041
end
6042
6043
function onUnequipped(mouse)
6044
	local Player = game:GetService("Players").LocalPlayer		
6045
	local Cam = game.Workspace.CurrentCamera
6046
	for _, Model in pairs(Cam:GetChildren()) do
6047
		if Model.Name == "Arms" then
6048
			Model:remove()
6049
		else end
6050
	end	
6051
end
6052
6053
sp.Equipped:connect(onEquipped)
6054
sp.Unequipped:connect(onUnequipped)
6055
6056
wait(0.5)
6057
--Made by YouTubes--
6058
--Edit settings below--
6059
local Tool = script.Parent
6060
local Settings = {
6061
	Range = 2500
6062
	,Spread = 8
6063
	,Damage = {30, 35}
6064
	,HeadShotDamage = {60, 70}
6065
	,Bullets = 1
6066
	,FireRate = 0.068
6067
	,Automatic = false
6068
	,AntiTK = false
6069
	,ImpactDuration = .5
6070
	--Reload
6071
	,ReloadKey = "R"
6072
	,ReloadTime = 1.63
6073
	,Ammo = 7
6074
	,IncludeChamberedBullet = true
6075
	--Gui
6076
	,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
6077
	--Arms
6078
	,OneHanded = true
6079
	,FakeArms = true
6080
	,FakeArmTransparency = 0
6081
	-- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
6082
	,RightPos = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
6083
	,LeftPos = CFrame.new(1.2, 0.21, 0.55)* CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
6084
	,AimPart = Tool.AimPart
6085
	,AimPartOffset = CFrame.new()
6086
	,AimGripOffset = Vector3.new(0, 0, 0)
6087
	,LeftAimPos = CFrame.new(1, 0.9, 0.35) * CFrame.Angles(math.rad(-95), math.rad(20), math.rad(0), 00)
6088
	,AimAnim = {
6089
		Enabled = false
6090
		,Frames = 50
6091
		,Time = 0.1
6092
	}
6093
	,ChangeFOV = {true, 45}
6094
	,SpreadReduction = 8
6095
	--Weld
6096
	,Weld = true
6097
	--Mouse
6098
	,Icons = {
6099
		Idle = "rbxassetid://70288585"
6100
		,Fire1 = "rbxassetid://70288578"
6101
		,Fire2 = "rbxassetid://70288572"
6102
		,Fire3 = "rbxassetid://70288578"
6103
		,Reload = "rbxassetid://70288599"
6104
		,Aim = "rbxasset://textures/Blank.png"
6105
	}
6106
	,FireMouseAnimTime = 0.15
6107
	--Recoil
6108
	,Recoil = math.rad(0.79)
6109
	--Smoke
6110
	,Smoke = true
6111
	,SmokePart = Tool.SmokePart
6112
	,Smokes = {{script.Smoke, 6, 0.01}, {script.Smoke1, 0.01}, {script.Smoke2, 0.01}}
6113
	--Sprint
6114
	,Sprint = true
6115
	,SprintSpeed = 25
6116
	,SprintKey = "0"
6117
	,SprintSpreadIncrease = 40
6118
	,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
6119
	,DropHats = true
6120
}
6121
6122
--Do not edit below this lign--
6123
6124
local Orig_Spread = Settings.Spread
6125
local Orig_Grip = Tool.GripPos
6126
6127
local Player = game.Players.LocalPlayer
6128
local Character = Player.Character
6129
6130
local Camera = workspace.CurrentCamera
6131
6132
local Ammo, StoredAmmo = script.Ammo, script.StoredAmmo
6133
6134
local Gui, CanUpdateGui = nil, true
6135
6136
local Sprinting, Equipped
6137
6138
function Update_Gui()
6139
	if Gui and CanUpdateGui then
6140
		Gui.Frame.AmmoDisplay.Text = Ammo.Value
6141
		Gui.Frame.StoredAmmoDisplay.Text = StoredAmmo.Value
6142
	end
6143
end
6144
6145
local Welded
6146
if Settings.Weld then
6147
	delay(0, function()
6148
		local weldC0s = {}
6149
		for i, v in pairs(Tool:GetChildren()) do
6150
			if v:IsA("BasePart") and v ~= Tool.Handle then
6151
				table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
6152
				v.Anchored = false
6153
			end
6154
		end
6155
		Tool.Handle.Anchored = false
6156
		local welds = {}
6157
		Tool.Equipped:connect(function()
6158
			for i, v in ipairs(welds) do
6159
				v.Part1 = nil
6160
				v:Destroy()
6161
			end
6162
			for i, v in ipairs(weldC0s) do
6163
				if v[1] and v[2] then
6164
					local w = Instance.new("Weld", Tool.Handle)
6165
					w.Part0 = Tool.Handle
6166
					w.Part1 = v[1]
6167
					w.C0 = v[2]
6168
					table.insert(welds, w)
6169
				end
6170
			end
6171
		end)
6172
		wait()
6173
		Welded = true
6174
	end)
6175
end
6176
6177
local Left_Weld, Right_Weld
6178
6179
Ammo.Changed:connect(Update_Gui)
6180
StoredAmmo.Changed:connect(Update_Gui)
6181
6182
Settings.Range = math.min(Settings.Range, 999)
6183
6184
local Ignore_Model = workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", workspace)
6185
Ignore_Model.Name = "Ray_Ignore"
6186
6187
local Ray_Ignore = {Character, Ignore_Model, Camera}
6188
6189
Character.Humanoid.Died:connect(function()
6190
	Tool.Parent = Player.Backpack
6191
end)
6192
6193
function Fire(Mouse)
6194
	local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
6195
	local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
6196
	local Hit, Pos = workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
6197
	if Hit and Hit.Parent:FindFirstChild("Humanoid") then
6198
		local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
6199
		if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
6200
			return
6201
		end
6202
		local Humanoid = Hit.Parent.Humanoid
6203
		local c = Instance.new("ObjectValue")
6204
		c.Name = "creator"
6205
		c.Value = Player
6206
		game.Debris:AddItem(c, 3)
6207
		c.Parent = Humanoid
6208
		if Hit.Name == "Head" then
6209
			Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
6210
		else
6211
			Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
6212
		end
6213
	elseif Hit then
6214
		local Hit_Part = Instance.new("Part", Ignore_Model)
6215
		Hit_Part.FormFactor = "Custom"
6216
		Hit_Part.TopSurface = 0
6217
		Hit_Part.BottomSurface = 0
6218
		Hit_Part.Anchored = true
6219
		Hit_Part.CanCollide = false
6220
		Hit_Part.Size = Vector3.new()
6221
		Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
6222
		Hit_Part.BrickColor = BrickColor.new("Black")
6223
		Hit_Part.Material = "Metal"		
6224
		local Meta = Instance.new("Sound")
6225
		Meta.Name = "Crack"
6226
		Meta.SoundId = "rbxassetid://151284431"
6227
		Meta.Volume = 0.3
6228
		Meta.Pitch = 2
6229
		Meta.Parent = Hit_Part
6230
		Meta:play()
6231
		local Cur = Instance.new("SpecialMesh")
6232
		Cur.MeshType = "Sphere"
6233
		Cur.Parent = Hit_Part
6234
		Cur.Scale = Vector3.new(0.5,0.5,0.5)
6235
		Instance.new("Smoke", Hit_Part).Opacity = 15
6236
		local g = Instance.new("PointLight", Hit_Part)
6237
		g.Color = Color3.new(0, 0, 0)
6238
		g.Range = 0
6239
		g.Shadows = true
6240
		local PE = Instance.new("ParticleEmitter")
6241
		PE.Parent = Hit_Part
6242
		PE.Size = NumberSequence.new(0.75)
6243
		PE.LightEmission = 0
6244
		PE.Lifetime = NumberRange.new(5)
6245
		PE.ZOffset = 0.5
6246
		PE.Texture = "http://www.roblox.com/asset/?id=133619974"
6247
		PE.Rate = 50
6248
		PE.Speed = NumberRange.new(2.5)
6249
		PE.VelocitySpread = NumberSequence.new(-0.05)
6250
		PE.Transparency = NumberSequence.new(-1)
6251
		game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
6252
		game.Debris:AddItem(PE, 0.17)
6253
	--[[	if not Hit.Anchored then
6254
			local w = Instance.new("Weld", Hit_Part)
6255
			w.Part0 = Hit
6256
			w.Part1 = Hit_Part
6257
			w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
6258
			Hit_Part.Anchored = false
6259
	end]]
6260
		if Hit.Transparency >= 0.1 then
6261
			Hit:BreakJoints()
6262
			Hit.Anchored = false
6263
			Hit.Size = Hit.Size /2
6264
			local sound = Instance.new("Sound", Hit)
6265
			sound.Volume = 10
6266
			sound.SoundId = "rbxassetid://138122923"
6267
			sound:Play()
6268
			for i=1, 4, 1 do
6269
				local clone = Hit:Clone()
6270
				clone.Parent = workspace
6271
				game.Debris:AddItem(clone, 3)
6272
			end
6273
			game.Debris:AddItem(Hit, 1)
6274
		end
6275
		if Hit.Parent:IsA("Hat") or Hit.Parent:IsA("Accessory") and Settings.DropHats then
6276
			Hit.Parent.Parent = workspace
6277
			game.Debris:AddItem(Hit, 3)
6278
		end
6279
	end
6280
end
6281
6282
6283
local Can_Shoot = true
6284
local Reloading = false
6285
6286
local First_Person = false
6287
6288
local Mouse_Held
6289
6290
Tool.Equipped:connect(function(Mouse)
6291
	Equipped = true
6292
	if Settings.Weld and not Welded then
6293
		wait()
6294
		Tool.Parent = Player.Backpack
6295
	end
6296
	Character = Player.Character
6297
	if Gui then
6298
		return
6299
	end
6300
	Ray_Ignore = {Character, Ignore_Model, Camera}
6301
	Mouse.Icon = Settings.Icons.Idle
6302
	Gui = script.Gui:Clone()
6303
	Gui.Parent = Player.PlayerGui
6304
	Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
6305
	Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
6306
	CanUpdateGui = true
6307
	Update_Gui()
6308
	Mouse.Button1Down:connect(function()
6309
		if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
6310
			Mouse_Held = true
6311
			while true do
6312
				Can_Shoot = false
6313
				delay(0, function()
6314
					local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
6315
					if not Aiming then
6316
						Mouse.Icon = Settings.Icons.Fire1
6317
					end
6318
					wait(t)
6319
					if not Aiming then
6320
						if Reloading then return end
6321
						Mouse.Icon = Settings.Icons.Fire2
6322
					end
6323
					wait(t)
6324
					if not Aiming then
6325
						if Reloading then return end
6326
						Mouse.Icon = Settings.Icons.Fire3
6327
					end
6328
					wait(t)
6329
					if not Aiming then
6330
						if Reloading then return end
6331
						Mouse.Icon = Settings.Icons.Idle
6332
					end
6333
				end)
6334
				for _ = 1, Settings.Bullets do
6335
					Fire(Mouse)
6336
				end
6337
				local bg = Instance.new("BillboardGui", Settings.SmokePart)
6338
				bg.Adornee = Settings.SmokePart
6339
				local flashsize = math.random(5, 8)/10
6340
				bg.Size = UDim2.new(flashsize, 0, flashsize, 0)
6341
				local flash = Instance.new("ImageLabel", bg)
6342
				flash.BackgroundTransparency = 1
6343
				flash.Size = UDim2.new(1, 0, 1, 0)
6344
				flash.Image = "rbxassetid://172841900"
6345
				flash.Rotation = math.random(0, 360)
6346
				game.Debris:AddItem(bg, 0.025)
6347
				delay(0, function()
6348
					local r  = math.abs(Settings.Recoil)
6349
					local ran = math.random(-1, 1)
6350
					Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(r,  r*ran, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
6351
					local c = -r/20
6352
					local cx = -(r*ran)/20
6353
					for i = 1, math.random(15, 25) do
6354
						if EquipId == curId then
6355
							Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(c,  cx, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
6356
							wait()
6357
						else
6358
							break
6359
						end
6360
					end
6361
				end)
6362
				if Tool.Handle:FindFirstChild("Shoot") then
6363
					Tool.Handle.Shoot:Play()
6364
				end
6365
				Ammo.Value = Ammo.Value - 1
6366
				--Tool.Bolt.Transparency = 1
6367
				--Tool.Bolt1.Transparency = 0			
6368
				wait(Settings.FireRate)
6369
			--	Tool.Bolt.Transparency = 0
6370
				--Tool.Bolt1.Transparency = 1
6371
				if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
6372
					break
6373
				end
6374
			end
6375
			Can_Shoot = true
6376
		elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
6377
			Tool.Handle.Click:Play()
6378
		end
6379
	end)
6380
	Mouse.Button1Up:connect(function()
6381
		Mouse_Held = false
6382
	end)
6383
	Mouse.KeyDown:connect(function(Key)
6384
		if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
6385
			if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
6386
				return
6387
			end
6388
			Can_Shoot = false
6389
			Reloading = true
6390
			local TextLabel = Gui.Frame.AmmoDisplay
6391
			delay(0, function()
6392
				CanUpdateGui = false
6393
				TextLabel.Text = "000"
6394
				wait(Settings.ReloadTime/3)
6395
				if TextLabel then
6396
					TextLabel.Text = "000"
6397
				end
6398
				wait(Settings.ReloadTime/3)
6399
				if TextLabel then
6400
					TextLabel.Text = "000"
6401
				end
6402
			end)
6403
			Mouse.Icon = Settings.Icons.Reload
6404
-- (+Left to -Right, +Fward to -Bward, +Up to -Down) (+Up to -Down, +Left to -Right, +Counter to -Clock)
6405
Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
6406
Left_Weld.C1 = CFrame.new(1.2, 0.6, 0.45) * CFrame.Angles(math.rad(-90), math.rad(45), math.rad(0), 0)
6407
wait(.02)
6408
Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
6409
Left_Weld.C1 = CFrame.new(1.2, 0.5, 0.45) * CFrame.Angles(math.rad(-90), math.rad(50), math.rad(0), 0)
6410
wait(.02)
6411
Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
6412
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.45) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
6413
wait(0.02)
6414
6415
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
6416
Tool.Handle.MagOut:play()
6417
Tool.Mag.Transparency = 1
6418
6419
wait(0.03)
6420
Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
6421
wait(0.03)
6422
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
6423
wait(0.03)
6424
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
6425
wait(0.03)
6426
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
6427
wait(0.03)
6428
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.15) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(25), 0)
6429
wait(0.03)
6430
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.10) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(30), 0)
6431
wait(0.03)
6432
Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.05) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(35), 0)
6433
wait(0.03)
6434
Left_Weld.C1 = CFrame.new(1.2, 0.2, 0) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(40), 0)
6435
wait(0.03)
6436
Left_Weld.C1 = CFrame.new(1.2, 0.15, 0) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(45), 0)
6437
wait(0.03)
6438
Left_Weld.C1 = CFrame.new(1.2, 0.1, 0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(50), 0)
6439
wait(0.5)
6440
6441
Left_Weld.C1 = CFrame.new(1.2, 0.1, 0.0) * CFrame.Angles(math.rad(-90), math.rad(75), math.rad(40), 0)
6442
Tool.Handle.MagIn:play()
6443
Tool.Mag.Transparency = 0
6444
6445
wait(0.03)
6446
Left_Weld.C1 = CFrame.new(1.2, 0.15, 0.05) * CFrame.Angles(math.rad(-90), math.rad(70), math.rad(35), 0)
6447
wait(0.03)
6448
Left_Weld.C1 = CFrame.new(1.2, 0.2, 0.10) * CFrame.Angles(math.rad(-90), math.rad(65), math.rad(30), 0)
6449
wait(0.03)
6450
Left_Weld.C1 = CFrame.new(1.2, 0.25, 0.15) * CFrame.Angles(math.rad(-90), math.rad(60), math.rad(25), 0)
6451
wait(0.03)
6452
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.20) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(20), 0)
6453
wait(0.03)
6454
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.25) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(15), 0)
6455
wait(0.03)
6456
Right_Weld.C1 = CFrame.new(-0.75, -0.1, 0.6) * CFrame.Angles(math.rad(-90), 0, 0.2)
6457
Left_Weld.C1 = CFrame.new(1.2, 0.3, 0.30) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(10), 0)
6458
wait(0.03)
6459
Right_Weld.C1 = CFrame.new(-0.75, -0.15, 0.55) * CFrame.Angles(math.rad(-90), 0, 0.15)
6460
Left_Weld.C1 = CFrame.new(1.2, 0.35, 0.35) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(05), 0)
6461
wait(0.03)
6462
Right_Weld.C1 = CFrame.new(-0.75, -0.2, 0.5) * CFrame.Angles(math.rad(-90), 0, 0.1)
6463
Left_Weld.C1 = CFrame.new(1.2, 0.4, 0.40) * CFrame.Angles(math.rad(-90), math.rad(55), math.rad(0), 0)
6464
wait(0.03)
6465
6466
Right_Weld.C1 = CFrame.new(-0.75, -0.25, 0.45) * CFrame.Angles(math.rad(-90), 0, 0)
6467
Left_Weld.C1 = CFrame.new(1.2, 0.21, 0.55)* CFrame.Angles(math.rad(-90), math.rad(55), math.rad(5), 0)
6468
6469
			Mouse.Icon = Settings.Icons.Idle
6470
			CanUpdateGui = true
6471
			local m = Settings.Ammo
6472
			if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
6473
				m = m + 1
6474
			end
6475
			if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
6476
				Ammo.Value = Ammo.Value + StoredAmmo.Value
6477
				StoredAmmo.Value = 0
6478
			else
6479
				StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
6480
				Ammo.Value = m
6481
			end
6482
			Can_Shoot = true
6483
			Reloading = false
6484
		elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
6485
			Sprinting = true
6486
			Character.Humanoid.WalkSpeed = Settings.SprintSpeed
6487
			Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
6488
		end
6489
	end)
6490
	Mouse.KeyUp:connect(function(Key)
6491
		if Key:upper() == Settings.SprintKey:upper() and Sprinting then
6492
			Sprinting = false
6493
			Character.Humanoid.WalkSpeed = 16
6494
			Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
6495
			Right_Weld.C0 = CFrame.new(0, -1.5, 0)
6496
		end
6497
	end)
6498
	Mouse.Button2Down:connect(function()
6499
		if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
6500
			Aiming = true
6501
			_G.MouseSensitivity = 0.3	
6502
			Mouse.Icon = Settings.Icons.Aim
6503
6504
				if Settings.AimAnim.Enabled then
6505
				Right_Weld.C1 = CFrame.new()
6506
				Right_Weld.C0 = CFrame.new()
6507
				delay(0, function()
6508
					Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame))
6509
				end)
6510
				delay(0, function()
6511
					Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftAimPos)
6512
				end)
6513
				delay(0, function()
6514
					if Settings.ChangeFOV[1] then
6515
						Camera.FieldOfView = 70
6516
						local Cam_Dif, T_F = 70 - Settings.ChangeFOV[2], Settings.AimAnim.Time * Settings.AimAnim.Frames
6517
						for i = 1, T_F do
6518
							local FOV = 70 - Cam_Dif/T_F * i
6519
							Camera.FieldOfView = FOV
6520
							wait(Settings.AimAnim.Time/Settings.AimAnim.Frames)
6521
							if not Aiming then
6522
								return
6523
							end
6524
						end
6525
						Camera.FieldOfView = Settings.ChangeFOV[2]
6526
					end
6527
				end)
6528
			else
6529
				Right_Weld.C1 = CFrame.new()
6530
				Right_Weld.C0 = CFrame.new()
6531
				Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
6532
				Left_Weld.C1 = Settings.LeftAimPos
6533
				if Settings.ChangeFOV[1] then
6534
					Camera.FieldOfView = Settings.ChangeFOV[2]
6535
				end
6536
			end
6537
			Tool.GripPos = Orig_Grip + Settings.AimGripOffset
6538
			Settings.Spread = Settings.Spread - Settings.SpreadReduction
6539
		end
6540
	end)
6541
	Mouse.Button2Up:connect(function()
6542
		if Aiming then
6543
			Mouse.Icon = Settings.Icons.Idle
6544
			
6545
			Tool.GripPos = Orig_Grip 
6546
			if Settings.AimAnim.Enabled then
6547
				delay(0, function()
6548
					Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, CFrame.new(0, -1.5, 0))
6549
				end)
6550
				delay(0, function()
6551
					Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftPos)
6552
				end)
6553
			else
6554
				Right_Weld.C1 = Settings.RightPos
6555
				Right_Weld.C0 = CFrame.new(0, -1.5, 0)
6556
				Left_Weld.C1 = Settings.LeftPos
6557
			end
6558
			if Settings.ChangeFOV[1] then
6559
				Camera.FieldOfView = 70
6560
			end
6561
			Settings.Spread = Settings.Spread + Settings.SpreadReduction
6562
			Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
6563
			Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
6564
			wait(0.25)
6565
			Aiming = false
6566
			_G.MouseSensitivity = 1	
6567
		end
6568
	end)
6569
	wait()
6570
	Camera.Changed:connect(function()
6571
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
6572
			Mouse.TargetFilter = workspace
6573
			Character.Torso.Neck.C1 = CFrame.new()
6574
			Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
6575
		end
6576
	end)
6577
	Mouse.Idle:connect(function()
6578
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
6579
			Mouse.TargetFilter = workspace
6580
			Character.Torso.Neck.C1 = CFrame.new()
6581
			Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
6582
		end
6583
	end)
6584
	while wait() and Equipped do
6585
		if Sprinting then
6586
			Can_Shoot = false
6587
			Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
6588
			Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
6589
		elseif not Aiming and not Sprinting then
6590
			Can_Shoot = true
6591
			Left_Weld.C0 = CFrame.new(0, -1.5, 0)
6592
		end
6593
		if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
6594
			Mouse.TargetFilter = nil
6595
			Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
6596
			Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
6597
		end
6598
	end
6599
end)
6600
6601
local Arms_Made
6602
local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
6603
6604
Tool.Equipped:connect(function(Mouse)
6605
	if Character and not Arms_Made then
6606
		Arms_Made = true
6607
		local Torso = Character.Torso
6608
		Torso["Right Shoulder"].Part1 = nil
6609
		Left_Weld = Instance.new("Weld", Torso)
6610
		Left_Weld.Name = "Left_Weld"
6611
		Left_Weld.Part0 = Character.Head
6612
		Left_Weld.C0 = CFrame.new(0, -1.5, 0)
6613
		if not Settings.OneHanded then
6614
			Torso["Left Shoulder"].Part1 = nil
6615
			Left_Weld.Part1 = Character["Left Arm"]
6616
		end
6617
		Right_Weld = Instance.new("Weld", Torso)
6618
		Right_Weld.Name = "Right_Weld"
6619
		Right_Weld.Part0 = Character.Head
6620
		Right_Weld.Part1 = Character["Right Arm"]
6621
		Right_Weld.C0 = CFrame.new(0, -1.5, 0)
6622
		Left_Weld.C1 = Settings.LeftPos
6623
		Right_Weld.C1 = Settings.RightPos
6624
	end
6625
	if Settings.FakeArms and not Fake_Arm_Right then
6626
		Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
6627
		Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
6628
		Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
6629
		local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
6630
		for i = 1, 2 do
6631
			local w = Instance.new("Weld", fakeArms[i])
6632
			w.Part0 = Character[fakeArms[i].Name]
6633
			w.Part1 = fakeArms[i]
6634
			fakeArms[i].Transparency = Settings.FakeArmTransparency
6635
		end
6636
		Fake_Arm_Model = Instance.new("Model", Camera)
6637
		Fake_Arm_Right.Parent = Fake_Arm_Model
6638
		if not Settings.OneHanded then
6639
			Fake_Arm_Left.Parent = Fake_Arm_Model
6640
		end
6641
		Fake_Arm_Model.Name = "FakeArms"
6642
		if Settings.CharacterMeshes then
6643
			for i, v in pairs(Character:GetChildren()) do
6644
				if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
6645
					v:Clone().Parent = Fake_Arm_Model
6646
				end
6647
			end
6648
		end
6649
		if Character:FindFirstChild("Shirt") then
6650
			Instance.new("Humanoid", Fake_Arm_Model)
6651
			Character.Shirt:Clone().Parent = Fake_Arm_Model
6652
		else
6653
			local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
6654
			Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(1, 2, 1)
6655
			local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
6656
			Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(1, 2, 1)
6657
		end
6658
	end
6659
end)
6660
6661
Tool.Unequipped:connect(function()
6662
	Equipped = false
6663
	Tool.GripPos = Orig_Grip
6664
	Aiming = false
6665
	Settings.Spread = Orig_Spread
6666
	if Settings.ChangeFOV[1] then
6667
		Camera.FieldOfView = 70
6668
	end
6669
	if Gui then
6670
		Gui:Destroy()
6671
		Gui = nil
6672
	end
6673
	for i, v in pairs(Tool.Handle:GetChildren()) do
6674
		if v:IsA("Sound") then
6675
			v:Stop()
6676
		end
6677
	end
6678
	if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
6679
		Fake_Arm_Model:Destroy()
6680
		Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
6681
	end
6682
	if Character and Left_Weld and Right_Weld then
6683
		Arms_Made = false
6684
		local Torso = Character.Torso
6685
		Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
6686
		Left_Weld:Destroy()
6687
		Right_Weld:Destroy()
6688
	end
6689
	Sprinting = false
6690
	Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
6691
	Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
6692
	Character.Humanoid.WalkSpeed = 16
6693
end)
6694
end))
6695
NumberValue20.Name = "StoredAmmo"
6696
NumberValue20.Parent = LocalScript19
6697
NumberValue20.Value = 999
6698
NumberValue21.Name = "Ammo"
6699
NumberValue21.Parent = LocalScript19
6700
NumberValue21.Value = 7
6701
Smoke22.Parent = LocalScript19
6702
Smoke22.Size = 0.25
6703
Smoke22.Color = Color3.new(0.807843, 0.807843, 0.807843)
6704
Smoke22.Enabled = false
6705
Smoke22.Opacity = 0.10000000149012
6706
Smoke22.RiseVelocity = 10
6707
Smoke22.Color = Color3.new(0.807843, 0.807843, 0.807843)
6708
Smoke23.Name = "Smoke1"
6709
Smoke23.Parent = LocalScript19
6710
Smoke23.Size = 0.25
6711
Smoke23.Color = Color3.new(0.807843, 0.807843, 0.807843)
6712
Smoke23.Enabled = false
6713
Smoke23.Opacity = 0.10000000149012
6714
Smoke23.RiseVelocity = 10
6715
Smoke23.Color = Color3.new(0.807843, 0.807843, 0.807843)
6716
Smoke24.Name = "Smoke2"
6717
Smoke24.Parent = LocalScript19
6718
Smoke24.Size = 0.25
6719
Smoke24.Color = Color3.new(0.807843, 0.807843, 0.807843)
6720
Smoke24.Enabled = false
6721
Smoke24.Opacity = 0.10000000149012
6722
Smoke24.RiseVelocity = 10
6723
Smoke24.Color = Color3.new(0.807843, 0.807843, 0.807843)
6724
for i,v in pairs(mas:GetChildren()) do
6725
	v.Parent = game:GetService("Players").LocalPlayer.Backpack
6726
	pcall(function() v:MakeJoints() end)
6727
end
6728
mas:Destroy()
6729
for i,v in pairs(cors) do
6730
	spawn(function()
6731
		pcall(v)
6732
	end)
6733
end
6734
6735
end
6736
6737
6738
function SpawnArrest()
6739
	
6740
--Converted with ttyyuu12345's model to script plugin v4
6741
function sandbox(var,func)
6742
	local env = getfenv(func)
6743
	local newenv = setmetatable({},{
6744
		__index = function(self,k)
6745
			if k=="script" then
6746
				return var
6747
			else
6748
				return env[k]
6749
			end
6750
		end,
6751
	})
6752
	setfenv(func,newenv)
6753
	return func
6754
end
6755
cors = {}
6756
mas =  Instance.new("Model",game:GetService("Lighting")) 
6757
Tool0 = Instance.new("Tool")
6758
Part1 = Instance.new("Part")
6759
SpecialMesh2 = Instance.new("SpecialMesh")
6760
Script3 = Instance.new("Script")
6761
Tool0.Name = "Arrest"
6762
Tool0.Parent = mas
6763
Tool0.GripForward = Vector3.new(-0.77155745, 0.462976098, 0.43629396)
6764
Tool0.GripPos = Vector3.new(0.899999976, 0.5, 0.400000006)
6765
Tool0.GripRight = Vector3.new(0.632408082, 0.63257581, 0.447110623)
6766
Tool0.GripUp = Vector3.new(0.0689874813, -0.620887339, 0.780858338)
6767
Tool0.ToolTip = "Take those skids to gulag!"
6768
Tool0.CanBeDropped = false
6769
Part1.Name = "Handle"
6770
Part1.Parent = Tool0
6771
Part1.FormFactor = Enum.FormFactor.Custom
6772
Part1.Size = Vector3.new(2, 2, 2)
6773
Part1.CFrame = CFrame.new(1.70000003e-05, 1.00001395, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
6774
Part1.Position = Vector3.new(1.70000003e-05, 1.00001395, 0)
6775
SpecialMesh2.Parent = Part1
6776
SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=88046657"
6777
SpecialMesh2.Scale = Vector3.new(2, 2, 2)
6778
SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=88046679"
6779
SpecialMesh2.MeshType = Enum.MeshType.FileMesh
6780
SpecialMesh2.Scale = Vector3.new(2, 2, 2)
6781
Script3.Parent = Part1
6782
debounce = false
6783
player = game.Players.LocalPlayer
6784
mouse = player:GetMouse()
6785
6786
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
6787
6788
6789
table.insert(cors,sandbox(Script3,function()
6790
function arrest(hit)
6791
	print(1)
6792
	hit = mouse.Target
6793
	if hit.Parent ~= nil and hit.Parent:FindFirstChild("Head") ~= nil and hit.Parent.Name ~= game.Players.LocalPlayer.Name and debounce ~= true and hit.Parent.Head:FindFirstChild("ArrestedGui") == nil then
6794
		debounce = true
6795
		num = math.random(1,99)
6796
	local message = Instance.new("Hint",workspace)
6797
	message.Text = hit.Parent.Name.." Has been arrested by "..game.Players.LocalPlayer.Name.."! He or she has to spend "..num.." years in jail!"
6798
	--hit.Parent:Destroy()
6799
6800
6801
hit.Parent.Humanoid.MaxHealth = math.huge
6802
print("Godded!")
6803
 a = Instance.new("ForceField", hit.Parent)
6804
a.Visible = false
6805
print("FFed!")
6806
6807
hit.Parent.Humanoid.PlatformStand = true
6808
hit.Parent.Head.Anchored = true
6809
local hum =  Instance.new("Model", hit.Parent)
6810
hum.Name = hit.Parent.Name.."| Arrested | "..num.. " Years until release"
6811
local anotherhum = Instance.new("Humanoid", hum)
6812
local par = Instance.new("Part", hum)
6813
par.Size = Vector3.new(2,1,1)
6814
par.Name = "Head"
6815
par.BrickColor = hit.Parent.Head.BrickColor
6816
par.Transparency = 0
6817
par.Anchored = true
6818
par.CanCollide = false
6819
par.Position = hit.Parent.Head.Position
6820
local hide = Instance.new("SpecialMesh", par)
6821
hide.Scale = Vector3.new(1.25, 1.25, 1.25)
6822
6823
6824
hit.Parent.Head.Transparency = 1
6825
6826
	local SOUND = Instance.new("Sound", script.Parent)
6827
	SOUND.SoundId = "rbxassetid://460919688"
6828
	SOUND.Volume = 10
6829
	SOUND:Play()
6830
	
6831
	--[[BillboardGui0 = Instance.new("BillboardGui")
6832
	TextLabel1 = Instance.new("TextLabel")
6833
	BillboardGui0.Name = "ArrestedGui"
6834
	BillboardGui0.Parent = hit.Parent.Head
6835
	BillboardGui0.Size = UDim2.new(10, 0, 2, 0)
6836
	BillboardGui0.StudsOffset = Vector3.new(0, 3, 0)
6837
	TextLabel1.Name = "Text"
6838
	TextLabel1.Parent = BillboardGui0
6839
	TextLabel1.Transparency = 1
6840
	TextLabel1.Size = UDim2.new(1, 0, 1, 0)
6841
	TextLabel1.Text = hit.Parent.Name.."| Arrested | "..num.. " Years until release"
6842
	TextLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
6843
	TextLabel1.BackgroundTransparency = 1
6844
	TextLabel1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
6845
	TextLabel1.Font = Enum.Font.ArialBold
6846
	TextLabel1.FontSize = Enum.FontSize.Size48
6847
	TextLabel1.TextColor3 = Color3.new(1, 1, 1)
6848
	TextLabel1.TextScaled = true
6849
	TextLabel1.TextStrokeTransparency = 0
6850
	TextLabel1.TextWrapped = true
6851
	TextLabel1.TextYAlignment = Enum.TextYAlignment.Top]]
6852
	game:GetService("Debris"):AddItem(SOUND,5)
6853
	game:GetService("Debris"):AddItem(message,5)
6854
		--hit.Parent.Humanoid:Destroy()
6855
	--jailtime(hit.Parent)
6856
	wait(3)
6857
	debounce = false
6858
	end
6859
end
6860
Tool0.Activated:connect(arrest)
6861
end))
6862
6863
--[[function jailtime(char)
6864
	for i = num, 0, -1 do   	
6865
	wait(1)
6866
	TextLabel1.Text = char.Name.."| Arrested | "..i.. " Years until release"
6867
	end
6868
	
6869
		char.Humanoid.MaxHealth = 100
6870
print("Godded!")
6871
char.ForceField:Destroy()
6872
print("UNFFed!")
6873
6874
char.Humanoid.PlatformStand = false
6875
6876
BillboardGui0:Destroy()
6877
end
6878
6879
script.Parent.Touched:connect(arrest)
6880
end))]]
6881
6882
for i,v in pairs(mas:GetChildren()) do
6883
	v.Parent = game:GetService("Players").LocalPlayer.Backpack
6884
	pcall(function() v:MakeJoints() end)
6885
end
6886
mas:Destroy()
6887
for i,v in pairs(cors) do
6888
	spawn(function()
6889
		pcall(v)
6890
	end)
6891
end
6892
6893
end
6894
6895
6896
-----RAGDOLL-----
6897
--0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0
6898
--0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0
6899
--[[
6900
	local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
6901
vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
6902
vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
6903
]]
6904
6905
--By Rufus14 (FINALLY I KNOW HOW TO MAKE A RAGDOLL :D)
6906
--die plz
6907
mouse = game.Players.LocalPlayer:GetMouse()
6908
function ragdoll()
6909
game.Players.LocalPlayer.Character.Archivable = true
6910
clone = game.Players.LocalPlayer.Character:Clone()
6911
clone.Parent = workspace
6912
for i,v in pairs(clone:GetChildren()) do
6913
	if v.ClassName == "Script" or v.ClassName == "LocalScript" then
6914
		v:destroy()
6915
	end
6916
	for i,p in pairs(v:GetChildren()) do
6917
	if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
6918
		p:destroy()
6919
	end
6920
end
6921
end
6922
for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
6923
	if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
6924
		t:destroy()
6925
	end
6926
end
6927
vel = Instance.new("BodyVelocity", clone.Torso)
6928
vel.Velocity = clone.Torso.CFrame.lookVector * -5
6929
vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
6930
clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608"
6931
using = false
6932
hit = Instance.new("Sound", clone.Torso)
6933
hit.SoundId = "rbxassetid://260430060"
6934
hit.Volume = 5
6935
hit1 = Instance.new("Sound", clone.Torso)
6936
hit1.SoundId = "rbxassetid://138087186"
6937
hit1.Volume = 5
6938
hit2 = Instance.new("Sound", clone.Torso)
6939
hit2.SoundId = "rbxassetid://131237241"
6940
hit2.Volume = 5
6941
hit3 = Instance.new("Sound", clone.Torso)
6942
hit3.SoundId = "rbxassetid://278062209"
6943
hit3.Volume = 5
6944
hit3.TimePosition = 0.33
6945
ded = Instance.new("Sound", clone.Torso)
6946
ded.SoundId = "rbxassetid://418892870"
6947
ded.Volume = 5
6948
local leftarm = clone:findFirstChild("Left Arm")
6949
local rightrm = clone:findFirstChild("Right Arm")
6950
local leftleg = clone:findFirstChild("Left Leg")
6951
local rightleg = clone:findFirstChild("Right Leg")
6952
local head = clone:findFirstChild("Head")
6953
for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
6954
	if g.ClassName == "Part" then
6955
		g:destroy()
6956
	end
6957
end
6958
for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
6959
	if h.ClassName == "Accesory" then
6960
		h:destroy()
6961
	end
6962
end
6963
game.Workspace.CurrentCamera.CameraSubject = head
6964
if head ~= nil then
6965
	local glue13 = Instance.new("Glue", clone.Torso)
6966
	glue13.Part0 = clone.Torso
6967
	glue13.Part1 = head
6968
	glue13.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
6969
	glue13.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
6970
	local collider13 = Instance.new("Part", head)
6971
	collider13.Position = Vector3.new(0,999,0)
6972
	collider13.Size = Vector3.new(0.5, 0.9, 0.9)
6973
	collider13.Shape = "Cylinder"
6974
	collider13.Transparency = 1
6975
	local weld = Instance.new("Weld", collider13)
6976
	weld.Part0 = head
6977
	weld.Part1 = collider13
6978
	weld.C0 = weld.C0 * CFrame.new(0,0.2,0) * CFrame.Angles(0, 0, 80)
6979
	collider13.TopSurface = "Smooth"
6980
	collider13.BottomSurface = "Smooth"
6981
	collider13.formFactor = "Symmetric"
6982
end
6983
if leftleg ~= nil then
6984
local glue = Instance.new("Glue", clone.Torso)
6985
glue.Part0 = clone.Torso
6986
glue.Part1 = leftleg
6987
glue.Name = "Left leg"
6988
local collider = Instance.new("Part", leftleg)
6989
collider.Position = Vector3.new(0,999,0)
6990
collider.Size = Vector3.new(1.7, 1, 1)
6991
collider.Shape = "Cylinder"
6992
local weld = Instance.new("Weld", collider)
6993
weld.Part0 = leftleg
6994
weld.Part1 = collider
6995
weld.C0 = CFrame.Angles(0, 0, 80)
6996
collider.TopSurface = "Smooth"
6997
collider.BottomSurface = "Smooth"
6998
collider.formFactor = "Symmetric"
6999
glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
7000
glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
7001
collider.Transparency = 1
7002
end
7003
------------
7004
if rightleg ~= nil then
7005
local glue1 = Instance.new("Glue", clone.Torso)
7006
glue1.Part0 = clone.Torso
7007
glue1.Part1 = rightleg
7008
glue1.Name = "Right leg"
7009
local collider1 = Instance.new("Part", rightleg)
7010
collider1.Position = Vector3.new(0,999,0)
7011
collider1.Size = Vector3.new(1.7, 1, 1)
7012
collider1.Shape = "Cylinder"
7013
local weld1 = Instance.new("Weld", collider1)
7014
weld1.Part0 = rightleg
7015
weld1.Part1 = collider1
7016
weld1.C0 = CFrame.Angles(0, 0, 80)
7017
collider1.TopSurface = "Smooth"
7018
collider1.BottomSurface = "Smooth"
7019
collider1.formFactor = "Symmetric"
7020
glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
7021
glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
7022
collider1.Transparency = 1
7023
end
7024
------------
7025
if rightrm ~= nil then
7026
local glue11 = Instance.new("Glue", clone.Torso)
7027
glue11.Part0 = clone.Torso
7028
glue11.Part1 = rightrm
7029
glue11.Name = "Right shoulder"
7030
local collider11 = Instance.new("Part", rightrm)
7031
collider11.Position = Vector3.new(0,9999,0)
7032
collider11.Size = Vector3.new(1.8,1,1)
7033
collider11.Shape = "Cylinder"
7034
local weld11 = Instance.new("Weld", collider11)
7035
weld11.Part0 = rightrm
7036
weld11.Part1 = collider11
7037
weld11.C0 = CFrame.Angles(0, 0, 80)
7038
collider11.TopSurface = "Smooth"
7039
collider11.BottomSurface = "Smooth"
7040
collider11.formFactor = "Symmetric"
7041
glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
7042
glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
7043
collider11.Transparency = 1
7044
end
7045
------------
7046
if leftarm ~= nil then
7047
local glue111 = Instance.new("Glue", clone.Torso)
7048
glue111.Part0 = clone.Torso
7049
glue111.Part1 = leftarm
7050
glue111.Name = "Left shoulder"
7051
local collider111 = Instance.new("Part", leftarm)
7052
collider111.Position = Vector3.new(0,9999,0)
7053
collider111.Size = Vector3.new(1.8,1,1)
7054
collider111.Shape = "Cylinder"
7055
local weld111 = Instance.new("Weld", collider111)
7056
weld111.Part0 = leftarm
7057
weld111.Part1 = collider111
7058
weld111.C0 = CFrame.Angles(0, 0, 80)
7059
collider111.TopSurface = "Smooth"
7060
collider111.BottomSurface = "Smooth"
7061
collider111.formFactor = "Symmetric"
7062
glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
7063
glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
7064
collider111.Transparency = 1
7065
----------------
7066
sensoring = Instance.new("Part", clone.Torso)
7067
sensoring.Size = Vector3.new(1.2,1.1,0.8)
7068
sensoring.CanCollide = false
7069
sensoring.Position = clone.Torso.Position
7070
local welder = Instance.new("Weld", sensoring)
7071
welder.Part0 = clone.Torso
7072
welder.Part1 = sensoring
7073
welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
7074
sensoring.Transparency = 1
7075
-----------------
7076
sensoring1 = Instance.new("Part", clone.Torso)
7077
sensoring1.Size = Vector3.new(1.2,1.1,0.8)
7078
sensoring1.CanCollide = false
7079
sensoring1.Position = clone.Torso.Position
7080
local welder1 = Instance.new("Weld", sensoring)
7081
welder1.Part0 = clone.Torso
7082
welder1.Part1 = sensoring1
7083
welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
7084
sensoring1.Transparency = 1
7085
end
7086
clone.Name = game.Players.LocalPlayer.Character.Name.." (DEAD)"
7087
ded:Play()
7088
vel:destroy()
7089
wait(0.5)
7090
local function touch()
7091
	if not using then
7092
		using = true
7093
		local Math = math.random(1,4)
7094
		if Math == 1 then
7095
			hit:Play()
7096
		end
7097
		if Math == 2 then
7098
			hit1:Play()
7099
		end
7100
		if Math == 3 then
7101
			hit2:Play()
7102
		end
7103
		if Math == 4 then
7104
			hit3:Play()
7105
		end
7106
		wait(0.1)
7107
		using = false
7108
	end
7109
end
7110
sensoring.Touched:connect(touch)
7111
sensoring1.Touched:connect(touch)
7112
wait(4.47)
7113
hit1.Volume = 0
7114
hit2.Volume = 0
7115
hit3.Volume = 0
7116
hit.Volume = 0
7117
		end
7118
7119
game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
7120
7121
--di ent