View difference between Paste ID: KxqjTBEj and UZgvMrtp
SHOW: | | - or go back to the newest paste.
1
CV="White"
2
 
3
    p = game.Players.LocalPlayer
4
    char = p.Character
5
    local txt = Instance.new("BillboardGui", char)
6
    txt.Adornee = char .Head
7
    txt.Name = "_status"
8
    txt.Size = UDim2.new(2, 0, 1.2, 0)
9
    txt.StudsOffset = Vector3.new(-9, 6, 0)
10
    local text = Instance.new("TextLabel", txt)
11
    text.Size = UDim2.new(10, 0, 7, 0)
12
    text.FontSize = "Size24"
13
    text.TextScaled = true
14
    text.TextTransparency = 0
15
    text.BackgroundTransparency = 1
16
    text.TextTransparency = 0
17
    text.TextStrokeTransparency = 1
18
    text.Font = "Code"
19
    text.TextStrokeColor3 = Color3.new(40,0,0)
20
 
21
    v=Instance.new("Part")
22
    v.Name = "ColorBrick"
23
    v.Parent=p.Character
24
    v.FormFactor="Symmetric"
25
    v.Anchored=true
26
    v.CanCollide=false
27
    v.BottomSurface="Smooth"
28
    v.TopSurface="Smooth"
29
    v.Size=Vector3.new(10,5,3)
30
    v.Transparency=1
31
    v.CFrame=char.Torso.CFrame
32
    v.BrickColor=BrickColor.new(CV)
33
    v.Transparency=1
34
    text.TextColor3 = Color3.fromRGB(255,140,0)
35
    v.Shape="Block"
36-
    text.Text = "Nine Tailed Fox Unit"
36+
    text.Text = "Nine Tailed Fox Heavy Unit"
37
coroutine.wrap(function()
38
    while wait() do
39
        wait(3)
40
        text.Text = "Kill"
41
        wait()
42-
        text.Text = "Nine Tailed Fox Unit";
42+
        text.Text = "Nine Tailed Fox Heavy Unit";
43
        wait(2)
44
        local str = ""
45
        for i = 1, math.random(3,25) do
46
            str = str..string.char(math.random(65,122))
47
        end
48
        text.Text = str
49
        wait()
50
        str = ""
51
        for i = 1, math.random(12,25) do
52
            str = str..string.char(math.random(48,122))
53
        end
54
        wait()
55
        text.Text = str
56
        wait()
57-
        text.Text = "Nine Tailed Fox Unit";
57+
        text.Text = "Nine Tailed Fox Heavy Unit";
58
        wait(1)
59
        text.Text = "THE PAIN"
60
        wait()
61
        text.Text = "What do you want?"
62
        wait()
63-
        text.Text = "Nine Tailed Fox Unit";
63+
        text.Text = "Nine Tailed Fox Heavy Unit";
64
        wait(2)
65
        text.Text = "You made me do this.";
66
        wait()
67
        text.Text = "Kill";
68
        wait()
69
        for i = 1, math.random(12,25) do
70
            str = str..string.char(math.random(48,57))
71
        end
72
        text.Text = str
73
        wait()
74-
        text.Text = "Nine Tailed Fox Unit";
74+
        text.Text = "Nine Tailed Fox Heavy Unit";
75
        wait(2)
76
    end
77
end)()
78
local Player = game.Players.localPlayer
79
local Character = Player.Character
80
local Torso = Character.Torso
81
local hum = Character.Humanoid
82-
hum.MaxHealth = math.huge
82+
hum.MaxHealth = 1000
83
wait(0.1)
84-
hum.Health = math.huge
84+
hum.Health = 1000
85
86
local Music = Instance.new("Sound")
87
 
88
Music.Name = "Sound"
89
Music.SoundId = "http://roblox.com/asset/?id=714974960"
90
Music.Volume = 4
91
Music.Looped = false
92
Music.Parent = Character
93
Music:play()
94
95
GasMask = true
96
 
97
if GasMask == true then
98
o1 = Instance.new("Model")
99
o2 = Instance.new("Part")
100
o3 = Instance.new("SpecialMesh")
101
o4 = Instance.new("Part")
102
o5 = Instance.new("Part")
103
o6 = Instance.new("Part")
104
o7 = Instance.new("SpecialMesh")
105
o8 = Instance.new("Part")
106
o9 = Instance.new("Part")
107
o10 = Instance.new("SpecialMesh")
108
o11 = Instance.new("Part")
109
o12 = Instance.new("Part")
110
o13 = Instance.new("SpecialMesh")
111
o14 = Instance.new("Part")
112
o15 = Instance.new("Part")
113
o16 = Instance.new("Part")
114
o17 = Instance.new("Part")
115
o1.Name = "MODEL"
116
o2.Name = "Middle"
117
o2.Parent = o1
118
o2.BrickColor = BrickColor.new("Pastel brown")
119
o2.Transparency = 1
120
o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117)
121
o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414)
122
o2.Anchored = true
123
o2.FormFactor = Enum.FormFactor.Custom
124
o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
125
o2.CFrame = CFrame.new(-13.5356159, 3.71991396, 50.2649117, 1.75646369e-006, 1.74156298e-007, -0.999991417, -1.04150445e-007, 1, 1.60883403e-007, 0.999999762, 9.62157287e-008, 1.6223396e-006)
126
o2.BottomSurface = Enum.SurfaceType.Smooth
127
o2.TopSurface = Enum.SurfaceType.Smooth
128
o2.Color = Color3.new(1, 0.8, 0.6)
129
o3.Parent = o2
130
o3.Scale = Vector3.new(6.25, 6.25, 6.25)
131
o3.MeshType = Enum.MeshType.FileMesh
132
o4.Name = "Lense 1"
133
o4.Parent = o1
134
o4.Material = Enum.Material.Metal
135
o4.Transparency = 0.050000011920929
136
o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605)
137
o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985)
138
o4.Anchored = true
139
o4.CanCollide = false
140
o4.FormFactor = Enum.FormFactor.Custom
141
o4.Shape = Enum.PartType.Cylinder
142
o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998)
143
o4.CFrame = CFrame.new(-12.900528, 3.77991295, 50.5080605, -0.935553849, 3.06141374e-007, 0.353159934, 3.19927466e-007, 1, 2.01617603e-008, -0.353163034, 1.1997561e-007, -0.935561478)
144
o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
145
o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
146
o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
147
o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
148
o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
149
o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
150
o5.Name = "Lense2"
151
o5.Parent = o1
152
o5.Material = Enum.Material.Metal
153
o5.Transparency = 0.050000011920929
154
o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277)
155
o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985)
156
o5.Anchored = true
157
o5.CanCollide = false
158
o5.FormFactor = Enum.FormFactor.Custom
159
o5.Shape = Enum.PartType.Cylinder
160
o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001)
161
o5.CFrame = CFrame.new(-12.8961124, 3.77492094, 50.0302277, -0.914722979, 2.85652249e-007, -0.404061079, 2.36339361e-007, 1, 1.37493373e-007, 0.404064298, 2.15865228e-008, -0.914730668)
162
o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
163
o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
164
o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
165
o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
166
o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
167
o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
168
o6.Name = "Handle"
169
o6.Parent = o1
170
o6.Material = Enum.Material.Metal
171
o6.BrickColor = BrickColor.new("Really black")
172
o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869)
173
o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008)
174
o6.Anchored = true
175
o6.CanCollide = false
176
o6.FormFactor = Enum.FormFactor.Plate
177
o6.Size = Vector3.new(1, 0.400000006, 1)
178
o6.CFrame = CFrame.new(-12.8799381, 3.69992495, 50.2599869, 1.75646369e-006, 0.999991417, 1.74156298e-007, -1.04150445e-007, -1.60883403e-007, 1, 0.999999762, -1.6223396e-006, 9.62157287e-008)
179
o6.BottomSurface = Enum.SurfaceType.Weld
180
o6.TopSurface = Enum.SurfaceType.Smooth
181
o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
182
o7.Parent = o6
183
o7.MeshId = "http://www.roblox.com/asset/?id=5158270"
184
o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001)
185
o7.MeshType = Enum.MeshType.FileMesh
186
o8.Name = "Straps"
187
o8.Parent = o1
188
o8.Material = Enum.Material.Fabric
189
o8.BrickColor = BrickColor.new("Really black")
190
o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869)
191
o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
192
o8.Anchored = true
193
o8.CanCollide = false
194
o8.FormFactor = Enum.FormFactor.Custom
195
o8.Shape = Enum.PartType.Cylinder
196
o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
197
o8.CFrame = CFrame.new(-13.5199518, 3.48991394, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
198
o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
199
o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
200
o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
201
o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
202
o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
203
o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
204
o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
205
o9.Name = "Ring2"
206
o9.Parent = o1
207
o9.BrickColor = BrickColor.new("Dark stone grey")
208
o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477)
209
o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005)
210
o9.Anchored = true
211
o9.CanCollide = false
212
o9.FormFactor = Enum.FormFactor.Custom
213
o9.Size = Vector3.new(0.600000024, 0.200000003, 1)
214
o9.CFrame = CFrame.new(-12.8061161, 3.77991295, 49.9993477, 0.404059976, 1.74156298e-007, -0.914723039, -1.6136562e-007, 1, 1.0455733e-007, 0.914730787, 9.62157287e-008, 0.404063195)
215
o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
216
o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
217
o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
218
o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
219
o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
220
o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
221
o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
222
o10.Parent = o9
223
o10.MeshId = "http://www.roblox.com/asset/?id=3270017"
224
o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
225
o10.MeshType = Enum.MeshType.FileMesh
226
o11.Name = "Straps"
227
o11.Parent = o1
228
o11.Material = Enum.Material.Fabric
229
o11.BrickColor = BrickColor.new("Really black")
230
o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869)
231
o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
232
o11.Anchored = true
233
o11.CanCollide = false
234
o11.FormFactor = Enum.FormFactor.Custom
235
o11.Shape = Enum.PartType.Cylinder
236
o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
237
o11.CFrame = CFrame.new(-13.5199518, 4.00991392, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
238
o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
239
o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
240
o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
241
o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
242
o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
243
o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
244
o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
245
o12.Name = "Ring1"
246
o12.Parent = o1
247
o12.BrickColor = BrickColor.new("Dark stone grey")
248
o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988)
249
o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985)
250
o12.Anchored = true
251
o12.CanCollide = false
252
o12.FormFactor = Enum.FormFactor.Custom
253
o12.Size = Vector3.new(0.600000024, 0.200000003, 1)
254
o12.CFrame = CFrame.new(-12.7999144, 3.76992106, 50.5299988, -0.353160918, 1.74156298e-007, -0.935553372, -4.22077129e-008, 1, 1.87534141e-007, 0.935561061, 9.62157287e-008, -0.353164017)
255
o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
256
o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
257
o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
258
o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
259
o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
260
o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
261
o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
262
o13.Parent = o12
263
o13.MeshId = "http://www.roblox.com/asset/?id=3270017"
264
o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
265
o13.MeshType = Enum.MeshType.FileMesh
266
o14.Name = "Breather"
267
o14.Parent = o1
268
o14.Material = Enum.Material.Metal
269
o14.BrickColor = BrickColor.new("Really black")
270
o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011)
271
o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
272
o14.Anchored = true
273
o14.CanCollide = false
274
o14.FormFactor = Enum.FormFactor.Custom
275
o14.Shape = Enum.PartType.Cylinder
276
o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003)
277
o14.CFrame = CFrame.new(-12.7419596, 3.69627094, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
278
o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
279
o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
280
o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
281
o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
282
o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
283
o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
284
o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
285
o15.Name = "Breather"
286
o15.Parent = o1
287
o15.Material = Enum.Material.Metal
288
o15.BrickColor = BrickColor.new("Really black")
289
o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011)
290
o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
291
o15.Anchored = true
292
o15.CanCollide = false
293
o15.FormFactor = Enum.FormFactor.Custom
294
o15.Shape = Enum.PartType.Cylinder
295
o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024)
296
o15.CFrame = CFrame.new(-12.5337915, 3.51434994, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
297
o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
298
o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
299
o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
300
o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
301
o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
302
o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
303
o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
304
o16.Name = "Breather"
305
o16.Parent = o1
306
o16.Material = Enum.Material.Metal
307
o16.BrickColor = BrickColor.new("Really black")
308
o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256)
309
o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
310
o16.Anchored = true
311
o16.CanCollide = false
312
o16.FormFactor = Enum.FormFactor.Custom
313
o16.Shape = Enum.PartType.Cylinder
314
o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75)
315
o16.CFrame = CFrame.new(-12.7920103, 3.39220095, 49.784256, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
316
o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
317
o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
318
o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
319
o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
320
o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
321
o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
322
o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
323
o17.Name = "Breather"
324
o17.Parent = o1
325
o17.Material = Enum.Material.Metal
326
o17.BrickColor = BrickColor.new("Really black")
327
o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109)
328
o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
329
o17.Anchored = true
330
o17.CanCollide = false
331
o17.FormFactor = Enum.FormFactor.Custom
332
o17.Shape = Enum.PartType.Cylinder
333
o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002)
334
o17.CFrame = CFrame.new(-12.8723783, 3.42192006, 49.8816109, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
335
o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
336
o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
337
o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
338
o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
339
o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
340
o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
341
o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
342
function onTouched(hit)
343
    local d = hit.Parent:GetChildren()
344
    for i=1, #d do
345
        if (d[i].className == "Hat") then
346
            d[i]:remove()
347
        end
348
    end
349
    if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then
350
        local g = o1:clone()
351
        g.Parent = hit.Parent
352
        local C = g:GetChildren()
353
        for i=1, #C do
354
            if C[i].className == "Part" then
355
                local W = Instance.new("Weld")
356
                W.Part0 = g.Middle
357
                W.Part1 = C[i]
358
                local CJ = CFrame.new(g.Middle.Position)
359
                local C0 = g.Middle.CFrame:inverse()*CJ
360
                local C1 = C[i].CFrame:inverse()*CJ
361
                W.C0 = C0
362
                W.C1 = C1
363
                W.Parent = g.Middle
364
                g.Middle.Transparency = 1
365
            end
366
                local Y = Instance.new("Weld")
367
                Y.Part0 = hit.Parent.Head
368
                Y.Part1 = g.Middle
369
                Y.C0 = CFrame.new(0, 0, 0)
370
                Y.Parent = Y.Part0
371
        end
372
 
373
        local h = g:GetChildren()
374
        for i = 1, # h do
375
            h[i].Anchored = false
376
            h[i].CanCollide = false
377
        end
378
       
379
    end
380
end
381
 
382
onTouched(game.Players.LocalPlayer.Character.Head)
383
end
384
local Player = game:service'Players'.localPlayer
385
local chara = Player.Character
386
      
387
	    shirt= Instance.new("Shirt", Character)
388
        shirt.Name = "Shirt"
389
        pants = Instance.new("Pants", Character)
390
        pants.Name = "Pants"
391
        chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=245656735"
392
        chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=245656766"
393
394-
plr = game:service'Players'.LocalPlayer
394+
395-
repeat wait() until plr.Character
395+
396-
wait(1)
396+
397-
plrgui = plr:findFirstChild'PlayerGui'
397+
torso = chara.Torso
398-
plrmouse = plr:GetMouse()
398+
399-
char = plr.Character
399+
New = function(Object, Parent, Name, Data)
400-
humanoid = char:findFirstChild("Humanoid")
400+
	local Object = Instance.new(Object)
401-
torso = char:findFirstChild("Torso")
401+
	for Index, Value in pairs(Data or {}) do
402-
head = char.Head
402+
		Object[Index] = Value
403-
ra = char:findFirstChild("Right Arm")
403+
	end
404-
la = char:findFirstChild("Left Arm")
404+
	Object.Parent = Parent
405-
rl = char:findFirstChild("Right Leg")
405+
	Object.Name = Name
406-
ll = char:findFirstChild("Left Leg")
406+
	return Object
407-
rs = torso:findFirstChild("Right Shoulder")
407+
408-
ls = torso:findFirstChild("Left Shoulder")
408+
local LoPa = game:GetService("Players").LocalPlayer
409-
rh = torso:findFirstChild("Right Hip")
409+
local C = LoPa.Character
410-
lh = torso:findFirstChild("Left Hip")
410+
411-
neck = torso:findFirstChild("Neck")
411+
	
412-
rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
412+
LaserMinigun = New("Model",C,"LaserMinigun",{})
413-
rootpart = char:findFirstChild("HumanoidRootPart")
413+
Gunpart = New("Model",LaserMinigun,"Gunpart",{})
414-
camera = workspace.CurrentCamera
414+
FrontHandle = New("Part",Gunpart,"FrontHandle",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.334096551, 0.668193102, 0.334096551),CFrame = CFrame.new(30.8316956, 0.787470937, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
415-
anim = char:findFirstChild("Animate")
415+
Mesh = New("CylinderMesh",FrontHandle,"Mesh",{})
416
FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
417-
function scan(parent)
417+
Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
418-
    local parts,last = {}
418+
FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
419-
        for _,v in pairs(parent:GetChildren()) do
419+
Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
420-
            if (v:IsA("BasePart")) then
420+
FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
421-
            v.Anchored = true
421+
Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
422-
                if (last) then
422+
FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
423-
                    local w = Instance.new("Weld")
423+
Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
424-
                    w.Name = ("%s_Weld"):format(v.Name)
424+
FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.222731024, 0.445462048),CFrame = CFrame.new(31.2771492, 0.787470937, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
425-
                    w.Part0,w.Part1 = last,v
425+
Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
426-
                    w.C0 = last.CFrame:inverse()
426+
FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.556827545, 0.111365512, 0.556827545),CFrame = CFrame.new(31.2771492, 0.787470937, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
427-
                    w.C1 = v.CFrame:inverse()
427+
Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
428-
                    w.Parent = last
428+
FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
429
Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
430-
                last = v
430+
FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
431-
                table.insert(parts,v)
431+
Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
432
FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
433-
            scan(v)
433+
Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
434
FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
435-
    for _,v in pairs(parts) do
435+
Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
436-
        v.Anchored = false
436+
gun4 = New("Part",Gunpart,"gun4",{BrickColor = BrickColor.new("Pastel blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
437-
        v.Locked = true
437+
Mesh = New("CylinderMesh",gun4,"Mesh",{})
438-
        v.CanCollide = false
438+
gun1 = New("Part",Gunpart,"gun1",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
439
Mesh = New("CylinderMesh",gun1,"Mesh",{})
440
gun3 = New("Part",Gunpart,"gun3",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
441
Mesh = New("CylinderMesh",gun3,"Mesh",{})
442
gun2 = New("Part",Gunpart,"gun2",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
443-
local Particles = {
443+
Mesh = New("CylinderMesh",gun2,"Mesh",{})
444
PowerHolder = New("Model",LaserMinigun,"PowerHolder",{})
445-
    AirRing = function(CF, Distance, Color, Opac, Size, Velocity)
445+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 0.222731024, 1.11365509),CFrame = CFrame.new(27.7135086, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
446-
            local StoredParticles = {};
446+
Mesh = New("CylinderMesh",Part,"Mesh",{})
447
Model = New("Model",Part,"Model",{})
448-
            for Angle = 0, 360, 20 do
448+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(27.7135086, 0.787473083, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
449-
                local EffectDirection = new("Part", char);
449+
Mesh = New("CylinderMesh",Part,"Mesh",{})
450-
                EffectDirection.Anchored = true;
450+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(27.7135086, 0.787473083, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
451-
                EffectDirection.CanCollide = false;
451+
Mesh = New("CylinderMesh",Part,"Mesh",{})
452-
                EffectDirection.CFrame = CF
452+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
453-
                 * CFrame.Angles(math.pi/2, 0, 0)
453+
Mesh = New("CylinderMesh",Part,"Mesh",{})
454-
                 * CFrame.Angles(0, 0, math.rad(Angle)) 
454+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
455-
                 * CFrame.new(0, Distance, 0);
455+
Mesh = New("CylinderMesh",Part,"Mesh",{})
456-
                EffectDirection.Transparency = 1;
456+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
457-
                local Smoke = new("Smoke", EffectDirection);
457+
Mesh = New("CylinderMesh",Part,"Mesh",{})
458-
                Smoke.Color = Color3.new(Color.r/255, Color.g/255, Color.b/255) or Color3.new(1,1,1);
458+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
459-
                Smoke.Opacity = Opac or 0.05;
459+
Mesh = New("CylinderMesh",Part,"Mesh",{})
460-
                Smoke.Size = Size or 0;
460+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
461-
                Smoke.RiseVelocity = Velocity or 2;
461+
Mesh = New("CylinderMesh",Part,"Mesh",{})
462-
                table.insert(StoredParticles, Smoke);
462+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
463-
                game:service'Debris':AddItem(EffectDirection, 10);
463+
Mesh = New("CylinderMesh",Part,"Mesh",{})
464
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
465
Mesh = New("CylinderMesh",Part,"Mesh",{})
466-
            wait(.2);
466+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
467
Mesh = New("CylinderMesh",Part,"Mesh",{})
468-
            for Index,Value in next,StoredParticles do
468+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
469-
                if Value:IsA'Smoke' then
469+
Mesh = New("CylinderMesh",Part,"Mesh",{})
470-
                    Value.Enabled = false;
470+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
471
Mesh = New("CylinderMesh",Part,"Mesh",{})
472
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
473-
    end;
473+
Mesh = New("CylinderMesh",Part,"Mesh",{})
474
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
475-
    BulletholeParticles = function(Part, hitPart)
475+
Mesh = New("CylinderMesh",Part,"Mesh",{})
476-
        do --material splash
476+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 0.222731024, 1.11365509),CFrame = CFrame.new(29.4953289, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
477-
            local Particle = Instance.new("ParticleEmitter", Part);
477+
Mesh = New("CylinderMesh",Part,"Mesh",{})
478-
            Particle.VelocitySpread = 30;
478+
Model = New("Model",Part,"Model",{})
479-
            Particle.LightEmission = 200;
479+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
480
Mesh = New("CylinderMesh",Part,"Mesh",{})
481
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
482-
            Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1, 0), NumberSequenceKeypoint.new(1, 0.25, 0)})
482+
Mesh = New("CylinderMesh",Part,"Mesh",{})
483-
            Particle.Color = ColorSequence.new(Color3.new(hitPart.BrickColor.r, hitPart.BrickColor.g, hitPart.BrickColor.b));
483+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
484-
            Particle.Texture = "rbxassetid://272031379";
484+
Mesh = New("CylinderMesh",Part,"Mesh",{})
485-
            Particle.Rotation = NumberRange.new(0,90);
485+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
486-
            Particle.Rate = 25;
486+
Mesh = New("CylinderMesh",Part,"Mesh",{})
487-
            Particle.Acceleration = Vector3.new(0, -100, 0)
487+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.4953289, 0.787473083, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
488-
            Particle.Speed = NumberRange.new(35);
488+
Mesh = New("CylinderMesh",Part,"Mesh",{})
489-
            Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
489+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
490-
            Particle.Lifetime = NumberRange.new(2);
490+
Mesh = New("CylinderMesh",Part,"Mesh",{})
491-
            coroutine.wrap(function()
491+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
492-
                wait(.2)
492+
Mesh = New("CylinderMesh",Part,"Mesh",{})
493-
                Particle.Enabled = false;
493+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
494-
                Particle.Rate = 0;
494+
Mesh = New("CylinderMesh",Part,"Mesh",{})
495-
                wait(2)
495+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
496-
                Particle:Destroy()
496+
Mesh = New("CylinderMesh",Part,"Mesh",{})
497-
            end)()
497+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.4953289, 0.787473083, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
498
Mesh = New("CylinderMesh",Part,"Mesh",{})
499
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
500-
        do --smoke effect
500+
Mesh = New("CylinderMesh",Part,"Mesh",{})
501-
            local Particle = Instance.new("ParticleEmitter", Part);
501+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
502-
            Particle.VelocitySpread = 10;
502+
Mesh = New("CylinderMesh",Part,"Mesh",{})
503
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
504
Mesh = New("CylinderMesh",Part,"Mesh",{})
505-
            Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0), NumberSequenceKeypoint.new(1, 0.9, 0)})
505+
Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
506
Mesh = New("CylinderMesh",Part,"Mesh",{})
507-
            Particle.Color = ColorSequence.new(Color3.new(hitPart.BrickColor.r, hitPart.BrickColor.g, hitPart.BrickColor.b));
507+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.222731024, 0.890924096),CFrame = CFrame.new(29.7180557, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
508-
            Particle.Texture = "rbxassetid://272031958"; -- replace id
508+
Mesh = New("CylinderMesh",Part,"Mesh",{})
509-
            Particle.Rotation = NumberRange.new(0,90);
509+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
510-
            Particle.Rate = 10;
510+
Mesh = New("CylinderMesh",Part,"Mesh",{})
511-
            Particle.Acceleration = Vector3.new(0, -1, 0)
511+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
512-
            Particle.Speed = NumberRange.new(5);
512+
Mesh = New("CylinderMesh",Part,"Mesh",{})
513-
            Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
513+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
514-
            Particle.Lifetime = NumberRange.new(1);
514+
Mesh = New("CylinderMesh",Part,"Mesh",{})
515-
            coroutine.wrap(function()
515+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
516-
                wait(.2)
516+
Mesh = New("CylinderMesh",Part,"Mesh",{})
517-
                Particle.Enabled = false;
517+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
518-
                Particle.Rate = 0;
518+
Mesh = New("CylinderMesh",Part,"Mesh",{})
519-
                wait(1)
519+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
520-
                Particle:Destroy()
520+
Mesh = New("CylinderMesh",Part,"Mesh",{})
521-
            end)()
521+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
522
Mesh = New("CylinderMesh",Part,"Mesh",{})
523-
        end;
523+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
524-
};
524+
Mesh = New("CylinderMesh",Part,"Mesh",{})
525
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(29.9407845, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
526-
-- 1 - M16A4
526+
Mesh = New("CylinderMesh",Part,"Mesh",{})
527-
Gun = Instance.new("Model")
527+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(30.1635113, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
528-
Gun.Name = "M16A4"
528+
Mesh = New("CylinderMesh",Part,"Mesh",{})
529-
Gun.Parent = char
529+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(30.38624, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
530
Mesh = New("CylinderMesh",Part,"Mesh",{})
531-
-- 2 - Carry Handle
531+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.668193102, 0.445462048),CFrame = CFrame.new(30.1635113, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
532-
obj2 = Instance.new("Part")
532+
Mesh = New("CylinderMesh",Part,"Mesh",{})
533-
obj2.CFrame = CFrame.new(Vector3.new(15.242094, 14.0666552, -9.96266651)) * CFrame.Angles(0, 1.5707963705063, 0)
533+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(30.6089668, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
534-
obj2.FormFactor = 'Custom'
534+
Mesh = New("CylinderMesh",Part,"Mesh",{})
535-
obj2.LeftSurface = 10
535+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.0498734, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
536-
obj2.TopSurface = 10
536+
Mesh = New("CylinderMesh",Part,"Mesh",{})
537-
obj2.RightSurface = 10
537+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 1.11365509, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1.00000644, 0.707109809, 0.70710659, 0, 0.707112432, -0.707108617, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
538-
obj2.Material = 'SmoothPlastic'
538+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 2.00457907, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787482023, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
539-
obj2.Size = Vector3.new(1, 1, 1)
539+
Mesh = New("CylinderMesh",Part,"Mesh",{})
540-
obj2.FrontSurface = 10
540+
Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.500002861, 0.866023839, 0, 0.866023839, -0.500002861, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
541-
obj2.BottomSurface = 10
541+
Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.86602217, 0.500005305, 0, 0.500005305, -0.86602217, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
542-
obj2.BackSurface = 10
542+
Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.965924263, 0.258825034, 0, 0.258825064, -0.965924263, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
543-
obj2.Anchored = true
543+
Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.25882262, 0.965924919, 0, 0.965924919, -0.25882262, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
544-
obj2.BrickColor = BrickColor.new("Black")
544+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 1.11365509, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1.00000024, 0, 1, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
545-
obj2.Name = "Carry Handle"
545+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.3363862, 0.222731024, 1.3363862),CFrame = CFrame.new(28.8271465, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
546-
obj2.Parent = Gun
546+
Mesh = New("CylinderMesh",Part,"Mesh",{})
547
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.3363862, 0.222731024, 1.3363862),CFrame = CFrame.new(28.381691, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
548-
-- 3 - Mesh
548+
Mesh = New("CylinderMesh",Part,"Mesh",{})
549-
obj3 = Instance.new("SpecialMesh")
549+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(28.1589584, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
550-
obj3.MeshType = Enum.MeshType.Wedge
550+
Mesh = New("CylinderMesh",Part,"Mesh",{})
551-
obj3.Scale = Vector3.new(0.15384616, 0.115384638, 0.0615384579)
551+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.668193102, 0.222731024),CFrame = CFrame.new(26.9784832, 0.787473083, -52.2899971, -5.52762662e-11, 1.00582838e-05, 1.00000024, -3.50170376e-06, -1.00000024, 1.00582838e-05, 1, -3.50170421e-06, 9.06084097e-11),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
552-
obj3.Parent = obj2
552+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.512281358, 0.111365512),CFrame = CFrame.new(26.7446499, 1.07702565, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
553
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(26.7111912, 0.787473083, -52.2899971, -5.53331096e-11, -0.258809268, 0.965928495, -3.50170376e-06, -0.965928495, -0.258809268, 1, -3.38240966e-06, -9.06219896e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
554-
-- 4 - Front Sight/Gas Tube
554+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.668193102, 0.111365512),CFrame = CFrame.new(26.6666946, 0.475645214, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
555-
obj4 = Instance.new("Part")
555+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.579100668, 0.111365512),CFrame = CFrame.new(26.4769592, 0.766716778, -52.2899971, -5.52867474e-11, -0.258809447, 0.96592921, -3.50170421e-06, -0.96592921, -0.258809447, 1, -3.38241125e-06, -9.06220293e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
556-
obj4.CFrame = CFrame.new(Vector3.new(18.0110912, 13.8776541, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
556+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.289550334, 0.111365512),CFrame = CFrame.new(26.8782501, 0.787470937, -52.2899971, -5.69528105e-11, -1, 1.04902101e-05, -3.50170967e-06, -1.04902101e-05, -1, 1, -9.36864822e-11, -3.50170967e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
557-
obj4.FormFactor = 'Custom'
557+
Mesh = New("CylinderMesh",Part,"Mesh",{})
558-
obj4.LeftSurface = 10
558+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(29.4953289, 1.41111994, -52.7354622, -5.50513524e-11, 0.258828878, 0.965923965, -3.50170421e-06, -0.965923965, 0.258828878, 1, -3.38236441e-06, 9.06395599e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
559-
obj4.TopSurface = 10
559+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(29.4953289, 1.41111994, -51.8445435, -5.50513524e-11, 0.258828878, 0.965923965, -3.50170421e-06, -0.965923965, 0.258828878, 1, -3.38236441e-06, 9.06395599e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
560-
obj4.RightSurface = 10
560+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.178184807, 0.890924096, 0.178184807),CFrame = CFrame.new(29.4285202, 1.67839265, -52.2899971, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
561-
obj4.Material = 'SmoothPlastic'
561+
Mesh = New("CylinderMesh",Part,"Mesh",{})
562-
obj4.Size = Vector3.new(1, 1, 1)
562+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.445462048, 0.111365512),CFrame = CFrame.new(29.4285202, 1.67839265, -51.9559135, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
563-
obj4.FrontSurface = 10
563+
Mesh = New("CylinderMesh",Part,"Mesh",{})
564-
obj4.BottomSurface = 10
564+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.445462048, 0.111365512),CFrame = CFrame.new(29.4285202, 1.67839265, -52.6240959, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
565-
obj4.BackSurface = 10
565+
Mesh = New("CylinderMesh",Part,"Mesh",{})
566-
obj4.Anchored = true
566+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.779558599, 0.222731024),CFrame = CFrame.new(29.4285202, 1.67839491, -52.2900124, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
567-
obj4.BrickColor = BrickColor.new("Black")
567+
Mesh = New("CylinderMesh",Part,"Mesh",{})
568-
obj4.Name = "Front Sight/Gas Tube"
568+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.4907551, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
569-
obj4.Parent = Gun
569+
Mesh = New("CylinderMesh",Part,"Mesh",{})
570
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 0.564739823, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
571-
-- 5 - Mesh
571+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 1.01020193, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
572-
obj5 = Instance.new("SpecialMesh")
572+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 1.01020193, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
573-
obj5.MeshType = Enum.MeshType.Brick
573+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 0.564739823, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
574-
obj5.Scale = Vector3.new(0.0384615399, 0.0999999642, 0.0769230798)
574+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 0.564739823, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
575-
obj5.Parent = obj4
575+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 1.01020193, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
576
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 1.01020193, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
577-
-- 6 - Handguard
577+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 0.564739823, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
578-
obj6 = Instance.new("Part")
578+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(27.0452919, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
579-
obj6.CFrame = CFrame.new(Vector3.new(16.1770878, 13.6856527, -9.96266651)) * CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
579+
Mesh = New("CylinderMesh",Part,"Mesh",{})
580-
obj6.FormFactor = 'Custom'
580+
Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.222731024, 0.445462048),CFrame = CFrame.new(27.0452919, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
581-
obj6.LeftSurface = 10
581+
Mesh = New("CylinderMesh",Part,"Mesh",{})
582-
obj6.TopSurface = 10
582+
583-
obj6.RightSurface = 10
583+
584-
obj6.Material = 'SmoothPlastic'
584+
585-
obj6.Size = Vector3.new(1, 1, 1)
585+
586-
obj6.FrontSurface = 10
586+
587-
obj6.BottomSurface = 10
587+
588-
obj6.BackSurface = 10
588+
589-
obj6.Anchored = true
589+
590-
obj6.BrickColor = BrickColor.new("Black")
590+
591-
obj6.Name = "Handguard"
591+
592-
obj6.Parent = Gun
592+
593
Handle = New("Part",LaserMinigun,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.22300005, 4.51200008, 1.11099994),CFrame = CFrame.new(28.6618481, 0.8217237, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
594-
-- 7 - Mesh
594+
595-
obj7 = Instance.new("SpecialMesh")
595+
596-
obj7.MeshType = Enum.MeshType.Wedge
596+
597-
obj7.Scale = Vector3.new(0.15384616, 0.0384615399, 0.0384615399)
597+
598-
obj7.Parent = obj6
598+
599
600-
-- 8 - Clip
600+
601-
obj8 = Instance.new("Part")
601+
602-
obj8.CFrame = CFrame.new(Vector3.new(16.0835896, 13.1984005, -9.95719624)) * CFrame.Angles(3.141592502594, 9.2685222625732e-006, 3.0630528926849)
602+
603-
obj8.FormFactor = 'Custom'
603+
604-
obj8.LeftSurface = 10
604+
605-
obj8.TopSurface = 10
605+
606-
obj8.RightSurface = 10
606+
MiniDroid = New("Model",C,"MiniDroid",{})
607-
obj8.Material = 'SmoothPlastic'
607+
armor = New("Model",MiniDroid,"armor",{})
608-
obj8.Size = Vector3.new(1, 1, 1)
608+
Main = New("Model",armor,"Main",{})
609-
obj8.FrontSurface = 10
609+
Part = New("Part",Main,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.100000001, 0.800000012, 0.800000012),CFrame = CFrame.new(30.9500008, 1.7000351, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
610-
obj8.BottomSurface = 10
610+
Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.899999976, 0.699999988, 0.899999976),CFrame = CFrame.new(30.9499989, 1.80003405, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
611-
obj8.BackSurface = 10
611+
Mesh = New("SpecialMesh",Part,"Mesh",{})
612-
obj8.Anchored = true
612+
Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 0.50999999, 1),CFrame = CFrame.new(30.9499989, 1.90003407, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
613-
obj8.BrickColor = BrickColor.new("Black")
613+
Mesh = New("SpecialMesh",Part,"Mesh",{})
614-
obj8.Name = "Clip"
614+
Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 0.5, 1),CFrame = CFrame.new(30.9499989, 1.70003402, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
615-
obj8.Parent = Gun
615+
Mesh = New("SpecialMesh",Part,"Mesh",{})
616
Neon = New("Model",MiniDroid,"Neon",{})
617-
-- 9 - Mesh
617+
LaPart = New("Part",Neon,"LaPart",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.100000001, 0.949999988, 0.949999988),CFrame = CFrame.new(30.9500008, 1.80000031, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
618-
obj9 = Instance.new("BlockMesh")
618+
FirePart = New("Part",Neon,"FirePart",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(30.9499989, 1.65004444, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
619-
obj9.Scale = Vector3.new(0.0666666627, 0.19047612, 0.104761899)
619+
miniHandle = New("Part",MiniDroid,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(30.9500008, 1.80504608, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
620-
obj9.Parent = obj8
620+
621
622-
-- 10 - Stock
622+
623-
obj10 = Instance.new("Part")
623+
624-
obj10.CFrame = CFrame.new(Vector3.new(14.4500961, 13.5206528, -9.96666431)) * CFrame.Angles(1.5707963705063, -1.5698828697205, -1.5707963705063)
624+
625-
obj10.FormFactor = 'Custom'
625+
Glow1 = Color3.fromRGB(174,198,207)
626-
obj10.LeftSurface = 10
626+
Glow2 = Color3.fromRGB(119,158,203)
627-
obj10.TopSurface = 10
627+
628-
obj10.RightSurface = 10
628+
GlowParticle = Instance.new("ParticleEmitter",FirePart)
629-
obj10.Material = 'SmoothPlastic'
629+
GlowParticle.LightEmission = 1
630-
obj10.Size = Vector3.new(1, 1, 1)
630+
GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
631-
obj10.FrontSurface = 10
631+
GlowParticle.Size = NumberSequence.new(0,20)
632-
obj10.BottomSurface = 10
632+
GlowParticle.Texture = "http://www.roblox.com/asset/?id=52620985"
633-
obj10.BackSurface = 10
633+
GlowParticle.Transparency = NumberSequence.new(0,1)
634-
obj10.Anchored = true
634+
GlowParticle.LockedToPart = true
635-
obj10.BrickColor = BrickColor.new("Black")
635+
GlowParticle.Lifetime = NumberRange.new(1)
636-
obj10.Name = "Stock"
636+
GlowParticle.Rate= 1
637-
obj10.Parent = Gun
637+
GlowParticle.Speed =NumberRange.new(0)
638
GlowParticle.Enabled = false	
639-
-- 11 - Mesh
639+
640-
obj11 = Instance.new("SpecialMesh")
640+
641-
obj11.MeshType = Enum.MeshType.Wedge
641+
642-
obj11.Scale = Vector3.new(0.15384616, 0.307692319, 1.30769253)
642+
643-
obj11.Parent = obj10
643+
GlowParticle2 = Instance.new("ParticleEmitter",FirePart)
644
GlowParticle2.LightEmission = .7
645-
-- 12 - Part
645+
GlowParticle2.Color = ColorSequence.new(Glow1,Glow2)
646-
obj12 = Instance.new("Part")
646+
GlowParticle2.Size = NumberSequence.new(0,1)
647-
obj12.CFrame = CFrame.new(Vector3.new(15.3380947, 13.8276529, -9.8736639)) * CFrame.Angles(1.5707963705063, 0, 1.2217304706573)
647+
GlowParticle2.Texture = "http://www.roblox.com/asset/?id=589325350"
648-
obj12.FormFactor = 'Custom'
648+
GlowParticle2.Transparency = NumberSequence.new(0,1)
649-
obj12.LeftSurface = 10
649+
GlowParticle2.LockedToPart = false
650-
obj12.TopSurface = 10
650+
GlowParticle2.Lifetime = NumberRange.new(0.2)
651-
obj12.RightSurface = 10
651+
GlowParticle2.Rate= 150
652-
obj12.Material = 'SmoothPlastic'
652+
GlowParticle2.Speed =NumberRange.new(3)
653-
obj12.Size = Vector3.new(1, 1, 1)
653+
GlowParticle2.Acceleration = Vector3.new(0, -10.5, 0)
654-
obj12.FrontSurface = 10
654+
655-
obj12.BottomSurface = 10
655+
656-
obj12.BackSurface = 10
656+
657-
obj12.Anchored = true
657+
658-
obj12.BrickColor = BrickColor.new("Black")
658+
659-
obj12.Parent = Gun
659+
local all,last = {}
660
function scan(p)
661-
-- 13 - Mesh
661+
	for _,v in pairs(p:GetChildren()) do
662-
obj13 = Instance.new("CylinderMesh")
662+
		if (v:IsA("BasePart")) then
663-
obj13.Scale = Vector3.new(0.115384638, 0.315384656, 0.115384638)
663+
			if (last) then
664-
obj13.Parent = obj12
664+
				local w = Instance.new("Weld")
665
				w.Part0,w.Part1 = last,v
666-
-- 14 - Barrel
666+
				w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
667-
obj14 = Instance.new("Part")
667+
				w.Parent = last
668-
obj14.CFrame = CFrame.new(Vector3.new(19.1420918, 13.8086538, -9.90466404)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
668+
			end
669-
obj14.FormFactor = 'Custom'
669+
			table.insert(all,v)
670-
obj14.LeftSurface = 10
670+
			last = v
671-
obj14.TopSurface = 10
671+
		end
672-
obj14.RightSurface = 10
672+
		scan(v)
673-
obj14.Material = 'SmoothPlastic'
673+
	end
674-
obj14.Size = Vector3.new(1, 1, 1)
674+
675-
obj14.FrontSurface = 10
675+
scan(LaserMinigun)
676-
obj14.BottomSurface = 10
676+
677-
obj14.BackSurface = 10
677+
scan(MiniDroid)
678-
obj14.Anchored = true
678+
for _,v in pairs(all) do v.Anchored = false v.CanCollide = false  end 
679-
obj14.BrickColor = BrickColor.new("Black")
679+
MiniDroid.Parent = C
680-
obj14.Name = "Barrel"
680+
LaserMinigun.Parent = C
681-
obj14.Parent = Gun
681+
682
683-
-- 15 - Mesh
683+
Main:Destroy()
684-
obj15 = Instance.new("SpecialMesh")
684+
685-
obj15.MeshType = Enum.MeshType.Brick
685+
Effects = { }
686-
obj15.Scale = Vector3.new(0.107692324, 0.0384615399, 0.00769230863)
686+
Rapid = false
687-
obj15.Parent = obj14
687+
688
local Character = Player.Character
689-
-- 16 - Barrel
689+
local Humanoid = Character.Humanoid
690-
obj16 = Instance.new("Part")
690+
local mouse = Player:GetMouse()
691-
obj16.CFrame = CFrame.new(Vector3.new(19.1420918, 13.7516527, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, -3.141592502594)
691+
local LeftArm = Character["Left Arm"]
692-
obj16.FormFactor = 'Custom'
692+
local RightArm = Character["Right Arm"]
693-
obj16.LeftSurface = 10
693+
local LeftLeg = Character["Left Leg"]
694-
obj16.TopSurface = 10
694+
local RightLeg = Character["Right Leg"]
695-
obj16.RightSurface = 10
695+
local Head = Character.Head
696-
obj16.Material = 'SmoothPlastic'
696+
697-
obj16.Size = Vector3.new(1, 1, 1)
697+
local cam = game.Workspace.CurrentCamera
698-
obj16.FrontSurface = 10
698+
local RootPart = Character.HumanoidRootPart
699-
obj16.BottomSurface = 10
699+
local RootJoint = RootPart.RootJoint
700-
obj16.BackSurface = 10
700+
local equipped = false
701-
obj16.Anchored = true
701+
local attack = false
702-
obj16.BrickColor = BrickColor.new("Black")
702+
local Anim = 'Idle'
703-
obj16.Name = "Barrel"
703+
local idle = 0
704-
obj16.Parent = Gun
704+
local attacktype = 1
705
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
706-
-- 17 - Mesh
706+
local velocity = RootPart.Velocity.y
707-
obj17 = Instance.new("SpecialMesh")
707+
local sine = 0
708-
obj17.MeshType = Enum.MeshType.Brick
708+
local change = 1
709-
obj17.Scale = Vector3.new(0.107692324, 0.0384615399, 0.00769230863)
709+
local grabbed = false
710-
obj17.Parent = obj16
710+
local cn = CFrame.new
711
local mr = math.rad
712-
-- 18 - Barrel
712+
local angles = CFrame.Angles
713-
obj18 = Instance.new("Part")
713+
local ud = UDim2.new
714-
obj18.CFrame = CFrame.new(Vector3.new(19.1420918, 13.8086538, -10.0196638)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
714+
local c3 = Color3.new
715-
obj18.FormFactor = 'Custom'
715+
local slashDamage = 15
716-
obj18.LeftSurface = 10
716+
local dir = {w = 0, s = 0, a = 0, d = 0} 
717-
obj18.TopSurface = 10
717+
local dir2 = {w = 0, s = 0, a = 0, d = 0} 
718-
obj18.RightSurface = 10
718+
killcom=true
719-
obj18.Material = 'SmoothPlastic'
719+
trans = 1
720-
obj18.Size = Vector3.new(1, 1, 1)
720+
sentrymode = false
721-
obj18.FrontSurface = 10
721+
sentrywait = false
722-
obj18.BottomSurface = 10
722+
local LightMod = Instance.new("Model", Character)
723-
obj18.BackSurface = 10
723+
local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
724-
obj18.Anchored = true
724+
Humanoid.Animator:Destroy()
725-
obj18.BrickColor = BrickColor.new("Black")
725+
npcanim = Character.Animate:Clone()
726-
obj18.Name = "Barrel"
726+
ultwait=false
727-
obj18.Parent = Gun
727+
728
729-
-- 19 - Mesh
729+
730-
obj19 = Instance.new("SpecialMesh")
730+
731-
obj19.MeshType = Enum.MeshType.Brick
731+
Character.Animate:Destroy()
732-
obj19.Scale = Vector3.new(0.107692324, 0.0384615399, 0.00769230863)
732+
733-
obj19.Parent = obj18
733+
734
		local function makeLightning(Par, Start, End, Width, Length, RandomScale, ArcScale, Num1)
735-
-- 20 - FireHole
735+
			local oldParts = {}
736-
obj20 = Instance.new("Part")
736+
			for _,v in pairs(Par:GetChildren()) do
737-
obj20.CFrame = CFrame.new(Vector3.new(19.2540894, 13.8086538, -9.96266651)) * CFrame.Angles(-3.141592502594, 0, 1.5707963705063)
737+
				v.CFrame = CFrame.new(5e5, 5e5, 5e5)
738-
obj20.FormFactor = 'Custom'
738+
				table.insert(oldParts, v)
739-
obj20.LeftSurface = 10
739+
			end
740-
obj20.TopSurface = 10
740+
			local Distance = (Start-End).Magnitude
741-
obj20.RightSurface = 10
741+
			local ArcScale = ArcScale or 1
742-
obj20.Material = 'SmoothPlastic'
742+
			local RandomScale = RandomScale or 0
743-
obj20.Size = Vector3.new(1, 1, 1)
743+
			local Last = Start
744-
obj20.FrontSurface = 10
744+
			local IterNum = 0
745-
obj20.BottomSurface = 10
745+
746-
obj20.BackSurface = 10
746+
			while Par.Parent do
747-
obj20.Anchored = true
747+
				IterNum = IterNum + 1
748-
obj20.BrickColor = BrickColor.new("Really black")
748+
				local New = nil
749-
obj20.Name = "FireHole"
749+
				if (Last-End).Magnitude < Length then
750-
obj20.Parent = Gun
750+
					New = CFrame.new(End)
751
				else
752-
-- 21 - Mesh
752+
					if (End-Last).Magnitude < Length*2 then
753-
obj21 = Instance.new("CylinderMesh")
753+
						RandomScale = RandomScale*0.1
754-
obj21.Scale = Vector3.new(0.115384601, 0.00769230817, 0.15384616)
754+
						ArcScale = ArcScale*0.5
755-
obj21.Parent = obj20
755+
					end
756
					local Direct = CFrame.new(Last,End)
757-
-- 22 - Barrel
757+
					New = Direct*CFrame.Angles(math.rad(math.random(-RandomScale/4,RandomScale*ArcScale)),math.rad(math.random(-RandomScale,RandomScale)),math.rad(math.random(-RandomScale,RandomScale)))
758-
obj22 = Instance.new("Part")
758+
					New = New*CFrame.new(0,0,-Length)
759-
obj22.CFrame = CFrame.new(Vector3.new(19.2270889, 13.8086538, -9.96266651)) * CFrame.Angles(-3.141592502594, 0, 1.5707963705063)
759+
				end
760-
obj22.FormFactor = 'Custom'
760+
				local Trail = nil
761-
obj22.LeftSurface = 10
761+
				if oldParts[IterNum] then
762-
obj22.TopSurface = 10
762+
					Trail = oldParts[IterNum]
763-
obj22.RightSurface = 10
763+
					Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Pastel Blue")) or BrickColor.new("Pastel Blue")
764-
obj22.Material = 'SmoothPlastic'
764+
					Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width)
765-
obj22.Size = Vector3.new(1, 1, 1)
765+
					Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0)
766-
obj22.FrontSurface = 10
766+
					oldParts[IterNum] = nil
767-
obj22.BottomSurface = 10
767+
					game:GetService("Debris"):AddItem(Trail, .03)
768-
obj22.BackSurface = 10
768+
				else
769-
obj22.Anchored = true
769+
					Trail = Instance.new("Part")
770-
obj22.BrickColor = BrickColor.new("Black")
770+
					Trail.Name = "Part"
771-
obj22.Name = "Barrel"
771+
					Trail.FormFactor = "Custom"
772-
obj22.Parent = Gun
772+
					Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Pastel Blue")) or BrickColor.new("Pastel Blue")
773
					Trail.Transparency = 0
774-
-- 23 - Mesh
774+
					Trail.Anchored = true
775-
obj23 = Instance.new("CylinderMesh")
775+
					Trail.CanCollide = false
776-
obj23.Scale = Vector3.new(0.134615377, 0.0615385175, 0.15384616)
776+
					Trail.Locked = true
777-
obj23.Parent = obj22
777+
					Trail.BackSurface = "SmoothNoOutlines"
778
					Trail.BottomSurface = "SmoothNoOutlines"
779-
-- 24 - Barrel
779+
					Trail.FrontSurface = "SmoothNoOutlines"
780-
obj24 = Instance.new("Part")
780+
					Trail.LeftSurface = "SmoothNoOutlines"
781-
obj24.CFrame = CFrame.new(Vector3.new(18.6800919, 13.8086538, -9.96266651)) * CFrame.Angles(-3.141592502594, 0, 1.5707963705063)
781+
					Trail.RightSurface = "SmoothNoOutlines"
782-
obj24.FormFactor = 'Custom'
782+
					Trail.TopSurface = "SmoothNoOutlines"
783-
obj24.LeftSurface = 10
783+
					Trail.Material = "Neon"
784-
obj24.TopSurface = 10
784+
					Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width)
785-
obj24.RightSurface = 10
785+
					Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0)
786-
obj24.Material = 'SmoothPlastic'
786+
					Trail.Parent = Par
787-
obj24.Size = Vector3.new(1, 1, 1)
787+
					game:GetService("Debris"):AddItem(Trail, .03)
788-
obj24.FrontSurface = 10
788+
				end
789-
obj24.BottomSurface = 10
789+
				Last = New.p
790-
obj24.BackSurface = 10
790+
				if (Last-End).Magnitude < 1 then
791-
obj24.Anchored = true
791+
					break
792-
obj24.BrickColor = BrickColor.new("Black")
792+
				end
793-
obj24.Name = "Barrel"
793+
			end
794-
obj24.Parent = Gun
794+
			for _,v in pairs(oldParts) do
795
				v:Destroy()
796-
-- 25 - Mesh
796+
			end
797-
obj25 = Instance.new("CylinderMesh")
797+
		end
798-
obj25.Scale = Vector3.new(0.103846155, 0.692307711, 0.15384616)
798+
799-
obj25.Parent = obj24
799+
800
801-
-- 26 - Barrel
801+
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
802-
obj26 = Instance.new("Part")
802+
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
803-
obj26.CFrame = CFrame.new(Vector3.new(19.1420918, 13.8666525, -9.95866489)) * CFrame.Angles(1.5707963705063, 0, 3.141592502594)
803+
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
804-
obj26.FormFactor = 'Custom'
804+
805-
obj26.LeftSurface = 10
805+
RSH, LSH = nil, nil 
806-
obj26.TopSurface = 10
806+
807-
obj26.RightSurface = 10
807+
808-
obj26.Material = 'SmoothPlastic'
808+
DW = Instance.new("Weld")
809-
obj26.Size = Vector3.new(1, 1, 1)
809+
DW.Name = "GuW"
810-
obj26.FrontSurface = 10
810+
DW.Part0 = Torso 
811-
obj26.BottomSurface = 10
811+
DW.C0 = cn(0, 50, 0)
812-
obj26.BackSurface = 10
812+
DW.C1 = cn(0, 0, 0) 
813-
obj26.Anchored = true
813+
DW.Part1 = miniHandle
814-
obj26.BrickColor = BrickColor.new("Black")
814+
DW.Parent = Torso 
815-
obj26.Name = "Barrel"
815+
816-
obj26.Parent = Gun
816+
817
GuW = Instance.new("Weld")
818-
-- 27 - Mesh
818+
GuW.Name = "GuW"
819-
obj27 = Instance.new("SpecialMesh")
819+
GuW.Part0 = RightArm 
820-
obj27.MeshType = Enum.MeshType.Brick
820+
GuW.C0 = cn(0, -1, -1)
821-
obj27.Scale = Vector3.new(0.107692324, 0.0384615399, 0.00769230863)
821+
GuW.C1 = cn(0, 0, 0) 
822-
obj27.Parent = obj26
822+
GuW.Part1 = Handle
823
GuW.Parent = RightArm 
824-
-- 28 - Barrel
824+
825-
obj28 = Instance.new("Part")
825+
RW = Instance.new("Weld") 
826-
obj28.CFrame = CFrame.new(Vector3.new(19.0570927, 13.8086538, -9.96266651)) * CFrame.Angles(-3.141592502594, 0, 1.5707963705063)
826+
LW = Instance.new("Weld")
827-
obj28.FormFactor = 'Custom'
827+
828-
obj28.LeftSurface = 10
828+
829-
obj28.TopSurface = 10
829+
RH = Torso["Right Hip"]
830-
obj28.RightSurface = 10
830+
LH = Torso["Left Hip"]
831-
obj28.Material = 'SmoothPlastic'
831+
832-
obj28.Size = Vector3.new(1, 1, 1)
832+
RSH = Torso["Right Shoulder"] 
833-
obj28.FrontSurface = 10
833+
LSH = Torso["Left Shoulder"] 
834-
obj28.BottomSurface = 10
834+
835-
obj28.BackSurface = 10
835+
RSH.Parent = nil 
836-
obj28.Anchored = true
836+
LSH.Parent = nil 
837-
obj28.BrickColor = BrickColor.new("Black")
837+
838-
obj28.Name = "Barrel"
838+
RW.Name = "RW"
839-
obj28.Parent = Gun
839+
RW.Part0 = Torso 
840
RW.C0 = cn(1.5, 0.5, 0)
841-
-- 29 - Mesh
841+
RW.C1 = cn(0, 0.5, 0) 
842-
obj29 = Instance.new("CylinderMesh")
842+
RW.Part1 = RightArm
843-
obj29.Scale = Vector3.new(0.134615377, 0.0615385175, 0.15384616)
843+
RW.Parent = Torso 
844-
obj29.Parent = obj28
844+
845
LW.Name = "LW"
846-
-- 30 - Barrel
846+
LW.Part0 = Torso 
847-
obj30 = Instance.new("Part")
847+
LW.C0 = cn(-1.5, 0.5, 0)
848-
obj30.CFrame = CFrame.new(Vector3.new(18.1420918, 13.8086538, -9.96266651)) * CFrame.Angles(-3.141592502594, 0, 1.5707963705063)
848+
LW.C1 = cn(0, 0.5, 0) 
849-
obj30.FormFactor = 'Custom'
849+
LW.Part1 = LeftArm
850-
obj30.LeftSurface = 10
850+
LW.Parent = Torso 
851-
obj30.TopSurface = 10
851+
852-
obj30.RightSurface = 10
852+
function clerp(a, b, t) 
853-
obj30.Material = 'SmoothPlastic'
853+
	local qa = {
854-
obj30.Size = Vector3.new(1, 1, 1)
854+
		QuaternionFromCFrame(a)
855-
obj30.FrontSurface = 10
855+
	}
856-
obj30.BottomSurface = 10
856+
	local qb = {
857-
obj30.BackSurface = 10
857+
		QuaternionFromCFrame(b)
858-
obj30.Anchored = true
858+
	} 
859-
obj30.BrickColor = BrickColor.new("Black")
859+
	local ax, ay, az = a.x, a.y, a.z 
860-
obj30.Name = "Barrel"
860+
	local bx, by, bz = b.x, b.y, b.z
861-
obj30.Parent = Gun
861+
	local _t = 1 - t
862
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) 
863-
-- 31 - Mesh
863+
end 
864-
obj31 = Instance.new("CylinderMesh")
864+
865-
obj31.Scale = Vector3.new(0.115384638, 0.384615391, 0.15384616)
865+
function QuaternionFromCFrame(cf) 
866-
obj31.Parent = obj30
866+
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
867
	local trace = m00 + m11 + m22 
868-
-- 32 - Carry Handle
868+
	if trace > 0 then 
869-
obj32 = Instance.new("Part")
869+
		local s = math.sqrt(1 + trace) 
870-
obj32.CFrame = CFrame.new(Vector3.new(15.3070965, 14.1356554, -9.96266651)) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
870+
		local recip = 0.5 / s 
871-
obj32.FormFactor = 'Custom'
871+
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 
872-
obj32.LeftSurface = 10
872+
	else 
873-
obj32.TopSurface = 10
873+
		local i = 0 
874-
obj32.RightSurface = 10
874+
		if m11 > m00 then
875-
obj32.Material = 'SmoothPlastic'
875+
			i = 1
876-
obj32.Size = Vector3.new(1, 1, 1)
876+
		end
877-
obj32.FrontSurface = 10
877+
		if m22 > (i == 0 and m00 or m11) then 
878-
obj32.BottomSurface = 10
878+
			i = 2 
879-
obj32.BackSurface = 10
879+
		end 
880-
obj32.Anchored = true
880+
		if i == 0 then 
881-
obj32.BrickColor = BrickColor.new("Black")
881+
			local s = math.sqrt(m00 - m11 - m22 + 1) 
882-
obj32.Name = "Carry Handle"
882+
			local recip = 0.5 / s 
883-
obj32.Parent = Gun
883+
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip 
884
		elseif i == 1 then 
885-
-- 33 - Mesh
885+
			local s = math.sqrt(m11 - m22 - m00 + 1) 
886-
obj33 = Instance.new("SpecialMesh")
886+
			local recip = 0.5 / s 
887-
obj33.MeshType = Enum.MeshType.Brick
887+
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip 
888-
obj33.Scale = Vector3.new(0.0153846173, 0.0307692327, 0.0384615399)
888+
		elseif i == 2 then 
889-
obj33.Parent = obj32
889+
			local s = math.sqrt(m22 - m00 - m11 + 1) 
890
			local recip = 0.5 / s
891-
-- 34 - Carry Handle
891+
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip 
892-
obj34 = Instance.new("Part")
892+
		end 
893-
obj34.CFrame = CFrame.new(Vector3.new(15.3380947, 14.1516542, -9.89666271)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
893+
	end 
894-
obj34.FormFactor = 'Custom'
894+
895-
obj34.LeftSurface = 10
895+
896-
obj34.TopSurface = 10
896+
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
897-
obj34.RightSurface = 10
897+
	local xs, ys, zs = x + x, y + y, z + z 
898-
obj34.Material = 'SmoothPlastic'
898+
	local wx, wy, wz = w * xs, w * ys, w * zs 
899-
obj34.Size = Vector3.new(1, 1, 1)
899+
	local xx = x * xs 
900-
obj34.FrontSurface = 10
900+
	local xy = x * ys 
901-
obj34.BottomSurface = 10
901+
	local xz = x * zs 
902-
obj34.BackSurface = 10
902+
	local yy = y * ys 
903-
obj34.Anchored = true
903+
	local yz = y * zs 
904-
obj34.BrickColor = BrickColor.new("Dark stone grey")
904+
	local zz = z * zs 
905-
obj34.Name = "Carry Handle"
905+
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) 
906-
obj34.Parent = Gun
906+
907
 
908-
-- 35 - Mesh
908+
function QuaternionSlerp(a, b, t) 
909-
obj35 = Instance.new("SpecialMesh")
909+
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] 
910-
obj35.MeshType = Enum.MeshType.Brick
910+
	local startInterp, finishInterp; 
911-
obj35.Scale = Vector3.new(0.100000016, 0.0538461618, 0.0230769273)
911+
	if cosTheta >= 0.0001 then 
912-
obj35.Parent = obj34
912+
		if (1 - cosTheta) > 0.0001 then 
913
			local theta = math.acos(cosTheta) 
914-
-- 36 - Carry Handle
914+
			local invSinTheta = 1 / math.sin(theta) 
915-
obj36 = Instance.new("Part")
915+
			startInterp = math.sin((1 - t) * theta) * invSinTheta 
916-
obj36.CFrame = CFrame.new(Vector3.new(15.3300991, 14.1356554, -9.96266651)) * CFrame.Angles(-1.5707963705063, 0, 3.141592502594)
916+
			finishInterp = math.sin(t * theta) * invSinTheta  
917-
obj36.FormFactor = 'Custom'
917+
		else 
918-
obj36.LeftSurface = 10
918+
			startInterp = 1 - t 
919-
obj36.TopSurface = 10
919+
			finishInterp = t 
920-
obj36.RightSurface = 10
920+
		end 
921-
obj36.Material = 'SmoothPlastic'
921+
	else 
922-
obj36.Size = Vector3.new(1, 1, 1)
922+
		if (1 + cosTheta) > 0.0001 then 
923-
obj36.FrontSurface = 10
923+
			local theta = math.acos(-cosTheta) 
924-
obj36.BottomSurface = 10
924+
			local invSinTheta = 1 / math.sin(theta) 
925-
obj36.BackSurface = 10
925+
			startInterp = math.sin((t - 1) * theta) * invSinTheta 
926-
obj36.Anchored = true
926+
			finishInterp = math.sin(t * theta) * invSinTheta 
927-
obj36.BrickColor = BrickColor.new("Dark stone grey")
927+
		else 
928-
obj36.Name = "Carry Handle"
928+
			startInterp = t - 1 
929-
obj36.Parent = Gun
929+
			finishInterp = t 
930
		end 
931-
-- 37 - Mesh
931+
	end 
932-
obj37 = Instance.new("CylinderMesh")
932+
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp 
933-
obj37.Scale = Vector3.new(0.0230769273, 0.107692324, 0.0230769273)
933+
934-
obj37.Parent = obj36
934+
935
function swait(num)
936-
-- 38 - Carry Handle
936+
	if num == 0 or num == nil then
937-
obj38 = Instance.new("Part")
937+
		game:service'RunService'.RenderStepped:wait(0)
938-
obj38.CFrame = CFrame.new(Vector3.new(15.3690929, 14.0666552, -9.90466404)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
938+
	else
939-
obj38.FormFactor = 'Custom'
939+
		for i = 0, num do
940-
obj38.LeftSurface = 10
940+
			game:service'RunService'.RenderStepped:wait(0)
941-
obj38.TopSurface = 10
941+
		end
942-
obj38.RightSurface = 10
942+
	end
943-
obj38.Material = 'SmoothPlastic'
943+
944-
obj38.Size = Vector3.new(1, 1, 1)
944+
945-
obj38.FrontSurface = 10
945+
local RbxUtility = LoadLibrary("RbxUtility")
946-
obj38.BottomSurface = 10
946+
local Create = RbxUtility.Create
947-
obj38.BackSurface = 10
947+
948-
obj38.Anchored = true
948+
function RemoveOutlines(part)
949-
obj38.BrickColor = BrickColor.new("Black")
949+
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
950-
obj38.Name = "Carry Handle"
950+
951-
obj38.Parent = Gun
951+
	
952
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
953-
-- 39 - Mesh
953+
	local Part = Create("Part"){
954-
obj39 = Instance.new("CylinderMesh")
954+
		formFactor = FormFactor,
955-
obj39.Scale = Vector3.new(0.115384638, 0.0384615399, 0.115384638)
955+
		Parent = Parent,
956-
obj39.Parent = obj38
956+
		Reflectance = Reflectance,
957
		Transparency = Transparency,
958-
-- 40 - Carry Handle
958+
		CanCollide = false,
959-
obj40 = Instance.new("Part")
959+
		Locked = true,
960-
obj40.CFrame = CFrame.new(Vector3.new(15.1770926, 14.0016546, -9.96266651)) * CFrame.Angles(0, 1.5707963705063, 0)
960+
		BrickColor = BrickColor.new(tostring(BColor)),
961-
obj40.FormFactor = 'Custom'
961+
		Name = Name,
962-
obj40.LeftSurface = 10
962+
		Size = Size,
963-
obj40.TopSurface = 10
963+
		Material = Material,
964-
obj40.RightSurface = 10
964+
	}
965-
obj40.Material = 'SmoothPlastic'
965+
	RemoveOutlines(Part)
966-
obj40.Size = Vector3.new(1, 1, 1)
966+
	return Part
967-
obj40.FrontSurface = 10
967+
968-
obj40.BottomSurface = 10
968+
	
969-
obj40.BackSurface = 10
969+
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
970-
obj40.Anchored = true
970+
	local Msh = Create(Mesh){
971-
obj40.BrickColor = BrickColor.new("Black")
971+
		Parent = Part,
972-
obj40.Name = "Carry Handle"
972+
		Offset = OffSet,
973-
obj40.Parent = Gun
973+
		Scale = Scale,
974
	}
975-
-- 41 - Mesh
975+
	if Mesh == "SpecialMesh" then
976-
obj41 = Instance.new("SpecialMesh")
976+
		Msh.MeshType = MeshType
977-
obj41.MeshType = Enum.MeshType.Wedge
977+
		Msh.MeshId = MeshId
978-
obj41.Scale = Vector3.new(0.15384616, 0.0384615399, 0.0230769273)
978+
	end
979-
obj41.Parent = obj40
979+
	return Msh
980
end
981-
-- 42 - Carry Handle
981+
	
982-
obj42 = Instance.new("Part")
982+
function CreateWeld(Parent, Part0, Part1, C0, C1)
983-
obj42.CFrame = CFrame.new(Vector3.new(15.7730904, 14.1516542, -10.0276651)) * CFrame.Angles(-0, -1.5707963705063, 0)
983+
	local Weld = Create("Weld"){
984-
obj42.FormFactor = 'Custom'
984+
		Parent = Parent,
985-
obj42.LeftSurface = 10
985+
		Part0 = Part0,
986-
obj42.TopSurface = 10
986+
		Part1 = Part1,
987-
obj42.RightSurface = 10
987+
		C0 = C0,
988-
obj42.Material = 'SmoothPlastic'
988+
		C1 = C1,
989-
obj42.Size = Vector3.new(1, 1, 1)
989+
	}
990-
obj42.FrontSurface = 10
990+
	return Weld
991-
obj42.BottomSurface = 10
991+
992-
obj42.BackSurface = 10
992+
993-
obj42.Anchored = true
993+
function rayCast(Position, Direction, Range, Ignore)
994-
obj42.BrickColor = BrickColor.new("Black")
994+
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
995-
obj42.Name = "Carry Handle"
995+
end 
996-
obj42.Parent = Gun
996+
997
function CreateSound(id, par, vol, pit) 
998-
-- 43 - Mesh
998+
	coroutine.resume(coroutine.create(function()
999-
obj43 = Instance.new("SpecialMesh")
999+
		local sou = Instance.new("Sound", par or workspace)
1000-
obj43.MeshType = Enum.MeshType.Wedge
1000+
		sou.Volume = vol
1001-
obj43.Scale = Vector3.new(0.0230769273, 0.0538461618, 0.769231021)
1001+
		sou.Pitch = pit or 1
1002-
obj43.Parent = obj42
1002+
		sou.SoundId = id
1003
		wait() 
1004-
-- 44 - Carry Handle
1004+
		sou:play() 
1005-
obj44 = Instance.new("Part")
1005+
		game:GetService("Debris"):AddItem(sou, 6)
1006-
obj44.CFrame = CFrame.new(Vector3.new(15.5230913, 14.0206537, -9.96266651)) * CFrame.Angles(-0, -1.5707963705063, 0)
1006+
	end))
1007-
obj44.FormFactor = 'Custom'
1007+
1008-
obj44.LeftSurface = 10
1008+
1009-
obj44.TopSurface = 10
1009+
local function getclosest(obj, distance)
1010-
obj44.RightSurface = 10
1010+
	local last, lastx = distance + 1
1011-
obj44.Material = 'SmoothPlastic'
1011+
	for i, v in pairs(workspace:GetChildren()) do
1012-
obj44.Size = Vector3.new(1, 1, 1)
1012+
		if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
1013-
obj44.FrontSurface = 10
1013+
			local t = v.Torso
1014-
obj44.BottomSurface = 10
1014+
			local dist = (t.Position - obj.Position).magnitude
1015-
obj44.BackSurface = 10
1015+
			if dist <= distance then
1016-
obj44.Anchored = true
1016+
				if dist < last then
1017-
obj44.BrickColor = BrickColor.new("Black")
1017+
					last = dist
1018-
obj44.Name = "Carry Handle"
1018+
					lastx = v
1019-
obj44.Parent = Gun
1019+
				end
1020
			end
1021-
-- 45 - Mesh
1021+
		end
1022-
obj45 = Instance.new("SpecialMesh")
1022+
	end
1023-
obj45.MeshType = Enum.MeshType.Wedge
1023+
	return lastx
1024-
obj45.Scale = Vector3.new(0.15384616, 0.0230769273, 0.0384615399)
1024+
1025-
obj45.Parent = obj44
1025+
1026
function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
1027-
-- 46 - Carry Handle
1027+
	for i, v in pairs(hit:GetChildren()) do 
1028-
obj46 = Instance.new("Part")
1028+
		if v:IsA("Humanoid") and hit.Name ~= Character.Name then
1029-
obj46.CFrame = CFrame.new(Vector3.new(16.1770878, 14.0476542, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1029+
			local find = v:FindFirstChild("Hitz")
1030-
obj46.FormFactor = 'Custom'
1030+
			if not find then
1031-
obj46.LeftSurface = 10
1031+
				if v.Parent:findFirstChild("Head") then
1032-
obj46.TopSurface = 10
1032+
					local BillG = Create("BillboardGui"){
1033-
obj46.RightSurface = 10
1033+
						Parent = v.Parent.Head,
1034-
obj46.Material = 'SmoothPlastic'
1034+
						Size = UDim2.new(1, 0, 1, 0),
1035-
obj46.Size = Vector3.new(1, 1, 1)
1035+
						Adornee = v.Parent.Head,
1036-
obj46.FrontSurface = 10
1036+
						StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
1037-
obj46.BottomSurface = 10
1037+
					}
1038-
obj46.BackSurface = 10
1038+
					local TL = Create("TextLabel"){
1039-
obj46.Anchored = true
1039+
						Parent = BillG,
1040-
obj46.BrickColor = BrickColor.new("Black")
1040+
						Size = UDim2.new(3, 3, 3, 3),
1041-
obj46.Name = "Carry Handle"
1041+
						BackgroundTransparency = 1,
1042-
obj46.Parent = Gun
1042+
						Text = tostring(damage).."-",
1043
						TextColor3 = Color1.Color,
1044-
-- 47 - Mesh
1044+
						TextStrokeColor3 = Color2.Color,
1045-
obj47 = Instance.new("SpecialMesh")
1045+
						TextStrokeTransparency = 0,
1046-
obj47.MeshType = Enum.MeshType.Brick
1046+
						TextXAlignment = Enum.TextXAlignment.Center,
1047-
obj47.Scale = Vector3.new(0.0384615399, 0.0769230798, 0.15384616)
1047+
						TextYAlignment = Enum.TextYAlignment.Center,
1048-
obj47.Parent = obj46
1048+
						FontSize = Enum.FontSize.Size18,
1049
						Font = "ArialBold",
1050-
-- 48 - Carry Handle
1050+
					}
1051-
obj48 = Instance.new("Part")
1051+
					coroutine.resume(coroutine.create(function()
1052-
obj48.CFrame = CFrame.new(Vector3.new(15.3000927, 14.1856546, -9.89666271)) * CFrame.Angles(0, 1.5707963705063, 0)
1052+
						wait(1)
1053-
obj48.FormFactor = 'Custom'
1053+
						for i = 0, 1, .1 do
1054-
obj48.LeftSurface = 10
1054+
							wait(.1)
1055-
obj48.TopSurface = 10
1055+
							BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
1056-
obj48.RightSurface = 10
1056+
						end
1057-
obj48.Material = 'SmoothPlastic'
1057+
						BillG:Destroy()
1058-
obj48.Size = Vector3.new(1, 1, 1)
1058+
					end))
1059-
obj48.FrontSurface = 10
1059+
				end
1060-
obj48.BottomSurface = 10
1060+
				v.Health = v.Health - damage
1061-
obj48.BackSurface = 10
1061+
				local bool = Create("BoolValue"){
1062-
obj48.Anchored = true
1062+
					Parent = v,
1063-
obj48.BrickColor = BrickColor.new("Dark stone grey")
1063+
					Name = 'Hitz',
1064-
obj48.Name = "Carry Handle"
1064+
				}
1065-
obj48.Parent = Gun
1065+
				if HSound ~= nil and HPitch ~= nil then
1066
					CreateSound(HSound, hit, 1, HPitch) 
1067-
-- 49 - Mesh
1067+
				end
1068-
obj49 = Instance.new("SpecialMesh")
1068+
				game:GetService("Debris"):AddItem(bool, cooldown)
1069-
obj49.MeshType = Enum.MeshType.Wedge
1069+
			end
1070-
obj49.Scale = Vector3.new(0.0230769273, 0.0153846173, 0.0230769273)
1070+
		end
1071-
obj49.Parent = obj48
1071+
	end
1072
end
1073-
-- 50 - Carry Handle
1073+
1074-
obj50 = Instance.new("Part")
1074+
1075-
obj50.CFrame = CFrame.new(Vector3.new(16.1380939, 14.0746546, -9.96266651)) * CFrame.Angles(-3.141592502594, 1.5707963705063, 0)
1075+
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1076-
obj50.FormFactor = 'Custom'
1076+
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1077-
obj50.LeftSurface = 10
1077+
	prt.Anchored = true
1078-
obj50.TopSurface = 10
1078+
	prt.CFrame = cframe
1079-
obj50.RightSurface = 10
1079+
	local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1080-
obj50.Material = 'SmoothPlastic'
1080+
	game:GetService("Debris"):AddItem(prt, 10)
1081-
obj50.Size = Vector3.new(1, 1, 1)
1081+
	if Type == 1 or Type == nil then
1082-
obj50.FrontSurface = 10
1082+
		table.insert(Effects, {
1083-
obj50.BottomSurface = 10
1083+
			prt,
1084-
obj50.BackSurface = 10
1084+
			"Block1",
1085-
obj50.Anchored = true
1085+
			delay,
1086-
obj50.BrickColor = BrickColor.new("Black")
1086+
			x3,
1087-
obj50.Name = "Carry Handle"
1087+
			y3,
1088-
obj50.Parent = Gun
1088+
			z3,
1089
			msh
1090-
-- 51 - Mesh
1090+
		})
1091-
obj51 = Instance.new("SpecialMesh")
1091+
	elseif Type == 2 then
1092-
obj51.MeshType = Enum.MeshType.Wedge
1092+
		table.insert(Effects, {
1093-
obj51.Scale = Vector3.new(0.15384616, 0.0230769273, 0.0384615399)
1093+
			prt,
1094-
obj51.Parent = obj50
1094+
			"Block2",
1095
			delay,
1096-
-- 52 - Carry Handle
1096+
			x3,
1097-
obj52 = Instance.new("Part")
1097+
			y3,
1098-
obj52.CFrame = CFrame.new(Vector3.new(15.3270931, 14.1516542, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1098+
			z3,
1099-
obj52.FormFactor = 'Custom'
1099+
			msh
1100-
obj52.LeftSurface = 10
1100+
		})
1101-
obj52.TopSurface = 10
1101+
	end
1102-
obj52.RightSurface = 10
1102+
1103-
obj52.Material = 'SmoothPlastic'
1103+
1104-
obj52.Size = Vector3.new(1, 1, 1)
1104+
function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1105-
obj52.FrontSurface = 10
1105+
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1106-
obj52.BottomSurface = 10
1106+
	prt.Anchored = true
1107-
obj52.BackSurface = 10
1107+
	prt.CFrame = cframe
1108-
obj52.Anchored = true
1108+
	local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1109-
obj52.BrickColor = BrickColor.new("Black")
1109+
	game:GetService("Debris"):AddItem(prt, 10)
1110-
obj52.Name = "Carry Handle"
1110+
	table.insert(Effects, {
1111-
obj52.Parent = Gun
1111+
		prt,
1112
		"Cylinder",
1113-
-- 53 - Mesh
1113+
		delay,
1114-
obj53 = Instance.new("SpecialMesh")
1114+
		x3,
1115-
obj53.MeshType = Enum.MeshType.Brick
1115+
		y3,
1116-
obj53.Scale = Vector3.new(0.0153846163, 0.0307692327, 0.0307692327)
1116+
		z3,
1117-
obj53.Parent = obj52
1117+
		msh
1118
	})
1119-
-- 54 - Carry Handle
1119+
1120-
obj54 = Instance.new("Part")
1120+
1121-
obj54.CFrame = CFrame.new(Vector3.new(15.7730904, 14.1516542, -9.89666271)) * CFrame.Angles(-0, -1.5707963705063, 0)
1121+
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1122-
obj54.FormFactor = 'Custom'
1122+
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1123-
obj54.LeftSurface = 10
1123+
	prt.Anchored = true
1124-
obj54.TopSurface = 10
1124+
	prt.CFrame = cframe * CFrame.new(x1, y1, z1)
1125-
obj54.RightSurface = 10
1125+
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1126-
obj54.Material = 'SmoothPlastic'
1126+
	game:GetService("Debris"):AddItem(prt, 10)
1127-
obj54.Size = Vector3.new(1, 1, 1)
1127+
	table.insert(Effects, {
1128-
obj54.FrontSurface = 10
1128+
		prt,
1129-
obj54.BottomSurface = 10
1129+
		"Cylinder",
1130-
obj54.BackSurface = 10
1130+
		delay,
1131-
obj54.Anchored = true
1131+
		x3,
1132-
obj54.BrickColor = BrickColor.new("Black")
1132+
		y3,
1133-
obj54.Name = "Carry Handle"
1133+
		z3,
1134-
obj54.Parent = Gun
1134+
		msh
1135
	})
1136-
-- 55 - Mesh
1136+
1137-
obj55 = Instance.new("SpecialMesh")
1137+
1138-
obj55.MeshType = Enum.MeshType.Wedge
1138+
function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1139-
obj55.Scale = Vector3.new(0.0230769273, 0.0538461618, 0.769231021)
1139+
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1140-
obj55.Parent = obj54
1140+
	prt.Anchored = true
1141
	prt.CFrame = cframe
1142-
-- 56 - Carry Handle
1142+
	local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1143-
obj56 = Instance.new("Part")
1143+
	game:GetService("Debris"):AddItem(prt, 10)
1144-
obj56.CFrame = CFrame.new(Vector3.new(15.3270931, 14.1706553, -9.96266651)) * CFrame.Angles(0, 1.5707963705063, 0)
1144+
	table.insert(Effects, {
1145-
obj56.FormFactor = 'Custom'
1145+
		prt,
1146-
obj56.LeftSurface = 10
1146+
		"Cylinder",
1147-
obj56.TopSurface = 10
1147+
		delay,
1148-
obj56.RightSurface = 10
1148+
		x3,
1149-
obj56.Material = 'SmoothPlastic'
1149+
		y3,
1150-
obj56.Size = Vector3.new(1, 1, 1)
1150+
		z3,
1151-
obj56.FrontSurface = 10
1151+
		msh
1152-
obj56.BottomSurface = 10
1152+
	})
1153-
obj56.BackSurface = 10
1153+
1154-
obj56.Anchored = true
1154+
1155-
obj56.BrickColor = BrickColor.new("Black")
1155+
function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1156-
obj56.Name = "Carry Handle"
1156+
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1157-
obj56.Parent = Gun
1157+
	prt.Anchored = true
1158
	prt.CFrame = cframe
1159-
-- 57 - Mesh
1159+
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1160-
obj57 = Instance.new("SpecialMesh")
1160+
	game:GetService("Debris"):AddItem(prt, 10)
1161-
obj57.MeshType = Enum.MeshType.FileMesh
1161+
	table.insert(Effects, {
1162-
obj57.Scale = Vector3.new(0.0307692327, 0.0307692327, 0.0923077092)
1162+
		prt,
1163-
obj57.MeshId = "http://www.roblox.com/asset/?id=3270017"
1163+
		"Cylinder",
1164-
obj57.Parent = obj56
1164+
		delay,
1165
		x3,
1166-
-- 58 - Carry Handle
1166+
		y3,
1167-
obj58 = Instance.new("Part")
1167+
		z3,
1168-
obj58.CFrame = CFrame.new(Vector3.new(15.3500957, 14.1856546, -10.0276651)) * CFrame.Angles(-0, -1.5707963705063, 0)
1168+
		msh
1169-
obj58.FormFactor = 'Custom'
1169+
	})
1170-
obj58.LeftSurface = 10
1170+
1171-
obj58.TopSurface = 10
1171+
1172-
obj58.RightSurface = 10
1172+
function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1173-
obj58.Material = 'SmoothPlastic'
1173+
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1174-
obj58.Size = Vector3.new(1, 1, 1)
1174+
	prt.Anchored = true
1175-
obj58.FrontSurface = 10
1175+
	prt.CFrame = cframe
1176-
obj58.BottomSurface = 10
1176+
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1177-
obj58.BackSurface = 10
1177+
	game:GetService("Debris"):AddItem(prt, 10)
1178-
obj58.Anchored = true
1178+
	table.insert(Effects, {
1179-
obj58.BrickColor = BrickColor.new("Dark stone grey")
1179+
		prt,
1180-
obj58.Name = "Carry Handle"
1180+
		"Cylinder",
1181-
obj58.Parent = Gun
1181+
		delay,
1182
		x3,
1183-
-- 59 - Mesh
1183+
		y3,
1184-
obj59 = Instance.new("SpecialMesh")
1184+
		z3,
1185-
obj59.MeshType = Enum.MeshType.Wedge
1185+
		msh
1186-
obj59.Scale = Vector3.new(0.0230769273, 0.0153846173, 0.0769230872)
1186+
	})
1187-
obj59.Parent = obj58
1187+
1188
1189-
-- 60 - Carry Handle
1189+
function BreakEffect(brickcolor, cframe, x1, y1, z1)
1190-
obj60 = Instance.new("Part")
1190+
	local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1191-
obj60.CFrame = CFrame.new(Vector3.new(15.2840939, 14.1356554, -9.96266651)) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
1191+
	prt.Anchored = true
1192-
obj60.FormFactor = 'Custom'
1192+
	prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1193-
obj60.LeftSurface = 10
1193+
	local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1194-
obj60.TopSurface = 10
1194+
	local num = math.random(10, 50) / 1000
1195-
obj60.RightSurface = 10
1195+
	game:GetService("Debris"):AddItem(prt, 10)
1196-
obj60.Material = 'SmoothPlastic'
1196+
	table.insert(Effects, {
1197-
obj60.Size = Vector3.new(1, 1, 1)
1197+
		prt,
1198-
obj60.FrontSurface = 10
1198+
		"Shatter",
1199-
obj60.BottomSurface = 10
1199+
		num,
1200-
obj60.BackSurface = 10
1200+
		prt.CFrame,
1201-
obj60.Anchored = true
1201+
		math.random() - math.random(),
1202-
obj60.BrickColor = BrickColor.new("Black")
1202+
		0,
1203-
obj60.Name = "Carry Handle"
1203+
		math.random(50, 100) / 100
1204-
obj60.Parent = Gun
1204+
	})
1205
end
1206-
-- 61 - Mesh
1206+
1207-
obj61 = Instance.new("SpecialMesh")
1207+
1208-
obj61.MeshType = Enum.MeshType.FileMesh
1208+
	
1209-
obj61.Scale = Vector3.new(0.0307692327, 0.0307692327, 0.0923077092)
1209+
1210-
obj61.MeshId = "http://www.roblox.com/asset/?id=3270017"
1210+
	for i = 0, 1, 0.05 do
1211-
obj61.Parent = obj60
1211+
		swait()
1212
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
1213-
-- 62 - Carry Handle
1213+
		Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
1214-
obj62 = Instance.new("Part")
1214+
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
1215-
obj62.CFrame = CFrame.new(Vector3.new(15.3000927, 14.1856546, -10.0276651)) * CFrame.Angles(0, 1.5707963705063, 0)
1215+
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
1216-
obj62.FormFactor = 'Custom'
1216+
		if Torsovelocity > 2 then
1217-
obj62.LeftSurface = 10
1217+
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .2)
1218-
obj62.TopSurface = 10
1218+
		RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
1219-
obj62.RightSurface = 10
1219+
		LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
1220-
obj62.Material = 'SmoothPlastic'
1220+
		elseif Torsovelocity < 1 then
1221-
obj62.Size = Vector3.new(1, 1, 1)
1221+
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
1222-
obj62.FrontSurface = 10
1222+
		RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
1223-
obj62.BottomSurface = 10
1223+
		LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
1224-
obj62.BackSurface = 10
1224+
		end
1225-
obj62.Anchored = true
1225+
	end
1226-
obj62.BrickColor = BrickColor.new("Dark stone grey")
1226+
	attack = false
1227-
obj62.Name = "Carry Handle"
1227+
1228-
obj62.Parent = Gun
1228+
1229
1230-
-- 63 - Mesh
1230+
game:GetService'RunService'.Stepped:connect(function()
1231-
obj63 = Instance.new("SpecialMesh")
1231+
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
1232-
obj63.MeshType = Enum.MeshType.Wedge
1232+
	velocity = RootPart.Velocity.y
1233-
obj63.Scale = Vector3.new(0.0230769273, 0.0153846173, 0.0230769273)
1233+
	sine = sine + change
1234-
obj63.Parent = obj62
1234+
	local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
1235
	if equipped == true or equipped == false then
1236-
-- 64 - Carry Handle
1236+
		if RootPart.Velocity.y > 1 and hit == nil then 
1237-
obj64 = Instance.new("Part")
1237+
			Anim = "Jump"
1238-
obj64.CFrame = CFrame.new(Vector3.new(15.8300962, 14.1046534, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1238+
			if attack == false then
1239-
obj64.FormFactor = 'Custom'
1239+
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
1240-
obj64.LeftSurface = 10
1240+
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
1241-
obj64.TopSurface = 10
1241+
RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
1242-
obj64.RightSurface = 10
1242+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
1243-
obj64.Material = 'SmoothPlastic'
1243+
					RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
1244-
obj64.Size = Vector3.new(1, 1, 1)
1244+
					LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
1245-
obj64.FrontSurface = 10
1245+
GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)	
1246-
obj64.BottomSurface = 10
1246+
DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30)  ,0 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)		
1247-
obj64.BackSurface = 10
1247+
			end
1248-
obj64.Anchored = true
1248+
		elseif RootPart.Velocity.y < 1 and hit == nil then 
1249-
obj64.BrickColor = BrickColor.new("Black")
1249+
			Anim = "Fall"
1250-
obj64.Name = "Carry Handle"
1250+
			if attack == false then
1251-
obj64.Parent = Gun
1251+
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
1252
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
1253-
-- 65 - Mesh
1253+
RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(65), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
1254-
obj65 = Instance.new("SpecialMesh")
1254+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(55 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
1255-
obj65.MeshType = Enum.MeshType.Brick
1255+
					RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
1256-
obj65.Scale = Vector3.new(0.653846204, 0.0384615399, 0.15384616)
1256+
					LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
1257-
obj65.Parent = obj64
1257+
						GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
1258
						DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30)  ,8 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
1259-
-- 66 - Carry Handle
1259+
			end
1260-
obj66 = Instance.new("Part")
1260+
		elseif Torsovelocity < 1 and hit ~= nil then
1261-
obj66.CFrame = CFrame.new(Vector3.new(16.1770878, 14.1046534, -9.96266651)) * CFrame.Angles(-0, -1.5707963705063, 0)
1261+
			Anim = "Idle"
1262-
obj66.FormFactor = 'Custom'
1262+
			if attack == false then
1263-
obj66.LeftSurface = 10
1263+
				change = 1
1264-
obj66.TopSurface = 10
1264+
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1)
1265-
obj66.RightSurface = 10
1265+
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
1266-
obj66.Material = 'SmoothPlastic'
1266+
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
1267-
obj66.Size = Vector3.new(1, 1, 1)
1267+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
1268-
obj66.FrontSurface = 10
1268+
					RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
1269-
obj66.BottomSurface = 10
1269+
					LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
1270-
obj66.BackSurface = 10
1270+
	GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
1271-
obj66.Anchored = true
1271+
	
1272-
obj66.BrickColor = BrickColor.new("Black")
1272+
	DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
1273-
obj66.Name = "Carry Handle"
1273+
			end
1274-
obj66.Parent = Gun
1274+
		elseif Torsovelocity > 1 and hit ~= nil then
1275
			Anim = "Walk"
1276-
-- 67 - Mesh
1276+
			if attack == false then
1277-
obj67 = Instance.new("SpecialMesh")
1277+
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45+5 * math.cos(sine / 5))), .2)
1278-
obj67.MeshType = Enum.MeshType.Wedge
1278+
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(5), math.rad(45+-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 12), .2)
1279-
obj67.Scale = Vector3.new(0.15384616, 0.0384615399, 0.0384615399)
1279+
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 4), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 4))), 0.3)
1280-
obj67.Parent = obj66
1280+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 4), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 4)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 4))), 0.2)
1281
					RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
1282-
-- 68 - Carry Handle
1282+
					LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4),  .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)	
1283-
obj68 = Instance.new("Part")
1283+
GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)	
1284-
obj68.CFrame = CFrame.new(Vector3.new(15.3690929, 14.0666552, -10.0196638)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1284+
DW.C0 = clerp(DW.C0, CFrame.new(3+.1 * math.cos(sine / 5)  , 3.05 - .1 * math.cos(sine / 3),  2.5 + .5 * math.cos(sine / 6)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)		
1285-
obj68.FormFactor = 'Custom'
1285+
			end
1286-
obj68.LeftSurface = 10
1286+
			
1287-
obj68.TopSurface = 10
1287+
		
1288-
obj68.RightSurface = 10
1288+
1289-
obj68.Material = 'SmoothPlastic'
1289+
1290-
obj68.Size = Vector3.new(1, 1, 1)
1290+
1291-
obj68.FrontSurface = 10
1291+
	
1292-
obj68.BottomSurface = 10
1292+
			
1293-
obj68.BackSurface = 10
1293+
1294-
obj68.Anchored = true
1294+
1295-
obj68.BrickColor = BrickColor.new("Black")
1295+
	
1296-
obj68.Name = "Carry Handle"
1296+
			
1297-
obj68.Parent = Gun
1297+
			
1298
			
1299-
-- 69 - Mesh
1299+
			
1300-
obj69 = Instance.new("CylinderMesh")
1300+
			
1301-
obj69.Scale = Vector3.new(0.115384638, 0.0384615399, 0.115384638)
1301+
			
1302-
obj69.Parent = obj68
1302+
			
1303
			
1304-
-- 70 - Carry Handle
1304+
		end
1305-
obj70 = Instance.new("Part")
1305+
	end
1306-
obj70.CFrame = CFrame.new(Vector3.new(15.5230913, 14.0746546, -9.96266651)) * CFrame.Angles(3.141592502594, -1.5707963705063, 0)
1306+
	if #Effects > 0 then
1307-
obj70.FormFactor = 'Custom'
1307+
		for e = 1, #Effects do
1308-
obj70.LeftSurface = 10
1308+
			if Effects[e] ~= nil then
1309-
obj70.TopSurface = 10
1309+
				local Thing = Effects[e]
1310-
obj70.RightSurface = 10
1310+
				if Thing ~= nil then
1311-
obj70.Material = 'SmoothPlastic'
1311+
					local Part = Thing[1]
1312-
obj70.Size = Vector3.new(1, 1, 1)
1312+
					local Mode = Thing[2]
1313-
obj70.FrontSurface = 10
1313+
					local Delay = Thing[3]
1314-
obj70.BottomSurface = 10
1314+
					local IncX = Thing[4]
1315-
obj70.BackSurface = 10
1315+
					local IncY = Thing[5]
1316-
obj70.Anchored = true
1316+
					local IncZ = Thing[6]
1317-
obj70.BrickColor = BrickColor.new("Black")
1317+
					if Thing[1].Transparency <= 1 then
1318-
obj70.Name = "Carry Handle"
1318+
						if Thing[2] == "Block1" then
1319-
obj70.Parent = Gun
1319+
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1320
							local Mesh = Thing[1].Mesh
1321-
-- 71 - Mesh
1321+
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1322-
obj71 = Instance.new("SpecialMesh")
1322+
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1323-
obj71.MeshType = Enum.MeshType.Wedge
1323+
						elseif Thing[2] == "Block2" then
1324-
obj71.Scale = Vector3.new(0.15384616, 0.0230769273, 0.0384615399)
1324+
							Thing[1].CFrame = Thing[1].CFrame
1325-
obj71.Parent = obj70
1325+
							local Mesh = Thing[7]
1326
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1327-
-- 72 - Carry Handle
1327+
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1328-
obj72 = Instance.new("Part")
1328+
						elseif Thing[2] == "Cylinder" then
1329-
obj72.CFrame = CFrame.new(Vector3.new(16.1380939, 13.9976549, -10.0586653)) * CFrame.Angles(1.5707963705063, 0, 3.141592502594)
1329+
							local Mesh = Thing[1].Mesh
1330-
obj72.FormFactor = 'Custom'
1330+
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1331-
obj72.LeftSurface = 10
1331+
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1332-
obj72.TopSurface = 10
1332+
						elseif Thing[2] == "Blood" then
1333-
obj72.RightSurface = 10
1333+
							local Mesh = Thing[7]
1334-
obj72.Material = 'SmoothPlastic'
1334+
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
1335-
obj72.Size = Vector3.new(1, 1, 1)
1335+
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1336-
obj72.FrontSurface = 10
1336+
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1337-
obj72.BottomSurface = 10
1337+
						elseif Thing[2] == "Elec" then
1338-
obj72.BackSurface = 10
1338+
							local Mesh = Thing[1].Mesh
1339-
obj72.Anchored = true
1339+
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1340-
obj72.BrickColor = BrickColor.new("Dark stone grey")
1340+
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1341-
obj72.Name = "Carry Handle"
1341+
						elseif Thing[2] == "Disappear" then
1342-
obj72.Parent = Gun
1342+
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1343
						elseif Thing[2] == "Shatter" then
1344-
-- 73 - Mesh
1344+
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1345-
obj73 = Instance.new("CylinderMesh")
1345+
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1346-
obj73.Scale = Vector3.new(0.115384638, 0.0384615399, 0.100000016)
1346+
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1347-
obj73.Parent = obj72
1347+
							Thing[6] = Thing[6] + Thing[5]
1348
						end
1349-
-- 74 - Carry Handle
1349+
					else
1350-
obj74 = Instance.new("Part")
1350+
						Part.Parent = nil
1351-
obj74.CFrame = CFrame.new(Vector3.new(15.3380947, 14.1516542, -10.0276651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1351+
						table.remove(Effects, e)
1352-
obj74.FormFactor = 'Custom'
1352+
					end
1353-
obj74.LeftSurface = 10
1353+
				end
1354-
obj74.TopSurface = 10
1354+
			end
1355-
obj74.RightSurface = 10
1355+
		end
1356-
obj74.Material = 'SmoothPlastic'
1356+
	end
1357-
obj74.Size = Vector3.new(1, 1, 1)
1357+
1358-
obj74.FrontSurface = 10
1358+
1359-
obj74.BottomSurface = 10
1359+
1360-
obj74.BackSurface = 10
1360+
1361-
obj74.Anchored = true
1361+
1362-
obj74.BrickColor = BrickColor.new("Dark stone grey")
1362+
1363-
obj74.Name = "Carry Handle"
1363+
1364-
obj74.Parent = Gun
1364+
1365
1366-
-- 75 - Mesh
1366+
1367-
obj75 = Instance.new("SpecialMesh")
1367+
1368-
obj75.MeshType = Enum.MeshType.Brick
1368+
1369-
obj75.Scale = Vector3.new(0.100000016, 0.0538461618, 0.0230769273)
1369+
1370-
obj75.Parent = obj74
1370+
1371
1372-
-- 76 - Carry Handle
1372+
1373-
obj76 = Instance.new("Part")
1373+
1374-
obj76.CFrame = CFrame.new(Vector3.new(15.3880978, 14.0666552, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1374+
1375-
obj76.FormFactor = 'Custom'
1375+
1376-
obj76.LeftSurface = 10
1376+
1377-
obj76.TopSurface = 10
1377+
1378-
obj76.RightSurface = 10
1378+
1379-
obj76.Material = 'SmoothPlastic'
1379+
1380-
obj76.Size = Vector3.new(1, 1, 1)
1380+
1381-
obj76.FrontSurface = 10
1381+
1382-
obj76.BottomSurface = 10
1382+
1383-
obj76.BackSurface = 10
1383+
1384-
obj76.Anchored = true
1384+
1385-
obj76.BrickColor = BrickColor.new("Black")
1385+
1386-
obj76.Name = "Carry Handle"
1386+
	RemoveOutlines = function(part)
1387-
obj76.Parent = Gun
1387+
	
1388
	part.TopSurface = 10
1389-
-- 77 - Mesh
1389+
1390-
obj77 = Instance.new("SpecialMesh")
1390+
1391-
obj77.MeshType = Enum.MeshType.Brick
1391+
	CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1392-
obj77.Scale = Vector3.new(0.230769247, 0.115384638, 0.15384616)
1392+
	
1393-
obj77.Parent = obj76
1393+
	local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
1394
	RemoveOutlines(Part)
1395-
-- 78 - Carry Handle
1395+
	return Part
1396-
obj78 = Instance.new("Part")
1396+
1397-
obj78.CFrame = CFrame.new(Vector3.new(15.3340969, 14.1396551, -9.86666393)) * CFrame.Angles(-1.5707963705063, 0, 3.141592502594)
1397+
1398-
obj78.FormFactor = 'Custom'
1398+
	CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1399-
obj78.LeftSurface = 10
1399+
	
1400-
obj78.TopSurface = 10
1400+
	local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
1401-
obj78.RightSurface = 10
1401+
	if Mesh == "SpecialMesh" then
1402-
obj78.Material = 'SmoothPlastic'
1402+
		Msh.MeshType = MeshType
1403-
obj78.Size = Vector3.new(1, 1, 1)
1403+
		Msh.MeshId = MeshId
1404-
obj78.FrontSurface = 10
1404+
	end
1405-
obj78.BottomSurface = 10
1405+
	return Msh
1406-
obj78.BackSurface = 10
1406+
1407-
obj78.Anchored = true
1407+
1408-
obj78.BrickColor = BrickColor.new("Black")
1408+
	CreateWeld = function(Parent, Part0, Part1, C0, C1)
1409-
obj78.Name = "Carry Handle"
1409+
	
1410-
obj78.Parent = Gun
1410+
	local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
1411
	return Weld
1412-
-- 79 - Mesh
1412+
1413-
obj79 = Instance.new("CylinderMesh")
1413+
1414-
obj79.Scale = Vector3.new(0.0769230798, 0.0384615399, 0.0769230798)
1414+
1415-
obj79.Parent = obj78
1415+
1416
1417-
-- 80 - Carry Handle
1417+
1418-
obj80 = Instance.new("Part")
1418+
1419-
obj80.CFrame = CFrame.new(Vector3.new(15.6730919, 14.0016546, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1419+
1420-
obj80.FormFactor = 'Custom'
1420+
1421-
obj80.LeftSurface = 10
1421+
1422-
obj80.TopSurface = 10
1422+
1423-
obj80.RightSurface = 10
1423+
1424-
obj80.Material = 'SmoothPlastic'
1424+
1425-
obj80.Size = Vector3.new(1, 1, 1)
1425+
1426-
obj80.FrontSurface = 10
1426+
1427-
obj80.BottomSurface = 10
1427+
1428-
obj80.BackSurface = 10
1428+
1429-
obj80.Anchored = true
1429+
	CFuncs = {
1430-
obj80.BrickColor = BrickColor.new("Black")
1430+
Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1431-
obj80.Name = "Carry Handle"
1431+
	
1432-
obj80.Parent = Gun
1432+
	local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
1433
	RemoveOutlines(Part)
1434-
-- 81 - Mesh
1434+
	return Part
1435-
obj81 = Instance.new("SpecialMesh")
1435+
1436-
obj81.MeshType = Enum.MeshType.Brick
1436+
}
1437-
obj81.Scale = Vector3.new(0.969230831, 0.0384615399, 0.15384616)
1437+
, 
1438-
obj81.Parent = obj80
1438+
Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1439
	
1440-
-- 82 - Carry Handle
1440+
	local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
1441-
obj82 = Instance.new("Part")
1441+
	if Mesh == "SpecialMesh" then
1442-
obj82.CFrame = CFrame.new(Vector3.new(15.3500957, 14.1856546, -9.89666271)) * CFrame.Angles(-0, -1.5707963705063, 0)
1442+
		Msh.MeshType = MeshType
1443-
obj82.FormFactor = 'Custom'
1443+
		Msh.MeshId = MeshId
1444-
obj82.LeftSurface = 10
1444+
	end
1445-
obj82.TopSurface = 10
1445+
	return Msh
1446-
obj82.RightSurface = 10
1446+
1447-
obj82.Material = 'SmoothPlastic'
1447+
}
1448-
obj82.Size = Vector3.new(1, 1, 1)
1448+
, 
1449-
obj82.FrontSurface = 10
1449+
Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1450-
obj82.BottomSurface = 10
1450+
	
1451-
obj82.BackSurface = 10
1451+
	local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
1452-
obj82.Anchored = true
1452+
	if Mesh == "SpecialMesh" then
1453-
obj82.BrickColor = BrickColor.new("Dark stone grey")
1453+
		Msh.MeshType = MeshType
1454-
obj82.Name = "Carry Handle"
1454+
		Msh.MeshId = MeshId
1455-
obj82.Parent = Gun
1455+
	end
1456
	return Msh
1457-
-- 83 - Mesh
1457+
1458-
obj83 = Instance.new("SpecialMesh")
1458+
}
1459-
obj83.MeshType = Enum.MeshType.Wedge
1459+
, 
1460-
obj83.Scale = Vector3.new(0.0230769273, 0.0153846173, 0.0769230872)
1460+
Weld = {Create = function(Parent, Part0, Part1, C0, C1)
1461-
obj83.Parent = obj82
1461+
	
1462
	local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
1463-
-- 84 - Clip
1463+
	return Weld
1464-
obj84 = Instance.new("Part")
1464+
1465-
obj84.CFrame = CFrame.new(Vector3.new(15.9554167, 13.1883135, -9.95719814)) * CFrame.Angles(3.141592502594, 9.2685222625732e-006, 3.0630528926849)
1465+
}
1466-
obj84.FormFactor = 'Custom'
1466+
, 
1467-
obj84.LeftSurface = 10
1467+
Sound = {Create = function(id, par, vol, pit)
1468-
obj84.TopSurface = 10
1468+
	
1469-
obj84.RightSurface = 10
1469+
	coroutine.resume(coroutine.create(function()
1470-
obj84.Material = 'SmoothPlastic'
1470+
		
1471-
obj84.Size = Vector3.new(1, 1, 1)
1471+
		local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
1472-
obj84.FrontSurface = 10
1472+
		wait()
1473-
obj84.BottomSurface = 10
1473+
		S:play()
1474-
obj84.BackSurface = 10
1474+
		game:GetService("Debris"):AddItem(S, 6)
1475-
obj84.Anchored = true
1475+
	end
1476-
obj84.BrickColor = BrickColor.new("Black")
1476+
))
1477-
obj84.Name = "Clip"
1477+
1478-
obj84.Parent = Gun
1478+
}
1479
, 
1480-
-- 85 - Mesh
1480+
articleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
1481-
obj85 = Instance.new("BlockMesh")
1481+
	
1482-
obj85.Scale = Vector3.new(0.114285707, 0.19047612, 0.104761899)
1482+
	local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
1483-
obj85.Parent = obj84
1483+
	return fp
1484
end
1485-
-- 86 - Clip
1485+
}
1486-
obj86 = Instance.new("Part")
1486+
}
1487-
obj86.CFrame = CFrame.new(Vector3.new(16.1022205, 13.0409546, -9.95719624)) * CFrame.Angles(3.141592502594, 9.2089176177979e-006, 2.9845130443573)
1487+
1488-
obj86.FormFactor = 'Custom'
1488+
1489-
obj86.LeftSurface = 10
1489+
1490-
obj86.TopSurface = 10
1490+
1491-
obj86.RightSurface = 10
1491+
1492-
obj86.Material = 'SmoothPlastic'
1492+
	Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
1493-
obj86.Size = Vector3.new(1, 1, 1)
1493+
	
1494-
obj86.FrontSurface = 10
1494+
	if hit.Parent == nil then
1495-
obj86.BottomSurface = 10
1495+
		return 
1496-
obj86.BackSurface = 10
1496+
	end
1497-
obj86.Anchored = true
1497+
	local h = hit.Parent:FindFirstChild("Humanoid")
1498-
obj86.BrickColor = BrickColor.new("Black")
1498+
	for _,v in pairs(hit.Parent:children()) do
1499-
obj86.Name = "Clip"
1499+
		if v:IsA("Humanoid") then
1500-
obj86.Parent = Gun
1500+
			h = v
1501
		end
1502-
-- 87 - Mesh
1502+
	end
1503-
obj87 = Instance.new("BlockMesh")
1503+
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
1504-
obj87.Scale = Vector3.new(0.0666666627, 0.19047612, 0.104761899)
1504+
		if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
1505-
obj87.Parent = obj86
1505+
			return 
1506
		end
1507-
-- 88 - Clip
1507+
		local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
1508-
obj88 = Instance.new("Part")
1508+
		game:GetService("Debris"):AddItem(c, 0.5)
1509-
obj88.CFrame = CFrame.new(Vector3.new(15.9752455, 13.0208406, -9.95719624)) * CFrame.Angles(3.141592502594, 9.2089176177979e-006, 2.9845130443573)
1509+
		if HitSound ~= nil and HitPitch ~= nil then
1510-
obj88.FormFactor = 'Custom'
1510+
			CreateSound(HitSound, hit, 1, HitPitch)
1511-
obj88.LeftSurface = 10
1511+
		end
1512-
obj88.TopSurface = 10
1512+
		local Damage = math.random(minim, maxim)
1513-
obj88.RightSurface = 10
1513+
		local blocked = false
1514-
obj88.Material = 'SmoothPlastic'
1514+
		local block = hit.Parent:findFirstChild("Block")
1515-
obj88.Size = Vector3.new(1, 1, 1)
1515+
		if block ~= nil and block.className == "IntValue" and block.Value > 0 then
1516-
obj88.FrontSurface = 10
1516+
			blocked = true
1517-
obj88.BottomSurface = 10
1517+
			block.Value = block.Value - 1
1518-
obj88.BackSurface = 10
1518+
			print(block.Value)
1519-
obj88.Anchored = true
1519+
		end
1520-
obj88.BrickColor = BrickColor.new("Black")
1520+
		if blocked == false then
1521-
obj88.Name = "Clip"
1521+
			h.Health = h.Health - Damage
1522-
obj88.Parent = Gun
1522+
			ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1523
		else
1524-
-- 89 - Mesh
1524+
			h.Health = h.Health - Damage / 2
1525-
obj89 = Instance.new("BlockMesh")
1525+
			ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1526-
obj89.Scale = Vector3.new(0.114285707, 0.19047612, 0.104761899)
1526+
		end
1527-
obj89.Parent = obj88
1527+
		if Type == "Knockdown" then
1528
			local hum = hit.Parent.Humanoid
1529-
-- 90 - Clip
1529+
			hum.PlatformStand = true
1530-
obj90 = Instance.new("Part")
1530+
			coroutine.resume(coroutine.create(function(HHumanoid)
1531-
obj90.CFrame = CFrame.new(Vector3.new(15.8670683, 13.0037107, -9.95719814)) * CFrame.Angles(3.141592502594, 9.2089176177979e-006, 2.9845130443573)
1531+
		
1532-
obj90.FormFactor = 'Custom'
1532+
		swait(1)
1533-
obj90.LeftSurface = 10
1533+
		HHumanoid.PlatformStand = false
1534-
obj90.TopSurface = 10
1534+
	end
1535-
obj90.RightSurface = 10
1535+
), hum)
1536-
obj90.Material = 'SmoothPlastic'
1536+
			local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
1537-
obj90.Size = Vector3.new(1, 1, 1)
1537+
			local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
1538-
obj90.FrontSurface = 10
1538+
			local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
1539-
obj90.BottomSurface = 10
1539+
			game:GetService("Debris"):AddItem(bodvol, 0.5)
1540-
obj90.BackSurface = 10
1540+
			game:GetService("Debris"):AddItem(rl, 0.5)
1541-
obj90.Anchored = true
1541+
		elseif Type == "Normal" then
1542-
obj90.BrickColor = BrickColor.new("Black")
1542+
					local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
1543-
obj90.Name = "Clip"
1543+
					if knockback > 0 then
1544-
obj90.Parent = Gun
1544+
						vp.Parent = hit.Parent.HumanoidRootPart
1545
					end
1546-
-- 91 - Mesh
1546+
					game:GetService("Debris"):AddItem(vp, 0.5)
1547-
obj91 = Instance.new("BlockMesh")
1547+
				elseif Type == "Up" then
1548-
obj91.Scale = Vector3.new(0.066666618, 0.19047612, 0.104761899)
1548+
							local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
1549-
obj91.Parent = obj90
1549+
							game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1550
							local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
1551-
-- 92 - Clip
1551+
							game:GetService("Debris"):AddItem(bodyVelocity, 1)
1552-
obj92 = Instance.new("Part")
1552+
		elseif Type == "Snare" then		
1553-
obj92.CFrame = CFrame.new(Vector3.new(15.9221907, 13.1857014, -9.95719624)) * CFrame.Angles(3.141592502594, 9.2685222625732e-006, 3.0630528926849)
1553+
			local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit							
1554-
obj92.FormFactor = 'Custom'
1554+
									local bp = Create("BodyPosition")({P = 200, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.HumanoidRootPart.Position + Vector3.new(0, -5, 0), Parent = hit.Parent.HumanoidRootPart})
1555-
obj92.LeftSurface = 10
1555+
local rl2 = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500, 500, 500) * 10, angularvelocity = Vector3.new(math.random(-15,15), math.random(-0, 0), math.random(-15,15)), Parent = hit})									
1556-
obj92.TopSurface = 10
1556+
									game:GetService("Debris"):AddItem(rl2, 0.01)
1557-
obj92.RightSurface = 10
1557+
									game:GetService("Debris"):AddItem(bp, .1)
1558-
obj92.Material = 'SmoothPlastic'
1558+
												hit.Parent.Humanoid.PlatformStand = true
1559-
obj92.Size = Vector3.new(1, 1, 1)
1559+
	
1560-
obj92.FrontSurface = 10
1560+
		
1561-
obj92.BottomSurface = 10
1561+
		wait(.1)
1562-
obj92.BackSurface = 10
1562+
		hit.Parent.Humanoid.PlatformStand = false
1563-
obj92.Anchored = true
1563+
								elseif Type == "Freeze" then
1564-
obj92.BrickColor = BrickColor.new("Black")
1564+
											local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.HumanoidRootPart.Position, Parent = hit.Parent.HumanoidRootPart})
1565-
obj92.Name = "Clip"
1565+
											local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.HumanoidRootPart, cframe = hit.Parent.HumanoidRootPart.CFrame})
1566-
obj92.Parent = Gun
1566+
											hit.Parent.HumanoidRootPart.Anchored = true
1567
											coroutine.resume(coroutine.create(function(Part)
1568-
-- 93 - Mesh
1568+
		
1569-
obj93 = Instance.new("BlockMesh")
1569+
		swait(1.5)
1570-
obj93.Scale = Vector3.new(0.27619043, 0.19047612, 0.0666666478)
1570+
		Part.Anchored = false
1571-
obj93.Parent = obj92
1571+
	end
1572
), hit.Parent.HumanoidRootPart)
1573-
-- 94 - Clip
1573+
											game:GetService("Debris"):AddItem(BodPos, 3)
1574-
obj94 = Instance.new("Part")
1574+
											game:GetService("Debris"):AddItem(BodGy, 3)
1575-
obj94.CFrame = CFrame.new(Vector3.new(15.8462324, 13.179719, -9.95719814)) * CFrame.Angles(3.141592502594, 9.2685222625732e-006, 3.0630528926849)
1575+
										end
1576-
obj94.FormFactor = 'Custom'
1576+
											local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
1577-
obj94.LeftSurface = 10
1577+
											game:GetService("Debris"):AddItem(debounce, Delay)
1578-
obj94.TopSurface = 10
1578+
											c = Instance.new("ObjectValue")
1579-
obj94.RightSurface = 10
1579+
											c.Name = "creator"
1580-
obj94.Material = 'SmoothPlastic'
1580+
											c.Value = Player
1581-
obj94.Size = Vector3.new(1, 1, 1)
1581+
											c.Parent = h
1582-
obj94.FrontSurface = 10
1582+
											game:GetService("Debris"):AddItem(c, 0.5)
1583-
obj94.BottomSurface = 10
1583+
										end
1584-
obj94.BackSurface = 10
1584+
									end
1585-
obj94.Anchored = true
1585+
1586-
obj94.BrickColor = BrickColor.new("Black")
1586+
	ShowDamage = function(Pos, Text, Time, Color)
1587-
obj94.Name = "Clip"
1587+
	
1588-
obj94.Parent = Gun
1588+
	local Rate = 0.033333333333333
1589
	if not Pos then
1590-
-- 95 - Mesh
1590+
		local Pos = Vector3.new(0, 0, 0)
1591-
obj95 = Instance.new("BlockMesh")
1591+
	end
1592-
obj95.Scale = Vector3.new(0.066666618, 0.19047612, 0.104761899)
1592+
	local Text = Text or ""
1593-
obj95.Parent = obj94
1593+
	local Time = Time or 2
1594
	if not Color then
1595-
-- 96 - Clip
1595+
		local Color = Color3.new(1, 0, 1)
1596-
obj96 = Instance.new("Part")
1596+
	end
1597-
obj96.CFrame = CFrame.new(Vector3.new(15.9154615, 13.4758568, -9.95719814)) * CFrame.Angles(3.141592502594, 9.3281269073486e-006, -3.141592502594)
1597+
	local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1598-
obj96.FormFactor = 'Custom'
1598+
	EffectPart.Anchored = true
1599-
obj96.LeftSurface = 10
1599+
	local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
1600-
obj96.TopSurface = 10
1600+
	local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
1601-
obj96.RightSurface = 10
1601+
	game.Debris:AddItem(EffectPart, Time + 0.1)
1602-
obj96.Material = 'SmoothPlastic'
1602+
	EffectPart.Parent = game:GetService("Workspace")
1603-
obj96.Size = Vector3.new(1, 1, 1)
1603+
	delay(0, function()
1604-
obj96.FrontSurface = 10
1604+
		
1605-
obj96.BottomSurface = 10
1605+
		local Frames = Time / Rate
1606-
obj96.BackSurface = 10
1606+
		for Frame = 1, Frames do
1607-
obj96.Anchored = true
1607+
			wait(Rate)
1608-
obj96.BrickColor = BrickColor.new("Black")
1608+
			local Percent = Frame / Frames
1609-
obj96.Name = "Clip"
1609+
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1610-
obj96.Parent = Gun
1610+
			TextLabel.TextTransparency = Percent
1611
		end
1612-
-- 97 - Mesh
1612+
		if EffectPart and EffectPart.Parent then
1613-
obj97 = Instance.new("BlockMesh")
1613+
			EffectPart:Destroy()
1614-
obj97.Scale = Vector3.new(0.27619043, 0.428571343, 0.0666666478)
1614+
		end
1615-
obj97.Parent = obj96
1615+
	end
1616
)
1617-
-- 98 - Clip
1617+
1618-
obj98 = Instance.new("Part")
1618+
1619-
obj98.CFrame = CFrame.new(Vector3.new(16.077364, 13.4758568, -9.95719624)) * CFrame.Angles(3.141592502594, 9.3281269073486e-006, -3.141592502594)
1619+
	MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
1620-
obj98.FormFactor = 'Custom'
1620+
	
1621-
obj98.LeftSurface = 10
1621+
	for _,c in pairs(workspace:children()) do
1622-
obj98.TopSurface = 10
1622+
		local hum = c:findFirstChild("Humanoid")
1623-
obj98.RightSurface = 10
1623+
		if hum ~= nil then
1624-
obj98.Material = 'SmoothPlastic'
1624+
			local head = c:findFirstChild("HumanoidRootPart")
1625-
obj98.Size = Vector3.new(1, 1, 1)
1625+
			if head ~= nil then
1626-
obj98.FrontSurface = 10
1626+
				local targ = head.Position - Part.Position
1627-
obj98.BottomSurface = 10
1627+
				local mag = targ.magnitude
1628-
obj98.BackSurface = 10
1628+
				if mag <= magni and c.Name ~= Player.Name then
1629-
obj98.Anchored = true
1629+
					Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
1630-
obj98.BrickColor = BrickColor.new("Black")
1630+
				end
1631-
obj98.Name = "Clip"
1631+
			end
1632-
obj98.Parent = Gun
1632+
		end
1633
	end
1634-
-- 99 - Mesh
1634+
1635-
obj99 = Instance.new("BlockMesh")
1635+
	MagniKILL = function(Part, magni, knock, Type)
1636-
obj99.Scale = Vector3.new(0.0666666627, 0.428571343, 0.104761899)
1636+
	
1637-
obj99.Parent = obj98
1637+
	for _,c in pairs(workspace:children()) do
1638
		local hum = c:findFirstChild("Humanoid")
1639-
-- 100 - Clip
1639+
		if hum ~= nil then
1640-
obj100 = Instance.new("Part")
1640+
			local head = c:findFirstChild("Head")
1641-
obj100.CFrame = CFrame.new(Vector3.new(15.9487944, 13.4758539, -9.95719624)) * CFrame.Angles(3.141592502594, 9.3281269073486e-006, -3.141592502594)
1641+
			if head ~= nil then
1642-
obj100.FormFactor = 'Custom'
1642+
				local targ = head.Position - Part.Position
1643-
obj100.LeftSurface = 10
1643+
				local mag = targ.magnitude
1644-
obj100.TopSurface = 10
1644+
				if mag <= magni and c.Name ~= Player.Name then
1645-
obj100.RightSurface = 10
1645+
					hum.Health = 0
1646-
obj100.Material = 'SmoothPlastic'
1646+
				end
1647-
obj100.Size = Vector3.new(1, 1, 1)
1647+
			end
1648-
obj100.FrontSurface = 10
1648+
		end
1649-
obj100.BottomSurface = 10
1649+
	end
1650-
obj100.BackSurface = 10
1650+
1651-
obj100.Anchored = true
1651+
1652-
obj100.BrickColor = BrickColor.new("Black")
1652+
	EffectModel = Instance.new("Model", Character)
1653-
obj100.Name = "Clip"
1653+
	EffectModel.Name = "Effects"
1654-
obj100.Parent = Gun
1654+
	Effects = {
1655
Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1656-
-- 101 - Mesh
1656+
	
1657-
obj101 = Instance.new("BlockMesh")
1657+
	local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1658-
obj101.Scale = Vector3.new(0.114285707, 0.428571343, 0.104761899)
1658+
	prt.Anchored = true
1659-
obj101.Parent = obj100
1659+
	prt.CFrame = cframe
1660
	local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1661-
-- 102 - Clip
1661+
	game:GetService("Debris"):AddItem(prt, 10)
1662-
obj102 = Instance.new("Part")
1662+
	if Type == 1 or Type == nil then
1663-
obj102.CFrame = CFrame.new(Vector3.new(15.8392744, 13.4758511, -9.95719814)) * CFrame.Angles(3.141592502594, 9.3281269073486e-006, -3.141592502594)
1663+
		table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
1664-
obj102.FormFactor = 'Custom'
1664+
	else
1665-
obj102.LeftSurface = 10
1665+
		if Type == 2 then
1666-
obj102.TopSurface = 10
1666+
			table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
1667-
obj102.RightSurface = 10
1667+
		end
1668-
obj102.Material = 'SmoothPlastic'
1668+
	end
1669-
obj102.Size = Vector3.new(1, 1, 1)
1669+
1670-
obj102.FrontSurface = 10
1670+
}
1671-
obj102.BottomSurface = 10
1671+
, 
1672-
obj102.BackSurface = 10
1672+
Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1673-
obj102.Anchored = true
1673+
	
1674-
obj102.BrickColor = BrickColor.new("Black")
1674+
	local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1675-
obj102.Name = "Clip"
1675+
	prt.Anchored = true
1676-
obj102.Parent = Gun
1676+
	prt.CFrame = cframe
1677
	local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1678-
-- 103 - Mesh
1678+
	game:GetService("Debris"):AddItem(prt, 10)
1679-
obj103 = Instance.new("BlockMesh")
1679+
	table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
1680-
obj103.Scale = Vector3.new(0.066666618, 0.428571343, 0.104761899)
1680+
1681-
obj103.Parent = obj102
1681+
}
1682
, 
1683-
-- 104 - Clip
1683+
Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1684-
obj104 = Instance.new("Part")
1684+
	
1685-
obj104.CFrame = CFrame.new(Vector3.new(15.942317, 13.0156317, -9.95719814)) * CFrame.Angles(3.141592502594, 9.2089176177979e-006, 2.9845130443573)
1685+
	local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1686-
obj104.FormFactor = 'Custom'
1686+
	prt.Anchored = true
1687-
obj104.LeftSurface = 10
1687+
	prt.CFrame = cframe
1688-
obj104.TopSurface = 10
1688+
	local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1689-
obj104.RightSurface = 10
1689+
	game:GetService("Debris"):AddItem(prt, 10)
1690-
obj104.Material = 'SmoothPlastic'
1690+
	table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
1691-
obj104.Size = Vector3.new(1, 1, 1)
1691+
1692-
obj104.FrontSurface = 10
1692+
}
1693-
obj104.BottomSurface = 10
1693+
, 
1694-
obj104.BackSurface = 10
1694+
Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1695-
obj104.Anchored = true
1695+
	
1696-
obj104.BrickColor = BrickColor.new("Black")
1696+
	local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1697-
obj104.Name = "Clip"
1697+
	prt.Anchored = true
1698-
obj104.Parent = Gun
1698+
	prt.CFrame = cframe
1699
	local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1700-
-- 105 - Mesh
1700+
	game:GetService("Debris"):AddItem(prt, 10)
1701-
obj105 = Instance.new("BlockMesh")
1701+
	table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
1702-
obj105.Scale = Vector3.new(0.27619043, 0.19047612, 0.0666666478)
1702+
1703-
obj105.Parent = obj104
1703+
}
1704
, 
1705-
-- 106 - Front Sight/Gas Tube
1705+
Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1706-
obj106 = Instance.new("Part")
1706+
	
1707-
obj106.CFrame = CFrame.new(Vector3.new(18.0110912, 13.8086538, -9.96266651)) * CFrame.Angles(-3.141592502594, 0, 1.5707963705063)
1707+
	local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1708-
obj106.FormFactor = 'Custom'
1708+
	prt.Anchored = true
1709-
obj106.LeftSurface = 10
1709+
	prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1710-
obj106.TopSurface = 10
1710+
	local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1711-
obj106.RightSurface = 10
1711+
	game:GetService("Debris"):AddItem(prt, 10)
1712-
obj106.Material = 'SmoothPlastic'
1712+
	table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
1713-
obj106.Size = Vector3.new(1, 1, 1)
1713+
1714-
obj106.FrontSurface = 10
1714+
}
1715-
obj106.BottomSurface = 10
1715+
, 
1716-
obj106.BackSurface = 10
1716+
Break = {Create = function(brickcolor, cframe, x1, y1, z1)
1717-
obj106.Anchored = true
1717+
	
1718-
obj106.BrickColor = BrickColor.new("Black")
1718+
	local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1719-
obj106.Name = "Front Sight/Gas Tube"
1719+
	prt.Anchored = true
1720-
obj106.Parent = Gun
1720+
	prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1721
	local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1722-
-- 107 - Mesh
1722+
	local num = math.random(10, 50) / 1000
1723-
obj107 = Instance.new("CylinderMesh")
1723+
	game:GetService("Debris"):AddItem(prt, 10)
1724-
obj107.Scale = Vector3.new(0.134615377, 0.0384615399, 0.15384616)
1724+
	table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
1725-
obj107.Parent = obj106
1725+
1726
}
1727-
-- 108 - Front Sight/Gas Tube
1727+
}
1728-
obj108 = Instance.new("Part")
1728+
	BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1729-
obj108.CFrame = CFrame.new(Vector3.new(18.2000904, 14.1436548, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1729+
	
1730-
obj108.FormFactor = 'Custom'
1730+
	local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1731-
obj108.LeftSurface = 10
1731+
	prt.Anchored = true
1732-
obj108.TopSurface = 10
1732+
	prt.CFrame = cframe
1733-
obj108.RightSurface = 10
1733+
	local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1734-
obj108.Material = 'SmoothPlastic'
1734+
	game:GetService("Debris"):AddItem(prt, 10)
1735-
obj108.Size = Vector3.new(1, 1, 1)
1735+
	if Type == 1 or Type == nil then
1736-
obj108.FrontSurface = 10
1736+
		table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
1737-
obj108.BottomSurface = 10
1737+
	else
1738-
obj108.BackSurface = 10
1738+
		if Type == 2 then
1739-
obj108.Anchored = true
1739+
			table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
1740-
obj108.BrickColor = BrickColor.new("Black")
1740+
		end
1741-
obj108.Name = "Front Sight/Gas Tube"
1741+
	end
1742-
obj108.Parent = Gun
1742+
1743
1744-
-- 109 - Mesh
1744+
	CreateSound = function(id, par, vol, pit)
1745-
obj109 = Instance.new("SpecialMesh")
1745+
	
1746-
obj109.MeshType = Enum.MeshType.Brick
1746+
	coroutine.resume(coroutine.create(function()
1747-
obj109.Scale = Vector3.new(0.0846154168, 0.0615384318, 0.0769230798)
1747+
		
1748-
obj109.Parent = obj108
1748+
		local sou = Instance.new("Sound", par or workspace)
1749
		sou.Volume = vol
1750-
-- 110 - Front Sight/Gas Tube
1750+
		sou.Pitch = pit or 1
1751-
obj110 = Instance.new("Part")
1751+
		sou.SoundId = id
1752-
obj110.CFrame = CFrame.new(Vector3.new(18.2300873, 13.747653, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1752+
		swait()
1753-
obj110.FormFactor = 'Custom'
1753+
		sou:play()
1754-
obj110.LeftSurface = 10
1754+
		game:GetService("Debris"):AddItem(sou, 6)
1755-
obj110.TopSurface = 10
1755+
	end
1756-
obj110.RightSurface = 10
1756+
))
1757-
obj110.Material = 'SmoothPlastic'
1757+
1758-
obj110.Size = Vector3.new(1, 1, 1)
1758+
1759-
obj110.FrontSurface = 10
1759+
	Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1760-
obj110.BottomSurface = 10
1760+
	
1761-
obj110.BackSurface = 10
1761+
	local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1762-
obj110.Anchored = true
1762+
	prt.Anchored = true
1763-
obj110.BrickColor = BrickColor.new("Black")
1763+
	prt.CFrame = cframe
1764-
obj110.Name = "Front Sight/Gas Tube"
1764+
	prt.Material = "Neon"
1765-
obj110.Parent = Gun
1765+
	local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1766
	game:GetService("Debris"):AddItem(prt, 10)
1767-
-- 111 - Mesh
1767+
	coroutine.resume(coroutine.create(function(Part, Mesh)
1768-
obj111 = Instance.new("SpecialMesh")
1768+
		
1769-
obj111.MeshType = Enum.MeshType.Brick
1769+
		for i = 0, 6, delay do
1770-
obj111.Scale = Vector3.new(0.0384615399, 0.0384615399, 0.0769230798)
1770+
			swait()
1771-
obj111.Parent = obj110
1771+
			Part.Transparency = i
1772
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1773-
-- 112 - Front Sight/Gas Tube
1773+
		end
1774-
obj112 = Instance.new("Part")
1774+
		Part.Parent = nil
1775-
obj112.CFrame = CFrame.new(Vector3.new(18.2340908, 14.0046549, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1775+
	end
1776-
obj112.FormFactor = 'Custom'
1776+
), prt, msh)
1777-
obj112.LeftSurface = 10
1777+
1778-
obj112.TopSurface = 10
1778+
	LigLaser = function(mouse, partt, SpreadAmount)
1779-
obj112.RightSurface = 10
1779+
	
1780-
obj112.Material = 'SmoothPlastic'
1780+
	local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
1781-
obj112.Size = Vector3.new(1, 1, 1)
1781+
	local MainPos = partt.Position
1782-
obj112.FrontSurface = 10
1782+
	local MainPos2 = mouse + SpreadVectors
1783-
obj112.BottomSurface = 10
1783+
	local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
1784-
obj112.BackSurface = 10
1784+
	local speed = 1000
1785-
obj112.Anchored = true
1785+
	local num = 1
1786-
obj112.BrickColor = BrickColor.new("Black")
1786+
	coroutine.resume(coroutine.create(function()
1787-
obj112.Name = "Front Sight/Gas Tube"
1787+
		
1788-
obj112.Parent = Gun
1788+
		repeat
1789
			swait()
1790-
-- 113 - Mesh
1790+
			local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
1791-
obj113 = Instance.new("SpecialMesh")
1791+
			local mag = (MainPos - pos).magnitude
1792-
obj113.MeshType = Enum.MeshType.Brick
1792+
	
1793-
obj113.Scale = Vector3.new(0.0307692327, 0.292307645, 0.0769230798)
1793+
			MainPos = MainPos + MouseLook.lookVector * speed
1794-
obj113.Parent = obj112
1794+
			num = num - 1
1795
			MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
1796-
-- 114 - Front Sight/Gas Tube
1796+
			if hit ~= nil then
1797-
obj114 = Instance.new("Part")
1797+
				num = 0
1798-
obj114.CFrame = CFrame.new(Vector3.new(18.2690887, 13.7246542, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1798+
				local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1799-
obj114.FormFactor = 'Custom'
1799+
				refpart.Anchored = true
1800-
obj114.LeftSurface = 10
1800+
				refpart.CFrame = CFrame.new(pos)
1801-
obj114.TopSurface = 10
1801+
				game:GetService("Debris"):AddItem(refpart, 2)
1802-
obj114.RightSurface = 10
1802+
			end
1803-
obj114.Material = 'SmoothPlastic'
1803+
			
1804-
obj114.Size = Vector3.new(1, 1, 1)
1804+
			do
1805-
obj114.FrontSurface = 10
1805+
				if num <= 0 then
1806-
obj114.BottomSurface = 10
1806+
					local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1807-
obj114.BackSurface = 10
1807+
					refpart.Anchored = true
1808-
obj114.Anchored = true
1808+
					refpart.CFrame = CFrame.new(pos)
1809-
obj114.BrickColor = BrickColor.new("Black")
1809+
					if hit ~= nil then
1810-
obj114.Name = "Front Sight/Gas Tube"
1810+
						for i = 0,5 do
1811-
obj114.Parent = Gun
1811+
							
1812
makeLightning(LightMod, partt.Position, refpart.Position, 0.17, 4, 30, 1, 10)	
1813-
-- 115 - Mesh
1813+
						CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
1814-
obj115 = Instance.new("SpecialMesh")
1814+
						BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
1815-
obj115.MeshType = Enum.MeshType.Brick
1815+
						BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
1816-
obj115.Scale = Vector3.new(0.0384615399, 0.0384615399, 0.0769230798)
1816+
						MagniDamage(refpart, 3, .05, .2, 6, "Normal")							
1817-
obj115.Parent = obj114
1817+
swait()							
1818
						end
1819-
-- 116 - Front Sight/Gas Tube
1819+
						
1820-
obj116 = Instance.new("Part")
1820+
1821-
obj116.CFrame = CFrame.new(Vector3.new(18.2000904, 14.1476545, -9.92766476)) * CFrame.Angles(1.5707963705063, 0, 3.141592502594)
1821+
					end
1822-
obj116.FormFactor = 'Custom'
1822+
					game:GetService("Debris"):AddItem(refpart, 0)
1823-
obj116.LeftSurface = 10
1823+
				end
1824-
obj116.TopSurface = 10
1824+
			end
1825-
obj116.RightSurface = 10
1825+
		until num <= 0
1826-
obj116.Material = 'SmoothPlastic'
1826+
	end
1827-
obj116.Size = Vector3.new(1, 1, 1)
1827+
))
1828-
obj116.FrontSurface = 10
1828+
1829-
obj116.BottomSurface = 10
1829+
	bigLigLaser = function(mouse, partt, SpreadAmount)
1830-
obj116.BackSurface = 10
1830+
	
1831-
obj116.Anchored = true
1831+
	local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
1832-
obj116.BrickColor = BrickColor.new("Black")
1832+
	local MainPos = partt.Position
1833-
obj116.Name = "Front Sight/Gas Tube"
1833+
	local MainPos2 = mouse + SpreadVectors
1834-
obj116.Parent = Gun
1834+
	local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
1835
	local speed = 1000
1836-
-- 117 - Mesh
1836+
	local num = 1
1837-
obj117 = Instance.new("CylinderMesh")
1837+
	coroutine.resume(coroutine.create(function()
1838-
obj117.Scale = Vector3.new(0.100000016, 0.00769230817, 0.115384638)
1838+
		
1839-
obj117.Parent = obj116
1839+
		repeat
1840
			swait()
1841-
-- 118 - Front Sight/Gas Tube
1841+
			local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
1842-
obj118 = Instance.new("Part")
1842+
			local mag = (MainPos - pos).magnitude
1843-
obj118.CFrame = CFrame.new(Vector3.new(18.2300873, 13.8086538, -9.96266651)) * CFrame.Angles(-3.141592502594, 0, 1.5707963705063)
1843+
1844-
obj118.FormFactor = 'Custom'
1844+
			MainPos = MainPos + MouseLook.lookVector * speed
1845-
obj118.LeftSurface = 10
1845+
			num = num - 1
1846-
obj118.TopSurface = 10
1846+
			MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
1847-
obj118.RightSurface = 10
1847+
			if hit ~= nil then
1848-
obj118.Material = 'SmoothPlastic'
1848+
				num = 0
1849-
obj118.Size = Vector3.new(1, 1, 1)
1849+
				local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1850-
obj118.FrontSurface = 10
1850+
				refpart.Anchored = true
1851-
obj118.BottomSurface = 10
1851+
				refpart.CFrame = CFrame.new(pos)
1852-
obj118.BackSurface = 10
1852+
				game:GetService("Debris"):AddItem(refpart, 2)
1853-
obj118.Anchored = true
1853+
			end
1854-
obj118.BrickColor = BrickColor.new("Black")
1854+
			
1855-
obj118.Name = "Front Sight/Gas Tube"
1855+
			do
1856-
obj118.Parent = Gun
1856+
				if num <= 0 then
1857
					local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1858-
-- 119 - Mesh
1858+
					refpart.Anchored = true
1859-
obj119 = Instance.new("CylinderMesh")
1859+
					refpart.CFrame = CFrame.new(pos)
1860-
obj119.Scale = Vector3.new(0.134615377, 0.0538461618, 0.15384616)
1860+
					if hit ~= nil then
1861-
obj119.Parent = obj118
1861+
						for i = 0,1 do
1862
							
1863-
-- 120 - Front Sight/Gas Tube
1863+
makeLightning(LightMod, partt.Position, refpart.Position, 0.3, 4, 20, 1, 10)	
1864-
obj120 = Instance.new("Part")
1864+
						CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
1865-
obj120.CFrame = CFrame.new(Vector3.new(18.2000904, 14.1476545, -9.996665)) * CFrame.Angles(1.5707963705063, 0, 3.141592502594)
1865+
						BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
1866-
obj120.FormFactor = 'Custom'
1866+
						BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
1867-
obj120.LeftSurface = 10
1867+
						MagniDamage(refpart, 3, 5, 10, 8, "Snare")							
1868-
obj120.TopSurface = 10
1868+
swait()							
1869-
obj120.RightSurface = 10
1869+
						end
1870-
obj120.Material = 'SmoothPlastic'
1870+
						
1871-
obj120.Size = Vector3.new(1, 1, 1)
1871+
1872-
obj120.FrontSurface = 10
1872+
					end
1873-
obj120.BottomSurface = 10
1873+
					game:GetService("Debris"):AddItem(refpart, 0)
1874-
obj120.BackSurface = 10
1874+
				end
1875-
obj120.Anchored = true
1875+
			end
1876-
obj120.BrickColor = BrickColor.new("Black")
1876+
		until num <= 0
1877-
obj120.Name = "Front Sight/Gas Tube"
1877+
	end
1878-
obj120.Parent = Gun
1878+
))
1879
end
1880-
-- 121 - Mesh
1880+
1881-
obj121 = Instance.new("CylinderMesh")
1881+
1882-
obj121.Scale = Vector3.new(0.100000016, 0.00769230817, 0.115384638)
1882+
	shoottraildd = function(mouse, partt, SpreadAmount)
1883-
obj121.Parent = obj120
1883+
	
1884
	local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
1885-
-- 122 - Front Sight/Gas Tube
1885+
	local MainPos = partt.Position
1886-
obj122 = Instance.new("Part")
1886+
	local MainPos2 = mouse + SpreadVectors
1887-
obj122.CFrame = CFrame.new(Vector3.new(18.2000904, 14.1856546, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1887+
	local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
1888-
obj122.FormFactor = 'Custom'
1888+
	local speed = 1000
1889-
obj122.LeftSurface = 10
1889+
	local num = 1
1890-
obj122.TopSurface = 10
1890+
	coroutine.resume(coroutine.create(function()
1891-
obj122.RightSurface = 10
1891+
		
1892-
obj122.Material = 'SmoothPlastic'
1892+
		repeat
1893-
obj122.Size = Vector3.new(1, 1, 1)
1893+
			swait()
1894-
obj122.FrontSurface = 10
1894+
			local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
1895-
obj122.BottomSurface = 10
1895+
			local mag = (MainPos - pos).magnitude
1896-
obj122.BackSurface = 10
1896+
			Laser(BrickColor.new("Pastel Blue"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.195, 0, -0.195, 0.15)
1897-
obj122.Anchored = true
1897+
			MainPos = MainPos + MouseLook.lookVector * speed
1898-
obj122.BrickColor = BrickColor.new("Black")
1898+
			num = num - 1
1899-
obj122.Name = "Front Sight/Gas Tube"
1899+
			MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
1900-
obj122.Parent = Gun
1900+
			if hit ~= nil then
1901
				num = 0
1902-
-- 123 - Mesh
1902+
				local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1903-
obj123 = Instance.new("SpecialMesh")
1903+
				refpart.Anchored = true
1904-
obj123.MeshType = Enum.MeshType.Brick
1904+
				refpart.CFrame = CFrame.new(pos)
1905-
obj123.Scale = Vector3.new(0.00769230817, 0.0230769273, 0.00769230817)
1905+
				game:GetService("Debris"):AddItem(refpart, 2)
1906-
obj123.Parent = obj122
1906+
			end
1907
			do
1908-
-- 124 - Front Sight/Gas Tube
1908+
				if num <= 0 then
1909-
obj124 = Instance.new("Part")
1909+
					local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1910-
obj124.CFrame = CFrame.new(Vector3.new(18.1230907, 13.8086538, -9.96266651)) * CFrame.Angles(-3.141592502594, 0, 1.5707963705063)
1910+
					refpart.Anchored = true
1911-
obj124.FormFactor = 'Custom'
1911+
					refpart.CFrame = CFrame.new(pos)
1912-
obj124.LeftSurface = 10
1912+
					if hit ~= nil then
1913-
obj124.TopSurface = 10
1913+
						CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
1914-
obj124.RightSurface = 10
1914+
						BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
1915-
obj124.Material = 'SmoothPlastic'
1915+
						BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
1916-
obj124.Size = Vector3.new(1, 1, 1)
1916+
						MagniDamage(refpart, 3, 10, 15, 0, "Normal")
1917-
obj124.FrontSurface = 10
1917+
					end
1918-
obj124.BottomSurface = 10
1918+
					game:GetService("Debris"):AddItem(refpart, 0)
1919-
obj124.BackSurface = 10
1919+
				end
1920-
obj124.Anchored = true
1920+
			end
1921-
obj124.BrickColor = BrickColor.new("Black")
1921+
		until num <= 0
1922-
obj124.Name = "Front Sight/Gas Tube"
1922+
	end
1923-
obj124.Parent = Gun
1923+
))
1924
end
1925-
-- 125 - Mesh
1925+
1926-
obj125 = Instance.new("CylinderMesh")
1926+
	shoottraildd2 = function(mouse, partt, SpreadAmount)
1927-
obj125.Scale = Vector3.new(0.134615377, 0.0384615399, 0.15384616)
1927+
	
1928-
obj125.Parent = obj124
1928+
	local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
1929
	local MainPos = partt.Position
1930-
-- 126 - Front Sight/Gas Tube
1930+
	local MainPos2 = mouse + SpreadVectors
1931-
obj126 = Instance.new("Part")
1931+
	local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
1932-
obj126.CFrame = CFrame.new(Vector3.new(18.1230907, 13.9016523, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1932+
	local speed = 1000
1933-
obj126.FormFactor = 'Custom'
1933+
	local num = 1
1934-
obj126.LeftSurface = 10
1934+
	coroutine.resume(coroutine.create(function()
1935-
obj126.TopSurface = 10
1935+
		
1936-
obj126.RightSurface = 10
1936+
		repeat
1937-
obj126.Material = 'SmoothPlastic'
1937+
			swait()
1938-
obj126.Size = Vector3.new(1, 1, 1)
1938+
			local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
1939-
obj126.FrontSurface = 10
1939+
			local mag = (MainPos - pos).magnitude
1940-
obj126.BottomSurface = 10
1940+
			Laser(BrickColor.new("Pastel Blue"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, .5)
1941-
obj126.BackSurface = 10
1941+
			MainPos = MainPos + MouseLook.lookVector * speed
1942-
obj126.Anchored = true
1942+
			num = num - 1
1943-
obj126.BrickColor = BrickColor.new("Black")
1943+
			MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
1944-
obj126.Name = "Front Sight/Gas Tube"
1944+
			if hit ~= nil then
1945-
obj126.Parent = Gun
1945+
				num = 0
1946
				local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1947-
-- 127 - Mesh
1947+
				refpart.Anchored = true
1948-
obj127 = Instance.new("SpecialMesh")
1948+
				refpart.CFrame = CFrame.new(pos)
1949-
obj127.MeshType = Enum.MeshType.Brick
1949+
				game:GetService("Debris"):AddItem(refpart, 2)
1950-
obj127.Scale = Vector3.new(0.192307696, 0.0307691991, 0.0769230798)
1950+
			end
1951-
obj127.Parent = obj126
1951+
			do
1952
				if num <= 0 then
1953-
-- 128 - Front Sight/Gas Tube
1953+
					local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1954-
obj128 = Instance.new("Part")
1954+
					refpart.Anchored = true
1955-
obj128.CFrame = CFrame.new(Vector3.new(18.0890884, 14.035655, -9.96266651)) * CFrame.Angles(3.141592502594, 3.4951305849518e-008, -2.5481803417206)
1955+
					refpart.CFrame = CFrame.new(pos)
1956-
obj128.FormFactor = 'Custom'
1956+
					if hit ~= nil then
1957-
obj128.LeftSurface = 10
1957+
						CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
1958-
obj128.TopSurface = 10
1958+
						BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
1959-
obj128.RightSurface = 10
1959+
						BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
1960-
obj128.Material = 'SmoothPlastic'
1960+
						MagniDamage(refpart, 3, 20, 40, 0, "Snare")
1961-
obj128.Size = Vector3.new(1, 1, 1)
1961+
					end
1962-
obj128.FrontSurface = 10
1962+
					game:GetService("Debris"):AddItem(refpart, 0)
1963-
obj128.BottomSurface = 10
1963+
				end
1964-
obj128.BackSurface = 10
1964+
			end
1965-
obj128.Anchored = true
1965+
		until num <= 0
1966-
obj128.BrickColor = BrickColor.new("Black")
1966+
	end
1967-
obj128.Name = "Front Sight/Gas Tube"
1967+
))
1968-
obj128.Parent = Gun
1968+
1969
1970-
-- 129 - Mesh
1970+
1971-
obj129 = Instance.new("SpecialMesh")
1971+
function idleanim2()
1972-
obj129.MeshType = Enum.MeshType.Brick
1972+
for i = 0, 1, 0.1 do
1973-
obj129.Scale = Vector3.new(0.0384615399, 0.299999893, 0.0769230798)
1973+
swait()
1974-
obj129.Parent = obj128
1974+
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(10)), .2)
1975
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0 + 0.7 * math.cos(sine / 25)), math.rad(0), math.rad(-10)), .2)
1976-
-- 130 - Front Sight/Gas Tube
1976+
					RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.0) * angles(math.rad(0), math.rad(0 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
1977-
obj130 = Instance.new("Part")
1977+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(0 - 1 * math.cos(sine / 25))), 0.2)
1978-
obj130.CFrame = CFrame.new(Vector3.new(18.2300873, 13.7126532, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
1978+
					RH.C0 = clerp(RH.C0, cn(1, -.7 - 0.0 * math.cos(sine / 25), -.3) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(-0), math.rad(50 + 1.1 * math.cos(sine / 25))), .2)
1979-
obj130.FormFactor = 'Custom'
1979+
					LH.C0 = clerp(LH.C0, cn(-1, -.6 - 0.0 * math.cos(sine / 25), -.3) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(-0), math.rad(-40 + 1.1 * math.cos(sine / 25))), .2)			
1980-
obj130.LeftSurface = 10
1980+
		GuW.C0 = clerp(GuW.C0, CFrame.new(-1.4,-1.5,0) * angles(math.rad(-0), math.rad(0), math.rad(90)), 0.1)		
1981-
obj130.TopSurface = 10
1981+
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
1982-
obj130.RightSurface = 10
1982+
1983-
obj130.Material = 'SmoothPlastic'
1983+
1984-
obj130.Size = Vector3.new(1, 1, 1)
1984+
1985-
obj130.FrontSurface = 10
1985+
function MinShotAttackAnim1()
1986-
obj130.BottomSurface = 10
1986+
1987-
obj130.BackSurface = 10
1987+
for i = 0, 1, 0.3 do
1988-
obj130.Anchored = true
1988+
	Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.hit.p.x,Torso.Position.y,mouse.hit.p.z))
1989-
obj130.BrickColor = BrickColor.new("Black")
1989+
		swait()
1990-
obj130.Name = "Front Sight/Gas Tube"
1990+
1991-
obj130.Parent = Gun
1991+
		if Torsovelocity > 1 then
1992
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0), math.rad(-50 - 5 * math.cos(sine / 5))), .2)
1993-
-- 131 - Mesh
1993+
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5))), .2)
1994-
obj131 = Instance.new("SpecialMesh")
1994+
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
1995-
obj131.MeshType = Enum.MeshType.Brick
1995+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
1996-
obj131.Scale = Vector3.new(0.0384615399, 0.0307692327, 0.0769230798)
1996+
					RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50) + RootPart.RotVelocity.Y / 70, math.rad(50 * math.cos(sine / 4)+ RootPart.RotVelocity.Y / 10)), .3)
1997-
obj131.Parent = obj130
1997+
					LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4),  .5) * LHCF * angles(math.rad(-2), math.rad(50) + RootPart.RotVelocity.Y / 70, math.rad(50 * math.cos(sine / 4))), .3)				
1998
			GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)		
1999-
-- 132 - Front Sight/Gas Tube
1999+
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2000-
obj132 = Instance.new("Part")
2000+
		elseif Torsovelocity < 1 then
2001-
obj132.CFrame = CFrame.new(Vector3.new(18.2000904, 14.0856543, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
2001+
			
2002-
obj132.FormFactor = 'Custom'
2002+
			
2003-
obj132.LeftSurface = 10
2003+
			
2004-
obj132.TopSurface = 10
2004+
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
2005-
obj132.RightSurface = 10
2005+
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
2006-
obj132.Material = 'SmoothPlastic'
2006+
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
2007-
obj132.Size = Vector3.new(1, 1, 1)
2007+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
2008-
obj132.FrontSurface = 10
2008+
					RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
2009-
obj132.BottomSurface = 10
2009+
					LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)			
2010-
obj132.BackSurface = 10
2010+
		GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)		
2011-
obj132.Anchored = true
2011+
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2012-
obj132.BrickColor = BrickColor.new("Black")
2012+
		end
2013-
obj132.Name = "Front Sight/Gas Tube"
2013+
2014-
obj132.Parent = Gun
2014+
2015
2016-
-- 133 - Mesh
2016+
2017-
obj133 = Instance.new("SpecialMesh")
2017+
2018-
obj133.MeshType = Enum.MeshType.Brick
2018+
2019-
obj133.Scale = Vector3.new(0.0384615399, 0.0384615399, 0.0769230872)
2019+
2020-
obj133.Parent = obj132
2020+
2021
2022-
-- 134 - Front Sight/Gas Tube
2022+
2023-
obj134 = Instance.new("Part")
2023+
2024-
obj134.CFrame = CFrame.new(Vector3.new(18.1230907, 13.8816538, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
2024+
2025-
obj134.FormFactor = 'Custom'
2025+
function ShotAttackAnim1()
2026-
obj134.LeftSurface = 10
2026+
for i = 0, 1, 0.3 do
2027-
obj134.TopSurface = 10
2027+
	
2028-
obj134.RightSurface = 10
2028+
		swait()
2029-
obj134.Material = 'SmoothPlastic'
2029+
2030-
obj134.Size = Vector3.new(1, 1, 1)
2030+
		if Torsovelocity > 1 then
2031-
obj134.FrontSurface = 10
2031+
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2)
2032
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 12), .2)
2033-
obj134.BottomSurface = 10
2033+
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
2034
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
2035-
obj134.BackSurface = 10
2035+
					RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
2036
					LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4),  .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)				
2037-
obj134.Anchored = true
2037+
			GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)		
2038
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2039-
obj134.BrickColor = BrickColor.new("Black")
2039+
		elseif Torsovelocity < 1 then
2040
			
2041-
obj134.Name = "Front Sight/Gas Tube"
2041+
			
2042
			
2043-
obj134.Parent = Gun
2043+
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
2044
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
2045
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
2046
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
2047-
-- 135 - Mesh
2047+
					RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
2048
					LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)			
2049-
obj135 = Instance.new("SpecialMesh")
2049+
		GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)		
2050
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2051-
obj135.MeshType = Enum.MeshType.Brick
2051+
		end
2052
end
2053-
obj135.Scale = Vector3.new(0.0307692327, 0.061538469, 0.061538469)
2053+
2054
2055-
obj135.Parent = obj134
2055+
2056
2057
2058
2059-
-- 136 - Handguard
2059+
2060
2061-
obj136 = Instance.new("Part")
2061+
2062
2063-
obj136.CFrame = CFrame.new(Vector3.new(16.1770878, 13.8626528, -9.96266651)) * CFrame.Angles(3.141592502594, 0, -0)
2063+
2064
function ShotAttackAnim2()
2065-
obj136.FormFactor = 'Custom'
2065+
for i = 0, 2, 0.1 do
2066
		swait()
2067-
obj136.LeftSurface = 10
2067+
2068
		if Torsovelocity > 2 then
2069-
obj136.TopSurface = 10
2069+
				RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45+5 * math.cos(sine / 5))), .2)
2070
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(5), math.rad(45+-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
2071-
obj136.RightSurface = 10
2071+
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 4), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 4))), 0.3)
2072
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 4), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 4)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 4))), 0.2)
2073-
obj136.Material = 'SmoothPlastic'
2073+
					RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
2074
					LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4),  .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)	
2075-
obj136.Size = Vector3.new(1, 1, 1)
2075+
GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)	
2076
DW.C0 = clerp(DW.C0, CFrame.new(4+.1 * math.cos(sine / 5)  , 7.05 - .1 * math.cos(sine / 3),  2.5 + .1 * math.cos(sine / 6)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)		
2077-
obj136.FrontSurface = 10
2077+
		elseif Torsovelocity < 1 then
2078
			
2079-
obj136.BottomSurface = 10
2079+
			
2080
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1)
2081-
obj136.BackSurface = 10
2081+
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
2082
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
2083-
obj136.Anchored = true
2083+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
2084
					RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
2085-
obj136.BrickColor = BrickColor.new("Black")
2085+
					LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
2086
	GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
2087-
obj136.Name = "Handguard"
2087+
	
2088
	DW.C0 = clerp(DW.C0, CFrame.new(2 + .1 * math.cos(sine / 5)  ,7 + -.2 * math.cos(sine / 20),  0 + .1 * math.cos(sine / 5)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
2089-
obj136.Parent = Gun
2089+
		end
2090
end
2091
end
2092
2093-
-- 137 - Mesh
2093+
function ShotAttackAnim3()
2094
for i = 0, 2, 0.1 do
2095-
obj137 = Instance.new("SpecialMesh")
2095+
		swait()
2096
2097-
obj137.MeshType = Enum.MeshType.Brick
2097+
		if Torsovelocity > 2 then
2098
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 1, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2)
2099-
obj137.Scale = Vector3.new(0.0384615399, 0.315384597, 0.15384616)
2099+
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
2100
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(60), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
2101-
obj137.Parent = obj136
2101+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(125 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
2102
					RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
2103
					LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4),  .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)				
2104
			GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)		
2105-
-- 138 - Handguard
2105+
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2106
		elseif Torsovelocity < 1 then
2107-
obj138 = Instance.new("Part")
2107+
			
2108
			
2109-
obj138.CFrame = CFrame.new(Vector3.new(17.9190941, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2109+
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
2110
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
2111-
obj138.FormFactor = 'Custom'
2111+
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(60), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
2112
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(125 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
2113-
obj138.LeftSurface = 10
2113+
					RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.1 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(4 + 2 * math.cos(sine / 25))), .2)
2114
					LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.1 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(-20 + 2 * math.cos(sine / 25))), .2)			
2115-
obj138.TopSurface = 10
2115+
		GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)		
2116
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2117-
obj138.RightSurface = 10
2117+
		end
2118
end
2119-
obj138.Material = 'SmoothPlastic'
2119+
2120
2121-
obj138.Size = Vector3.new(1, 1, 1)
2121+
2122
for i = 0, 1, 0.4 do
2123-
obj138.FrontSurface = 10
2123+
		swait()
2124
2125-
obj138.BottomSurface = 10
2125+
		if Torsovelocity > 2 then
2126
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2)
2127-
obj138.BackSurface = 10
2127+
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
2128
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1)
2129-
obj138.Anchored = true
2129+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.1)
2130
					RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
2131-
obj138.BrickColor = BrickColor.new("Black")
2131+
					LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4),  .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)				
2132
			GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)		
2133-
obj138.Name = "Handguard"
2133+
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2134
		elseif Torsovelocity < 1 then
2135-
obj138.Parent = Gun
2135+
			
2136
			
2137
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
2138
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
2139-
-- 139 - Mesh
2139+
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1)
2140
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.1)
2141-
obj139 = Instance.new("CylinderMesh")
2141+
					RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.1 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), .2)
2142
					LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.1 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), .2)			
2143-
obj139.Scale = Vector3.new(0.215384603, 0.0615384653, 0.346153855)
2143+
		GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)		
2144
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2145-
obj139.Parent = obj138
2145+
		end
2146
end
2147
end
2148
2149-
-- 140 - Handguard
2149+
2150
2151-
obj140 = Instance.new("Part")
2151+
2152
2153-
obj140.CFrame = CFrame.new(Vector3.new(17.5230885, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2153+
2154
2155-
obj140.FormFactor = 'Custom'
2155+
2156
function holding()
2157-
obj140.LeftSurface = 10
2157+
2158
2159-
obj140.TopSurface = 10
2159+
2160
	
2161-
obj140.RightSurface = 10
2161+
while  Rapid == true and attack==true  and sentrymode == false do
2162
2163-
obj140.Material = 'SmoothPlastic'
2163+
attack = true
2164
2165-
obj140.Size = Vector3.new(1, 1, 1)
2165+
2166
MinShotAttackAnim1()
2167-
obj140.FrontSurface = 10
2167+
BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
2168
		CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
2169-
obj140.BottomSurface = 10
2169+
		shoottraildd(mouse.Hit.p, gun1, .55)
2170
		
2171-
obj140.BackSurface = 10
2171+
MinShotAttackAnim1()
2172
BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
2173-
obj140.Anchored = true
2173+
		CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
2174
		shoottraildd(mouse.Hit.p, gun2, .55)		
2175-
obj140.BrickColor = BrickColor.new("Black")
2175+
MinShotAttackAnim1()
2176
BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
2177-
obj140.Name = "Handguard"
2177+
		CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
2178
		shoottraildd(mouse.Hit.p, gun3, .55)
2179-
obj140.Parent = Gun
2179+
MinShotAttackAnim1()	
2180
BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
2181
		CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)		
2182
		shoottraildd(mouse.Hit.p, gun4, .55)		
2183-
-- 141 - Mesh
2183+
end	
2184
2185-
obj141 = Instance.new("CylinderMesh")
2185+
		
2186
	
2187-
obj141.Scale = Vector3.new(0.384615391, 0.0230769515, 0.353846163)
2187+
	attack = false
2188
	end		
2189-
obj141.Parent = obj140
2189+
2190
	mouse.KeyDown:connect(function(k)
2191
if k == "t" then
2192
       CreateSound("171014742", Torso, 10, 1)
2193-
-- 142 - Handguard
2193+
2194
end)
2195-
obj142 = Instance.new("Part")
2195+
2196
	mouse.KeyUp:connect(function(k)
2197-
obj142.CFrame = CFrame.new(Vector3.new(16.7380924, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2197+
	if k == "z" and Rapid == true then
2198
		CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231107923", RootPart, 1, 2)	
2199-
obj142.FormFactor = 'Custom'
2199+
		Rapid = false
2200
	Effects.Ring.Create	(BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1,	.1,.1,0,0.08)
2201-
obj142.LeftSurface = 10
2201+
Effects.Ring.Create	(BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1,	.1,.1,0,0.1)
2202
		
2203-
obj142.TopSurface = 10
2203+
		end
2204
	end)
2205-
obj142.RightSurface = 10
2205+
	
2206
	
2207-
obj142.Material = 'SmoothPlastic'
2207+
	
2208
		mouse.KeyDown:connect(function(k)
2209-
obj142.Size = Vector3.new(1, 1, 1)
2209+
	if k == "z"  and sentrymode == false and attack == false then
2210
		attack = true
2211-
obj142.FrontSurface = 10
2211+
Rapid = true	
2212
		CFuncs.Sound.Create("http://www.roblox.com/asset/?id=162611981", RootPart, 1, 1)	
2213-
obj142.BottomSurface = 10
2213+
	MinShotAttackAnim1()
2214
	MinShotAttackAnim1()
2215-
obj142.BackSurface = 10
2215+
for i = 0,10 do
2216
BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
2217-
obj142.Anchored = true
2217+
BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
2218
BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
2219-
obj142.BrickColor = BrickColor.new("Black")
2219+
BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
2220
Effects.Ring.Create	(BrickColor.new("Pastel Blue"), gun1.CFrame, 2.1, 2.1, .1,	-.3,-.3,0,0.07)
2221-
obj142.Name = "Handguard"
2221+
					MinShotAttackAnim1()	
2222
						end
2223-
obj142.Parent = Gun
2223+
		holding()
2224
		end
2225
		end)
2226
2227-
-- 143 - Mesh
2227+
2228
2229-
obj143 = Instance.new("CylinderMesh")
2229+
2230
	mouse.KeyDown:connect(function(k)
2231-
obj143.Scale = Vector3.new(0.384615391, 0.0230769515, 0.353846163)
2231+
		
2232
2233-
obj143.Parent = obj142
2233+
	if attack == false and k == "x" and sentrymode == false then
2234
2235
2236
2237-
-- 144 - Handguard
2237+
2238
attack = true
2239-
obj144 = Instance.new("Part")
2239+
CFuncs.Sound.Create("http://www.roblox.com/asset/?id=316030607", LaPart, 5, 3)
2240
for i=1,5 do 
2241-
obj144.CFrame = CFrame.new(Vector3.new(16.2300854, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2241+
2242
	BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2243-
obj144.FormFactor = 'Custom'
2243+
BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2244
BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2245-
obj144.LeftSurface = 10
2245+
BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2246
ShotAttackAnim1()
2247-
obj144.TopSurface = 10
2247+
BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2248
BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2249-
obj144.RightSurface = 10
2249+
BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2250
BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2251-
obj144.Material = 'SmoothPlastic'
2251+
ShotAttackAnim1()
2252
BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2253-
obj144.Size = Vector3.new(1, 1, 1)
2253+
BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2254
BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2255-
obj144.FrontSurface = 10
2255+
BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2256
2257-
obj144.BottomSurface = 10
2257+
BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 0, 0, 0, 60, 60, 60, 0.4)	
2258
ShotAttackAnim1()
2259-
obj144.BackSurface = 10
2259+
2260
CFuncs.Sound.Create("http://www.roblox.com/asset/?id=633129949", LaPart, 10, 1)
2261-
obj144.Anchored = true
2261+
for i=1,2 do 
2262
	BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 20, 20, 20, 50, 50, 50, 0.12)
2263-
obj144.BrickColor = BrickColor.new("Black")
2263+
BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 20, 20, 20, 30, 30, 30, 0.09)	
2264
BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 10, 10, 10, 20, 20, 20, 0.06)
2265-
obj144.Name = "Handguard"
2265+
BlockEffect(BrickColor.new("Really black"), gun1.CFrame, 3, 3, 3, 10, 10, 10, 0.045)
2266
end
2267-
obj144.Parent = Gun
2267+
BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2268
2269
						
2270
MagniDamage(gun1, 15, 20, 69, 99, "Normal")											
2271-
-- 145 - Mesh
2271+
ShotAttackAnim3()
2272
2273-
obj145 = Instance.new("CylinderMesh")
2273+
2274
2275-
obj145.Scale = Vector3.new(0.307692319, 0.0230769273, 0.346153855)
2275+
2276
for i=1,2 do 
2277-
obj145.Parent = obj144
2277+
	BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2278
ShotAttackAnim1()
2279
BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2280
ShotAttackAnim1()
2281-
-- 146 - Handguard
2281+
BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
2282
ShotAttackAnim1()
2283-
obj146 = Instance.new("Part")
2283+
2284
2285-
obj146.CFrame = CFrame.new(Vector3.new(17.2610912, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2285+
	attack = false
2286
2287-
obj146.FormFactor = 'Custom'
2287+
	end
2288
	
2289-
obj146.LeftSurface = 10
2289+
	
2290
	
2291-
obj146.TopSurface = 10
2291+
if k == "r"  and attack == false then
2292
	attack=true
2293-
obj146.RightSurface = 10
2293+
while Torsovelocity < 1 do
2294
attack=true
2295-
obj146.Material = 'SmoothPlastic'
2295+
idleanim2()	
2296
	
2297-
obj146.Size = Vector3.new(1, 1, 1)
2297+
	
2298
	
2299-
obj146.FrontSurface = 10
2299+
2300
attack=false		
2301-
obj146.BottomSurface = 10
2301+
	
2302
end	
2303-
obj146.BackSurface = 10
2303+
	
2304
	
2305-
obj146.Anchored = true
2305+
	
2306
	
2307-
obj146.BrickColor = BrickColor.new("Black")
2307+
	
2308
	
2309-
obj146.Name = "Handguard"
2309+
	
2310
	
2311-
obj146.Parent = Gun
2311+
if k == "v"  and sentrymode == false and attack == false and ultwait==false then
2312
ultwait=true	
2313
attack = true
2314
Humanoid.WalkSpeed = 0
2315-
-- 147 - Mesh
2315+
		local Sond = Create("Sound")({Volume = 1.5, Pitch = 1.2, SoundId = "http://www.roblox.com/asset/?id=195322948", Parent = Character or workspace})
2316
		wait()
2317-
obj147 = Instance.new("CylinderMesh")
2317+
		Sond:play()
2318
2319-
obj147.Scale = Vector3.new(0.384615391, 0.0230769515, 0.353846163)
2319+
for i = 0, 1, 0.1 do
2320
		swait()
2321-
obj147.Parent = obj146
2321+
2322
			
2323
			
2324
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
2325-
-- 148 - Handguard
2325+
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
2326
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
2327-
obj148 = Instance.new("Part")
2327+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
2328
					RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
2329-
obj148.CFrame = CFrame.new(Vector3.new(16.1690922, 13.7016535, -9.89266491)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
2329+
					LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)			
2330
		GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)		
2331-
obj148.FormFactor = 'Custom'
2331+
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2332
2333-
obj148.LeftSurface = 10
2333+
end	
2334
2335-
obj148.TopSurface = 10
2335+
2336
for i = 0, 2, 0.1 do
2337-
obj148.RightSurface = 10
2337+
		swait()
2338
2339-
obj148.Material = 'SmoothPlastic'
2339+
Effects.Ring.Create	(BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1,	1,1,0,0.1)
2340
	
2341-
obj148.Size = Vector3.new(1, 1, 1)
2341+
			
2342
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
2343-
obj148.FrontSurface = 10
2343+
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
2344
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
2345-
obj148.BottomSurface = 10
2345+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(90 + 1 * math.cos(sine / 25)), math.rad(-45), math.rad(-45 - 1 * math.cos(sine / 25))), 0.2)
2346
					RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .2)
2347-
obj148.BackSurface = 10
2347+
					LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2)			
2348
		GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)		
2349-
obj148.Anchored = true
2349+
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2350
2351-
obj148.BrickColor = BrickColor.new("Black")
2351+
end	
2352
2353-
obj148.Name = "Handguard"
2353+
2354
for i = 0, 58, 0.1 do
2355-
obj148.Parent = Gun
2355+
		swait()
2356
Effects.Ring.Create	(BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1,	.6,.6,0,0.08)
2357
Effects.Ring.Create	(BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1,	.6,.6,0,0.1)
2358
BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 21, 41, 21, -.5, -.5, -.5, 0.1,2)	
2359-
-- 149 - Mesh
2359+
			
2360
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
2361-
obj149 = Instance.new("SpecialMesh")
2361+
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
2362
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1)
2363-
obj149.MeshType = Enum.MeshType.Sphere
2363+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(120 + 1 * math.cos(sine / 25)), math.rad(-45), math.rad(-45 - 1 * math.cos(sine / 25))), 0.1)
2364
					RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1)
2365-
obj149.Scale = Vector3.new(0.0769230798, 0.0769230798, 0.0769230798)
2365+
					LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2)			
2366
		GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)		
2367-
obj149.Parent = obj148
2367+
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2368
2369
end	
2370
BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 0, 0, 0, 20,20,20, 0.05,1)
2371-
-- 150 - Handguard
2371+
	for i = 0, 55, 0.1 do
2372
		swait()
2373-
obj150 = Instance.new("Part")
2373+
Effects.Ring.Create	(BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1,	1,1,0,0.08)
2374
Effects.Ring.Create	(BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1,	1,1,0,0.1)
2375-
obj150.CFrame = CFrame.new(Vector3.new(16.477087, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2375+
	Effects.Break.Create	(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 6, .1, .1)		
2376
BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 21, 41, 21, .1, .1, .1, 0.05,2)				
2377-
obj150.FormFactor = 'Custom'
2377+
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 5) * angles(math.rad(0), math.rad(0), math.rad(-50)), .01)
2378
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
2379-
obj150.LeftSurface = 10
2379+
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
2380
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(120 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(-45 - 1 * math.cos(sine / 25))), 0.2)
2381-
obj150.TopSurface = 10
2381+
					RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.2 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1)
2382
					LH.C0 = clerp(LH.C0, cn(-.9, -.7 - 0.2 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)			
2383-
obj150.RightSurface = 10
2383+
		GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)		
2384
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2385-
obj150.Material = 'SmoothPlastic'
2385+
2386
	end	
2387-
obj150.Size = Vector3.new(1, 1, 1)
2387+
	BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 0, 0, 0, 30,30,30, 0.05,1)	
2388
	CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260434750", Character, 2, .7)
2389-
obj150.FrontSurface = 10
2389+
	CFuncs.Sound.Create("http://www.roblox.com/asset/?id=209833293", Character, 2, 2)
2390
	for i = 0, 10, 0.1 do
2391-
obj150.BottomSurface = 10
2391+
		swait()
2392
	
2393-
obj150.BackSurface = 10
2393+
Effects.Wave.Create	(BrickColor.new("Pastel Blue"), Torso.CFrame, .1, .1, .1,	.5,10000,.5,0.08)
2394
Effects.Ring.Create	(BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1,	17,17,0,0.08)
2395-
obj150.Anchored = true
2395+
Effects.Ring.Create	(BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1,	17,17,0,0.1)
2396
	Effects.Break.Create	(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 76, .1, .1)	
2397-
obj150.BrickColor = BrickColor.new("Black")
2397+
	BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 40, 40, 40, 70,70,70, 0.05,1)	
2398
	
2399-
obj150.Name = "Handguard"
2399+
	
2400
MagniKILL(Torso, 80,99,99999999, 0, "Normal")
2401-
obj150.Parent = Gun
2401+
	
2402
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
2403
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
2404
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
2405-
-- 151 - Mesh
2405+
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(160 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(-0 - 1 * math.cos(sine / 25))), 0.2)
2406
					RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1)
2407-
obj151 = Instance.new("CylinderMesh")
2407+
					LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2)			
2408
		GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)		
2409-
obj151.Scale = Vector3.new(0.384615391, 0.0230769515, 0.353846163)
2409+
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2410
2411-
obj151.Parent = obj150
2411+
	end	
2412
	CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260435164", Character, 2, .7)
2413
	
2414
	for i = 0, 1, 0.1 do
2415-
-- 152 - Handguard
2415+
		swait()
2416
2417-
obj152 = Instance.new("Part")
2417+
			
2418
			
2419-
obj152.CFrame = CFrame.new(Vector3.new(16.1690922, 13.8276529, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2419+
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
2420
					Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
2421-
obj152.FormFactor = 'Custom'
2421+
					RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
2422
					LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
2423-
obj152.LeftSurface = 10
2423+
					RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
2424
					LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)			
2425-
obj152.TopSurface = 10
2425+
		GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)		
2426
DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30)  ,3 + -.2 * math.cos(sine / 20),  2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
2427-
obj152.RightSurface = 10
2427+
2428
	end	
2429-
obj152.Material = 'SmoothPlastic'
2429+
	Humanoid.WalkSpeed = 16	
2430
Sond:Destroy()
2431-
obj152.Size = Vector3.new(1, 1, 1)
2431+
	
2432
	attack = false
2433-
obj152.FrontSurface = 10
2433+
	wait(30)
2434
ultwait=false
2435-
obj152.BottomSurface = 10
2435+
2436
2437-
obj152.BackSurface = 10
2437+
	if  k == "e" then
2438
		
2439-
obj152.Anchored = true
2439+
if sentrymode== false then
2440
	if attack == false then
2441-
obj152.BrickColor = BrickColor.new("Black")
2441+
		GlowParticle.Enabled = true	
2442
				CFuncs.Sound.Create("http://www.roblox.com/asset/?id=876800936", LaPart, 1.5, 1.5)
2443-
obj152.Name = "Handguard"
2443+
sentrymode= true
2444
end
2445-
obj152.Parent = Gun
2445+
else
2446
	sentrymode=false
2447
	GlowParticle.Enabled = false	
2448
			CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231107923", LaPart, 3, 1.5)
2449-
-- 153 - Mesh
2449+
	end
2450
	end
2451-
obj153 = Instance.new("CylinderMesh")
2451+
	
2452
	end)
2453-
obj153.Scale = Vector3.new(0.230769247, 0.0538461618, 0.192307696)
2453+
mouse.Button1Down:connect(function(key)
2454
	if attack == false  and sentrymode == false then
2455-
obj153.Parent = obj152
2455+
	attack = true
2456
ShotAttackAnim2()	
2457
BlockEffect(BrickColor.new("Pastel Blue"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
2458
BlockEffect(BrickColor.new("Pastel Blue"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
2459-
-- 154 - Handguard
2459+
		CFuncs.Sound.Create("http://www.roblox.com/asset/?id=410543238", LaPart, 0.5, 1.6)
2460
	bigLigLaser(mouse.Hit.p, LaPart, 0)
2461-
obj154 = Instance.new("Part")
2461+
ShotAttackAnim2()
2462
	attack = false
2463-
obj154.CFrame = CFrame.new(Vector3.new(17.7880917, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2463+
2464
end)		
2465-
obj154.FormFactor = 'Custom'
2465+
	
2466
2467-
obj154.LeftSurface = 10
2467+
2468
2469-
obj154.TopSurface = 10
2469+
------------------------------------------------------------------------------------------------
2470
local HiveMind = {}
2471-
obj154.RightSurface = 10
2471+
2472
function HiveMind:new(owner)
2473-
obj154.Material = 'SmoothPlastic'
2473+
        self.__index = self
2474
        local o = {mind = {}, mindState = "FOLLOW", victimObject = nil}
2475-
obj154.Size = Vector3.new(1, 1, 1)
2475+
        o.owner = owner
2476
        setmetatable(o, self)
2477-
obj154.FrontSurface = 10
2477+
        return o
2478
end
2479-
obj154.BottomSurface = 10
2479+
2480
function HiveMind:add(model, humanoid, torso)
2481-
obj154.BackSurface = 10
2481+
        if model and humanoid and torso then
2482
                table.insert(self.mind, {model = model, humanoid = humanoid,
2483-
obj154.Anchored = true
2483+
                                torso = torso})
2484
                local hiv = self
2485-
obj154.BrickColor = BrickColor.new("Black")
2485+
                local lastJump = 0
2486
                torso.Touched:connect(function(object)
2487-
obj154.Name = "Handguard"
2487+
                        local hive = false
2488
                        if hiv.owner.Character
2489-
obj154.Parent = Gun
2489+
                                        and object:IsDescendantOf(hiv.owner.Character) == false
2490
                                        then
2491
                                for i = 1, #hiv.mind do
2492
                                        if object:IsDescendantOf(hiv.mind[i].model) then
2493-
-- 155 - Mesh
2493+
                                                hive = true
2494
                                                break
2495-
obj155 = Instance.new("CylinderMesh")
2495+
                                        end
2496
                                end
2497-
obj155.Scale = Vector3.new(0.384615391, 0.0230769515, 0.353846163)
2497+
                                if not hive then
2498
                                        local hum = object.Parent
2499-
obj155.Parent = obj154
2499+
                                                        and object.Parent:FindFirstChild("Humanoid")
2500
                                        if hum then
2501
                                                hum:TakeDamage(1)
2502
                                        end
2503-
-- 156 - Handguard
2503+
                                elseif time() - lastJump > 2 then
2504
                                        lastJump = time(0) + math.random()*1
2505-
obj156 = Instance.new("Part")
2505+
                                        humanoid.Jump = true
2506
                                end
2507-
obj156.CFrame = CFrame.new(Vector3.new(17.3920918, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2507+
2508
                end)
2509-
obj156.FormFactor = 'Custom'
2509+
2510
end
2511-
obj156.LeftSurface = 10
2511+
2512
function HiveMind:cleanupHive()
2513-
obj156.TopSurface = 10
2513+
        local i = 1
2514
        while i <= #self.mind do
2515-
obj156.RightSurface = 10
2515+
                if self.mind[i].model:IsDescendantOf(game) == false
2516
                                or self.mind[i].humanoid.Health == 0 then
2517-
obj156.Material = 'SmoothPlastic'
2517+
                        table.remove(self.mind, i)
2518
                else
2519-
obj156.Size = Vector3.new(1, 1, 1)
2519+
                        i = i + 1
2520
                end
2521-
obj156.FrontSurface = 10
2521+
2522
end
2523-
obj156.BottomSurface = 10
2523+
2524
function HiveMind:getOrbitNumberFromUnitNumber(i)
2525-
obj156.BackSurface = 10
2525+
        local circleNumber = 0
2526
        while self:getUnitsInOrbit(circleNumber) < i do
2527-
obj156.Anchored = true
2527+
                i = i - self:getUnitsInOrbit(circleNumber)
2528
                circleNumber = circleNumber + 1
2529-
obj156.BrickColor = BrickColor.new("Black")
2529+
2530
        return circleNumber, i
2531-
obj156.Name = "Handguard"
2531+
2532
2533-
obj156.Parent = Gun
2533+
function HiveMind:getOrbitDiameter(orbitNumber)
2534
        return math.pi*(orbitNumber*14)
2535
end
2536
2537-
-- 157 - Mesh
2537+
function HiveMind:getUnitsInOrbit(orbitNumber)
2538
        return math.floor(self:getOrbitDiameter(orbitNumber)/5)
2539-
obj157 = Instance.new("CylinderMesh")
2539+
2540
2541-
obj157.Scale = Vector3.new(0.384615391, 0.0230769515, 0.353846163)
2541+
function HiveMind:lineup(location)
2542
        for i = 1, #self.mind do
2543-
obj157.Parent = obj156
2543+
                local row = (i - 1) % 3
2544
                local column = math.floor((i - 1) / 3)
2545
                local xOffset, yOffset
2546
                if row == 0 then
2547-
-- 158 - Handguard
2547+
                        xOffset = -7
2548
                elseif row == 1 then
2549-
obj158 = Instance.new("Part")
2549+
                        xOffset = 0
2550
                else
2551-
obj158.CFrame = CFrame.new(Vector3.new(17.1300907, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2551+
                        xOffset = 7
2552
                end
2553-
obj158.FormFactor = 'Custom'
2553+
                yOffset = column * 7
2554
                local position = location * CFrame.new(xOffset, 0, yOffset)
2555-
obj158.LeftSurface = 10
2555+
                self.mind[i].humanoid:MoveTo(position.p, workspace.Base)
2556
        end
2557-
obj158.TopSurface = 10
2557+
2558
2559-
obj158.RightSurface = 10
2559+
function HiveMind:ownerTorso()
2560
        return self.owner.Character
2561-
obj158.Material = 'SmoothPlastic'
2561+
                        and self.owner.Character:FindFirstChild("Torso")
2562
end
2563-
obj158.Size = Vector3.new(1, 1, 1)
2563+
function HiveMind:update()
2564
        self:cleanupHive()
2565-
obj158.FrontSurface = 10
2565+
        if self.owner.Character then
2566
                local ownerTorso = self.owner.Character:FindFirstChild("Torso")
2567-
obj158.BottomSurface = 10
2567+
                if ownerTorso then
2568
                        if (self.mindState == "FOLLOW") then
2569-
obj158.BackSurface = 10
2569+
                                local hiveSpawn = ownerTorso.CFrame * CFrame.new(0, 0, 9)
2570
                                self:lineup(hiveSpawn)
2571-
obj158.Anchored = true
2571+
                        elseif (self.mindState == "CIRCLE") then
2572
                                self:circle(ownerTorso.Position)
2573-
obj158.BrickColor = BrickColor.new("Black")
2573+
                        elseif (self.mindState == "ATTACK") then
2574
                                self:crowdAttack()
2575-
obj158.Name = "Handguard"
2575+
                        elseif (self.mindState == "Deffend") then
2576
                                self:deffend()
2577-
obj158.Parent = Gun
2577+
                        elseif (self.mindState == "GOTO") then
2578
                                self:pushToTarget()
2579
                        end
2580
                end
2581-
-- 159 - Mesh
2581+
2582
end
2583-
obj159 = Instance.new("CylinderMesh")
2583+
local me = game:GetService("Players").LocalPlayer
2584
local hiveMind = HiveMind:new(me)
2585-
obj159.Scale = Vector3.new(0.384615391, 0.0230769515, 0.353846163)
2585+
2586
------------------------------------------------------------------------------------------------
2587-
obj159.Parent = obj158
2587+
2588
function findNearestTorso(pos,dist2)
2589
	local list = game.Workspace:children()
2590
	local torso = nil
2591-
-- 160 - Handguard
2591+
if dist2 == nil then 
2592
dist2=50	
2593-
obj160 = Instance.new("Part")
2593+
	
2594
end	
2595-
obj160.CFrame = CFrame.new(Vector3.new(17.0880909, 13.8126535, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 3.141592502594)
2595+
	local dist = dist2
2596
	local temp = nil
2597-
obj160.FormFactor = 'Custom'
2597+
	local human = nil
2598
	local temp2 = nil
2599-
obj160.LeftSurface = 10
2599+
	for x = 1, #list do
2600
		temp2 = list[x]
2601-
obj160.TopSurface = 10
2601+
		if (temp2.className == "Model") and (temp2 ~= Character) then
2602
			temp = temp2:findFirstChild("HumanoidRootPart")
2603-
obj160.RightSurface = 10
2603+
			human = temp2:findFirstChild("Humanoid")
2604
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
2605-
obj160.Material = 'SmoothPlastic'
2605+
				if (temp.Position - pos).magnitude < dist  then
2606
					torso = temp
2607-
obj160.Size = Vector3.new(2, 1, 1)
2607+
					
2608
					dist = (temp.Position - pos).magnitude
2609-
obj160.FrontSurface = 10
2609+
					else 
2610
2611-
obj160.BottomSurface = 10
2611+
				end
2612
2613-
obj160.BackSurface = 10
2613+
				
2614
				
2615-
obj160.Anchored = true
2615+
								
2616
			end
2617-
obj160.BrickColor = BrickColor.new("Black")
2617+
		end
2618
	end
2619-
obj160.Name = "Handguard"
2619+
	return torso
2620
end
2621-
obj160.Parent = Gun
2621+
2622
2623
game:GetService("RunService"):BindToRenderStep("ew", 0, function()
2624
	
2625-
-- 161 - Mesh
2625+
	
2626
	
2627-
obj161 = Instance.new("SpecialMesh")
2627+
	
2628
	
2629-
obj161.MeshType = Enum.MeshType.Brick
2629+
	if sentrymode == true and sonarwait == false then
2630
	sonarwait = true
2631-
obj161.Scale = Vector3.new(0.799999893, 0.353846163, 0.0769230798)
2631+
	
2632
	CFuncs.Sound.Create("http://www.roblox.com/asset/?id=752527668", LaPart, 2, 0.8)
2633-
obj161.Parent = obj160
2633+
	
2634
	wait(1)
2635
sonarwait = false		
2636
	end
2637-
-- 162 - Handguard
2637+
	
2638
2639-
obj162 = Instance.new("Part")
2639+
	
2640
	
2641-
obj162.CFrame = CFrame.new(Vector3.new(16.2770939, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2641+
	wait()
2642
	if sentrymode == true then
2643-
obj162.FormFactor = 'Custom'
2643+
	
2644
	local target = findNearestTorso(Character.HumanoidRootPart.Position,30)
2645-
obj162.LeftSurface = 10
2645+
	if target ~= nil then
2646
ShotAttackAnim2()
2647-
obj162.TopSurface = 10
2647+
if sentrywait == false then		
2648
sentrywait = true
2649-
obj162.RightSurface = 10
2649+
attack= true
2650
2651-
obj162.Material = 'SmoothPlastic'
2651+
2652
BlockEffect(BrickColor.new("Pastel Blue"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
2653-
obj162.Size = Vector3.new(1, 1, 1)
2653+
BlockEffect(BrickColor.new("Pastel Blue"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
2654
		CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433584", LaPart, 1.5, .8)
2655-
obj162.FrontSurface = 10
2655+
	LigLaser(target.Position, LaPart, 0)
2656
wait()
2657-
obj162.BottomSurface = 10
2657+
attack= false
2658
sentrywait = false
2659-
obj162.BackSurface = 10
2659+
2660
2661-
obj162.Anchored = true
2661+
	
2662
	end
2663-
obj162.BrickColor = BrickColor.new("Black")
2663+
2664
end
2665-
obj162.Name = "Handguard"
2665+
2666
2667-
obj162.Parent = Gun
2667+
2668
sonarwait = false
2669
2670
2671-
-- 163 - Mesh
2671+
2672
2673-
obj163 = Instance.new("CylinderMesh")
2673+
2674
2675-
obj163.Scale = Vector3.new(0.246153861, 0.0230769273, 0.346153855)
2675+
2676
2677-
obj163.Parent = obj162
2677+
2678
2679
FaceIdList = {'117930174'}
2680
FaceId = FaceIdList[math.random(1,#FaceIdList)]	 
2681-
-- 164 - Handguard
2681+
2682
2683-
obj164 = Instance.new("Part")
2683+
2684
2685-
obj164.CFrame = CFrame.new(Vector3.new(16.6070881, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2685+
2686
local YourName = game.Players.LocalPlayer.Name
2687-
obj164.FormFactor = 'Custom'
2687+
  Character = Player.Character
2688
2689-
obj164.LeftSurface = 10
2689+
2690
 Heartbeat = Instance.new("BindableEvent")
2691-
obj164.TopSurface = 10
2691+
  Heartbeat.Name = "Heartbeat" 
2692
  Heartbeat.Parent = script
2693-
obj164.RightSurface = 10
2693+
  frame = 0.03333333333333333
2694
  tf = 0
2695-
obj164.Material = 'SmoothPlastic'
2695+
2696
 game:GetService("RunService").Heartbeat:connect(function(s, p)
2697-
obj164.Size = Vector3.new(1, 1, 1)
2697+
    tf = tf + s
2698
    if tf >= frame then
2699-
obj164.FrontSurface = 10
2699+
      for i = 1, math.floor(tf / frame) do
2700
        Heartbeat:Fire()
2701-
obj164.BottomSurface = 10
2701+
      end
2702
      tf = tf - frame * math.floor(tf / frame)
2703-
obj164.BackSurface = 10
2703+
2704
  end)
2705-
obj164.Anchored = true
2705+
  local nscale = Instance.new("NumberValue")
2706
  nscale.Value = 1
2707-
obj164.BrickColor = BrickColor.new("Black")
2707+
  nscale.Parent = nil
2708
  nscale.Changed:connect(function()
2709-
obj164.Name = "Handguard"
2709+
    RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2710
    RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2711-
obj164.Parent = Gun
2711+
    LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2712
    LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2713
    RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2714
    RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2715-
-- 165 - Mesh
2715+
    LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2716
    LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2717-
obj165 = Instance.new("CylinderMesh")
2717+
    RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2718
    RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2719-
obj165.Scale = Vector3.new(0.384615391, 0.0230769515, 0.353846163)
2719+
    NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2720
    NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2721-
obj165.Parent = obj164
2721+
  end)
2722
2723
  function makegloo(paren, co, ci, parto, parti, nam)
2724
    local gloo = Instance.new("Glue")
2725-
-- 166 - Handguard
2725+
    gloo.Name = nam
2726
    gloo.C0 = co
2727-
obj166 = Instance.new("Part")
2727+
    gloo.C1 = ci
2728
    gloo.Part0 = parto
2729-
obj166.CFrame = CFrame.new(Vector3.new(17.6530933, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2729+
    gloo.Part1 = parti
2730
    gloo.Parent = paren
2731-
obj166.FormFactor = 'Custom'
2731+
  end
2732
  function makejoint(paren, co, ci, parto, parti, nam)
2733-
obj166.LeftSurface = 10
2733+
    local gloo = Instance.new("Motor6D")
2734
    gloo.Name = nam
2735-
obj166.TopSurface = 10
2735+
    gloo.C0 = co
2736
    gloo.C1 = ci
2737-
obj166.RightSurface = 10
2737+
    gloo.Part0 = parto
2738
    gloo.Part1 = parti
2739-
obj166.Material = 'SmoothPlastic'
2739+
    gloo.Parent = paren
2740
  end
2741-
obj166.Size = Vector3.new(1, 1, 1)
2741+
  function maketouchy(parent, limb, cframe)
2742
    local pr = Instance.new("Part")
2743-
obj166.FrontSurface = 10
2743+
    pr.Name = "touchy"
2744
    pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
2745-
obj166.BottomSurface = 10
2745+
    pr.Transparency = 1
2746
    pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5)
2747-
obj166.BackSurface = 10
2747+
    pr.CanCollide = true
2748
    pr.Anchored = false
2749-
obj166.Anchored = true
2749+
    pr.Parent = parent
2750
    local w = Instance.new("Weld")
2751-
obj166.BrickColor = BrickColor.new("Black")
2751+
    w.Part0 = pr
2752
    w.Part1 = limb
2753-
obj166.Name = "Handguard"
2753+
    w.C0 = cframe
2754
    w.Parent = pr
2755-
obj166.Parent = Gun
2755+
  end
2756
--[[  function swait(num)
2757
    if num == 0 or num == nil then
2758
      Heartbeat.Event:wait()
2759-
-- 167 - Mesh
2759+
    else
2760
      for i = 1, num do
2761-
obj167 = Instance.new("CylinderMesh")
2761+
        Heartbeat.Event:wait()
2762
      end
2763-
obj167.Scale = Vector3.new(0.384615391, 0.0230769515, 0.353846163)
2763+
2764
  end
2765-
obj167.Parent = obj166
2765+
--]]
2766
  modz = Instance.new("Model")
2767
  modz.Name = "efx"
2768
  modz.Parent = Character
2769-
-- 168 - Handguard
2769+
2770
  RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2771-
obj168 = Instance.new("Part")
2771+
  RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2772
  LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2773-
obj168.CFrame = CFrame.new(Vector3.new(16.3460941, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2773+
  LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2774
  RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2775-
obj168.FormFactor = 'Custom'
2775+
  RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2776
  LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2777-
obj168.LeftSurface = 10
2777+
  RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2778
  LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2779-
obj168.TopSurface = 10
2779+
  NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2780
  NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2781-
obj168.RightSurface = 10
2781+
  RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2782
  local nscale = Instance.new("NumberValue")
2783-
obj168.Material = 'SmoothPlastic'
2783+
  nscale.Value = 1
2784
  nscale.Parent = nil
2785-
obj168.Size = Vector3.new(1, 1, 1)
2785+
  RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2786
  RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2787-
obj168.FrontSurface = 10
2787+
  LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2788
  LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2789-
obj168.BottomSurface = 10
2789+
  RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2790
  RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2791-
obj168.BackSurface = 10
2791+
  LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2792
  LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2793-
obj168.Anchored = true
2793+
  RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2794
  RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2795-
obj168.BrickColor = BrickColor.new("Black")
2795+
  NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2796
  NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2797-
obj168.Name = "Handguard"
2797+
2798
2799-
obj168.Parent = Gun
2799+
2800
2801
2802
2803-
-- 169 - Mesh
2803+
2804
2805-
obj169 = Instance.new("CylinderMesh")
2805+
2806
2807-
obj169.Scale = Vector3.new(0.384615391, 0.0230769515, 0.353846163)
2807+
2808
2809-
obj169.Parent = obj168
2809+
2810
sWaiting=false
2811
wait3=false
2812
shotval = 0
2813-
-- 170 - PointTo
2813+
2814
npcname = ""..Character.Name.."'s Combine"
2815-
obj170 = Instance.new("Part")
2815+
2816
2817-
obj170.CFrame = CFrame.new(Vector3.new(17.0880909, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2817+
Character.ChildAdded:connect(function(object)
2818
        if object.Name == npcname then
2819-
obj170.FormFactor = 'Custom'
2819+
                hiveMind:add(object, object:WaitForChild("Humanoid"),
2820
                                object:WaitForChild("Torso"))
2821-
obj170.LeftSurface = 10
2821+
2822
end)
2823-
obj170.TopSurface = 10
2823+
game:GetService("RunService").Stepped:connect(function()
2824
        hiveMind:update()
2825-
obj170.RightSurface = 10
2825+
2826
2827-
obj170.Material = 'SmoothPlastic'
2827+
 function makenoob(cfrem, scalo, rags)
2828
    nscale.Value = scalo
2829-
obj170.Size = Vector3.new(1, 2, 1)
2829+
    local md = Instance.new("Model")
2830
    md.Name = ""..Character.Name.."'s Combine"
2831-
obj170.FrontSurface = 10
2831+
    md.Parent = Character
2832
CFuncs.Sound.Create("http://www.roblox.com/asset/?id=220230512", md, 1, 1)
2833-
obj170.BottomSurface = 10
2833+
wait(.5)
2834
    local hu = Instance.new("Humanoid")
2835-
obj170.BackSurface = 10
2835+
    hu.RigType = "R6"
2836
    hu.MaxHealth = 150 * scalo
2837-
obj170.Anchored = true
2837+
    hu.Health = 150 * scalo
2838
    hu.Parent = md
2839-
obj170.BrickColor = BrickColor.new("Black")
2839+
hu.DisplayDistanceType="Viewer"
2840
hu.HealthDisplayDistance=100
2841-
obj170.Name = "PointTo"
2841+
hu.NameDisplayDistance=100
2842
hu.NameOcclusion="EnemyOcclusion"
2843-
obj170.Parent = Gun
2843+
    local anm = Instance.new("Animator")
2844
    anm.Parent = hu
2845
local forthisnpcanim = npcanim:Clone()
2846
forthisnpcanim.Parent = md
2847-
-- 171 - Mesh
2847+
    hu.PlatformStand = true
2848
    local light = function(part)
2849-
obj171 = Instance.new("CylinderMesh")
2849+
      part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5)
2850
    end
2851-
obj171.Scale = Vector3.new(0.346153915, 0.799999893, 0.369230747)
2851+
    local hd = Instance.new("Part")
2852
    hd.Name = "Head"
2853-
obj171.Parent = obj170
2853+
    hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
2854
    hd.TopSurface = "Smooth"
2855
    hd.BottomSurface = "Inlet"
2856
    hd.Locked = true
2857-
-- 172 - Handguard
2857+
    hd.BrickColor = BrickColor.new("Pastel brown")
2858
    hd.CanCollide = true
2859-
obj172 = Instance.new("Part")
2859+
    hd.Anchored = false
2860
    light(hd)
2861-
obj172.CFrame = CFrame.new(Vector3.new(16.2070904, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2861+
    hd.Parent = md
2862
    local hm = Instance.new("SpecialMesh")
2863-
obj172.FormFactor = 'Custom'
2863+
    hm.MeshType = "Head"
2864
    hm.Scale = Vector3.new(1.25, 1.25, 1.25)
2865-
obj172.LeftSurface = 10
2865+
    hm.Parent = hd
2866
2867-
obj172.TopSurface = 10
2867+
2868
2869-
obj172.RightSurface = 10
2869+
	shirt = Instance.new("Shirt", md)
2870
	shirt.Name = "Shirt"
2871-
obj172.Material = 'SmoothPlastic'
2871+
	pants = Instance.new("Pants", md)
2872
	pants.Name = "Pants"
2873-
obj172.Size = Vector3.new(1, 1, 1)
2873+
	md.Shirt.ShirtTemplate = "rbxassetid://245656735"
2874
	md.Pants.PantsTemplate = "rbxassetid://245656766"
2875-
obj172.FrontSurface = 10
2875+
function loada(anim)
2876
local loaded = md.Humanoid:LoadAnimation(anim)
2877-
obj172.BottomSurface = 10
2877+
return loaded
2878
end
2879-
obj172.BackSurface = 10
2879+
IdleA = New("Animation",md,"Idle",{AnimationId = "rbxassetid://243282565"})
2880
IdleAnim = loada(IdleA)
2881-
obj172.Anchored = true
2881+
2882
    local hf = Instance.new("Decal")
2883-
obj172.BrickColor = BrickColor.new("Black")
2883+
2884
2885-
obj172.Name = "Handguard"
2885+
2886
2887-
obj172.Parent = Gun
2887+
2888
2889
2890
FaceId = FaceIdList[math.random(1,#FaceIdList)]	
2891-
-- 173 - Mesh
2891+
2892
2893-
obj173 = Instance.new("CylinderMesh")
2893+
2894
2895-
obj173.Scale = Vector3.new(0.27692309, 0.0230769273, 0.269230783)
2895+
2896
    hf.Texture = "rbxassetid://"..FaceId
2897-
obj173.Parent = obj172
2897+
2898
    hf.Face = "Front"
2899
    hf.Parent = hd
2900
    local hrpa = Instance.new("Part")
2901-
-- 174 - Handguard
2901+
    hrpa.Name = "HumanoidRootPart"
2902
    hrpa.TopSurface, hrpa.BottomSurface = 0, 0
2903-
obj174 = Instance.new("Part")
2903+
    hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
2904
    hrpa.Transparency = 1
2905-
obj174.CFrame = CFrame.new(Vector3.new(16.253088, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2905+
    hrpa.CanCollide = false
2906
    hrpa.Locked = true
2907-
obj174.FormFactor = 'Custom'
2907+
    light(hrpa)
2908
    hrpa.Parent = md
2909-
obj174.LeftSurface = 10
2909+
    local tagbomb = Instance.new("BoolValue")
2910
    tagbomb.Name = "tagbomb"
2911-
obj174.TopSurface = 10
2911+
    tagbomb.Value = false
2912
    tagbomb.Parent = hrpa
2913-
obj174.RightSurface = 10
2913+
    local learm = Instance.new("Part")
2914
    learm.Name = "Left Arm"
2915-
obj174.Material = 'SmoothPlastic'
2915+
    learm.BrickColor = BrickColor.new("Pastel brown")
2916
    learm.CanCollide = false
2917-
obj174.Size = Vector3.new(1, 1, 1)
2917+
    learm.Locked = true
2918
    learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
2919-
obj174.FrontSurface = 10
2919+
    light(learm)
2920
    learm.Parent = md
2921-
obj174.BottomSurface = 10
2921+
    local riarm = Instance.new("Part")
2922
    riarm.Name = "Right Arm"
2923-
obj174.BackSurface = 10
2923+
    riarm.BrickColor = BrickColor.new("Pastel brown")
2924
    riarm.CanCollide = false
2925-
obj174.Anchored = true
2925+
    riarm.Locked = true
2926
    light(riarm)
2927-
obj174.BrickColor = BrickColor.new("Black")
2927+
    riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
2928
    riarm.Parent = md
2929-
obj174.Name = "Handguard"
2929+
    local leleg = Instance.new("Part")
2930
    leleg.Name = "Left Leg"
2931-
obj174.Parent = Gun
2931+
    leleg.BrickColor = BrickColor.new("Navy blue")
2932
    leleg.CanCollide = false
2933
    leleg.Locked = true
2934
    light(leleg)
2935-
-- 175 - Mesh
2935+
    leleg.BottomSurface = 0
2936
    leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
2937-
obj175 = Instance.new("CylinderMesh")
2937+
    leleg.Parent = md
2938
    local rileg = Instance.new("Part")
2939-
obj175.Scale = Vector3.new(0.27692309, 0.0230769273, 0.346153855)
2939+
    rileg.Name = "Right Leg"
2940
    rileg.BrickColor = BrickColor.new("Navy blue")
2941-
obj175.Parent = obj174
2941+
    rileg.CanCollide = false
2942
    rileg.Locked = true
2943
    light(rileg)
2944
    rileg.BottomSurface = 0
2945-
-- 176 - Handguard
2945+
    rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
2946
    rileg.Parent = md
2947-
obj176 = Instance.new("Part")
2947+
    local tor = Instance.new("Part")
2948
    tor.Name = "Torso"
2949-
obj176.CFrame = CFrame.new(Vector3.new(17.0000935, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2949+
    tor.BrickColor = BrickColor.new("Pastel Blue")
2950
    tor.Locked = true
2951-
obj176.FormFactor = 'Custom'
2951+
    light(tor)
2952
    tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
2953-
obj176.LeftSurface = 10
2953+
    tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
2954
    tor.Parent = md
2955-
obj176.TopSurface = 10
2955+
    md.PrimaryPart = hrpa
2956
    md:SetPrimaryPartCFrame(cfrem)
2957-
obj176.RightSurface = 10
2957+
    md:makeJoints()
2958
    makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint")
2959-
obj176.Material = 'SmoothPlastic'
2959+
    makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
2960
2961-
obj176.Size = Vector3.new(1, 1, 1)
2961+
    if rags == true then
2962
      makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
2963-
obj176.FrontSurface = 10
2963+
      makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
2964
      makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
2965-
obj176.BottomSurface = 10
2965+
      makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
2966
      maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0))
2967-
obj176.BackSurface = 10
2967+
      maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0))
2968
      maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0))
2969-
obj176.Anchored = true
2969+
      maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0))
2970
    elseif rags == false then
2971-
obj176.BrickColor = BrickColor.new("Black")
2971+
      makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
2972
      makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
2973-
obj176.Name = "Handguard"
2973+
      makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
2974
      makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
2975-
obj176.Parent = Gun
2975+
      hu.PlatformStand = false
2976
2977
    end
2978
2979-
-- 177 - Mesh
2979+
2980
local Solhat = Instance.new("Accessory")
2981-
obj177 = Instance.new("CylinderMesh")
2981+
Solhat.AttachmentPos = Vector3.new(0, .3, 0)
2982
    local SHH = Instance.new("Part",Solhat)
2983-
obj177.Scale = Vector3.new(0.384615391, 0.0230769515, 0.353846163)
2983+
SHH.Name = "Handle"
2984
SHH.CanCollide=false
2985-
obj177.Parent = obj176
2985+
		local SHHMesh = Instance.new("SpecialMesh",SHH)
2986
			SHHMesh.Parent = SHH
2987
			SHHMesh.MeshId = "rbxassetid://31152467"
2988
			SHHMesh.TextureId = "rbxassetid://32002857"
2989-
-- 178 - Handguard
2989+
			SHHMesh.Scale = Vector3.new(1, 1, 1)
2990
			SHHMesh.VertexColor = Vector3.new(1, 1, 1)
2991-
obj178 = Instance.new("Part")
2991+
		
2992
2993-
obj178.CFrame = CFrame.new(Vector3.new(16.8690853, 13.8086538, -9.96266651)) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
2993+
2994
    nscale.Value = 1
2995-
obj178.FormFactor = 'Custom'
2995+
2996
wait()
2997-
obj178.LeftSurface = 10
2997+
Solhat.Parent = md
2998
Thegun = Instance.new("Part",riarm)
2999-
obj178.TopSurface = 10
2999+
Thegun.CanCollide=false
3000
Thegun.Size = Vector3.new(1,1,1)
3001-
obj178.RightSurface = 10
3001+
ThegunW = Instance.new("Weld")
3002
ThegunW.Name = "GuW"
3003-
obj178.Material = 'SmoothPlastic'
3003+
ThegunW.Part0 = riarm 
3004
ThegunW.C0 = cn(-.5, -2.4, -.4)*angles(0,0,3.2)
3005-
obj178.Size = Vector3.new(1, 1, 1)
3005+
ThegunW.C1 = cn(0, 0, 0) 
3006
ThegunW.Part1 = Thegun
3007-
obj178.FrontSurface = 10
3007+
ThegunW.Parent = riarm 
3008
		local ThegunMesh = Instance.new("SpecialMesh",Thegun)
3009-
obj178.BottomSurface = 10
3009+
			ThegunMesh.Parent = Thegun
3010
			ThegunMesh.MeshId = "rbxassetid://477158943"
3011-
obj178.BackSurface = 10
3011+
			ThegunMesh.TextureId = "rbxassetid://477158949"
3012
			ThegunMesh.Scale = Vector3.new(0.04, 0.035, 0.04)
3013-
obj178.Anchored = true
3013+
			ThegunMesh.VertexColor = Vector3.new(0.2, 0, 0)
3014
Thegun2 = Instance.new("Part",md)
3015-
obj178.BrickColor = BrickColor.new("Black")
3015+
Thegun2.CanCollide=false
3016
Thegun2.Size = Vector3.new(.1,.1,.1)
3017-
obj178.Name = "Handguard"
3017+
Thegun2.Name = "Shoot"
3018
ThegunW2 = Instance.new("Weld")
3019-
obj178.Parent = Gun
3019+
ThegunW2.Name = "GuW"
3020
ThegunW2.Part0 = riarm
3021
ThegunW2.C0 = cn(-0.4,-4.6,-.45)*angles(0,0,0)
3022
ThegunW2.C1 = cn(0, 0, 0) 
3023-
-- 179 - Mesh
3023+
ThegunW2.Part1 = Thegun2
3024
ThegunW2.Parent = riarm 			
3025-
obj179 = Instance.new("CylinderMesh")
3025+
BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
3026
BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
3027-
obj179.Scale = Vector3.new(0.384615391, 0.0230769515, 0.353846163)
3027+
3028
						BlockEffect(BrickColor.new("Pastel Blue"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
3029-
obj179.Parent = obj178
3029+
						BlockEffect(BrickColor.new("Pastel Blue"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)	
3030
wait(0.5)
3031
CFuncs.Sound.Create("http://www.roblox.com/asset/?id=183921414", tor, 1, 1)
3032
IdleAnim:Play()
3033-
-- 180 - Handguard
3033+
wait(2.5)
3034
CFuncs.Sound.Create("http://www.roblox.com/asset/?id=183953820", tor, 2, 1)
3035-
obj180 = Instance.new("Part")
3035+
game:GetService("RunService"):BindToRenderStep("ew", 0, function()
3036
	if md ~= nil and hu.Health > 0 and sentrymode == false then	
3037-
obj180.CFrame = CFrame.new(Vector3.new(17.0880909, 13.8086538, -9.96266651)) * CFrame.Angles(3.141592502594, 0, 3.141592502594)
3037+
	if md ~= nil and hu.Health > 0 and sentrymode == false then
3038
		
3039-
obj180.FormFactor = 'Custom'
3039+
if killcom==true or sentrymode == true and sWaiting==false then
3040
	
3041-
obj180.LeftSurface = 10
3041+
	CFuncs.Sound.Create("http://www.roblox.com/asset/?id=282061033", Torso, .5, 1)
3042
3043-
obj180.TopSurface = 10
3043+
3044
	
3045-
obj180.RightSurface = 10
3045+
BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
3046
BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
3047-
obj180.Material = 'SmoothPlastic'
3047+
3048
						BlockEffect(BrickColor.new("Pastel Blue"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
3049-
obj180.Size = Vector3.new(2, 1, 1)
3049+
						BlockEffect(BrickColor.new("Pastel Blue"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)	
3050
3051-
obj180.FrontSurface = 10
3051+
3052
3053-
obj180.BottomSurface = 10
3053+
hu.Health = 0
3054
game:service'Debris':AddItem(md, .0);	
3055-
obj180.BackSurface = 10
3055+
end		
3056
		
3057-
obj180.Anchored = true
3057+
		
3058
		
3059-
obj180.BrickColor = BrickColor.new("Black")
3059+
		
3060
		
3061-
obj180.Name = "Handguard"
3061+
	hu.WalkSpeed = 16.5	
3062
	local target2 = findNearestTorso(hrpa.Position,60)
3063-
obj180.Parent = Gun
3063+
	if target2 ~= nil then
3064
		hu:MoveTo(target2.Position, target2)
3065
		
3066
	end
3067-
-- 181 - Mesh
3067+
3068
	local target3 = findNearestTorso(hrpa.Position,45)
3069-
obj181 = Instance.new("SpecialMesh")
3069+
	
3070
	if  target3 ~= nil then
3071-
obj181.MeshType = Enum.MeshType.Brick
3071+
	hu.WalkSpeed = 0
3072
tor.CFrame = CFrame.new(tor.Position, target3.Position) * CFrame.Angles(0,math.rad(0),0) * CFrame.new(0,0,(dir2.s))		
3073-
obj181.Scale = Vector3.new(0.800000072, 0.353846163, 0.0769230798)
3073+
	end	
3074
	
3075-
obj181.Parent = obj180
3075+
	if target3 ~= nil and wait3==false and sentrymode == false  then
3076
		wait3=true
3077
		
3078
		CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", LaPart, 3, .7)
3079-
-- 182 - Part
3079+
	shoottraildd2(target3.Position, Thegun2, 1)		
3080
            local PointLight = Instance.new("PointLight", Thegun2);
3081-
obj182 = Instance.new("Part")
3081+
            PointLight.Color = Color3.new(1,0,0)
3082
            PointLight.Brightness = 50;
3083-
obj182.CFrame = CFrame.new(Vector3.new(15.7000923, 13.5936537, -9.96266651)) * CFrame.Angles(-3.141592502594, 1.5707963705063, 0)
3083+
            PointLight.Range = 10
3084
            game:service'Debris':AddItem(PointLight, .02);
3085-
obj182.FormFactor = 'Custom'
3085+
	wait(2.2)
3086
wait3=false
3087-
obj182.LeftSurface = 10
3087+
3088
3089-
obj182.TopSurface = 10
3089+
3090
--Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0,math.rad(0),0) * CFrame.new(0,0,(dir.s))	
3091-
obj182.RightSurface = 10
3091+
3092
3093-
obj182.Material = 'SmoothPlastic'
3093+
	end	
3094
3095-
obj182.Size = Vector3.new(1, 1, 1)
3095+
3096
3097-
obj182.FrontSurface = 10
3097+
for i,v in pairs(Character:GetChildren()) do	
3098
	        if ""..Character.Name.."'s Combine" then 
3099-
obj182.BottomSurface = 10
3099+
3100
		
3101-
obj182.BackSurface = 10
3101+
		
3102
if hu.Health == 0 and  md ~= nil and killcom==false and sWaiting==false then
3103-
obj182.Anchored = true
3103+
CFuncs.Sound.Create("http://www.roblox.com/asset/?id=160622487", Torso, .6, 1)
3104
3105-
obj182.BrickColor = BrickColor.new("Black")
3105+
3106
game:service'Debris':AddItem(md, 3);
3107-
obj182.Parent = Gun
3107+
3108
	end
3109
end
3110
    return md
3111-
-- 183 - Mesh
3111+
3112
  end
3113-
obj183 = Instance.new("SpecialMesh")
3113+
3114
end)
3115-
obj183.MeshType = Enum.MeshType.Wedge
3115+
3116
3117-
obj183.Scale = Vector3.new(0.15384616, 0.0384615399, 0.0384615399)
3117+
3118
end
3119-
obj183.Parent = obj182
3119+
3120
3121
3122
3123-
-- 184 - Grip
3123+
3124
3125-
obj184 = Instance.new("Part")
3125+
3126
3127-
obj184.CFrame = CFrame.new(Vector3.new(15.2210979, 13.0296526, -9.96266651)) * CFrame.Angles(1.5707961320877, -0.5146958231926, -3.141592502594)
3127+
3128
3129-
obj184.FormFactor = 'Custom'
3129+
3130
3131-
obj184.LeftSurface = 10
3131+
3132
3133-
obj184.TopSurface = 10
3133+
3134
  function makecircle(cfrem, scalo)
3135-
obj184.RightSurface = 10
3135+
    local mcir1 = Instance.new("Part")
3136
    mcir1.Anchored = true
3137-
obj184.Material = 'SmoothPlastic'
3137+
    mcir1.CanCollide = false
3138
    mcir1.Size = Vector3.new(0.2, 0.2, 0.2)
3139-
obj184.Size = Vector3.new(1, 1, 1)
3139+
    mcir1.Transparency = 1
3140
    mcir1.CFrame = cfrem
3141-
obj184.FrontSurface = 10
3141+
    mcir1.Parent = modz
3142
    game.Debris:AddItem(mcir1, 8)
3143-
obj184.BottomSurface = 10
3143+
    local d1 = Instance.new("Decal")
3144
    d1.Texture = "rbxassetid://0"
3145-
obj184.BackSurface = 10
3145+
    d1.Face = "Front"
3146
    d1.Parent = mcir1
3147-
obj184.Anchored = true
3147+
    local d2 = Instance.new("Decal")
3148
    d2.Texture = "rbxassetid://0"
3149-
obj184.BrickColor = BrickColor.new("Black")
3149+
    d2.Face = "Back"
3150
    d2.Parent = mcir1
3151-
obj184.Name = "Grip"
3151+
    local bme = Instance.new("BlockMesh")
3152
    bme.Parent = mcir1
3153-
obj184.Parent = Gun
3153+
    for _ = 1, 9 do
3154
      swait()
3155
      bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3)
3156
    end
3157-
-- 185 - Mesh
3157+
    coroutine.resume(coroutine.create(function()
3158
      swait(15)
3159-
obj185 = Instance.new("CylinderMesh")
3159+
      for _ = 1, 12 do
3160
        swait()
3161-
obj185.Scale = Vector3.new(0.0384615399, 0.138461545, 0.0384615399)
3161+
        d1.Transparency = d1.Transparency + 0.08
3162
        d2.Transparency = d2.Transparency + 0.08
3163-
obj185.Parent = obj184
3163+
      end
3164
      mcir1:Destroy()
3165
    end))
3166
    return mcir1
3167-
-- 186 - A1
3167+
  end
3168
  function spawnnoob(circlecf, noobcf, scalez, ragd)
3169-
obj186 = Instance.new("Part")
3169+
    local aearae = makecircle(circlecf, scalez)
3170
    local nananb
3171-
obj186.CFrame = CFrame.new(Vector3.new(15.9290953, 13.8306532, -9.94667149)) * CFrame.Angles(1.5099580252809e-007, -2.2799733224977e-014, 1.570796251297)
3171+
3172
      nananb = makenoob(aearae.CFrame * noobcf, scalez, false)
3173-
obj186.FormFactor = 'Custom'
3173+
    
3174
    return nananb
3175-
obj186.LeftSurface = 10
3175+
  end
3176
 mouse.KeyDown:connect(function(k)
3177-
obj186.TopSurface = 10
3177+
if  k == "c" and attack == false and sentrymode == false then
3178
	if killcom==false then
3179-
obj186.RightSurface = 10
3179+
killcom=true
3180
else
3181-
obj186.Material = 'SmoothPlastic'
3181+
killcom=false
3182
      spawnnoob(RootPart.CFrame * cn((math.random(-5,5)), 10, (math.random(-0,5))) * angles(mr(90), 0, 0), cn(0, 0, 0) * angles(mr(-90), 0, 0), 1, false)
3183-
obj186.Size = Vector3.new(1, 1, 1)
3183+
	
3184
	end
3185-
obj186.FrontSurface = 10
3185+
	
3186
3187-
obj186.BottomSurface = 10
3187+
3188
end)
3189-
obj186.BackSurface = 10
3189+
3190
--[[
3191-
obj186.Anchored = true
3191+
BlockEffect(BrickColor.new("Royal purple"), Firepart1.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
3192
BlockEffect(BrickColor.new("Eggplant"), Firepart1.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.06)
3193-
obj186.BrickColor = BrickColor.new("Dark stone grey")
3193+
BlockEffect(BrickColor.new("Royal purple"), Firepart2.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
3194
BlockEffect(BrickColor.new("Eggplant"), Firepart2.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.06)
3195-
obj186.Name = "A1"
3195+
--]]