View difference between Paste ID: VdpNAwDG and XhVqW5G4
SHOW: | | - or go back to the newest paste.
1
cors = {}
2
mas = Instance.new("Model",game:GetService("Lighting")) 
3
mas.Name = "CompiledModel"
4
o1 = Instance.new("Model")
5
o2 = Instance.new("Part")
6
o3 = Instance.new("CylinderMesh")
7
o4 = Instance.new("Part")
8
o5 = Instance.new("CylinderMesh")
9
o6 = Instance.new("Part")
10
o7 = Instance.new("CylinderMesh")
11
o8 = Instance.new("Part")
12
o9 = Instance.new("CylinderMesh")
13
o10 = Instance.new("Part")
14
o11 = Instance.new("CylinderMesh")
15
o12 = Instance.new("Part")
16
o13 = Instance.new("CylinderMesh")
17
o14 = Instance.new("Part")
18
o15 = Instance.new("CylinderMesh")
19
o16 = Instance.new("Part")
20
o17 = Instance.new("SpecialMesh")
21
o18 = Instance.new("Part")
22
o19 = Instance.new("CylinderMesh")
23
o20 = Instance.new("Part")
24
o21 = Instance.new("CylinderMesh")
25
o22 = Instance.new("Part")
26
o23 = Instance.new("BlockMesh")
27
o24 = Instance.new("Part")
28
o25 = Instance.new("Part")
29
o26 = Instance.new("BlockMesh")
30
o27 = Instance.new("Part")
31
o28 = Instance.new("BlockMesh")
32
o29 = Instance.new("Part")
33
o30 = Instance.new("BlockMesh")
34
o31 = Instance.new("Part")
35
o32 = Instance.new("SpecialMesh")
36
o33 = Instance.new("Part")
37
o34 = Instance.new("SpecialMesh")
38
o35 = Instance.new("Part")
39
o36 = Instance.new("Part")
40
o37 = Instance.new("BlockMesh")
41
o38 = Instance.new("Part")
42
o39 = Instance.new("CylinderMesh")
43
o40 = Instance.new("Part")
44
o41 = Instance.new("Part")
45
o42 = Instance.new("SpecialMesh")
46
o43 = Instance.new("Part")
47
o44 = Instance.new("Part")
48
o45 = Instance.new("BlockMesh")
49
o46 = Instance.new("Part")
50
o47 = Instance.new("CylinderMesh")
51
o48 = Instance.new("Part")
52
o49 = Instance.new("BlockMesh")
53
o50 = Instance.new("Part")
54
o51 = Instance.new("BlockMesh")
55
o52 = Instance.new("Part")
56
o53 = Instance.new("Part")
57
o54 = Instance.new("CylinderMesh")
58
o55 = Instance.new("Part")
59
o56 = Instance.new("Part")
60
o57 = Instance.new("SpecialMesh")
61
o58 = Instance.new("Part")
62
o59 = Instance.new("BlockMesh")
63
o60 = Instance.new("Part")
64
o61 = Instance.new("SpecialMesh")
65
o62 = Instance.new("Part")
66
o63 = Instance.new("SpecialMesh")
67
o64 = Instance.new("Part")
68
o65 = Instance.new("BlockMesh")
69
o66 = Instance.new("Part")
70
o67 = Instance.new("CylinderMesh")
71
o68 = Instance.new("Part")
72
o69 = Instance.new("CylinderMesh")
73
o70 = Instance.new("Part")
74
o71 = Instance.new("BlockMesh")
75
o72 = Instance.new("Part")
76
o73 = Instance.new("BlockMesh")
77
o74 = Instance.new("Part")
78
o75 = Instance.new("BlockMesh")
79
o76 = Instance.new("Part")
80
o77 = Instance.new("Part")
81
o78 = Instance.new("BlockMesh")
82
o79 = Instance.new("Part")
83
o80 = Instance.new("SpecialMesh")
84
o81 = Instance.new("Part")
85
o82 = Instance.new("SpecialMesh")
86
o83 = Instance.new("Part")
87
o84 = Instance.new("SpecialMesh")
88
o85 = Instance.new("Part")
89
o86 = Instance.new("SpecialMesh")
90
o87 = Instance.new("Part")
91
o88 = Instance.new("CylinderMesh")
92
o89 = Instance.new("Part")
93
o90 = Instance.new("BlockMesh")
94
o1.Name = "Revolver"
95
o1.Parent = mas
96
o2.Name = "A6"
97
o2.Parent = o1
98
o2.Material = Enum.Material.Neon
99
o2.BrickColor = BrickColor.new("Toothpaste")
100
o2.Position = Vector3.new(51.2299995, 4, 5.23000002)
101
o2.Rotation = Vector3.new(-0, 0, 90)
102
o2.Anchored = true
103
o2.CanCollide = false
104
o2.Shape = Enum.PartType.Cylinder
105
o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
106
o2.CFrame = CFrame.new(51.2299995, 4, 5.23000002, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
107
o2.BottomSurface = Enum.SurfaceType.Smooth
108
o2.TopSurface = Enum.SurfaceType.Smooth
109
o2.Color = Color3.new(0, 1, 1)
110
o2.Position = Vector3.new(51.2299995, 4, 5.23000002)
111
o3.Parent = o2
112
o3.Scale = Vector3.new(1, 1.54999995, 0.400000006)
113
o4.Name = "A3"
114
o4.Parent = o1
115
o4.Material = Enum.Material.Neon
116
o4.BrickColor = BrickColor.new("Toothpaste")
117
o4.Position = Vector3.new(51.2299995, 3.9000001, 5.41499996)
118
o4.Rotation = Vector3.new(-0, 0, 90)
119
o4.Anchored = true
120
o4.CanCollide = false
121
o4.Shape = Enum.PartType.Cylinder
122
o4.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
123
o4.CFrame = CFrame.new(51.2299995, 3.9000001, 5.41499996, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
124
o4.BottomSurface = Enum.SurfaceType.Smooth
125
o4.TopSurface = Enum.SurfaceType.Smooth
126
o4.Color = Color3.new(0, 1, 1)
127
o4.Position = Vector3.new(51.2299995, 3.9000001, 5.41499996)
128
o5.Parent = o4
129
o5.Scale = Vector3.new(1, 1.54999995, 0.400000006)
130
o6.Name = "A2"
131
o6.Parent = o1
132
o6.Material = Enum.Material.Neon
133
o6.BrickColor = BrickColor.new("Toothpaste")
134
o6.Position = Vector3.new(51.2299995, 4, 5.41499996)
135
o6.Rotation = Vector3.new(-0, 0, 90)
136
o6.Anchored = true
137
o6.CanCollide = false
138
o6.Shape = Enum.PartType.Cylinder
139
o6.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
140
o6.CFrame = CFrame.new(51.2299995, 4, 5.41499996, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
141
o6.BottomSurface = Enum.SurfaceType.Smooth
142
o6.TopSurface = Enum.SurfaceType.Smooth
143
o6.Color = Color3.new(0, 1, 1)
144
o6.Position = Vector3.new(51.2299995, 4, 5.41499996)
145
o7.Parent = o6
146
o7.Scale = Vector3.new(1, 1.54999995, 0.400000006)
147
o8.Name = "A5"
148
o8.Parent = o1
149
o8.Material = Enum.Material.Neon
150
o8.BrickColor = BrickColor.new("Toothpaste")
151
o8.Position = Vector3.new(51.2299995, 3.9000001, 5.23000002)
152
o8.Rotation = Vector3.new(-0, 0, 90)
153
o8.Anchored = true
154
o8.CanCollide = false
155
o8.Shape = Enum.PartType.Cylinder
156
o8.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
157
o8.CFrame = CFrame.new(51.2299995, 3.9000001, 5.23000002, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
158
o8.BottomSurface = Enum.SurfaceType.Smooth
159
o8.TopSurface = Enum.SurfaceType.Smooth
160
o8.Color = Color3.new(0, 1, 1)
161
o8.Position = Vector3.new(51.2299995, 3.9000001, 5.23000002)
162
o9.Parent = o8
163
o9.Scale = Vector3.new(1, 1.54999995, 0.400000006)
164
o10.Name = "A4"
165
o10.Parent = o1
166
o10.Material = Enum.Material.Neon
167
o10.BrickColor = BrickColor.new("Toothpaste")
168
o10.Position = Vector3.new(51.2319984, 3.8599999, 5.32000017)
169
o10.Rotation = Vector3.new(-0, 0, 90)
170
o10.Anchored = true
171
o10.CanCollide = false
172
o10.Shape = Enum.PartType.Cylinder
173
o10.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
174
o10.CFrame = CFrame.new(51.2319984, 3.8599999, 5.32000017, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
175
o10.BottomSurface = Enum.SurfaceType.Smooth
176
o10.TopSurface = Enum.SurfaceType.Smooth
177
o10.Color = Color3.new(0, 1, 1)
178
o10.Position = Vector3.new(51.2319984, 3.8599999, 5.32000017)
179
o11.Parent = o10
180
o11.Scale = Vector3.new(1, 1.54999995, 0.400000006)
181
o12.Name = "Barrel"
182
o12.Parent = o1
183
o12.Material = Enum.Material.SmoothPlastic
184
o12.BrickColor = BrickColor.new("Mid gray")
185
o12.Position = Vector3.new(51.981369, 4.00200367, 5.31954384)
186
o12.Rotation = Vector3.new(-0, 0, 90)
187
o12.Anchored = true
188
o12.CanCollide = false
189
o12.Shape = Enum.PartType.Cylinder
190
o12.Size = Vector3.new(0.200000003, 1, 0.200000003)
191
o12.CFrame = CFrame.new(51.981369, 4.00200367, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
192
o12.BottomSurface = Enum.SurfaceType.Smooth
193
o12.TopSurface = Enum.SurfaceType.Smooth
194
o12.Color = Color3.new(0.803922, 0.803922, 0.803922)
195
o12.Position = Vector3.new(51.981369, 4.00200367, 5.31954384)
196
o13.Parent = o12
197
o13.Scale = Vector3.new(0.899999976, 1, 0.899999976)
198
o14.Name = "BarrelEnd"
199
o14.Parent = o1
200
o14.Material = Enum.Material.SmoothPlastic
201
o14.BrickColor = BrickColor.new("Really black")
202
o14.Position = Vector3.new(52.3849983, 4, 5.31954384)
203
o14.Rotation = Vector3.new(-0, 0, 90)
204
o14.Anchored = true
205
o14.CanCollide = false
206
o14.Shape = Enum.PartType.Cylinder
207
o14.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
208
o14.CFrame = CFrame.new(52.3849983, 4, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
209
o14.BottomSurface = Enum.SurfaceType.Smooth
210
o14.TopSurface = Enum.SurfaceType.Smooth
211
o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
212
o14.Position = Vector3.new(52.3849983, 4, 5.31954384)
213
o15.Parent = o14
214
o15.Scale = Vector3.new(0.699999988, 1, 0.699999988)
215
o16.Name = "T2"
216
o16.Parent = o1
217
o16.Material = Enum.Material.SmoothPlastic
218
o16.BrickColor = BrickColor.new("Dark stone grey")
219
o16.Position = Vector3.new(50.9799995, 3.38000011, 5.31954384)
220
o16.Rotation = Vector3.new(-95.8101654, 58.8695641, -85.0219879)
221
o16.Anchored = true
222
o16.CanCollide = false
223
o16.Size = Vector3.new(0.200000003, 0.223999992, 0.200000003)
224
o16.CFrame = CFrame.new(50.9799995, 3.38000011, 5.31954384, 0.0448608175, 0.515038073, 0.855992556, 0.0269551426, -0.857167304, 0.514332235, 0.99862957, 3.7252903e-008, -0.0523361489)
225
o16.BottomSurface = Enum.SurfaceType.Smooth
226
o16.TopSurface = Enum.SurfaceType.Smooth
227
o16.Color = Color3.new(0.388235, 0.372549, 0.384314)
228
o16.Position = Vector3.new(50.9799995, 3.38000011, 5.31954384)
229
o17.Parent = o16
230
o17.Scale = Vector3.new(0.5, 0.5, 0.519999981)
231
o17.MeshType = Enum.MeshType.Wedge
232
o18.Name = "Chamber"
233
o18.Parent = o1
234
o18.Material = Enum.Material.SmoothPlastic
235
o18.Position = Vector3.new(51.2313728, 3.95000005, 5.31954384)
236
o18.Rotation = Vector3.new(-0, 0, 90)
237
o18.Anchored = true
238
o18.CanCollide = false
239
o18.Shape = Enum.PartType.Cylinder
240
o18.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
241
o18.CFrame = CFrame.new(51.2313728, 3.95000005, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
242
o18.BottomSurface = Enum.SurfaceType.Smooth
243
o18.TopSurface = Enum.SurfaceType.Smooth
244
o18.Position = Vector3.new(51.2313728, 3.95000005, 5.31954384)
245
o19.Parent = o18
246
o19.Scale = Vector3.new(1.5, 1.5, 1.5)
247
o20.Name = "H1"
248
o20.Parent = o1
249
o20.Material = Enum.Material.SmoothPlastic
250
o20.BrickColor = BrickColor.new("Dark stone grey")
251
o20.Position = Vector3.new(50.8233681, 3.94829392, 5.31954384)
252
o20.Rotation = Vector3.new(90, 90, 0)
253
o20.Anchored = true
254
o20.CanCollide = false
255
o20.Shape = Enum.PartType.Cylinder
256
o20.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
257
o20.CFrame = CFrame.new(50.8233681, 3.94829392, 5.31954384, -4.37113883e-008, 0, 1, 1, -4.37113883e-008, 4.37113883e-008, 4.37113883e-008, 1, 1.91068547e-015)
258
o20.BottomSurface = Enum.SurfaceType.Smooth
259
o20.TopSurface = Enum.SurfaceType.Smooth
260
o20.Color = Color3.new(0.388235, 0.372549, 0.384314)
261
o20.Position = Vector3.new(50.8233681, 3.94829392, 5.31954384)
262
o21.Parent = o20
263
o22.Name = "H2"
264
o22.Parent = o1
265
o22.Material = Enum.Material.SmoothPlastic
266
o22.BrickColor = BrickColor.new("Dark stone grey")
267
o22.Position = Vector3.new(50.7559967, 4.01956081, 5.31500006)
268
o22.Rotation = Vector3.new(-0, 0, 44)
269
o22.Anchored = true
270
o22.CanCollide = false
271
o22.Size = Vector3.new(0.200000003, 0.239000008, 0.200000003)
272
o22.CFrame = CFrame.new(50.7559967, 4.01956081, 5.31500006, 0.719339788, -0.694658399, 0, 0.694658399, 0.719339788, 0, 0, 0, 1)
273
o22.BottomSurface = Enum.SurfaceType.Smooth
274
o22.TopSurface = Enum.SurfaceType.Smooth
275
o22.Color = Color3.new(0.388235, 0.372549, 0.384314)
276
o22.Position = Vector3.new(50.7559967, 4.01956081, 5.31500006)
277
o23.Parent = o22
278
o23.Scale = Vector3.new(0.5, 0.899999976, 0.5)
279
o24.Name = "Handle"
280
o24.Parent = o1
281
o24.Material = Enum.Material.SmoothPlastic
282
o24.BrickColor = BrickColor.new("Dark stone grey")
283
o24.Position = Vector3.new(50.4970093, 3.37834263, 5.32154369)
284
o24.Rotation = Vector3.new(-0, 0, 45)
285
o24.Anchored = true
286
o24.CanCollide = false
287
o24.Size = Vector3.new(0.730000019, 0.300000072, 0.300000012)
288
o24.CFrame = CFrame.new(50.4970093, 3.37834263, 5.32154369, 0.707106769, -0.707106769, 0, 0.707106769, 0.707106769, 0, 0, 0, 1)
289
o24.BottomSurface = Enum.SurfaceType.Smooth
290
o24.TopSurface = Enum.SurfaceType.Smooth
291
o24.Color = Color3.new(0.388235, 0.372549, 0.384314)
292
o24.Position = Vector3.new(50.4970093, 3.37834263, 5.32154369)
293
o25.Parent = o1
294
o25.Material = Enum.Material.SmoothPlastic
295
o25.BrickColor = BrickColor.new("Mid gray")
296
o25.Position = Vector3.new(51.2200012, 3.46000004, 5.31954384)
297
o25.Rotation = Vector3.new(-0, 0, 150.000015)
298
o25.Anchored = true
299
o25.CanCollide = false
300
o25.Size = Vector3.new(0.200000003, 0.321999997, 0.200000003)
301
o25.CFrame = CFrame.new(51.2200012, 3.46000004, 5.31954384, -0.866025507, -0.499999821, 0, 0.499999821, -0.866025507, 0, 0, 0, 1)
302
o25.BottomSurface = Enum.SurfaceType.Smooth
303
o25.TopSurface = Enum.SurfaceType.Smooth
304
o25.Color = Color3.new(0.803922, 0.803922, 0.803922)
305
o25.Position = Vector3.new(51.2200012, 3.46000004, 5.31954384)
306
o26.Parent = o25
307
o26.Scale = Vector3.new(0.5, 1.5, 0.699999988)
308
o27.Parent = o1
309
o27.Material = Enum.Material.SmoothPlastic
310
o27.BrickColor = BrickColor.new("Mid gray")
311
o27.Position = Vector3.new(51.0099983, 3.2750001, 5.31954384)
312
o27.Rotation = Vector3.new(-0, 0, 90)
313
o27.Anchored = true
314
o27.CanCollide = false
315
o27.Size = Vector3.new(0.200000003, 0.223999992, 0.200000003)
316
o27.CFrame = CFrame.new(51.0099983, 3.2750001, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
317
o27.BottomSurface = Enum.SurfaceType.Smooth
318
o27.TopSurface = Enum.SurfaceType.Smooth
319
o27.Color = Color3.new(0.803922, 0.803922, 0.803922)
320
o27.Position = Vector3.new(51.0099983, 3.2750001, 5.31954384)
321
o28.Parent = o27
322
o28.Scale = Vector3.new(0.5, 1.20000005, 0.699999988)
323
o29.Parent = o1
324
o29.Material = Enum.Material.SmoothPlastic
325
o29.BrickColor = BrickColor.new("Mid gray")
326
o29.Position = Vector3.new(50.8295479, 3.33778, 5.31954384)
327
o29.Rotation = Vector3.new(-0, 0, 48.0000038)
328
o29.Anchored = true
329
o29.CanCollide = false
330
o29.Size = Vector3.new(0.200000003, 0.223999992, 0.200000003)
331
o29.CFrame = CFrame.new(50.8295479, 3.33778, 5.31954384, 0.669130564, -0.74314487, 0, 0.74314487, 0.669130564, 0, 0, 0, 1)
332
o29.BottomSurface = Enum.SurfaceType.Smooth
333
o29.TopSurface = Enum.SurfaceType.Smooth
334
o29.Color = Color3.new(0.803922, 0.803922, 0.803922)
335
o29.Position = Vector3.new(50.8295479, 3.33778, 5.31954384)
336
o30.Parent = o29
337
o30.Scale = Vector3.new(0.5, 1, 0.699999988)
338
o31.Parent = o1
339
o31.Material = Enum.Material.SmoothPlastic
340
o31.BrickColor = BrickColor.new("Mid gray")
341
o31.Position = Vector3.new(49.8057709, 3.23564911, 5.30704403)
342
o31.Rotation = Vector3.new(-0, -90, 0)
343
o31.Anchored = true
344
o31.CanCollide = false
345
o31.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
346
o31.CFrame = CFrame.new(49.8057709, 3.23564911, 5.30704403, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
347
o31.BottomSurface = Enum.SurfaceType.Smooth
348
o31.TopSurface = Enum.SurfaceType.Smooth
349
o31.Color = Color3.new(0.803922, 0.803922, 0.803922)
350
o31.Position = Vector3.new(49.8057709, 3.23564911, 5.30704403)
351
o32.Parent = o31
352
o32.Scale = Vector3.new(0.600000024, 0.349999994, 0.349999994)
353
o32.MeshType = Enum.MeshType.Wedge
354
o33.Parent = o1
355
o33.Material = Enum.Material.SmoothPlastic
356
o33.BrickColor = BrickColor.new("Mid gray")
357
o33.Position = Vector3.new(49.8667717, 3.22244596, 5.30704403)
358
o33.Rotation = Vector3.new(90, -45, 90)
359
o33.Anchored = true
360
o33.CanCollide = false
361
o33.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
362
o33.CFrame = CFrame.new(49.8667717, 3.22244596, 5.30704403, -3.09086197e-008, -0.707106829, -0.707106769, -1.28027686e-008, 0.707106769, -0.707106829, 1, -1.28027686e-008, -3.09086197e-008)
363
o33.BottomSurface = Enum.SurfaceType.Smooth
364
o33.TopSurface = Enum.SurfaceType.Smooth
365
o33.Color = Color3.new(0.803922, 0.803922, 0.803922)
366
o33.Position = Vector3.new(49.8667717, 3.22244596, 5.30704403)
367
o34.Parent = o33
368
o34.Scale = Vector3.new(0.600000024, 0.349999994, 0.349999994)
369
o34.MeshType = Enum.MeshType.Wedge
370
o35.Parent = o1
371
o35.Material = Enum.Material.SmoothPlastic
372
o35.BrickColor = BrickColor.new("Mid gray")
373
o35.Position = Vector3.new(50.4745674, 3.36495113, 5.38520098)
374
o35.Rotation = Vector3.new(91.2115326, -45.6857071, 0.228031278)
375
o35.Anchored = true
376
o35.CanCollide = false
377
o35.Size = Vector3.new(0.230000064, 0.200000003, 0.709999979)
378
o35.CFrame = CFrame.new(50.4745674, 3.36495113, 5.38520098, 0.698588252, -0.00278032362, -0.715518475, -0.715436995, -0.0182964802, -0.698437631, -0.0111495871, 0.999828696, -0.0147708533)
379
o35.BottomSurface = Enum.SurfaceType.Smooth
380
o35.TopSurface = Enum.SurfaceType.Smooth
381
o35.Color = Color3.new(0.803922, 0.803922, 0.803922)
382
o35.Position = Vector3.new(50.4745674, 3.36495113, 5.38520098)
383
o36.Parent = o1
384
o36.Material = Enum.Material.Neon
385
o36.BrickColor = BrickColor.new("Toothpaste")
386
o36.Position = Vector3.new(50.7599983, 3.6400001, 5.20449972)
387
o36.Rotation = Vector3.new(-0, 0, -44)
388
o36.Anchored = true
389
o36.CanCollide = false
390
o36.Size = Vector3.new(0.203000054, 0.200000003, 0.200000003)
391
o36.CFrame = CFrame.new(50.7599983, 3.6400001, 5.20449972, 0.719339788, 0.694658399, 0, -0.694658399, 0.719339788, 0, 0, 0, 1)
392
o36.BottomSurface = Enum.SurfaceType.Smooth
393
o36.TopSurface = Enum.SurfaceType.Smooth
394
o36.Color = Color3.new(0, 1, 1)
395
o36.Position = Vector3.new(50.7599983, 3.6400001, 5.20449972)
396
o37.Parent = o36
397
o37.Scale = Vector3.new(0.800000012, 0.300000012, 0.5)
398
o38.Parent = o1
399
o38.Material = Enum.Material.SmoothPlastic
400
o38.BrickColor = BrickColor.new("Smoky grey")
401
o38.Position = Vector3.new(51.2353706, 3.95000005, 5.31954384)
402
o38.Rotation = Vector3.new(-0, 0, 90)
403
o38.Anchored = true
404
o38.CanCollide = false
405
o38.Shape = Enum.PartType.Cylinder
406
o38.Size = Vector3.new(0.200000003, 0.5, 0.200000003)
407
o38.CFrame = CFrame.new(51.2353706, 3.95000005, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
408
o38.BottomSurface = Enum.SurfaceType.Smooth
409
o38.TopSurface = Enum.SurfaceType.Smooth
410
o38.Color = Color3.new(0.356863, 0.364706, 0.411765)
411
o38.Position = Vector3.new(51.2353706, 3.95000005, 5.31954384)
412
o39.Parent = o38
413
o39.Scale = Vector3.new(1, 0.800000012, 0.600000024)
414
o40.Parent = o1
415
o40.Material = Enum.Material.SmoothPlastic
416
o40.BrickColor = BrickColor.new("Mid gray")
417
o40.Position = Vector3.new(51.0823708, 3.66909075, 5.31954384)
418
o40.Anchored = true
419
o40.CanCollide = false
420
o40.Size = Vector3.new(0.868000031, 0.200000003, 0.264999986)
421
o40.CFrame = CFrame.new(51.0823708, 3.66909075, 5.31954384, 1, 0, 0, 0, 1, 0, 0, 0, 1)
422
o40.BottomSurface = Enum.SurfaceType.Smooth
423
o40.TopSurface = Enum.SurfaceType.Smooth
424
o40.Color = Color3.new(0.803922, 0.803922, 0.803922)
425
o40.Position = Vector3.new(51.0823708, 3.66909075, 5.31954384)
426
o41.Parent = o1
427
o41.Material = Enum.Material.SmoothPlastic
428
o41.BrickColor = BrickColor.new("Mid gray")
429
o41.Position = Vector3.new(49.8017693, 3.35193205, 5.30704403)
430
o41.Rotation = Vector3.new(-90, 0, -90)
431
o41.Anchored = true
432
o41.CanCollide = false
433
o41.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
434
o41.CFrame = CFrame.new(49.8017693, 3.35193205, 5.30704403, -4.37113883e-008, 1, 0, 4.37113883e-008, 1.91068547e-015, 1, 1, 4.37113883e-008, -4.37113883e-008)
435
o41.BottomSurface = Enum.SurfaceType.Smooth
436
o41.TopSurface = Enum.SurfaceType.Smooth
437
o41.Color = Color3.new(0.803922, 0.803922, 0.803922)
438
o41.Position = Vector3.new(49.8017693, 3.35193205, 5.30704403)
439
o42.Parent = o41
440
o42.Scale = Vector3.new(0.600000024, 0.349999994, 0.349999994)
441
o42.MeshType = Enum.MeshType.Wedge
442
o43.Parent = o1
443
o43.Material = Enum.Material.SmoothPlastic
444
o43.BrickColor = BrickColor.new("Dark stone grey")
445
o43.Position = Vector3.new(50.2837715, 3.10236478, 5.31154442)
446
o43.Rotation = Vector3.new(-0, 0, -20.9999962)
447
o43.Anchored = true
448
o43.CanCollide = false
449
o43.Size = Vector3.new(0.410000026, 0.200000003, 0.400000006)
450
o43.CFrame = CFrame.new(50.2837715, 3.10236478, 5.31154442, 0.933580458, 0.35836789, 0, -0.35836789, 0.933580458, 0, 0, 0, 1)
451
o43.BottomSurface = Enum.SurfaceType.Smooth
452
o43.TopSurface = Enum.SurfaceType.Smooth
453
o43.Color = Color3.new(0.388235, 0.372549, 0.384314)
454
o43.Position = Vector3.new(50.2837715, 3.10236478, 5.31154442)
455
o44.Parent = o1
456
o44.Material = Enum.Material.SmoothPlastic
457
o44.BrickColor = BrickColor.new("Black")
458
o44.Position = Vector3.new(50.8300018, 3.80446577, 5.31500006)
459
o44.Rotation = Vector3.new(-0, 0, -35.0000076)
460
o44.Anchored = true
461
o44.CanCollide = false
462
o44.Size = Vector3.new(0.206999987, 0.435000002, 0.264999986)
463
o44.CFrame = CFrame.new(50.8300018, 3.80446577, 5.31500006, 0.819151998, 0.57357651, 0, -0.57357651, 0.819151998, 0, 0, 0, 1)
464
o44.BottomSurface = Enum.SurfaceType.Smooth
465
o44.TopSurface = Enum.SurfaceType.Smooth
466
o44.Color = Color3.new(0.105882, 0.164706, 0.207843)
467
o44.Position = Vector3.new(50.8300018, 3.80446577, 5.31500006)
468
o45.Parent = o44
469
o45.Scale = Vector3.new(1, 1, 0.800000012)
470
o46.Parent = o1
471
o46.Material = Enum.Material.SmoothPlastic
472
o46.BrickColor = BrickColor.new("Mid gray")
473
o46.Position = Vector3.new(49.8587685, 3.29909968, 5.30704403)
474
o46.Rotation = Vector3.new(90, 0, -0)
475
o46.Anchored = true
476
o46.CanCollide = false
477
o46.Shape = Enum.PartType.Cylinder
478
o46.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
479
o46.CFrame = CFrame.new(49.8587685, 3.29909968, 5.30704403, 1, 0, 0, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008)
480
o46.BottomSurface = Enum.SurfaceType.Smooth
481
o46.TopSurface = Enum.SurfaceType.Smooth
482
o46.Color = Color3.new(0.803922, 0.803922, 0.803922)
483
o46.Position = Vector3.new(49.8587685, 3.29909968, 5.30704403)
484
o47.Parent = o46
485
o47.Scale = Vector3.new(0.899999976, 0.550000012, 0.899999976)
486
o48.Parent = o1
487
o48.Material = Enum.Material.SmoothPlastic
488
o48.BrickColor = BrickColor.new("Black")
489
o48.Position = Vector3.new(50.9568748, 3.94950008, 5.31954384)
490
o48.Anchored = true
491
o48.CanCollide = false
492
o48.Size = Vector3.new(0.226999998, 0.358999997, 0.264999986)
493
o48.CFrame = CFrame.new(50.9568748, 3.94950008, 5.31954384, 1, 0, 0, 0, 1, 0, 0, 0, 1)
494
o48.BottomSurface = Enum.SurfaceType.Smooth
495
o48.TopSurface = Enum.SurfaceType.Smooth
496
o48.Color = Color3.new(0.105882, 0.164706, 0.207843)
497
o48.Position = Vector3.new(50.9568748, 3.94950008, 5.31954384)
498
o49.Parent = o48
499
o49.Scale = Vector3.new(0.699999988, 1, 0.800000012)
500
o50.Parent = o1
501
o50.Material = Enum.Material.SmoothPlastic
502
o50.BrickColor = BrickColor.new("Mid gray")
503
o50.Position = Vector3.new(50.0637703, 3.18861699, 5.30704403)
504
o50.Rotation = Vector3.new(-0, 0, -28.9999962)
505
o50.Anchored = true
506
o50.CanCollide = false
507
o50.Size = Vector3.new(0.410000026, 0.200000003, 0.204999998)
508
o50.CFrame = CFrame.new(50.0637703, 3.18861699, 5.30704403, 0.874619722, 0.484809577, 0, -0.484809577, 0.874619722, 0, 0, 0, 1)
509
o50.BottomSurface = Enum.SurfaceType.Smooth
510
o50.TopSurface = Enum.SurfaceType.Smooth
511
o50.Color = Color3.new(0.803922, 0.803922, 0.803922)
512
o50.Position = Vector3.new(50.0637703, 3.18861699, 5.30704403)
513
o51.Parent = o50
514
o51.Scale = Vector3.new(1, 0.5, 0.5)
515
o52.Parent = o1
516
o52.Material = Enum.Material.SmoothPlastic
517
o52.BrickColor = BrickColor.new("Mid gray")
518
o52.Position = Vector3.new(50.4745674, 3.3599999, 5.24100018)
519
o52.Rotation = Vector3.new(91.2115326, -45.6857071, 0.228031278)
520
o52.Anchored = true
521
o52.CanCollide = false
522
o52.Size = Vector3.new(0.230000064, 0.200000003, 0.709999979)
523
o52.CFrame = CFrame.new(50.4745674, 3.3599999, 5.24100018, 0.698588252, -0.00278032362, -0.715518475, -0.715436995, -0.0182964802, -0.698437631, -0.0111495871, 0.999828696, -0.0147708533)
524
o52.BottomSurface = Enum.SurfaceType.Smooth
525
o52.TopSurface = Enum.SurfaceType.Smooth
526
o52.Color = Color3.new(0.803922, 0.803922, 0.803922)
527
o52.Position = Vector3.new(50.4745674, 3.3599999, 5.24100018)
528
o53.Parent = o1
529
o53.Material = Enum.Material.SmoothPlastic
530
o53.Position = Vector3.new(51.2313728, 3.87404203, 5.31954384)
531
o53.Rotation = Vector3.new(-0, 0, 90)
532
o53.Anchored = true
533
o53.CanCollide = false
534
o53.Shape = Enum.PartType.Cylinder
535
o53.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
536
o53.CFrame = CFrame.new(51.2313728, 3.87404203, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
537
o53.BottomSurface = Enum.SurfaceType.Smooth
538
o53.TopSurface = Enum.SurfaceType.Smooth
539
o53.Position = Vector3.new(51.2313728, 3.87404203, 5.31954384)
540
o54.Parent = o53
541
o54.Scale = Vector3.new(1, 0.800000012, 0.600000024)
542
o55.Parent = o1
543
o55.Material = Enum.Material.SmoothPlastic
544
o55.BrickColor = BrickColor.new("Mid gray")
545
o55.Position = Vector3.new(50.6496391, 3.44902349, 5.3220439)
546
o55.Rotation = Vector3.new(-0, 0, 46)
547
o55.Anchored = true
548
o55.CanCollide = false
549
o55.Size = Vector3.new(0.605000019, 0.200000003, 0.200000003)
550
o55.CFrame = CFrame.new(50.6496391, 3.44902349, 5.3220439, 0.694658399, -0.719339788, 0, 0.719339788, 0.694658399, 0, 0, 0, 1)
551
o55.BottomSurface = Enum.SurfaceType.Smooth
552
o55.TopSurface = Enum.SurfaceType.Smooth
553
o55.Color = Color3.new(0.803922, 0.803922, 0.803922)
554
o55.Position = Vector3.new(50.6496391, 3.44902349, 5.3220439)
555
o56.Parent = o1
556
o56.Material = Enum.Material.SmoothPlastic
557
o56.BrickColor = BrickColor.new("Black")
558
o56.Position = Vector3.new(52.3800011, 4.23000002, 5.32000017)
559
o56.Anchored = true
560
o56.CanCollide = false
561
o56.Size = Vector3.new(0.200000003, 0.200000003, 0.204999983)
562
o56.CFrame = CFrame.new(52.3800011, 4.23000002, 5.32000017, 1, 0, 0, 0, 1, 0, 0, 0, 1)
563
o56.BottomSurface = Enum.SurfaceType.Smooth
564
o56.TopSurface = Enum.SurfaceType.Smooth
565
o56.Color = Color3.new(0.105882, 0.164706, 0.207843)
566
o56.Position = Vector3.new(52.3800011, 4.23000002, 5.32000017)
567
o57.Parent = o56
568
o57.Scale = Vector3.new(0.800000012, 0.400000006, 0.25)
569
o57.MeshType = Enum.MeshType.Torso
570
o58.Parent = o1
571
o58.Material = Enum.Material.SmoothPlastic
572
o58.BrickColor = BrickColor.new("Black")
573
o58.Position = Vector3.new(52.3800011, 4.14001513, 5.32000017)
574
o58.Anchored = true
575
o58.CanCollide = false
576
o58.Size = Vector3.new(0.200000003, 0.200000003, 0.204999983)
577
o58.CFrame = CFrame.new(52.3800011, 4.14001513, 5.32000017, 1, 0, 0, 0, 1, 0, 0, 0, 1)
578
o58.BottomSurface = Enum.SurfaceType.Smooth
579
o58.TopSurface = Enum.SurfaceType.Smooth
580
o58.Color = Color3.new(0.105882, 0.164706, 0.207843)
581
o58.Position = Vector3.new(52.3800011, 4.14001513, 5.32000017)
582
o59.Parent = o58
583
o59.Scale = Vector3.new(0.800000012, 0.5, 0.699999988)
584
o60.Parent = o1
585
o60.Material = Enum.Material.SmoothPlastic
586
o60.BrickColor = BrickColor.new("Mid gray")
587
o60.Position = Vector3.new(51.6235008, 3.67000008, 5.32000017)
588
o60.Rotation = Vector3.new(-180, -90, 0)
589
o60.Anchored = true
590
o60.CanCollide = false
591
o60.Size = Vector3.new(0.200000003, 0.200000003, 0.216999978)
592
o60.CFrame = CFrame.new(51.6235008, 3.67000008, 5.32000017, -4.37113883e-008, 0, -1, 1.50995803e-007, -1, -6.60023616e-015, -1, -1.50995803e-007, 4.37113883e-008)
593
o60.BottomSurface = Enum.SurfaceType.Smooth
594
o60.TopSurface = Enum.SurfaceType.Smooth
595
o60.Color = Color3.new(0.803922, 0.803922, 0.803922)
596
o60.Position = Vector3.new(51.6235008, 3.67000008, 5.32000017)
597
o61.Parent = o60
598
o61.Scale = Vector3.new(1.29999995, 1, 1)
599
o61.MeshType = Enum.MeshType.Wedge
600
o62.Parent = o1
601
o62.Material = Enum.Material.SmoothPlastic
602
o62.BrickColor = BrickColor.new("Mid gray")
603
o62.Position = Vector3.new(51.5999985, 4.21000004, 5.32000017)
604
o62.Rotation = Vector3.new(-0, -90, 0)
605
o62.Anchored = true
606
o62.CanCollide = false
607
o62.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
608
o62.CFrame = CFrame.new(51.5999985, 4.21000004, 5.32000017, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
609
o62.BottomSurface = Enum.SurfaceType.Smooth
610
o62.TopSurface = Enum.SurfaceType.Smooth
611
o62.Color = Color3.new(0.803922, 0.803922, 0.803922)
612
o62.Position = Vector3.new(51.5999985, 4.21000004, 5.32000017)
613
o63.Parent = o62
614
o63.Scale = Vector3.new(0.899999976, 0.200000003, 1)
615
o63.MeshType = Enum.MeshType.Wedge
616
o64.Parent = o1
617
o64.Material = Enum.Material.SmoothPlastic
618
o64.BrickColor = BrickColor.new("Mid gray")
619
o64.Position = Vector3.new(51.7574959, 4.13999987, 5.32000017)
620
o64.Anchored = true
621
o64.CanCollide = false
622
o64.Size = Vector3.new(1.44499993, 0.200000003, 0.204999983)
623
o64.CFrame = CFrame.new(51.7574959, 4.13999987, 5.32000017, 1, 0, 0, 0, 1, 0, 0, 0, 1)
624
o64.BottomSurface = Enum.SurfaceType.Smooth
625
o64.TopSurface = Enum.SurfaceType.Smooth
626
o64.Color = Color3.new(0.803922, 0.803922, 0.803922)
627
o64.Position = Vector3.new(51.7574959, 4.13999987, 5.32000017)
628
o65.Parent = o64
629
o65.Scale = Vector3.new(1, 0.5, 0.800000012)
630
o66.Parent = o1
631
o66.Material = Enum.Material.SmoothPlastic
632
o66.BrickColor = BrickColor.new("Mid gray")
633
o66.Position = Vector3.new(51.8513641, 3.88200378, 5.31954384)
634
o66.Rotation = Vector3.new(-0, 0, 90)
635
o66.Anchored = true
636
o66.CanCollide = false
637
o66.Shape = Enum.PartType.Cylinder
638
o66.Size = Vector3.new(0.200000003, 0.899999976, 0.200000003)
639
o66.CFrame = CFrame.new(51.8513641, 3.88200378, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
640
o66.BottomSurface = Enum.SurfaceType.Smooth
641
o66.TopSurface = Enum.SurfaceType.Smooth
642
o66.Color = Color3.new(0.803922, 0.803922, 0.803922)
643
o66.Position = Vector3.new(51.8513641, 3.88200378, 5.31954384)
644
o67.Parent = o66
645
o67.Scale = Vector3.new(0.800000012, 0.850000024, 0.800000012)
646
o68.Parent = o1
647
o68.Material = Enum.Material.SmoothPlastic
648
o68.BrickColor = BrickColor.new("Mid gray")
649
o68.Position = Vector3.new(51.4799995, 4, 5.31954384)
650
o68.Rotation = Vector3.new(-0, 0, 90)
651
o68.Anchored = true
652
o68.CanCollide = false
653
o68.Shape = Enum.PartType.Cylinder
654
o68.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
655
o68.CFrame = CFrame.new(51.4799995, 4, 5.31954384, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
656
o68.BottomSurface = Enum.SurfaceType.Smooth
657
o68.TopSurface = Enum.SurfaceType.Smooth
658
o68.Color = Color3.new(0.803922, 0.803922, 0.803922)
659
o68.Position = Vector3.new(51.4799995, 4, 5.31954384)
660
o69.Parent = o68
661
o70.Parent = o1
662
o70.Material = Enum.Material.SmoothPlastic
663
o70.BrickColor = BrickColor.new("Mid gray")
664
o70.Position = Vector3.new(51.4289932, 3.75999999, 5.32000017)
665
o70.Anchored = true
666
o70.CanCollide = false
667
o70.Size = Vector3.new(0.200000003, 0.200000003, 0.204999983)
668
o70.CFrame = CFrame.new(51.4289932, 3.75999999, 5.32000017, 1, 0, 0, 0, 1, 0, 0, 0, 1)
669
o70.BottomSurface = Enum.SurfaceType.Smooth
670
o70.TopSurface = Enum.SurfaceType.Smooth
671
o70.Color = Color3.new(0.803922, 0.803922, 0.803922)
672
o70.Position = Vector3.new(51.4289932, 3.75999999, 5.32000017)
673
o71.Parent = o70
674
o71.Scale = Vector3.new(0.5, 1.89999998, 1)
675
o72.Parent = o1
676
o72.Material = Enum.Material.Neon
677
o72.BrickColor = BrickColor.new("Toothpaste")
678
o72.Position = Vector3.new(52.1899986, 3.87007713, 5.32449865)
679
o72.Rotation = Vector3.new(0, 90, 0)
680
o72.Anchored = true
681
o72.CanCollide = false
682
o72.Size = Vector3.new(0.203000054, 0.200000003, 0.200000003)
683
o72.CFrame = CFrame.new(52.1899986, 3.87007713, 5.32449865, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
684
o72.BottomSurface = Enum.SurfaceType.Smooth
685
o72.TopSurface = Enum.SurfaceType.Smooth
686
o72.Color = Color3.new(0, 1, 1)
687
o72.Position = Vector3.new(52.1899986, 3.87007713, 5.32449865)
688
o73.Parent = o72
689
o73.Scale = Vector3.new(0.400000006, 0.300000012, 0.5)
690
o74.Parent = o1
691
o74.Material = Enum.Material.SmoothPlastic
692
o74.BrickColor = BrickColor.new("Mid gray")
693
o74.Position = Vector3.new(51.2900009, 4.21000004, 5.32000017)
694
o74.Anchored = true
695
o74.CanCollide = false
696
o74.Size = Vector3.new(0.42900002, 0.200000003, 0.204999983)
697
o74.CFrame = CFrame.new(51.2900009, 4.21000004, 5.32000017, 1, 0, 0, 0, 1, 0, 0, 0, 1)
698
o74.BottomSurface = Enum.SurfaceType.Smooth
699
o74.TopSurface = Enum.SurfaceType.Smooth
700
o74.Color = Color3.new(0.803922, 0.803922, 0.803922)
701
o74.Position = Vector3.new(51.2900009, 4.21000004, 5.32000017)
702
o75.Parent = o74
703
o75.Scale = Vector3.new(1, 0.25, 1)
704
o76.Parent = o1
705
o76.Material = Enum.Material.SmoothPlastic
706
o76.BrickColor = BrickColor.new("Dark stone grey")
707
o76.Position = Vector3.new(50.7550011, 3.6400001, 5.32000017)
708
o76.Rotation = Vector3.new(-0, 0, 1.28066051e-006)
709
o76.Anchored = true
710
o76.CanCollide = false
711
o76.Size = Vector3.new(0.225000039, 0.209999993, 0.300000012)
712
o76.CFrame = CFrame.new(50.7550011, 3.6400001, 5.32000017, 1, -2.23517418e-008, 0, 2.23517418e-008, 1, 0, 0, 0, 1)
713
o76.BottomSurface = Enum.SurfaceType.Smooth
714
o76.TopSurface = Enum.SurfaceType.Smooth
715
o76.Color = Color3.new(0.388235, 0.372549, 0.384314)
716
o76.Position = Vector3.new(50.7550011, 3.6400001, 5.32000017)
717
o77.Parent = o1
718
o77.Material = Enum.Material.Neon
719
o77.BrickColor = BrickColor.new("Toothpaste")
720
o77.Position = Vector3.new(50.7610054, 3.64415002, 5.44049978)
721
o77.Rotation = Vector3.new(-0, 0, -44)
722
o77.Anchored = true
723
o77.CanCollide = false
724
o77.Size = Vector3.new(0.203000054, 0.200000003, 0.200000003)
725
o77.CFrame = CFrame.new(50.7610054, 3.64415002, 5.44049978, 0.719339788, 0.694658399, 0, -0.694658399, 0.719339788, 0, 0, 0, 1)
726
o77.BottomSurface = Enum.SurfaceType.Smooth
727
o77.TopSurface = Enum.SurfaceType.Smooth
728
o77.Color = Color3.new(0, 1, 1)
729
o77.Position = Vector3.new(50.7610054, 3.64415002, 5.44049978)
730
o78.Parent = o77
731
o78.Scale = Vector3.new(0.800000012, 0.300000012, 0.5)
732
o79.Parent = o1
733
o79.Material = Enum.Material.SmoothPlastic
734
o79.BrickColor = BrickColor.new("Mid gray")
735
o79.Position = Vector3.new(49.8607674, 3.37296009, 5.30704403)
736
o79.Rotation = Vector3.new(-90, 45, -90)
737
o79.Anchored = true
738
o79.CanCollide = false
739
o79.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
740
o79.CFrame = CFrame.new(49.8607674, 3.37296009, 5.30704403, -3.09086197e-008, 0.707106829, 0.707106769, 7.46200044e-008, -0.707106769, 0.707106829, 1, 7.46200044e-008, -3.09086197e-008)
741
o79.BottomSurface = Enum.SurfaceType.Smooth
742
o79.TopSurface = Enum.SurfaceType.Smooth
743
o79.Color = Color3.new(0.803922, 0.803922, 0.803922)
744
o79.Position = Vector3.new(49.8607674, 3.37296009, 5.30704403)
745
o80.Parent = o79
746
o80.Scale = Vector3.new(0.600000024, 0.349999994, 0.349999994)
747
o80.MeshType = Enum.MeshType.Wedge
748
o81.Parent = o1
749
o81.Material = Enum.Material.SmoothPlastic
750
o81.BrickColor = BrickColor.new("Mid gray")
751
o81.Position = Vector3.new(49.9099998, 3.35300016, 5.30999994)
752
o81.Rotation = Vector3.new(180, 90, 0)
753
o81.Anchored = true
754
o81.CanCollide = false
755
o81.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
756
o81.CFrame = CFrame.new(49.9099998, 3.35300016, 5.30999994, -4.37113883e-008, 0, 1, 1.50995803e-007, -1, 6.60023616e-015, 1, 1.50995803e-007, 4.37113883e-008)
757
o81.BottomSurface = Enum.SurfaceType.Smooth
758
o81.TopSurface = Enum.SurfaceType.Smooth
759
o81.Color = Color3.new(0.803922, 0.803922, 0.803922)
760
o81.Position = Vector3.new(49.9099998, 3.35300016, 5.30999994)
761
o82.Parent = o81
762
o82.Scale = Vector3.new(0.600000024, 0.349999994, 0.349999994)
763
o82.MeshType = Enum.MeshType.Wedge
764
o83.Parent = o1
765
o83.Material = Enum.Material.SmoothPlastic
766
o83.BrickColor = BrickColor.new("Mid gray")
767
o83.Position = Vector3.new(49.7807693, 3.30195999, 5.30704403)
768
o83.Rotation = Vector3.new(-90, -45, -90)
769
o83.Anchored = true
770
o83.CanCollide = false
771
o83.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
772
o83.CFrame = CFrame.new(49.7807693, 3.30195999, 5.30704403, -3.09086197e-008, 0.707106829, -0.707106769, 1.28027686e-008, 0.707106769, 0.707106829, 1, 1.28027686e-008, -3.09086197e-008)
773
o83.BottomSurface = Enum.SurfaceType.Smooth
774
o83.TopSurface = Enum.SurfaceType.Smooth
775
o83.Color = Color3.new(0.803922, 0.803922, 0.803922)
776
o83.Position = Vector3.new(49.7807693, 3.30195999, 5.30704403)
777
o84.Parent = o83
778
o84.Scale = Vector3.new(0.600000024, 0.349999994, 0.349999994)
779
o84.MeshType = Enum.MeshType.Wedge
780
o85.Parent = o1
781
o85.Material = Enum.Material.SmoothPlastic
782
o85.BrickColor = BrickColor.new("Mid gray")
783
o85.Position = Vector3.new(50.9780006, 4.17999983, 5.32000017)
784
o85.Rotation = Vector3.new(0, 90, 0)
785
o85.Anchored = true
786
o85.CanCollide = false
787
o85.Size = Vector3.new(0.200000003, 0.200000003, 0.204999998)
788
o85.CFrame = CFrame.new(50.9780006, 4.17999983, 5.32000017, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)
789
o85.BottomSurface = Enum.SurfaceType.Smooth
790
o85.TopSurface = Enum.SurfaceType.Smooth
791
o85.Color = Color3.new(0.803922, 0.803922, 0.803922)
792
o85.Position = Vector3.new(50.9780006, 4.17999983, 5.32000017)
793
o86.Parent = o85
794
o86.Scale = Vector3.new(1, 0.5, 1)
795
o86.MeshType = Enum.MeshType.Wedge
796
o87.Name = "A1"
797
o87.Parent = o1
798
o87.Material = Enum.Material.Neon
799
o87.BrickColor = BrickColor.new("Toothpaste")
800
o87.Position = Vector3.new(51.2319984, 4.05000019, 5.32000017)
801
o87.Rotation = Vector3.new(-0, 0, 90)
802
o87.Anchored = true
803
o87.CanCollide = false
804
o87.Shape = Enum.PartType.Cylinder
805
o87.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
806
o87.CFrame = CFrame.new(51.2319984, 4.05000019, 5.32000017, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
807
o87.BottomSurface = Enum.SurfaceType.Smooth
808
o87.TopSurface = Enum.SurfaceType.Smooth
809
o87.Color = Color3.new(0, 1, 1)
810
o87.Position = Vector3.new(51.2319984, 4.05000019, 5.32000017)
811
o88.Parent = o87
812
o88.Scale = Vector3.new(1, 1.54999995, 0.400000006)
813
o89.Name = "T1"
814
o89.Parent = o1
815
o89.Material = Enum.Material.SmoothPlastic
816
o89.BrickColor = BrickColor.new("Dark stone grey")
817
o89.Position = Vector3.new(50.8995514, 3.52338958, 5.31954384)
818
o89.Rotation = Vector3.new(-0, 0, 29.0000076)
819
o89.Anchored = true
820
o89.CanCollide = false
821
o89.Size = Vector3.new(0.200000003, 0.223999992, 0.200000003)
822
o89.CFrame = CFrame.new(50.8995514, 3.52338958, 5.31954384, 0.874619663, -0.484809726, 0, 0.484809726, 0.874619663, 0, 0, 0, 1)
823
o89.BottomSurface = Enum.SurfaceType.Smooth
824
o89.TopSurface = Enum.SurfaceType.Smooth
825
o89.Color = Color3.new(0.388235, 0.372549, 0.384314)
826
o89.Position = Vector3.new(50.8995514, 3.52338958, 5.31954384)
827
o90.Parent = o89
828
o90.Scale = Vector3.new(0.5, 1, 0.5)
829
mas.Parent = workspace
830
mas:MakeJoints()
831
local mas1 = mas:GetChildren()
832
for i=1,#mas1 do
833
	mas1[i].Parent = workspace 
834
	ypcall(function() mas1[i]:MakeJoints() end)
835
end
836
mas:Destroy()
837
for i=1,#cors do
838
coroutine.resume(cors[i])
839
end
840
841
local Revolver = o1
842
local Handle = o24
843
local BarrelEnd = o14
844
local Chamber = o18
845
local A1 = o87
846
local A2 = o6
847
local A3 = o4
848
local A4 = o10
849
local A5 = o8
850
local A6 = o2
851
local H1 = o20
852
local H2 = o22
853
local T1 = o89
854
local T2 = o16
855
856
-----------------------------------------------------------------------------------
857
function swait(num)
858
	if num == 0 or num == nil then
859
		game:service("RunService").Stepped:wait(0)
860
	else
861
		for i = 0, num do
862
			game:service("RunService").Stepped:wait(0)
863
		end
864
	end
865
end
866
867
function indicate(part,var,typer)
868
local clonepart = Instance.new("Part", workspace)
869
clonepart.Size = Vector3.new(1,1,1)
870
clonepart.CanCollide = false
871
clonepart.Anchored = true
872
clonepart.CFrame = part.CFrame
873
clonepart.Transparency = 1
874
local base1 = Instance.new("BillboardGui", clonepart)
875
base1.Name = "damage"
876
base1.ExtentsOffset = Vector3.new(-0.1,2,0)
877
base1.Size = UDim2.new(1,0,1,0)
878
base1.Adornee = clonepart
879
local indicator = Instance.new("TextLabel", base1)
880
indicator.Text = "-"..var
881
indicator.TextScaled = false
882
indicator.TextWrapped = false
883
if typer == 0 then
884
indicator.TextColor3 = Color3.new(1,0,0)
885
elseif typer == 1 then
886
indicator.TextColor3 = Color3.new(0.5,0.5,0)
887
end
888
indicator.TextScaled = true
889
indicator.FontSize = 7
890
indicator.Font = "Fantasy"
891
indicator.Size = UDim2.new(1,0,1,0)
892
indicator.BackgroundTransparency = 1
893
local change = coroutine.wrap(function(thing,thing2)
894
	for i=1, 20 do
895
	thing.TextTransparency = thing.TextTransparency + 0.05
896
	thing2.ExtentsOffset = thing2.ExtentsOffset + Vector3.new(0,0.1,0)
897
	wait(0.01)
898
	end
899
	indicator.Parent.Parent:Remove()
900
end)
901
change(indicator,base1)
902
end
903
904
local Player = game.Players.LocalPlayer
905
local Mouse = Player:GetMouse()
906
Mouse.TargetFilter = Player.Character
907-
local ammo = 6
907+
908
local Humanoid = Character.Humanoid
909
910
Humanoid.WalkSpeed = 20
911
Humanoid.JumpPower = 1
912
Humanoid.MaxHealth = 100
913
wait()
914
Humanoid.Health = Humanoid.MaxHealth
915
916
local ammo = 890
917
local attacking = false
918
local waiting = false
919
920
local p1 = Instance.new("ScreenGui")
921
local p2 = Instance.new("TextLabel")
922
p1.Parent = Player.PlayerGui
923
p2.Parent = p1
924-
p2.Text = ammo.."/6"
924+
925
p2.Size = UDim2.new(0.05,0,0.05,0)
926
p2.Position = UDim2.new(0.5,0,0.8,0)
927
p2.Position = UDim2.new(0.5,0,0.8,0)
928
p2.BackgroundColor3 = Color3.new(0,0,0)
929
p2.BackgroundTransparency = 1
930
p2.BorderSizePixel = 0
931
p2.Font = Enum.Font.SourceSans
932
p2.FontSize = Enum.FontSize.Size96
933
p2.Text = ammo.."/890"
934
p2.TextColor3 = Color3.new(1,1,1)
935
936
local animstate = 0
937
local keyframe = 0
938
local animstate2 = -1
939
local keyframe2 = -1
940
941
-- highnoon: 507504338
942
-- draw: 423993839
943
944
local gunshot = Instance.new("Sound", BarrelEnd)
945
gunshot.Volume = 0.8
946
gunshot.SoundId = "rbxassetid://145080998"
947
948
local reload = Instance.new("Sound", Character.Torso)
949
reload.Volume = 1
950
reload.SoundId = "rbxassetid://506273075"
951
952
local roll = Instance.new("Sound", Character.Torso)
953
roll.Volume = 1
954
roll.SoundId = "rbxassetid://328825627"
955
956
local LRP = Character.HumanoidRootPart.CFrame
957
958
Joints={
959
Character.HumanoidRootPart.RootJoint;
960
Character.Torso.Neck;
961
Character.Torso['Left Shoulder'];
962
Character.Torso['Right Shoulder'];
963
Character.Torso['Left Hip'];
964
Character.Torso['Right Hip'];
965
}
966
CurrentJoints={
967
Character.HumanoidRootPart.RootJoint.C0;
968
Character.Torso.Neck.C0;
969
Character.Torso['Left Shoulder'].C0;
970
Character.Torso['Right Shoulder'].C0;
971
Character.Torso['Left Hip'].C0;
972
Character.Torso['Right Hip'].C0;
973
}
974
LastJoints={
975
Character.HumanoidRootPart.RootJoint.C0;
976
Character.Torso.Neck.C0;
977
Character.Torso['Left Shoulder'].C0;
978
Character.Torso['Right Shoulder'].C0;
979
Character.Torso['Left Hip'].C0;
980
Character.Torso['Right Hip'].C0;
981
}
982
983
local orig1 = Joints[1].C0
984
local orig2 = Joints[2].C0 
985
local orig3 = Joints[3].C0 
986
local orig4 = Joints[4].C0 
987
local orig5 = Joints[5].C0 
988
local orig6 = Joints[6].C0 
989
990
Revolver.Parent = Character
991
Character.Animate:remove()
992
Character.Humanoid.Animator:remove()
993
994
for _,v in pairs (Revolver:GetChildren()) do
995
	if v.Name ~= "Handle" and (v.Name ~= "A1" and v.Name ~= "A2" and v.Name ~= "A3" and v.Name ~= "A4" and v.Name ~= "A5" and v.Name ~= "A6") and v.Name ~= "T2" and v.Name ~= "H2" then
996
	local NewWeld = Instance.new("Weld")
997
	NewWeld.Part0  = Handle
998
	NewWeld.Part1  = v
999
	NewWeld.C0     = CFrame.new()
1000
	NewWeld.C1     = v.CFrame:toObjectSpace(Handle.CFrame)
1001
	NewWeld.Parent = Handle
1002
	if v.Name == "Chamber" then
1003
	NewWeld.Name = "ChamberWeld"
1004
	elseif v.Name == "H1" then
1005
	NewWeld.Name = "HammerWeld"
1006
	elseif v.Name == "T1" then
1007
	NewWeld.Name = "TriggerWeld"
1008
	end
1009
	end
1010
	if v.Name == "A1" or v.Name == "A2" or v.Name == "A3" or v.Name == "A4" or v.Name == "A5" or v.Name == "A6" then
1011
	local NewWeld = Instance.new("Weld")
1012
	NewWeld.Part0  = Chamber
1013
	NewWeld.Part1  = v
1014
	NewWeld.C0     = CFrame.new()
1015
	NewWeld.C1     = v.CFrame:toObjectSpace(Chamber.CFrame)
1016
	NewWeld.Parent = Chamber
1017
	end
1018
	if v.Name == "H2" then
1019
	local NewWeld = Instance.new("Weld")
1020
	NewWeld.Part0  = H1
1021
	NewWeld.Part1  = v
1022
	NewWeld.C0     = CFrame.new()
1023
	NewWeld.C1     = v.CFrame:toObjectSpace(H1.CFrame)
1024
	NewWeld.Parent = H1
1025
	end
1026
	if v.Name == "T2" then
1027
	local NewWeld = Instance.new("Weld")
1028
	NewWeld.Part0  = T1
1029
	NewWeld.Part1  = v
1030
	NewWeld.C0     = CFrame.new()
1031
	NewWeld.C1     = v.CFrame:toObjectSpace(T1.CFrame)
1032
	NewWeld.Parent = T1
1033
	end
1034
	wait()
1035
end
1036
for _,v in pairs (Revolver:GetChildren()) do
1037
	v.Anchored = false
1038
	wait()
1039
end
1040
1041
local Cweld = Handle:FindFirstChild("ChamberWeld")
1042
local Hweld = Handle:FindFirstChild("HammerWeld")
1043
local Tweld = Handle:FindFirstChild("TriggerWeld")
1044
1045
local origh = Hweld.C0
1046
local origt = Tweld.C0
1047
1048
GunJoints={
1049
Hweld;
1050
Tweld;
1051
}
1052
CurrentGunJoints={
1053
Hweld.C0;
1054
Tweld.C0;	
1055
}
1056
LastGunJoints={
1057
Hweld.C0;
1058
Tweld.C0;
1059
}
1060
1061
Handle.CFrame = Character:FindFirstChild("Right Arm").CFrame*CFrame.new(0,-2.2,-0.7)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(180))
1062
1063
local HandleWeld = Instance.new("Weld")
1064
HandleWeld.Name = "HandleWeld"
1065
HandleWeld.Part0  = Character:FindFirstChild("Right Arm")
1066
HandleWeld.Part1  = Handle
1067
HandleWeld.C0     = CFrame.new(0,0,0)
1068
HandleWeld.C1     = Handle.CFrame:toObjectSpace(Character:FindFirstChild("Right Arm").CFrame)
1069
HandleWeld.Parent = Handle
1070
1071
local hat = Instance.new("Part", Character)
1072
hat.CanCollide = false
1073
hat.Size = Vector3.new(1,0.4,1)
1074
hat.Name = "Hat"
1075
1076
local mesh = Instance.new("SpecialMesh", hat)
1077
mesh.MeshType = 2
1078
mesh.Name = "Mesh"
1079
mesh.MeshId = "rbxassetid://1029586"
1080
mesh.TextureId = "rbxassetid://1029588"
1081
mesh.VertexColor = Vector3.new(0.4,0.3,0.2)
1082
1083
hat.CFrame = Character.Head.CFrame*CFrame.new(0,0.6,0)
1084
local HatWeld = Instance.new("Weld")
1085
HatWeld.Name = "HatWeld"
1086
HatWeld.Part0  = Character.Head
1087
HatWeld.Part1  = hat
1088
HatWeld.C0     = CFrame.new(0,0,0)
1089
HatWeld.C1     = hat.CFrame:toObjectSpace(Character.Head.CFrame)
1090
HatWeld.Parent = hat
1091
1092
function weld(part1,part2,name)
1093
local Weld = Instance.new("Weld")
1094
if name then
1095
Weld.Name = name
1096
else
1097
Weld.Name = "Weld"
1098
end
1099
Weld.Part0  = part1
1100
Weld.Part1  = part2
1101
Weld.C0     = CFrame.new(0,0,0)
1102
Weld.C1     = part2.CFrame:toObjectSpace(part1.CFrame)
1103
Weld.Parent = part2
1104
end
1105
1106-
p2.Text = ammo.."/6"
1106+
1107
local timer2 = 0
1108
1109
local cooled1 = true
1110
local cooled2 = true
1111
local cooled3 = true
1112
local ultcharge = 0
1113
1114
game:GetService("RunService").RenderStepped:connect(function()
1115
p2.Text = ammo.."/890"
1116
if animstate ~= 0 then
1117
print("time"..timer)
1118
print("a1"..animstate)
1119
print("a2"..animstate2)
1120
end
1121
if Player.Character.Humanoid.MoveDirection == Vector3.new(0,0,0) and animstate ~= 0 and animstate ~= 2 and not waiting then
1122
animstate = 0
1123
keyframe = -1
1124
timer = 0
1125
LastJoints = CurrentJoints
1126
elseif Player.Character.Humanoid.MoveDirection ~= Vector3.new(0,0,0) and animstate ~= 1 and animstate ~= 2 and not waiting then
1127
animstate = 1
1128
keyframe = -1
1129
timer = 0
1130
LastJoints = CurrentJoints
1131
end
1132
timer = timer + 1
1133
timer2 = timer2 + 1
1134
if animstate == 0 then
1135
if keyframe == -1 then
1136
local JointTargets={}
1137
if not attacking then
1138
JointTargets={
1139
orig1*CFrame.Angles(math.rad(5),0,0);
1140
orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1141
orig3*CFrame.Angles(math.rad(-25),0,0);
1142
orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(95)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
1143
orig5*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
1144
orig6*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
1145
}
1146
else
1147
JointTargets={
1148
orig1*CFrame.Angles(math.rad(5),0,0);
1149
orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1150
0;
1151
0;
1152
orig5*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
1153
orig6*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
1154
}
1155
end
1156
for p=1,#Joints do
1157
if JointTargets[p] ~= 0 then
1158
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/10))
1159
if attacking then
1160
CurrentJoints={
1161
Joints[1].C0;
1162
Joints[2].C0;
1163
CurrentJoints[3];
1164
CurrentJoints[4];
1165
Joints[5].C0;
1166
Joints[6].C0;
1167
}
1168
else
1169
CurrentJoints={
1170
Joints[1].C0;
1171
Joints[2].C0;
1172
Joints[3].C0;
1173
Joints[4].C0;
1174
Joints[5].C0;
1175
Joints[6].C0;
1176
}
1177
end
1178
end
1179
end
1180
if timer >= 10 then
1181
keyframe = 1
1182
timer = 0
1183
LastJoints = CurrentJoints
1184
end
1185
elseif keyframe == 0 then
1186
local JointTargets={}
1187
if not attacking then
1188
JointTargets={
1189
orig1*CFrame.Angles(math.rad(5),0,0);
1190
orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1191
orig3*CFrame.Angles(math.rad(-25),0,0);
1192
orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(95)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
1193
orig5*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
1194
orig6*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
1195
}
1196
else
1197
JointTargets={
1198
orig1*CFrame.Angles(math.rad(5),0,0);
1199
orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1200
0;
1201
0;
1202
orig5*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
1203
orig6*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
1204
}
1205
end
1206
for p=1,#Joints do
1207
if JointTargets[p] ~= 0 then
1208
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/40))
1209
if attacking then
1210
CurrentJoints={
1211
Joints[1].C0;
1212
Joints[2].C0;
1213
CurrentJoints[3];
1214
CurrentJoints[4];
1215
Joints[5].C0;
1216
Joints[6].C0;
1217
}
1218
else
1219
CurrentJoints={
1220
Joints[1].C0;
1221
Joints[2].C0;
1222
Joints[3].C0;
1223
Joints[4].C0;
1224
Joints[5].C0;
1225
Joints[6].C0;
1226
}
1227
end
1228
end
1229
end
1230
if timer >= 40 then
1231
swait(1)
1232
keyframe = 1
1233
timer = 0
1234
LastJoints = CurrentJoints
1235
end
1236
elseif keyframe == 1 then
1237
local JointTargets={}
1238
if not attacking then
1239
JointTargets={
1240
orig1*CFrame.new(0,0,0.05)*CFrame.Angles(math.rad(2),0,0);
1241
orig2*CFrame.Angles(math.rad(-2)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1242
orig3*CFrame.Angles(math.rad(-35),0,0);
1243
orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(93)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
1244
orig5*CFrame.new(0,-0.15,0)*CFrame.Angles(math.rad(-5),0,math.rad(18));
1245
orig6*CFrame.new(0,-0.15,0)*CFrame.Angles(math.rad(-5),0,math.rad(12));
1246
}
1247
else
1248
JointTargets={
1249
orig1*CFrame.new(0,0,0.05)*CFrame.Angles(math.rad(2),0,0);
1250
orig2*CFrame.Angles(math.rad(-2)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1251
0;
1252
0;
1253
orig5*CFrame.new(0,-0.15,0)*CFrame.Angles(math.rad(-5),0,math.rad(18));
1254
orig6*CFrame.new(0,-0.15,0)*CFrame.Angles(math.rad(-5),0,math.rad(12));
1255
}
1256
end
1257
for p=1,#Joints do
1258
if JointTargets[p] ~= 0 then
1259
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/40))
1260
if attacking then
1261
CurrentJoints={
1262
Joints[1].C0;
1263
Joints[2].C0;
1264
CurrentJoints[3];
1265
CurrentJoints[4];
1266
Joints[5].C0;
1267
Joints[6].C0;
1268
}
1269
else
1270
CurrentJoints={
1271
Joints[1].C0;
1272
Joints[2].C0;
1273
Joints[3].C0;
1274
Joints[4].C0;
1275
Joints[5].C0;
1276
Joints[6].C0;
1277
}
1278
end
1279
end
1280
end
1281
if timer >= 40 then
1282
swait(1)
1283
keyframe = 0
1284
timer = 0
1285
LastJoints = CurrentJoints
1286
end
1287
end
1288
elseif animstate == 1 then
1289
if keyframe == -1 then
1290
local JointTargets={}
1291
if not attacking then
1292
JointTargets={
1293
orig1*CFrame.Angles(math.rad(5),0,0);
1294
orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1295
orig3*CFrame.Angles(math.rad(-25),0,0);
1296
orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(95)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
1297
orig5*CFrame.Angles(0,0,math.rad(40));
1298
orig6*CFrame.Angles(0,0,math.rad(40));
1299
}
1300
else
1301
JointTargets={
1302
orig1*CFrame.Angles(math.rad(5),0,0);
1303
orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1304
0;
1305
0;
1306
orig5*CFrame.Angles(0,0,math.rad(40));
1307
orig6*CFrame.Angles(0,0,math.rad(40));
1308
}
1309
end
1310
for p=1,#Joints do
1311
if JointTargets[p] ~= 0 then
1312
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/10))
1313
if attacking then
1314
CurrentJoints={
1315
Joints[1].C0;
1316
Joints[2].C0;
1317
CurrentJoints[3];
1318
CurrentJoints[4];
1319
Joints[5].C0;
1320
Joints[6].C0;
1321
}
1322
else
1323
CurrentJoints={
1324
Joints[1].C0;
1325
Joints[2].C0;
1326
Joints[3].C0;
1327
Joints[4].C0;
1328
Joints[5].C0;
1329
Joints[6].C0;
1330
}
1331
end
1332
end
1333
end
1334
if timer >= 10 then
1335
keyframe = 1
1336
timer = 0
1337
LastJoints = CurrentJoints
1338
end
1339
elseif keyframe == 0 then
1340
local JointTargets={}
1341
if not attacking then
1342
JointTargets={
1343
orig1*CFrame.Angles(math.rad(5),0,0);
1344
orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1345
orig3*CFrame.Angles(math.rad(-25),0,0);
1346
orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(95)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
1347
orig5*CFrame.Angles(0,0,math.rad(40));
1348
orig6*CFrame.Angles(0,0,math.rad(40));
1349
}
1350
else
1351
JointTargets={
1352
orig1*CFrame.Angles(math.rad(5),0,0);
1353
orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1354
0;
1355
0;
1356
orig5*CFrame.Angles(0,0,math.rad(40));
1357
orig6*CFrame.Angles(0,0,math.rad(40));
1358
}
1359
end
1360
for p=1,#Joints do
1361
if JointTargets[p] ~= 0 then
1362
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/18))
1363
if attacking then
1364
CurrentJoints={
1365
Joints[1].C0;
1366
Joints[2].C0;
1367
CurrentJoints[3];
1368
CurrentJoints[4];
1369
Joints[5].C0;
1370
Joints[6].C0;
1371
}
1372
else
1373
CurrentJoints={
1374
Joints[1].C0;
1375
Joints[2].C0;
1376
Joints[3].C0;
1377
Joints[4].C0;
1378
Joints[5].C0;
1379
Joints[6].C0;
1380
}
1381
end
1382
end
1383
end
1384
if timer >= 18 then
1385
swait(1)
1386
keyframe = 1
1387
timer = 0
1388
LastJoints = CurrentJoints
1389
end
1390
elseif keyframe == 1 then
1391
local JointTargets={}
1392
if not attacking then
1393
JointTargets={
1394
orig1*CFrame.Angles(math.rad(5),0,0);
1395
orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1396
orig3*CFrame.Angles(math.rad(-25),0,0);
1397
orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(95)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
1398
orig5*CFrame.Angles(0,0,math.rad(-40));
1399
orig6*CFrame.Angles(0,0,math.rad(-40));
1400
}
1401
else
1402
JointTargets={
1403
orig1*CFrame.Angles(math.rad(5),0,0);
1404
orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1405
Joints[3].C0;
1406
Joints[4].C0;
1407
orig5*CFrame.Angles(0,0,math.rad(-40));
1408
orig6*CFrame.Angles(0,0,math.rad(-40));
1409
}
1410
end
1411
for p=1,#Joints do
1412
if JointTargets[p] ~= 0 then
1413
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/18))
1414
if attacking then
1415
CurrentJoints={
1416
Joints[1].C0;
1417
Joints[2].C0;
1418
CurrentJoints[3];
1419
CurrentJoints[4];
1420
Joints[5].C0;
1421
Joints[6].C0;
1422
}
1423
else
1424
CurrentJoints={
1425
Joints[1].C0;
1426
Joints[2].C0;
1427
Joints[3].C0;
1428
Joints[4].C0;
1429
Joints[5].C0;
1430
Joints[6].C0;
1431
}
1432
end
1433
end
1434
end
1435
if timer >= 18 then
1436
swait(1)
1437
keyframe = 0
1438
timer = 0
1439
LastJoints = CurrentJoints
1440
end
1441
end
1442
elseif animstate == 2 then
1443
if keyframe == 0 then
1444
local JointTargets={
1445
orig1*CFrame.new(0,0,-1)*CFrame.Angles(math.rad(120),0,0);
1446
orig2*CFrame.Angles(math.rad(15),0,0);
1447
0;
1448
0;
1449
orig5*CFrame.Angles(0,0,math.rad(-20));
1450
orig6*CFrame.Angles(0,0,math.rad(20));
1451
}
1452
1453
for p=1,#Joints do
1454
if JointTargets[p] ~= 0 then
1455
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/10))
1456
CurrentJoints={
1457
Joints[1].C0;
1458
Joints[2].C0;
1459
CurrentJoints[3];
1460
CurrentJoints[4];
1461
Joints[5].C0;
1462
Joints[6].C0;
1463-
ammo = 6
1463+
1464
end
1465
end
1466
1467
if timer >= 10 then 
1468
keyframe = 1
1469
timer = 0
1470
LastJoints = CurrentJoints
1471
roll:Play()
1472
ammo = 890
1473
A1.BrickColor = BrickColor.new("Toothpaste")
1474
A2.BrickColor = BrickColor.new("Toothpaste")
1475
A3.BrickColor = BrickColor.new("Toothpaste")
1476
A4.BrickColor = BrickColor.new("Toothpaste")
1477
A5.BrickColor = BrickColor.new("Toothpaste")
1478
A6.BrickColor = BrickColor.new("Toothpaste")
1479
end
1480
elseif keyframe == 1 then
1481
local JointTargets={
1482
LastJoints[1]*CFrame.Angles(math.rad(-240),0,0);
1483
orig2*CFrame.Angles(math.rad(-5)-math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y),0,0);
1484
0;
1485
0;
1486
orig5*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
1487
orig6*CFrame.new(0,-0.1,0)*CFrame.Angles(math.rad(-5),0,math.rad(15));
1488
}
1489
1490
for p=1,#Joints do
1491
if JointTargets[p] ~= 0 then
1492
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer/10))
1493
CurrentJoints={
1494
Joints[1].C0;
1495
Joints[2].C0;
1496
CurrentJoints[3];
1497
CurrentJoints[4];
1498
Joints[5].C0;
1499
Joints[6].C0;
1500
}
1501
end
1502
end
1503-
wait(8)
1503+
1504
if timer >= 10 then 
1505
animstate = -1
1506
keyframe = -1
1507
timer = 0
1508
LastJoints = CurrentJoints
1509
attacking = false
1510
Character.Humanoid.WalkSpeed = 20
1511
local waiter = coroutine.wrap(function()
1512
wait(7)
1513
cooled2 = true
1514
end)
1515
waiter()
1516
end
1517
end
1518
end
1519
if animstate2 == 0 then
1520
if keyframe2 == -1 then
1521
local JointTargets={
1522
0;
1523
0;
1524
orig3*CFrame.new(-0.5,0,-1.3)*CFrame.Angles(0,math.rad(-85),math.rad(-115));
1525
orig4*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(95));
1526
0;
1527
0;
1528
}
1529
1530
local GunTargets={
1531
origh;
1532
origt;
1533
}
1534
1535
for p=1,#Joints do
1536
if JointTargets[p] ~= 0 then
1537
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer2/5))
1538
CurrentJoints={
1539
CurrentJoints[1];
1540
CurrentJoints[2];
1541
Character.Torso['Left Shoulder'].C0;
1542
Character.Torso['Right Shoulder'].C0;
1543
CurrentJoints[5];
1544
CurrentJoints[6];
1545
}
1546
end
1547
end
1548
1549
for p=1,#GunJoints do
1550
if GunTargets[p] ~= 0 then
1551
GunJoints[p].C0=LastGunJoints[p]:lerp(GunTargets[p],math.sin(timer2/5))
1552
CurrentGunJoints={
1553
GunJoints[1].C0;
1554
GunJoints[2].C0;
1555
}
1556
end
1557
end
1558
1559
if timer2 >= 5 and not waiting then
1560
if ammo > 0 then
1561
waiting = true
1562
keyframe2 = 0
1563
timer2 = 0
1564
LastJoints = CurrentJoints
1565
LastGunJoints = CurrentGunJoints
1566
else
1567
animstate2 = -1
1568
keyframe2 = -1
1569
timer2 = 0
1570
LastJoints = CurrentJoints
1571
LastGunJoints = CurrentGunJoints
1572
attacking = false
1573
waiting = false
1574
cooled1 = true
1575
end
1576
end
1577
elseif keyframe2 == 0 then
1578
if waiting then
1579
waiting = false
1580
gunshot:Play()
1581
if ammo == 890 then
1582
A2.BrickColor = BrickColor.new("Really black")
1583
ammo = 5
1584
elseif ammo == 9 then
1585
A3.BrickColor = BrickColor.new("Really black")
1586
ammo = 4
1587
elseif ammo == 7 then
1588
A4.BrickColor = BrickColor.new("Really black")
1589
ammo = 3
1590
elseif ammo == 5 then
1591
A5.BrickColor = BrickColor.new("Really black")
1592
ammo = 2
1593
elseif ammo == 3 then
1594
A6.BrickColor = BrickColor.new("Really black")
1595
ammo = 1
1596
elseif ammo == 1 then
1597
A1.BrickColor = BrickColor.new("Really black")
1598
ammo = 0
1599
end
1600
local reduced = false
1601
local r1 = math.random(1,2)
1602
local r2 = math.random(1,2)
1603
local f1;
1604
local f2;
1605
if r1 == 1 then
1606
f1 = 1
1607
else
1608
f1 = -1
1609
end
1610
if r2 == 1 then
1611
f2 = 1
1612
else
1613
f2 = -1
1614
end
1615
1616
local ray = Ray.new((BarrelEnd.CFrame*CFrame.new(0,-0.2,0)).p,((Mouse.Hit*CFrame.new(f1*math.random(50,100)/100,f2*math.random(50,100)/100,0)).p-(BarrelEnd.CFrame*CFrame.new(0,-0.2,0)).p).unit*999)
1617
local target, hit = workspace:FindPartOnRay(ray,Character)
1618
local newpos = hit
1619
local newhit = target
1620
1621
if newhit then
1622
if (newpos-Character.HumanoidRootPart.Position).magnitude > 20 then
1623
reduced = true
1624
end
1625
local dist = (newpos-Character.HumanoidRootPart.Position).magnitude
1626
if newhit and (newhit.Parent:FindFirstChild("Humanoid") or newhit.Parent.Parent:FindFirstChild("Humanoid")) then
1627
local hum;
1628
if newhit.Parent.Parent:FindFirstChild("Humanoid") then
1629
hum = newhit.Parent.Parent:FindFirstChild("Humanoid")
1630
elseif newhit.Parent:FindFirstChild("Humanoid") then
1631
hum = newhit.Parent:FindFirstChild("Humanoid")
1632
end
1633
local damage = 180
1634
if reduced then
1635
damage = math.floor(damage*(5/dist))
1636
end
1637
hum.Health = hum.Health - damage
1638
indicate(hum.Parent:FindFirstChild("Head"),damage,0)	
1639
end
1640
local Flash2 = Instance.new("Part", Character)
1641
Flash2.CanCollide = false
1642
Flash2.BrickColor = BrickColor.new(Color3.new(0,1,1))
1643
Flash2.Anchored = true
1644
Flash2.Position = newpos
1645
Flash2.Transparency = 0
1646
Flash2.Name = "flash"
1647
Flash2.Shape = "Ball"
1648
Flash2.Material = "Neon"
1649
Flash2.BackSurface = "SmoothNoOutlines"
1650
Flash2.FrontSurface = "SmoothNoOutlines"
1651
Flash2.BottomSurface = "SmoothNoOutlines"
1652
Flash2.TopSurface = "SmoothNoOutlines"
1653
Flash2.LeftSurface = "SmoothNoOutlines"
1654
Flash2.RightSurface = "SmoothNoOutlines"
1655
Flash2.FormFactor = "Custom"
1656
Flash2.Size = Vector3.new(0.3,0.3,0.3)
1657
local grow2 = coroutine.wrap(function()
1658
for i=1, 10 do 
1659
Flash2.Transparency = Flash2.Transparency + 0.1
1660
wait(0.01)
1661
end
1662
Flash2:Remove()
1663
end)
1664
local part = Instance.new("Part", Character)
1665
local origpos = BarrelEnd.CFrame*CFrame.new(0,-0.2,0).p
1666
local pos = CFrame.new((origpos+newpos)/2,newpos)
1667
local mag = (origpos - newpos).magnitude
1668
part.CanCollide = false
1669
part.Anchored = true
1670
part.FormFactor = "Custom"
1671
part.Material = "SmoothPlastic"
1672
part.Name = "effect"
1673
part.Shape = "Cylinder"
1674
part.BackSurface = "SmoothNoOutlines"
1675
part.BottomSurface = "SmoothNoOutlines"
1676
part.FrontSurface = "SmoothNoOutlines"
1677
part.LeftSurface = "SmoothNoOutlines"
1678
part.RightSurface = "SmoothNoOutlines"
1679
part.TopSurface = "SmoothNoOutlines"
1680
part.Transparency = 0.5
1681
part.BrickColor = BrickColor.new(Color3.new(50,50,50))
1682
part.Size = Vector3.new(mag,0.1,0.1)
1683
part.CFrame = pos*CFrame.Angles(0,math.rad(90),0)
1684
local changer = coroutine.wrap(function()
1685
for i=1, 10 do
1686
part.Size = part.Size + Vector3.new(0,0.01,0.01)
1687
part.Transparency = part.Transparency + 0.05
1688
wait()
1689
end
1690
part:Remove()
1691
end)
1692
grow2()
1693
changer()
1694
end
1695
local Flash = Instance.new("Part", Character)
1696
Flash.CanCollide = false
1697
Flash.BrickColor = BrickColor.new(Color3.new(1,1,0))
1698
Flash.Anchored = true
1699
Flash.CFrame = BarrelEnd.CFrame*CFrame.new(0,-0.1,0)
1700
Flash.Transparency = 0
1701
Flash.Material = "Neon"
1702
Flash.BackSurface = "SmoothNoOutlines"
1703
Flash.FrontSurface = "SmoothNoOutlines"
1704
Flash.BottomSurface = "SmoothNoOutlines"
1705
Flash.TopSurface = "SmoothNoOutlines"
1706
Flash.LeftSurface = "SmoothNoOutlines"
1707
Flash.RightSurface = "SmoothNoOutlines"
1708
Flash.FormFactor = "Custom"
1709
Flash.Size = Vector3.new(1,1,1)
1710
local mesh = Instance.new("SpecialMesh", Flash)
1711
mesh.MeshType = "Sphere"
1712
mesh.Scale = Vector3.new(0.4,0.4,0.4)
1713
local grow = coroutine.wrap(function()
1714
for i=1, 5 do 
1715
Flash.Transparency = Flash.Transparency + 0.2
1716
mesh.Scale = mesh.Scale + Vector3.new(0,0.2,0)
1717
wait()
1718
end
1719
Flash:Remove()
1720
end)
1721
grow()
1722
end
1723
local JointTargets={
1724
0;
1725
0;
1726
orig3*CFrame.new(-0.5,0,-1.3)*CFrame.Angles(0,math.rad(-85),math.rad(-110));
1727
orig4*CFrame.new(-0.1,-0.1,0)*CFrame.Angles(0,0,math.rad(120));
1728
0;
1729
0;
1730
}
1731
1732
local GunTargets={
1733
origh*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(15));
1734
origt*CFrame.Angles(0,0,math.rad(-15));
1735
}
1736
1737
for p=1,#Joints do
1738
if JointTargets[p] ~= 0 then
1739
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer2/5))
1740
CurrentJoints={
1741
CurrentJoints[1];
1742
CurrentJoints[2];
1743
Character.Torso['Left Shoulder'].C0;
1744
Character.Torso['Right Shoulder'].C0;
1745
CurrentJoints[5];
1746
CurrentJoints[6];
1747
}
1748
end
1749
end
1750
1751
for p=1,#GunJoints do
1752
if GunTargets[p] ~= 0 then
1753
GunJoints[p].C0=LastGunJoints[p]:lerp(GunTargets[p],math.sin(timer2/5))
1754
CurrentGunJoints={
1755
GunJoints[1].C0;
1756
GunJoints[2].C0;
1757
}
1758
end
1759
end
1760
1761
if timer2 >= 5 then
1762
keyframe2 = -1
1763-
if ammo == 5 then
1763+
1764
LastJoints = CurrentJoints
1765
LastGunJoints = CurrentGunJoints
1766
end
1767
end
1768
elseif animstate2 == 1 then
1769
if keyframe2 == -1 then
1770
reload:Play()
1771
local tochange = {}
1772
if ammo == 890 then
1773
table.insert(tochange,A2)
1774
elseif ammo == 4 then
1775
table.insert(tochange,A2)
1776
table.insert(tochange,A3)
1777
elseif ammo == 3 then
1778
table.insert(tochange,A2)
1779
table.insert(tochange,A3)
1780
table.insert(tochange,A4)
1781
elseif ammo == 2 then
1782
table.insert(tochange,A2)
1783
table.insert(tochange,A3)
1784
table.insert(tochange,A4)
1785
table.insert(tochange,A5)
1786
elseif ammo == 1 then
1787
table.insert(tochange,A2)
1788
table.insert(tochange,A3)
1789
table.insert(tochange,A4)
1790
table.insert(tochange,A5)
1791
table.insert(tochange,A6)
1792
elseif ammo == 0 then
1793
table.insert(tochange,A1)
1794
table.insert(tochange,A2)
1795
table.insert(tochange,A3)
1796
table.insert(tochange,A4)
1797
table.insert(tochange,A5)
1798
table.insert(tochange,A6)
1799
end
1800-
ammo = 6
1800+
1801
for i=1, 10 do
1802
for _,v in pairs (tochange) do
1803
v.BrickColor = BrickColor.new(0,i/10,i/10)
1804
end
1805
wait(0.01)
1806
end
1807
end)
1808
changer()
1809
ammo = 890
1810
keyframe2 = 0
1811
timer2 = 0
1812
elseif keyframe2 == 0 then
1813
local JointTargets={
1814
0;
1815
0;
1816
0;
1817
orig4*CFrame.new(0,0,0)*CFrame.Angles(0,0,math.rad(180));
1818
0;
1819
0;
1820
}
1821
1822
for p=1,#Joints do
1823
if JointTargets[p] ~= 0 then
1824
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer2/30))
1825
CurrentJoints={
1826
CurrentJoints[1];
1827
CurrentJoints[2];
1828
CurrentJoints[3];
1829-
wait(0.5)
1829+
1830
CurrentJoints[5];
1831
CurrentJoints[6];
1832
}
1833
end
1834
end
1835
1836
if timer2 >= 30 and not waiting then
1837
waiting = true
1838
wait()
1839
animstate2 = -1
1840
keyframe2 = -1
1841
attacking = false
1842
waiting = false
1843
LastJoints = CurrentJoints
1844
end
1845
end
1846
elseif animstate2 == 2 then
1847
if keyframe2 == -1 then
1848
gunshot:Play()
1849
if ammo == 6 then
1850
A2.BrickColor = BrickColor.new("Really black")
1851
elseif ammo == 5 then
1852
A3.BrickColor = BrickColor.new("Really black")
1853-
ammo = ammo - 1
1853+
1854
A4.BrickColor = BrickColor.new("Really black")
1855
elseif ammo == 3 then
1856
A5.BrickColor = BrickColor.new("Really black")
1857
elseif ammo == 2 then
1858
A6.BrickColor = BrickColor.new("Really black")
1859
elseif ammo == 1 then
1860
A1.BrickColor = BrickColor.new("Really black")
1861
end
1862
ammo = ammo - 890
1863
keyframe2 = 0
1864
timer2 = 0
1865
local reduced = false
1866
local ray = Ray.new((BarrelEnd.CFrame*CFrame.new(0,-0.2,0)).p,(Mouse.Hit.p-BarrelEnd.CFrame*CFrame.new(0,-0.2,0).p).unit*999)
1867
local target, hit = workspace:FindPartOnRay(ray,Character)
1868
local newpos = hit
1869
local newhit = target
1870
if newhit then
1871
if (newpos-Character.HumanoidRootPart.Position).magnitude > 70 then
1872
reduced = true
1873
end
1874
local dist = (newpos-Character.HumanoidRootPart.Position).magnitude
1875
if newhit and (newhit.Parent:FindFirstChild("Humanoid") or newhit.Parent.Parent:FindFirstChild("Humanoid")) then
1876
local hum;
1877
if newhit.Parent.Parent:FindFirstChild("Humanoid") then
1878
hum = newhit.Parent.Parent:FindFirstChild("Humanoid")
1879
elseif newhit.Parent:FindFirstChild("Humanoid") then
1880
hum = newhit.Parent:FindFirstChild("Humanoid")
1881
end
1882
if newhit.Name == "Head" or newhit.Name == "Handle" or newhit.ClassName == "Accessory" then
1883
local damage = 70
1884
if reduced then
1885
damage = math.floor(damage*(70/dist))
1886
end
1887
hum.Health = hum.Health - damage
1888
indicate(hum.Parent:FindFirstChild("Head"),damage,1)
1889
else
1890
local damage = 35
1891
if reduced then
1892
damage = math.floor(damage*(70/dist))
1893
end
1894
hum.Health = hum.Health - damage
1895
indicate(hum.Parent:FindFirstChild("Head"),damage,0)	
1896
end
1897
end
1898
local Flash2 = Instance.new("Part", Character)
1899
Flash2.CanCollide = false
1900
Flash2.BrickColor = BrickColor.new(Color3.new(0,1,1))
1901
Flash2.Anchored = true
1902
Flash2.Position = newpos
1903
Flash2.Transparency = 0
1904
Flash2.Name = "flash"
1905
Flash2.Shape = "Ball"
1906
Flash2.Material = "Neon"
1907
Flash2.BackSurface = "SmoothNoOutlines"
1908
Flash2.FrontSurface = "SmoothNoOutlines"
1909
Flash2.BottomSurface = "SmoothNoOutlines"
1910
Flash2.TopSurface = "SmoothNoOutlines"
1911
Flash2.LeftSurface = "SmoothNoOutlines"
1912
Flash2.RightSurface = "SmoothNoOutlines"
1913
Flash2.FormFactor = "Custom"
1914
Flash2.Size = Vector3.new(0.3,0.3,0.3)
1915
local grow2 = coroutine.wrap(function()
1916
for i=1, 10 do 
1917
Flash2.Transparency = Flash2.Transparency + 0.1
1918
wait(0.01)
1919
end
1920
Flash2:Remove()
1921
end)
1922
local part = Instance.new("Part", Character)
1923
local origpos = BarrelEnd.CFrame*CFrame.new(0,-0.2,0).p
1924
local pos = CFrame.new((origpos+newpos)/2,newpos)
1925
local mag = (origpos - newpos).magnitude
1926
part.CanCollide = false
1927
part.Anchored = true
1928
part.FormFactor = "Custom"
1929
part.Material = "SmoothPlastic"
1930
part.Name = "effect"
1931
part.Shape = "Cylinder"
1932
part.BackSurface = "SmoothNoOutlines"
1933
part.BottomSurface = "SmoothNoOutlines"
1934
part.FrontSurface = "SmoothNoOutlines"
1935
part.LeftSurface = "SmoothNoOutlines"
1936
part.RightSurface = "SmoothNoOutlines"
1937
part.TopSurface = "SmoothNoOutlines"
1938
part.Transparency = 0.5
1939
part.BrickColor = BrickColor.new(Color3.new(50,50,50))
1940
part.Size = Vector3.new(mag,0.1,0.1)
1941
part.CFrame = pos*CFrame.Angles(0,math.rad(90),0)
1942
local changer = coroutine.wrap(function()
1943
for i=1, 10 do
1944
part.Size = part.Size + Vector3.new(0,0.01,0.01)
1945
part.Transparency = part.Transparency + 0.05
1946
wait()
1947
end
1948
part:Remove()
1949
end)
1950
grow2()
1951
changer()
1952
end
1953
local Flash = Instance.new("Part", Character)
1954
Flash.CanCollide = false
1955
Flash.BrickColor = BrickColor.new(Color3.new(1,1,0))
1956
Flash.Anchored = true
1957
Flash.CFrame = BarrelEnd.CFrame*CFrame.new(0,-0.1,0)
1958
Flash.Transparency = 0
1959
Flash.Material = "Neon"
1960
Flash.BackSurface = "SmoothNoOutlines"
1961
Flash.FrontSurface = "SmoothNoOutlines"
1962
Flash.BottomSurface = "SmoothNoOutlines"
1963
Flash.TopSurface = "SmoothNoOutlines"
1964
Flash.LeftSurface = "SmoothNoOutlines"
1965
Flash.RightSurface = "SmoothNoOutlines"
1966
Flash.FormFactor = "Custom"
1967
Flash.Size = Vector3.new(1,1,1)
1968
local mesh = Instance.new("SpecialMesh", Flash)
1969
mesh.MeshType = "Sphere"
1970
mesh.Scale = Vector3.new(0.4,0.4,0.4)
1971
local grow = coroutine.wrap(function()
1972
for i=1, 5 do 
1973
Flash.Transparency = Flash.Transparency + 0.2
1974
mesh.Scale = mesh.Scale + Vector3.new(0,0.2,0)
1975
wait()
1976
end
1977
Flash:Remove()
1978
end)
1979
grow()
1980
elseif keyframe2 == 0 then
1981
local JointTargets={
1982
0;
1983
0;
1984
0;
1985
orig4*CFrame.new(-0.1,-0.1,0)*CFrame.Angles(0,0,math.rad(150)+math.asin((Mouse.Hit.p-Mouse.Origin.p).unit.y));
1986
0;
1987
0;
1988
}
1989
1990
local GunTargets={
1991
origh*CFrame.new(0,-0.2,0)*CFrame.Angles(0,0,math.rad(15));
1992
origt*CFrame.Angles(0,0,math.rad(-15));
1993
}
1994
for p=1,#Joints do
1995
if JointTargets[p] ~= 0 then
1996
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer2/10))
1997
CurrentJoints={
1998
CurrentJoints[1];
1999
CurrentJoints[2];
2000
CurrentJoints[3];
2001
Character.Torso['Right Shoulder'].C0;
2002
CurrentJoints[5];
2003
CurrentJoints[6];
2004
}
2005
end
2006
end
2007
2008
for p=1,#GunJoints do
2009
if GunTargets[p] ~= 0 then
2010
GunJoints[p].C0=LastGunJoints[p]:lerp(GunTargets[p],math.sin(timer2/10))
2011
CurrentGunJoints={
2012
GunJoints[1].C0;
2013
GunJoints[2].C0;
2014
}
2015
end
2016
end
2017
if timer2 >= 10 then
2018
keyframe2 = 2
2019
timer2 = 0
2020
attacking = false
2021
LastJoints = CurrentJoints
2022
LastGunJoints = CurrentGunJoints
2023
end
2024
elseif keyframe2 == 2 then
2025
local GunTargets={
2026
origh;
2027
origt;
2028
}
2029
for p=1,#GunJoints do
2030
if GunTargets[p] ~= 0 then
2031
GunJoints[p].C0=LastGunJoints[p]:lerp(GunTargets[p],math.sin(timer2/10))
2032
CurrentGunJoints={
2033
GunJoints[1].C0;
2034-
wait(0.5)
2034+
2035
}
2036
end
2037
end
2038
if timer2 >= 10 then
2039
animstate2 = -1
2040
keyframe2 = -1
2041
LastGunJoints = CurrentGunJoints
2042
local waiter = coroutine.wrap(function()
2043
wait()
2044
cooled1 = true
2045
end)
2046
waiter()
2047
end
2048
end
2049
elseif animstate2 == 3 then
2050
if keyframe2 == -1 then
2051
local JointTargets={
2052
0;
2053
0;
2054
orig3*CFrame.Angles(0,math.rad(-15),math.rad(-135));
2055
0;
2056
0;
2057
0;
2058
}
2059
2060
for p=1,#Joints do
2061
if JointTargets[p] ~= 0 then
2062
Joints[p].C0=LastJoints[p]:lerp(JointTargets[p],math.sin(timer2/12))
2063
CurrentJoints={
2064
CurrentJoints[1];
2065
CurrentJoints[2];
2066
Character.Torso['Left Shoulder'].C0;
2067
CurrentJoints[4];
2068
CurrentJoints[5];
2069
CurrentJoints[6];
2070
}
2071
end
2072
end
2073
2074
if timer2 >= 12 and not waiting then
2075
waiting = true
2076
local flashpart = Instance.new("Part", Character)
2077
flashpart.FormFactor = "Custom"
2078
flashpart.FrontSurface = "Smooth"
2079
flashpart.BackSurface = "Smooth"
2080
flashpart.TopSurface = "Smooth"
2081
flashpart.BottomSurface = "Smooth"
2082
flashpart.LeftSurface = "Smooth"
2083
flashpart.RightSurface = "Smooth"
2084
flashpart.BrickColor = BrickColor.new(10/255,10/255,10/255)
2085
flashpart.Size = Vector3.new(0.35,0.7,0.35)
2086
flashpart.CanCollide = false
2087
flashpart.CFrame = Character['Left Arm'].CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.random(),math.random(),math.random())
2088
flashpart.Velocity = Character.HumanoidRootPart.CFrame.lookVector*20+Vector3.new(0,0.5,0)
2089
wait(0.1)
2090
local bang = coroutine.wrap(function()
2091
local prevframe = flashpart.CFrame
2092
local stunner = coroutine.wrap(function()
2093
for _,v in pairs (workspace:GetChildren()) do
2094
local torso;
2095
if v:FindFirstChild("Torso") then
2096
torso = v:FindFirstChild("Torso")
2097
elseif v:FindFirstChild("UpperTorso") then
2098
torso = v:FindFirstChild("UpperTorso")
2099
end
2100
if v:FindFirstChild("Humanoid") and torso and v ~= Character then
2101
local mag = (torso.Position-prevframe.p).magnitude
2102
if mag <= 10 then
2103
local stunthem = coroutine.wrap(function()
2104
local prev = v:FindFirstChild("Humanoid").WalkSpeed
2105
local prev2 = v:FindFirstChild("Humanoid").JumpPower
2106
v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - 15
2107
indicate(v:FindFirstChild("Head"),15,0)
2108
v:FindFirstChild("Humanoid").WalkSpeed = 0
2109
v:FindFirstChild("Humanoid").JumpPower = 0
2110
wait(1)
2111
v:FindFirstChild("Humanoid").WalkSpeed = prev
2112
v:FindFirstChild("Humanoid").JumpPower = prev2
2113
end)
2114
stunthem()
2115
end
2116
end
2117
end
2118
end)
2119
stunner()
2120
flashpart:Remove()
2121
local soundpart = Instance.new("Part", Character)
2122
soundpart.Anchored = true
2123
soundpart.FormFactor = "Custom"
2124
soundpart.CanCollide = false
2125
soundpart.Size = Vector3.new(0.2,0.2,0.2)
2126
soundpart.CFrame = prevframe
2127
soundpart.Transparency = 1
2128
local flash = Instance.new("Sound", soundpart)
2129
flash.Volume = 0.8
2130
flash.SoundId = "rbxassetid://440145223"
2131
flash:Play()
2132
game.Debris:AddItem(soundpart,5)
2133
for i=1, 5 do
2134
local Flash = Instance.new("Part", Character)
2135
Flash.CanCollide = false
2136
Flash.BrickColor = BrickColor.new(Color3.new(1,1,0))
2137
Flash.Anchored = true
2138
Flash.CFrame = prevframe*CFrame.Angles(math.random(),math.random(),math.random())
2139
Flash.Transparency = 0
2140
Flash.Material = "Neon"
2141
Flash.BackSurface = "SmoothNoOutlines"
2142
Flash.FrontSurface = "SmoothNoOutlines"
2143
Flash.BottomSurface = "SmoothNoOutlines"
2144
Flash.TopSurface = "SmoothNoOutlines"
2145
Flash.LeftSurface = "SmoothNoOutlines"
2146
Flash.RightSurface = "SmoothNoOutlines"
2147
Flash.FormFactor = "Custom"
2148
Flash.Size = Vector3.new(1,1,1)
2149
local mesh = Instance.new("SpecialMesh", Flash)
2150
mesh.MeshType = "Sphere"
2151
mesh.Scale = Vector3.new(2,2,2)
2152
local grow = coroutine.wrap(function()
2153
for i=1, 10 do 
2154
Flash.Transparency = Flash.Transparency + 0.1
2155
mesh.Scale = mesh.Scale + Vector3.new(0,1,0)
2156
wait()
2157
end
2158
Flash:Remove()
2159
end)
2160
grow()
2161
wait()
2162
end
2163
end)
2164
bang()
2165
animstate2 = -1
2166
keyframe2 = -1
2167
timer2 = 0
2168
attacking = false
2169
waiting = false
2170
LastJoints = CurrentJoints
2171
local waiter = coroutine.wrap(function()
2172
wait(6)
2173
cooled3 = true
2174
end)
2175
waiter()
2176
end
2177
end
2178
end
2179
end)
2180
2181
Mouse.Button1Down:connect(function()
2182
if ammo > 0 and not attacking and cooled1 and not waiting then
2183-
if key == "r" and not attacking and ammo < 6 and not waiting and cooled1 then
2183+
2184
cooled1 = false
2185
timer2 = 0
2186
keyframe2 = -1
2187
attacking = true
2188-
elseif key == "f" and ammo > 0 and not attacking and cooled1 and not waiting then
2188+
2189
end)
2190
2191
Mouse.KeyDown:connect(function(key)
2192
if key == "r" and not attacking and ammo < 800 and not waiting and cooled1 then
2193
animstate2 = 1
2194
timer2 = 0
2195
keyframe2 = -1
2196
attacking = true
2197
elseif key == "f" and ammo > 600 and not attacking and cooled1 and not waiting then
2198
animstate2 = 0
2199
cooled1 = false
2200
timer2 = 0
2201
keyframe2 = -1
2202
attacking = true
2203
elseif key == "q" and not attacking and cooled2 and not waiting and Player.Character.Humanoid.MoveDirection ~= Vector3.new(0,0,0) then
2204
animstate = 2
2205
cooled2 = false
2206
timer = 0
2207
Character.Humanoid.WalkSpeed = 50
2208
keyframe = 0
2209
attacking = true
2210
LastJoints = CurrentJoints
2211
elseif key == "e" and not attacking and not waiting and cooled3 then
2212
animstate2 = 3
2213
cooled3 = false
2214
timer2 = 0
2215
keyframe2 = -1
2216
attacking = true
2217
end
2218
end)