View difference between Paste ID: 1VxU5TKY and aqiZKJXq
SHOW: | | - or go back to the newest paste.
1-
--[[ Elite Script ]]--
1+
2-
--[[ Declarations ]]--
2+
lol = getcustomasset or getsynasset
3-
wait(.0000000000000000000001)
3+
getgenv().LoadLibrary = function(lib) return loadstring(game:HttpGet("https://raw.githubusercontent.com/Roblox/Core-Scripts/master/CoreScriptsRoot/Libraries/" .. lib .. ".lua"))() end
4-
local Player = game:GetService("Players").LocalPlayer
4+
5-
local Character = Player.Character
5+
local script = game:GetObjects("rbxassetid://10561777706")[1]
6-
local Head = Character.Head
6+
local MODULE = script
7-
local Torso = Character.Torso
7+
local PLAYER = game:GetService("Players").LocalPlayer
8-
local Right_Arm = Character["Right Arm"]
8+
local CHARACTER = Character
9-
local Right_Leg = Character["Right Leg"]
9+
local HUM = CHARACTER.Humanoid
10-
local Left_Arm = Character["Left Arm"]
10+
11-
local Left_Leg = Character["Left Leg"]
11+
local ROOT = HUM.Torso
12-
local Humanoid = Character.Humanoid
12+
local HEAD = CHARACTER.Head
13
local TORSO = CHARACTER.Torso
14
local RIGHTARM = CHARACTER["Right Arm"]
15-
local LeftShoulder = Torso["Left Shoulder"] 
15+
local LEFTARM = CHARACTER["Left Arm"]
16-
local Left_Hip = Torso["Left Hip"] 
16+
local RIGHTLEG = CHARACTER["Right Leg"]
17-
local RightShoulder = Torso["Right Shoulder"] 
17+
local LEFTLEG = CHARACTER["Left Leg"]
18-
local Right_Hip = Torso["Right Hip"] 
18+
local ROOTJOINT = ROOT["RootJoint"]
19-
local Root = Character.HumanoidRootPart
19+
local NECK = TORSO["Neck"]
20-
local RootJoint = Root.RootJoint
20+
local RIGHTSHOULDER = TORSO["Right Shoulder"]
21
local LEFTSHOULDER = TORSO["Left Shoulder"]
22
local RIGHTHIP = TORSO["Right Hip"]
23
local LEFTHIP = TORSO["Left Hip"]
24
local MOUSEPOS = ROOT.Position
25
local Animation = "Idle"
26
local Mouse = Player:GetMouse()
27
local Attacking = false
28
local CanAttack = true
29
local Anim = "Idle"
30
local Combo = 1 
31
local Shots = 1
32
local Blocking = false
33
local MaxMana = 100
34
local Mana = 100
35
local MaxBlock = 100
36
local Effects = {}
37
local Color = "Bright yellow"
38
local cf = CFrame.new
39
local WalkFoRightShoulderard = false
40
	
41
local RootCFrame = CFrame.Angles(-1.57,0,3.14)
42
Necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
43
Necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
44
Right_Hip_C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
45
Left_Hip_C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
46
47
Movemment = 1
48
Walk = 0
49
50
Left_Shoulder = Instance.new("Weld", Torso)
51
Left_Shoulder.Part0 = Torso
52
Left_Shoulder.Part1 = Left_Arm
53
Left_Shoulder.Name = "Left Shoulder"
54
Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
55
56
Right_Shoulder = Instance.new("Weld", Torso)
57
Right_Shoulder.Part0 = Torso
58
Right_Shoulder.Part1 = Right_Arm
59
Right_Shoulder.Name = "Right Shoulder"
60
Right_Shoulder.C0 = CFrame.new(1.5,0,0)
61
62
local Services = {
63
64
SoundService = game:GetService("SoundService");
65
Players = game:GetService("Players");
66
Debris = game:GetService("Debris");
67
Workspace = game:GetService("Workspace");
68
Lighting = game:GetService("Lighting");
69
HttpService = game:GetService("HttpService");
70
InsertService = game:GetService("InsertService");
71
	
72
}
73
74
MaxCooldown1 = 150
75
MaxCooldown2 = 30
76
MaxCooldown3 = 50
77
MaxCooldown4 = 150
78
MaxCooldownE = 120
79
80
Cooldown1 = MaxCooldown1
81
Cooldown2 = MaxCooldown2
82
Cooldown3 = MaxCooldown3
83
Cooldown4 = MaxCooldown4
84
CooldownE = MaxCooldownE
85
86
LeftShoulder.Parent = nil
87
RightShoulder.Parent = nil
88
89
Animator = Humanoid.Animator
90
Animate = Character.Animate
91
Animate.idle.Animation2:Remove()
92
93
wait(0.1)
94
local HealthBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
95
HealthBarGUI.Name = "HealthBarGUI"
96
97
local HealthBarP1 = Instance.new("Frame", HealthBarGUI)
98
HealthBarP1.Name = "HealthBarPart1"
99
HealthBarP1.Size = UDim2.new(0,300,0,40)
100
HealthBarP1.Position = UDim2.new(0,350,0,550)
101
HealthBarP1.Style = "RobloxRound"
102
103
local HealthBarP2 = Instance.new("Frame", HealthBarP1)
104
HealthBarP2.Name = "HealthBarPart2"
105
HealthBarP2.Size = UDim2.new(0,285,0,20)
106
HealthBarP2.Position = UDim2.new(0,0,0,0)
107
108
local HealthBarText = Instance.new("TextLabel", HealthBarP1)
109
HealthBarText.Name = "HealthBarText"
110
HealthBarText.Size = UDim2.new(0,285,0,20)
111
HealthBarText.Position = UDim2.new(0,0,0,0)
112
HealthBarText.BackgroundColor3 = Color3.new(0,1,0)	
113
HealthBarText.TextScaled = true
114
HealthBarText.Text = "Health"
115
HealthBarText.TextStrokeTransparency = 0
116
HealthBarText.BackgroundTransparency = 1
117
HealthBarText.TextStrokeColor3 = Color3.new(1,1,1)
118
HealthBarText.TextColor3 = Color3.new(0,0,0)
119
HealthBarText.Font = "SciFi"
120
121
local ManaBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
122
ManaBarGUI.Name = "ManaBarGUI"
123
124
local ManaBarP1 = Instance.new("Frame", ManaBarGUI)
125
ManaBarP1.Name = "ManaBarPart1"
126
ManaBarP1.Size = UDim2.new(0,300,0,40)
127
ManaBarP1.Position = UDim2.new(0,350,0,500)
128
ManaBarP1.Style = "RobloxRound"
129
130
local ManaBarP2 = Instance.new("Frame", ManaBarP1)
131
ManaBarP2.Name = "ManaBarPart2"
132
ManaBarP2.Size = UDim2.new(0,285,0,20)
133
ManaBarP2.Position = UDim2.new(0,0,0,0)
134
ManaBarP2.BackgroundColor3 = BrickColor.new("Dark stone grey").Color
135
136
local ManaBarText = Instance.new("TextLabel", ManaBarP1)
137
ManaBarText.Name = "ManaBarText"
138
ManaBarText.Size = UDim2.new(0,285,0,20)
139
ManaBarText.Position = UDim2.new(0,0,0,0)	
140
ManaBarText.TextScaled = true
141
ManaBarText.Text = "Skill"
142
ManaBarText.BackgroundTransparency = 1
143
ManaBarText.TextStrokeTransparency = 0
144
ManaBarText.TextStrokeColor3 = Color3.new(1,1,1)
145
ManaBarText.TextColor3 = Color3.new(0,0,0)
146
ManaBarText.Font = "SciFi"
147
148
local CoolDownGUI = Instance.new("ScreenGui", Player.PlayerGui)
149
CoolDownGUI.Name = "CoolDownGUI"
150
151
local CoolDowns = Instance.new("Frame", CoolDownGUI)
152
CoolDowns.Name = "CoolDowns"
153
CoolDowns.Size = UDim2.new(0,200,0,200)
154
CoolDowns.Position = UDim2.new(0.81,0,0.68,0)
155
CoolDowns.Style = "RobloxRound"
156
157
local CoolDown1Frame = Instance.new("Frame", CoolDowns)
158
CoolDown1Frame.Name = "CoolDown1Frame"
159
CoolDown1Frame.Size = UDim2.new(0,80,0,50)
160
CoolDown1Frame.Position = UDim2.new(0,0,0,0)
161
CoolDown1Frame.BackgroundTransparency = 0.5
162
CoolDown1Frame.BackgroundColor3 = BrickColor.White().Color
163
164
local CoolDown1Bar = Instance.new("Frame", CoolDown1Frame)
165
CoolDown1Bar.Name = "CoolDown1Bar"
166
CoolDown1Bar.Size = UDim2.new(0,80,0,50)
167
CoolDown1Bar.Position = UDim2.new(0,0,0,0)	
168
CoolDown1Bar.BackgroundColor3 = BrickColor.DarkGray().Color
169
170
local CoolDown1Text = Instance.new("TextLabel", CoolDown1Frame)
171
CoolDown1Text.Name = "CoolDown1Text"
172
CoolDown1Text.Size = UDim2.new(0,80,0,50)
173
CoolDown1Text.Position = UDim2.new(0,0,0,0)	
174
CoolDown1Text.BackgroundTransparency = 1
175
CoolDown1Text.TextScaled = true
176
CoolDown1Text.Text = "Z - Shot combo"
177
CoolDown1Text.TextStrokeTransparency = 0
178
CoolDown1Text.TextStrokeColor3 = Color3.new(1,1,1)
179
CoolDown1Text.TextColor3 = Color3.new(0,0,0)
180
CoolDown1Text.Font = "SciFi"
181
182
local CoolDown2Frame = Instance.new("Frame", CoolDowns)
183
CoolDown2Frame.Name = "CoolDown2Frame"
184
CoolDown2Frame.Size = UDim2.new(0,80,0,50)
185
CoolDown2Frame.Position = UDim2.new(0.55,0,0,0)
186
CoolDown2Frame.BackgroundTransparency = 0.5
187
CoolDown2Frame.BackgroundColor3 = BrickColor.White().Color
188
189
local CoolDown2Bar = Instance.new("Frame", CoolDown2Frame)
190
CoolDown2Bar.Name = "CoolDown2Bar"
191
CoolDown2Bar.Size = UDim2.new(0,80,0,50)
192
CoolDown2Bar.Position = UDim2.new(0,0,0,0)	
193
CoolDown2Bar.BackgroundColor3 = BrickColor.DarkGray().Color
194
195
local CoolDown2Text = Instance.new("TextLabel", CoolDown2Frame)
196
CoolDown2Text.Name = "CoolDown2Text"
197
CoolDown2Text.Size = UDim2.new(0,80,0,50)
198
CoolDown2Text.Position = UDim2.new(0,0,0,0)	
199
CoolDown2Text.BackgroundTransparency = 1
200
CoolDown2Text.TextScaled = true
201
CoolDown2Text.Text = "X - Back jump"
202
CoolDown2Text.TextStrokeTransparency = 0
203
CoolDown2Text.TextStrokeColor3 = Color3.new(1,1,1)
204
CoolDown2Text.TextColor3 = Color3.new(0,0,0)
205
CoolDown2Text.Font = "SciFi"
206
207
local CoolDown3Frame = Instance.new("Frame", CoolDowns)
208
CoolDown3Frame.Name = "CoolDown3Frame"
209
CoolDown3Frame.Size = UDim2.new(0,80,0,50)
210
CoolDown3Frame.Position = UDim2.new(0,0,0.4,0)
211
CoolDown3Frame.BackgroundTransparency = 0.5
212
CoolDown3Frame.BackgroundColor3 = BrickColor.White().Color
213
214
local CoolDown3Bar = Instance.new("Frame", CoolDown3Frame)
215
CoolDown3Bar.Name = "CoolDown3Bar"
216
CoolDown3Bar.Size = UDim2.new(0,80,0,50)
217
CoolDown3Bar.Position = UDim2.new(0,0,0,0)	
218
CoolDown3Bar.BackgroundColor3 = BrickColor.DarkGray().Color
219
220
local CoolDown3Text = Instance.new("TextLabel", CoolDown3Frame)
221
CoolDown3Text.Name = "CoolDown3Text"
222
CoolDown3Text.Size = UDim2.new(0,80,0,50)
223
CoolDown3Text.Position = UDim2.new(0,0,0,0)	
224
CoolDown3Text.BackgroundTransparency = 1
225
CoolDown3Text.TextScaled = true
226
CoolDown3Text.Text = "C - Lighting shot"
227
CoolDown3Text.TextStrokeTransparency = 0
228
CoolDown3Text.TextStrokeColor3 = Color3.new(1,1,1)
229
CoolDown3Text.TextColor3 = Color3.new(0,0,0)
230
CoolDown3Text.Font = "SciFi"
231
232
233
local CoolDown4Frame = Instance.new("Frame", CoolDowns)
234
CoolDown4Frame.Name = "CoolDown4Frame"
235
CoolDown4Frame.Size = UDim2.new(0,80,0,50)
236
CoolDown4Frame.Position = UDim2.new(0.55,0,0.4,0)
237
CoolDown4Frame.BackgroundTransparency = 0.5
238
CoolDown4Frame.BackgroundColor3 = BrickColor.White().Color
239
240
local CoolDown4Bar = Instance.new("Frame", CoolDown4Frame)
241
CoolDown4Bar.Name = "CoolDown4Bar"
242
CoolDown4Bar.Size = UDim2.new(0,80,0,50)
243
CoolDown4Bar.Position = UDim2.new(0,0,0,0)	
244
CoolDown4Bar.BackgroundColor3 = BrickColor.DarkGray().Color
245
246
local CoolDown4Text = Instance.new("TextLabel", CoolDown4Frame)
247
CoolDown4Text.Name = "CoolDown4Text"
248
CoolDown4Text.Size = UDim2.new(0,80,0,50)
249
CoolDown4Text.Position = UDim2.new(0,0,0,0)	
250
CoolDown4Text.BackgroundTransparency = 1
251
CoolDown4Text.TextScaled = true
252
CoolDown4Text.Text = "V - Overshot"
253
CoolDown4Text.TextStrokeTransparency = 0
254
CoolDown4Text.TextStrokeColor3 = Color3.new(1,1,1)
255
CoolDown4Text.TextColor3 = Color3.new(0,0,0)
256
CoolDown4Text.Font = "SciFi"
257
258
local CoolDownEFrame = Instance.new("Frame", CoolDowns)
259
CoolDownEFrame.Name = "CoolDownEFrame"
260
CoolDownEFrame.Size = UDim2.new(0,180,0,50)
261
CoolDownEFrame.Position = UDim2.new(0,0,0.74,0)
262
CoolDownEFrame.BackgroundTransparency = 0.5
263
CoolDownEFrame.BackgroundColor3 = BrickColor.White().Color
264
265
local CoolDownEBar = Instance.new("Frame", CoolDownEFrame)
266
CoolDownEBar.Name = "CoolDownEBar"
267
CoolDownEBar.Size = UDim2.new(0,180,0,50)
268
CoolDownEBar.Position = UDim2.new(0,0,0,0)	
269
CoolDownEBar.BackgroundColor3 = BrickColor.DarkGray().Color
270
271
local CoolDownEText = Instance.new("TextLabel", CoolDownEFrame)
272
CoolDownEText.Name = "CoolDownEText"
273
CoolDownEText.Size = UDim2.new(0,180,0,50)
274
CoolDownEText.Position = UDim2.new(0,0,0,0)	
275
CoolDownEText.BackgroundTransparency = 1
276
CoolDownEText.TextScaled = true
277
CoolDownEText.Text = "E - Shoot"
278
CoolDownEText.TextStrokeTransparency = 0
279
CoolDownEText.TextStrokeColor3 = Color3.new(1,1,1)
280
CoolDownEText.TextColor3 = Color3.new(0,0,0)
281
CoolDownEText.Font = "SciFi"
282
283
284
WalkSpeed = Humanoid.WalkSpeed
285
Health = Humanoid.Health
286
MaxHealth = Humanoid.MaxHealth
287
288
--------[[ Mesh Ids ]]--------
289
290
SpikeMeshId = 1033714
291
SpikeBallId = 9982590
292
StarMeshId = 45428961
293
CrystalMeshId = 9756362
294
295
296
--------[[ Functions ]]--------
297
298
function NoOutlines(Part)
299
		Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
300
end
301
	
302
303
local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
304
305
local Part = Instance.new("Part", Parent)
306
Part.Name = Name
307
Part.BrickColor = BrickColor.new(Color)
308
Part.Size = Size
309
Part.Material = Material
310
Part.Transparency = Transparency
311
Part.Shape = Shape
312
Part.CanCollide = false
313
NoOutlines(Part)
314
315
return Part
316
317
end
318
319
local CreateBlockMesh = function(Parent, Scale)
320
321
322
local Mesh = Instance.new("BlockMesh", Parent)
323
Mesh.Scale = Scale
324
325
return Mesh
326
327
end
328
329
local CreateCylinderMesh = function(Parent, Scale)
330
331
332
local Mesh = Instance.new("CylinderMesh", Parent)
333
Mesh.Scale = Scale
334
335
return Mesh
336
337
end
338
339
local CreateWedgeMesh = function(Parent, Scale)
340
341
342
local Mesh = Instance.new("SpecialMesh", Parent)
343
Mesh.MeshType = "Wedge"
344
Mesh.Scale = Scale
345
346
return Mesh
347
348
end
349
350
local CreateWeld = function(Parent, Cframe, Cframe2, P1 , P0, Name)
351
	
352
local Weld = Instance.new("Weld", Parent)
353
Weld.Part0 = P0
354
Weld.Part1 = P1
355
Weld.Name = Name
356
Weld.C0 = Cframe
357
Weld.C1 = Cframe2
358
359
return Weld	
360
	
361
end
362
363
local CreateCrystal = function(Parent, Name, Color, Size, Material, Transparency, Scale)
364
365
366
local Part = Instance.new("Part", Parent)
367
Part.Name = Name
368
Part.BrickColor = BrickColor.new(Color)
369
Part.Size = Size
370
Part.Material = Material
371
Part.Transparency = Transparency
372
Part.CanCollide = false
373
NoOutlines(Part)
374
375
local Mesh = Instance.new("SpecialMesh", Part)
376
Mesh.MeshId = "http://www.roblox.com/asset?id=" .. CrystalMeshId
377
Mesh.Scale = Scale
378
379
return Mesh and Part
380
381
end
382
383
local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
384
385
386
local Part = Instance.new("Part", Parent)
387
Part.Name = Name
388
Part.BrickColor = BrickColor.new(Color)
389
Part.Size = Size
390
Part.Material = Material
391
Part.Transparency = Transparency
392
Part.CanCollide = false
393
NoOutlines(Part)
394
395
local Mesh = Instance.new("SpecialMesh", Part)
396
Mesh.MeshId = "http://www.roblox.com/asset?id=" .. SpikeMeshId
397
Mesh.Scale = Scale
398
399
return Mesh and Part
400
401
end
402
403
local CreateBlockMeshedPart = function(Parent, Name, Color, Size, Material, Transparency, Scale)
404
405
406
local Part = Instance.new("Part", Parent)
407
Part.Name = Name
408
Part.BrickColor = BrickColor.new(Color)
409
Part.Size = Size
410
Part.Material = Material
411
Part.Transparency = Transparency
412
Part.CanCollide = false
413
NoOutlines(Part)
414
415
416
local Mesh = Instance.new("BlockMesh", Part)
417
Mesh.Scale = Scale
418
419
return Mesh and Part
420
421
end
422
423
424
local CreateVelocity = function(Parent,Velocity,Force)
425
local BodyVelocity = Instance.new("BodyVelocity", Parent)
426
BodyVelocity.Velocity = Velocity
427
BodyVelocity.MaxForce = Force	
428
429
	
430
	
431
return BodyVelocity	
432
	
433
end
434
435
local MakeSFX = function(Parent, Id, Volume, Pitch)
436
	
437
local SFX = Instance.new("Sound", Parent)
438
SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
439
SFX.Name = "SFX"
440
SFX:Play()
441
SFX.Volume = Volume
442
SFX.Pitch = Pitch
443
SFX.PlayOnRemove = true
444
SFX:Remove()
445
	
446
end
447
448
449
450
451
CircleEffect = function(Position, Parent, DX, DY, DZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
452
	
453
local Part = Instance.new("Part", Parent)
454
Part.Transparency = Transparency
455
Part.Name = "CircleEffect"
456
Part.Size = Vector3.new()
457
Part.Anchored = true
458
Part.CanCollide = false
459
Part.Position = Position
460
Part.BrickColor = BrickColor.new(Brickcolor)
461
Part.Material = Material
462
NoOutlines(Part)
463
464
local Mesh = Instance.new("SpecialMesh", Part)
465
Mesh.MeshType = "Sphere"
466
Mesh.Scale = Vector3.new(DX,DY,DZ)
467
468
Services.Debris:AddItem(Part, Time)
469
470
471
table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
472
473
return Part
474
475
end
476
477
CylinderEffect = function(Position, Parent, DX, DY, DZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
478
	
479
local Part = Instance.new("Part", Parent)
480
Part.Transparency = Transparency
481
Part.Name = "CylinderEffect"
482
Part.Size = Vector3.new()
483
Part.Anchored = true
484
Part.CanCollide = false
485
Part.Position = Position
486
Part.BrickColor = BrickColor.new(Brickcolor)
487
Part.Material = Material
488
NoOutlines(Part)
489
490
local Mesh = Instance.new("SpecialMesh", Part)
491
Mesh.MeshType = "Cylinder"
492
Mesh.Scale = Vector3.new(DX,DY,DZ)
493
494
Services.Debris:AddItem(Part, Time)
495
496
497
table.insert(Effects, {Part, "Cylinder", Time, SX, SY, SZ})
498
499
500
end
501
502
function Lightning(p0,p1,tym,ofs,col,th,tra,last , SX, SY, SZ) -- yea i copy dis, it doenst matter anyways , everyone copy fenrier's thingies y not 1 time?
503
local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
504
for i=1,tym do
505
local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true  li.Transparency = tra or 0.4 li.BrickColor = BrickColor.new(col)
506
li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(th,th,magz/tym) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
507
local Part = li
508
local Mesh = Instance.new("BlockMesh", Part)
509
Mesh.Scale = Vector3.new(1, 1, 1)
510
511
table.insert(Effects, {Part, "Lightning", tym, SX, SY, SZ})
512
local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
513
if tym == i then
514
local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
515
li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
516
else
517
li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
518
end
519
curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,last)
520
end
521
522
523
end
524
525
526
BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
527
	
528
local Part = Instance.new("Part", Parent)
529
Part.Transparency = Transparency
530
Part.Name = "BlockEffect"
531
Part.Size = Vector3.new()
532
Part.Anchored = true
533
Part.Position = Position
534
Part.CanCollide = false
535
Part.BrickColor = BrickColor.new(Brickcolor)
536
Part.Material = Material
537
NoOutlines(Part)
538
539
local Mesh = Instance.new("BlockMesh", Part)
540
Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
541
542
Services.Debris:AddItem(Part, Time)
543
544
table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
545
546
547
end
548
549
WaveEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
550
	
551
local Part = Instance.new("Part", Parent)
552
Part.Transparency = Transparency
553
Part.Name = "WaveEffect"
554
Part.Size = Vector3.new()
555
Part.Anchored = true
556
Part.Position = Position
557
Part.CanCollide = false
558
Part.BrickColor = BrickColor.new(Brickcolor)
559
Part.Material = Material
560
NoOutlines(Part)
561
562
local Mesh = Instance.new("SpecialMesh", Part)
563
Mesh.MeshId = "http://www.roblox.com/asset?id=20329976"
564
Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
565
566
Services.Debris:AddItem(Part, Time)
567
568
table.insert(Effects, {Part, "Wave", Time, SX, SY, SZ})
569
570
571
end
572
573
function Shot(Part) 
574
local HitPart = CircleEffect(Mouse.Hit.p, Services.Workspace, 1,  1, 1, 1, 1, 1, 10, "Bright yellow", "Neon", 0.5)
575
CircleEffect(Mouse.Hit.p, Services.Workspace, 1,  1, 1, 0.5, 0.5, 0.5, 10, "CGA brown", "Neon", 0)
576
CircleEffect(Part.Position, Services.Workspace, 1,  1, 1, 1, 1, 1, 10, "Bright yellow", "Neon", 0.5)
577
CircleEffect(Part.Position, Services.Workspace, 1,  1, 1, 0.5, 0.5, 0.5, 10, "CGA brown", "Neon", 0)
578
MakeSFX(Part, 203691885, 1, 1)
579
ValidateDamage(HitPart, 3, 4, 5, "Ranged", "Penetration", 5)
580
end 
581
582
function LightShot(Part) 
583
local HitPart = CircleEffect(Mouse.Hit.p, Services.Workspace, 0, 0, 0, 0, 0, 0, 10, "Bright yellow", "Neon", 0)
584
585
586
Lightning(Part.Position, HitPart.Position, 5, 1, "Bright yellow", 0.05, 0.4, 10,0.01,0.01,0.01)
587
588
MakeSFX(Part, 203691378, 1, 1)
589
ValidateDamage(HitPart, 3, 6, 10, "Ranged", "Penetration", 5)
590
end 
591
592
593
--[[ Ultra Calibers ]]--
594
Caliber1 = Instance.new("Model", Character)
595
Caliber1.Name = "Caliber1"
596
597
local Handle1 =  CreatePart(Caliber1, "Handle", "Medium stone grey", Vector3.new(1.139, 0.352, 0.329), "Metal", 0, "Block")
598
Handle1Mesh = CreateBlockMesh(Handle1, Vector3.new(1, 1, 0.856))
599
local Part1 =  CreatePart(Caliber1, "Part1", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
600
Part1Mesh = CreateBlockMesh(Part1, Vector3.new(0.385, 0.749, 0.856))
601
local Part2 =  CreatePart(Caliber1, "Part2", "Dark stone grey", Vector3.new(1.877, 0.397, 0.329), "Metal", 0, "Block")
602
Part2Mesh = CreateBlockMesh(Part2, Vector3.new(1, 1, 1.112))
603
local Part3 =  CreatePart(Caliber1, "Part3", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
604
Part3Mesh = CreateBlockMesh(Part3, Vector3.new(0.543, 0.924, 0.856))
605
local Part4 =  CreatePart(Caliber1, "Part4", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
606
Part4Mesh = CreateBlockMesh(Part4, Vector3.new(0.862, 0.541, 0.299))
607
local Part5 =  CreatePart(Caliber1, "Part5", "Dark stone grey", Vector3.new(0.345, 0.329, 0.329), "Metal", 0, "Block")
608
Part5Mesh = CreateBlockMesh(Part5, Vector3.new(1, 0.986, 0.727))
609
local Part6 =  CreatePart(Caliber1, "Part6", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
610
Part6Mesh = CreateBlockMesh(Part6, Vector3.new(0.541, 0.37, 0.856))
611
local Part7 =  CreatePart(Caliber1, "Part7", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
612
Part7Mesh = CreateBlockMesh(Part7, Vector3.new(0.276, 0.37, 0.856))
613
local Part8 =  CreatePart(Caliber1, "Part8", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
614
Part8Mesh = CreateBlockMesh(Part8, Vector3.new(0.276, 0.37, 0.856))
615
local Part9 =  CreatePart(Caliber1, "Part9", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
616
Part9Mesh = CreateBlockMesh(Part9, Vector3.new(0.276, 0.37, 0.856))
617
local Part10 =  CreatePart(Caliber1, "Part10", "Medium stone grey", Vector3.new(0.357, 0.329, 0.329), "Metal", 0, "Block")
618
Part10Mesh = CreateBlockMesh(Part10, Vector3.new(1, 0.37, 0.856))
619
local Part11 =  CreatePart(Caliber1, "Part11", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
620
Part11Mesh = CreateBlockMesh(Part11, Vector3.new(0.995, 0.302, 0.699))
621
local Part12 =  CreatePart(Caliber1, "Part12", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
622
Part12Mesh = CreateBlockMesh(Part12, Vector3.new(0.347, 0.37, 0.684))
623
local Part13 =  CreatePart(Caliber1, "Part13", "Medium stone grey", Vector3.new(0.827, 0.352, 0.329), "Metal", 0, "Block")
624
Part13Mesh = CreateBlockMesh(Part13, Vector3.new(1, 1, 0.573))
625
local Part14 =  CreatePart(Caliber1, "Part14", "Medium stone grey", Vector3.new(0.364, 0.351, 0.329), "Metal", 0, "Block")
626
Part14Mesh = CreateBlockMesh(Part14, Vector3.new(1, 1, 0.573))
627
local Part15 =  CreatePart(Caliber1, "Part15", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
628
Part15Mesh = CreateBlockMesh(Part15, Vector3.new(0.789, 0.272, 0.727))
629
local Part16 =  CreatePart(Caliber1, "Part16", "Medium stone grey", Vector3.new(1.229, 0.618, 0.329), "Metal", 0, "Block")
630
Part16Mesh = CreateBlockMesh(Part16, Vector3.new(1, 1, 0.856))
631
local Part17 =  CreatePart(Caliber1, "Part17", "Medium stone grey", Vector3.new(0.86, 0.531, 0.329), "Metal", 0, "Block")
632
Part17Mesh = CreateBlockMesh(Part17, Vector3.new(1, 1, 0.856))
633
local Part18 =  CreatePart(Caliber1, "Part18", "Medium stone grey", Vector3.new(0.414, 0.329, 0.329), "Metal", 0, "Block")
634
Part18Mesh = CreateBlockMesh(Part18, Vector3.new(1, 0.265, 0.856))
635
local Part19 =  CreatePart(Caliber1, "Part19", "Medium stone grey", Vector3.new(0.528, 0.329, 0.329), "Metal", 0, "Block")
636
Part19Mesh = CreateBlockMesh(Part19, Vector3.new(1, 0.263, 0.856))
637
local Part20 =  CreatePart(Caliber1, "Part20", "Dark stone grey", Vector3.new(1.173, 0.576, 0.329), "Metal", 0, "Block")
638
Part20Mesh = CreateBlockMesh(Part20, Vector3.new(1, 1, 0.727))
639
local Part21 =  CreatePart(Caliber1, "Part21", "Really black", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
640
Part21Mesh = CreateBlockMesh(Part21, Vector3.new(0.086, 0.188, 1.121))
641
local Part22 =  CreatePart(Caliber1, "Part22", "Dark stone grey", Vector3.new(0.52, 0.329, 0.329), "Metal", 0, "Block")
642
Part22Mesh = CreateBlockMesh(Part22, Vector3.new(1, 0.575, 1.112))
643
local Part23 =  CreatePart(Caliber1, "Part23", "Dark stone grey", Vector3.new(0.731, 0.329, 0.329), "Metal", 0, "Block")
644
Part23Mesh = CreateBlockMesh(Part23, Vector3.new(1, 0.702, 1.112))
645
local Part24 =  CreatePart(Caliber1, "Part24", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
646
Part24Mesh = CreateBlockMesh(Part24, Vector3.new(1, 0.109, 1.129))
647
local Part25 =  CreatePart(Caliber1, "Part25", "Dark stone grey", Vector3.new(0.366, 0.626, 0.329), "Metal", 0, "Block")
648
Part25Mesh = CreateWedgeMesh(Part25, Vector3.new(1, 1, 0.169))
649
local Part26 =  CreatePart(Caliber1, "Part26", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
650
Part26Mesh = CreateBlockMesh(Part26, Vector3.new(1, 0.188, 1.121))
651
local Part27 =  CreatePart(Caliber1, "Part27", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
652
Part27Mesh = CreateBlockMesh(Part27, Vector3.new(0.841, 0.939, 0.442))
653
local Part28 =  CreatePart(Caliber1, "Part28", "Dark stone grey", Vector3.new(0.378, 0.378, 0.329), "Metal", 0, "Block")
654
Part28Mesh = CreateCylinderMesh(Part28, Vector3.new(1, 1, 0.877))
655
local Part29 =  CreatePart(Caliber1, "Part29", "Really black", Vector3.new(0.378, 0.378, 0.329), "Metal", 0, "Block")
656
Part29Mesh = CreateCylinderMesh(Part29, Vector3.new(1, 1.01, 0.799))
657
local Part30 = CreatePart(Caliber1, "Part30", "Really black", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
658
Part30Mesh = CreateBlockMesh(Part30, Vector3.new(0.086, 0.188, 1.121))
659
local Part31 = CreatePart(Caliber1, "Part31", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
660
Part31Mesh = CreateBlockMesh(Part31, Vector3.new(1, 0.188, 1.121))
661
local Part32 = CreatePart(Caliber1, "Part32", "Dark stone grey", Vector3.new(0.498, 0.329, 0.329), "Metal", 0, "Block")
662
Part32Mesh = CreateBlockMesh(Part32, Vector3.new(1, 0.563, 1.112))
663
local Part33 = CreatePart(Caliber1, "Part33", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
664
Part33Mesh = CreateBlockMesh(Part33, Vector3.new(1, 0.109, 1.129))
665
local Part34 = CreatePart(Caliber1, "Part34", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
666
Part34Mesh = CreateBlockMesh(Part34, Vector3.new(1, 0.188, 1.121))
667
local Part35 = CreatePart(Caliber1, "Part35", "Really black", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
668
Part35Mesh = CreateBlockMesh(Part35, Vector3.new(0.086, 0.188, 1.121))
669
local Part36 = CreatePart(Caliber1, "Part36", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
670
Part36Mesh = CreateBlockMesh(Part36, Vector3.new(1, 0.188, 1.121))
671
local Part37 = CreatePart(Caliber1, "Part37", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
672
Part37Mesh = CreateBlockMesh(Part37, Vector3.new(0.535, 0.787, 1.112))
673
local Part38 = CreatePart(Caliber1, "Part38", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
674
Part38Mesh = CreateBlockMesh(Part38, Vector3.new(0.086, 0.188, 1.121))
675
local Part39 = CreatePart(Caliber1, "Part39", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
676
Part39Mesh = CreateBlockMesh(Part39, Vector3.new(1, 0.109, 1.129))
677
local Part40 = CreatePart(Caliber1, "Part40", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
678
Part40Mesh = CreateBlockMesh(Part40, Vector3.new(1, 0.109, 1.129))
679
680
Barrel1 = Part29
681
682
Handle1Weld = CreateWeld(Handle1,  CFrame.new(0,-1,0) * CFrame.Angles(0,1.57,0), CFrame.new(0,0,0), Handle1, Right_Arm, "HandleToRightArm")
683
Part1Weld = CreateWeld(Part1,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.60303497, 1.47352028, -3.81469727e-006, 0.965926528, -0.25881663, 0, 0.25881663, 0.965926528, 0, 0, 0, 1), Part1, Handle1, "Part1ToHandle")
684
Part2Weld = CreateWeld(Part2,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.41836548, -0.489547729, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part2, Handle1, "Part2ToHandle")
685
Part3Weld = CreateWeld(Part3,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.49446106, -0.284858704, 0, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part3, Handle1, "Part3ToHandle")
686
Part4Weld = CreateWeld(Part4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00104904175, 0.495059967, 0.486030579, 0, 0, -1, 0.866026163, 0.499999017, 0, 0.499999017, -0.866026163, 0), Part4, Handle1, "Part4ToHandle")
687
Part5Weld = CreateWeld(Part5,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.903556824, -0.853889465, -0.00703048706, -0.25881663, -0.965926528, -0, 0.965926528, -0.25881663, 0, 0, 0, 1), Part5, Handle1, "Part5ToHandle")
688
Part6Weld = CreateWeld(Part6,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.261646271, 0.554660797, 3.81469727e-006, 0.99708432, 0.0763106197, 0, -0.0763106197, 0.99708432, 0, 0, 0, 1), Part6, Handle1, "Part6ToHandle")
689
Part7Weld = CreateWeld(Part7,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.23777771, 0.51366806, 0, 0.994569063, -0.104082122, 0, 0.104082122, 0.994569063, 0, 0, 0, 1), Part7, Handle1, "Part7ToHandle")
690
Part8Weld = CreateWeld(Part8,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.276947021, 0.451875687, 0, 0.942421615, -0.334427655, 0, 0.334427595, 0.942421615, 0, 0, 0, 1), Part8, Handle1, "Part8ToHandle")
691
Part9Weld = CreateWeld(Part9,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.327682495, 0.358730316, 0, 0.801670432, -0.597766697, 0, 0.597766697, 0.801670432, 0, 0, 0, 1), Part9, Handle1, "Part9ToHandle")
692
Part10Weld = CreateWeld(Part10,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.280105591, 0.15290451, 0, 0.381983012, -0.924169481, 0, 0.924169481, 0.381983012, 0, 0, 0, 1), Part10, Handle1, "Part10ToHandle")
693
Part11Weld = CreateWeld(Part11,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.202186584, 0.23966217, -0.000347137451, 0.381983012, -0.924169481, 0, 0.924169481, 0.381983012, 0, 0, 0, 1), Part11, Handle1, "Part11ToHandle")
694
Part12Weld = CreateWeld(Part12,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.110679626, 0.400859833, 3.81469727e-006, 0.923589706, -0.383382916, 0, 0.383382916, 0.923589706, 0, 0, 0, 1), Part12, Handle1, "Part12ToHandle")
695
Part13Weld = CreateWeld(Part13,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.151382446, -0.507144928, 0.00210952759, 0.491765201, -0.870728254, 0, 0.870728254, 0.491765201, 0, 0, 0, 1), Part13, Handle1, "Part13ToHandle")
696
Part14Weld = CreateWeld(Part14,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.20772171, 0.338977814, 0.00210952759, -0.00877001509, 0.999961674, 0, -0.999961674, -0.00877001509, 0, 0, 0, 1), Part14, Handle1, "Part14ToHandle")
697
Part15Weld = CreateWeld(Part15,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.632392883, -0.913993835, -0.00703048706, -0.529292822, -0.848439395, -0, 0.848439395, -0.529292822, 0, 0, 0, 1), Part15, Handle1, "Part15ToHandle")
698
Part16Weld = CreateWeld(Part16,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.6075592, -0.270458221, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part16, Handle1, "Part16ToHandle")
699
Part17Weld = CreateWeld(Part17,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.566223145, -0.314067841, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part17, Handle1, "Part17ToHandle")
700
Part18Weld = CreateWeld(Part18,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.323228836, -0.883232117, 0, -0.499998778, -0.866026282, -0, 0.866026282, -0.499998778, 0, 0, 0, 1), Part18, Handle1, "Part18ToHandle")
701
Part19Weld = CreateWeld(Part19,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.314693451, 2.26445007, -3.81469727e-006, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part19, Handle1, "Part19ToHandle")
702
Part20Weld = CreateWeld(Part20,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.60757446, -0.236690521, -0.00703430176, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part20, Handle1, "Part20ToHandle")
703
Part21Weld = CreateWeld(Part21,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.08020401, 2.12657166, -3.81469727e-006, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part21, Handle1, "Part21ToHandle")
704
Part22Weld = CreateWeld(Part22,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.574867249, 0.163562775, 0, 1.00000024, 0, 0, 0, 1.00000024, 0, 0, 0, 1), Part22, Handle1, "Part22ToHandle")
705
Part23Weld = CreateWeld(Part23,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.99020386, -0.177051544, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part23, Handle1, "Part23ToHandle")
706
Part24Weld = CreateWeld(Part24,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.201562881, 1.91455841, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part24, Handle1, "Part24ToHandle")
707
Part25Weld = CreateWeld(Part25,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000183105469, 0.375644684, 2.38105011, 0, 0, -1, -0.866346598, -0.49944365, 0, -0.49944365, 0.866346598, 0), Part25, Handle1, "Part25ToHandle")
708
Part26Weld = CreateWeld(Part26, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.2569561, 2.07778931, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part26, Handle1, "Part26ToHandle")
709
Part27Weld = CreateWeld(Part27,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.99460602, 0.744857788, -0.00316238403, 0.927193999, -0.374582142, 0, 0.374582142, 0.927193999, 0, 0, 0, 1), Part27, Handle1, "Part27ToHandle")
710
Part28Weld = CreateWeld(Part28,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.485691071, 2.30821228, -0.00871658325, -0.866026163, -0.499999017, -0, -0.499999017, 0.866026163, 0, 0, 0, -1), Part28, Handle1, "Part28ToHandle")
711
Part29Weld = CreateWeld(Part29,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.486751556, 2.30821991, -0.00660705566, -0.866026163, -0.499999017, -0, -0.499999017, 0.866026163, 0, 0, 0, -1), Part29, Handle1, "Part29ToHandle")
712
Part30Weld = CreateWeld(Part30,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0759849548, 1.79244995, 0, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part30, Handle1, "Part30ToHandle")
713
Part31Weld = CreateWeld(Part31,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.296571732, 2.22372437, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part31, Handle1, "Part31ToHandle")
714
Part32Weld = CreateWeld(Part32,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.112157822, -1.67666626, 0, -0.707104385, -0.707109571, -0, 0.707109571, -0.707104385, 0, 0, 0, 1), Part32, Handle1, "Part32ToHandle")
715
Part33Weld = CreateWeld(Part33,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.246152878, 2.07009888, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part33, Handle1, "Part33ToHandle")
716
Part34Weld = CreateWeld(Part34,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.174539566, 1.7539978, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part34, Handle1, "Part34ToHandle")
717
Part35Weld = CreateWeld(Part35,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0797309875, 2.27779388, -3.81469727e-006, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part35, Handle1, "Part35ToHandle")
718
Part36Weld = CreateWeld(Part36,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.217325211, 1.92167664, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part36, Handle1, "Part36ToHandle")
719
Part37Weld = CreateWeld(Part37,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0207366943, 0.521255493, 3.81469727e-006, 0.405499339, 0.914095461, 0, -0.914095461, 0.405499339, 0, 0, 0, 1), Part37, Handle1, "Part37ToHandle")
720
Part38Weld = CreateWeld(Part38,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0781059265, 1.96547699, 0, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part38, Handle1, "Part38ToHandle")
721
Part39Weld = CreateWeld(Part39,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.2856884, 2.21749115, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part39, Handle1, "Part39ToHandle")
722
Part40Weld = CreateWeld(Part40,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.157697678, 1.74642944, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part40, Handle1, "Part40ToHandle")
723
724
Caliber2 = Instance.new("Model", Character)
725
Caliber2.Name = "Caliber2"
726
727
local Handle2 =  CreatePart(Caliber2, "Handle", "Medium stone grey", Vector3.new(1.139, 0.352, 0.329), "Metal", 0, "Block")
728
Handle2Mesh = CreateBlockMesh(Handle2, Vector3.new(1, 1, 0.856))
729
local Part1 =  CreatePart(Caliber2, "Part1", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
730
Part1Mesh = CreateBlockMesh(Part1, Vector3.new(0.385, 0.749, 0.856))
731
local Part2 =  CreatePart(Caliber2, "Part2", "Dark stone grey", Vector3.new(1.877, 0.397, 0.329), "Metal", 0, "Block")
732
Part2Mesh = CreateBlockMesh(Part2, Vector3.new(1, 1, 1.112))
733
local Part3 =  CreatePart(Caliber2, "Part3", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
734
Part3Mesh = CreateBlockMesh(Part3, Vector3.new(0.543, 0.924, 0.856))
735
local Part4 =  CreatePart(Caliber2, "Part4", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
736
Part4Mesh = CreateBlockMesh(Part4, Vector3.new(0.862, 0.541, 0.299))
737
local Part5 =  CreatePart(Caliber2, "Part5", "Dark stone grey", Vector3.new(0.345, 0.329, 0.329), "Metal", 0, "Block")
738
Part5Mesh = CreateBlockMesh(Part5, Vector3.new(1, 0.986, 0.727))
739
local Part6 =  CreatePart(Caliber2, "Part6", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
740
Part6Mesh = CreateBlockMesh(Part6, Vector3.new(0.541, 0.37, 0.856))
741
local Part7 =  CreatePart(Caliber2, "Part7", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
742
Part7Mesh = CreateBlockMesh(Part7, Vector3.new(0.276, 0.37, 0.856))
743
local Part8 =  CreatePart(Caliber2, "Part8", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
744
Part8Mesh = CreateBlockMesh(Part8, Vector3.new(0.276, 0.37, 0.856))
745
local Part9 =  CreatePart(Caliber2, "Part9", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
746
Part9Mesh = CreateBlockMesh(Part9, Vector3.new(0.276, 0.37, 0.856))
747
local Part10 =  CreatePart(Caliber2, "Part10", "Medium stone grey", Vector3.new(0.357, 0.329, 0.329), "Metal", 0, "Block")
748
Part10Mesh = CreateBlockMesh(Part10, Vector3.new(1, 0.37, 0.856))
749
local Part11 =  CreatePart(Caliber2, "Part11", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
750
Part11Mesh = CreateBlockMesh(Part11, Vector3.new(0.995, 0.302, 0.699))
751
local Part12 =  CreatePart(Caliber2, "Part12", "Medium stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
752
Part12Mesh = CreateBlockMesh(Part12, Vector3.new(0.347, 0.37, 0.684))
753
local Part13 =  CreatePart(Caliber2, "Part13", "Medium stone grey", Vector3.new(0.827, 0.352, 0.329), "Metal", 0, "Block")
754
Part13Mesh = CreateBlockMesh(Part13, Vector3.new(1, 1, 0.573))
755
local Part14 =  CreatePart(Caliber2, "Part14", "Medium stone grey", Vector3.new(0.364, 0.351, 0.329), "Metal", 0, "Block")
756
Part14Mesh = CreateBlockMesh(Part14, Vector3.new(1, 1, 0.573))
757
local Part15 =  CreatePart(Caliber2, "Part15", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
758
Part15Mesh = CreateBlockMesh(Part15, Vector3.new(0.789, 0.272, 0.727))
759
local Part16 =  CreatePart(Caliber2, "Part16", "Medium stone grey", Vector3.new(1.229, 0.618, 0.329), "Metal", 0, "Block")
760
Part16Mesh = CreateBlockMesh(Part16, Vector3.new(1, 1, 0.856))
761
local Part17 =  CreatePart(Caliber2, "Part17", "Medium stone grey", Vector3.new(0.86, 0.531, 0.329), "Metal", 0, "Block")
762
Part17Mesh = CreateBlockMesh(Part17, Vector3.new(1, 1, 0.856))
763
local Part18 =  CreatePart(Caliber2, "Part18", "Medium stone grey", Vector3.new(0.414, 0.329, 0.329), "Metal", 0, "Block")
764
Part18Mesh = CreateBlockMesh(Part18, Vector3.new(1, 0.265, 0.856))
765
local Part19 =  CreatePart(Caliber2, "Part19", "Medium stone grey", Vector3.new(0.528, 0.329, 0.329), "Metal", 0, "Block")
766
Part19Mesh = CreateBlockMesh(Part19, Vector3.new(1, 0.263, 0.856))
767
local Part20 =  CreatePart(Caliber2, "Part20", "Dark stone grey", Vector3.new(1.173, 0.576, 0.329), "Metal", 0, "Block")
768
Part20Mesh = CreateBlockMesh(Part20, Vector3.new(1, 1, 0.727))
769
local Part21 =  CreatePart(Caliber2, "Part21", "Really black", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
770
Part21Mesh = CreateBlockMesh(Part21, Vector3.new(0.086, 0.188, 1.121))
771
local Part22 =  CreatePart(Caliber2, "Part22", "Dark stone grey", Vector3.new(0.52, 0.329, 0.329), "Metal", 0, "Block")
772
Part22Mesh = CreateBlockMesh(Part22, Vector3.new(1, 0.575, 1.112))
773
local Part23 =  CreatePart(Caliber2, "Part23", "Dark stone grey", Vector3.new(0.731, 0.329, 0.329), "Metal", 0, "Block")
774
Part23Mesh = CreateBlockMesh(Part23, Vector3.new(1, 0.702, 1.112))
775
local Part24 =  CreatePart(Caliber2, "Part24", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
776
Part24Mesh = CreateBlockMesh(Part24, Vector3.new(1, 0.109, 1.129))
777
local Part25 =  CreatePart(Caliber2, "Part25", "Dark stone grey", Vector3.new(0.366, 0.626, 0.329), "Metal", 0, "Block")
778
Part25Mesh = CreateWedgeMesh(Part25, Vector3.new(1, 1, 0.169))
779
local Part26 =  CreatePart(Caliber2, "Part26", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
780
Part26Mesh = CreateBlockMesh(Part26, Vector3.new(1, 0.188, 1.121))
781
local Part27 =  CreatePart(Caliber2, "Part27", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
782
Part27Mesh = CreateBlockMesh(Part27, Vector3.new(0.841, 0.939, 0.442))
783
local Part28 =  CreatePart(Caliber2, "Part28", "Dark stone grey", Vector3.new(0.378, 0.378, 0.329), "Metal", 0, "Block")
784
Part28Mesh = CreateCylinderMesh(Part28, Vector3.new(1, 1, 0.877))
785
local Part29 =  CreatePart(Caliber2, "Part29", "Really black", Vector3.new(0.378, 0.378, 0.329), "Metal", 0, "Block")
786
Part29Mesh = CreateCylinderMesh(Part29, Vector3.new(1, 1.01, 0.799))
787
local Part30 = CreatePart(Caliber2, "Part30", "Really black", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
788
Part30Mesh = CreateBlockMesh(Part30, Vector3.new(0.086, 0.188, 1.121))
789
local Part31 = CreatePart(Caliber2, "Part31", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
790
Part31Mesh = CreateBlockMesh(Part31, Vector3.new(1, 0.188, 1.121))
791
local Part32 = CreatePart(Caliber2, "Part32", "Dark stone grey", Vector3.new(0.498, 0.329, 0.329), "Metal", 0, "Block")
792
Part32Mesh = CreateBlockMesh(Part32, Vector3.new(1, 0.563, 1.112))
793
local Part33 = CreatePart(Caliber2, "Part33", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
794
Part33Mesh = CreateBlockMesh(Part33, Vector3.new(1, 0.109, 1.129))
795
local Part34 = CreatePart(Caliber2, "Part34", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
796
Part34Mesh = CreateBlockMesh(Part34, Vector3.new(1, 0.188, 1.121))
797
local Part35 = CreatePart(Caliber2, "Part35", "Really black", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
798
Part35Mesh = CreateBlockMesh(Part35, Vector3.new(0.086, 0.188, 1.121))
799
local Part36 = CreatePart(Caliber2, "Part36", "Really black", Vector3.new(0.419, 0.329, 0.329), "Metal", 0, "Block")
800
Part36Mesh = CreateBlockMesh(Part36, Vector3.new(1, 0.188, 1.121))
801
local Part37 = CreatePart(Caliber2, "Part37", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
802
Part37Mesh = CreateBlockMesh(Part37, Vector3.new(0.535, 0.787, 1.112))
803
local Part38 = CreatePart(Caliber2, "Part38", "Dark stone grey", Vector3.new(0.329, 0.329, 0.329), "Metal", 0, "Block")
804
Part38Mesh = CreateBlockMesh(Part38, Vector3.new(0.086, 0.188, 1.121))
805
local Part39 = CreatePart(Caliber2, "Part39", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
806
Part39Mesh = CreateBlockMesh(Part39, Vector3.new(1, 0.109, 1.129))
807
local Part40 = CreatePart(Caliber2, "Part40", "Institutional white", Vector3.new(0.369, 0.329, 0.329), "Neon", 0, "Block")
808
Part40Mesh = CreateBlockMesh(Part40, Vector3.new(1, 0.109, 1.129))
809
810
Handle2Weld = CreateWeld(Handle2,  CFrame.new(0,-1,0) * CFrame.Angles(0,1.57,0), CFrame.new(0,0,0), Handle2, Left_Arm, "HandleToLeftArm")
811
Part1Weld = CreateWeld(Part1,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.60303497, 1.47352028, -3.81469727e-006, 0.965926528, -0.25881663, 0, 0.25881663, 0.965926528, 0, 0, 0, 1), Part1, Handle2, "Part1ToHandle")
812
Part2Weld = CreateWeld(Part2,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.41836548, -0.489547729, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part2, Handle2, "Part2ToHandle")
813
Part3Weld = CreateWeld(Part3,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.49446106, -0.284858704, 0, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part3, Handle2, "Part3ToHandle")
814
Part4Weld = CreateWeld(Part4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00104904175, 0.495059967, 0.486030579, 0, 0, -1, 0.866026163, 0.499999017, 0, 0.499999017, -0.866026163, 0), Part4, Handle2, "Part4ToHandle")
815
Part5Weld = CreateWeld(Part5,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.903556824, -0.853889465, -0.00703048706, -0.25881663, -0.965926528, -0, 0.965926528, -0.25881663, 0, 0, 0, 1), Part5, Handle2, "Part5ToHandle")
816
Part6Weld = CreateWeld(Part6,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.261646271, 0.554660797, 3.81469727e-006, 0.99708432, 0.0763106197, 0, -0.0763106197, 0.99708432, 0, 0, 0, 1), Part6, Handle2, "Part6ToHandle")
817
Part7Weld = CreateWeld(Part7,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.23777771, 0.51366806, 0, 0.994569063, -0.104082122, 0, 0.104082122, 0.994569063, 0, 0, 0, 1), Part7, Handle2, "Part7ToHandle")
818
Part8Weld = CreateWeld(Part8,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.276947021, 0.451875687, 0, 0.942421615, -0.334427655, 0, 0.334427595, 0.942421615, 0, 0, 0, 1), Part8, Handle2, "Part8ToHandle")
819
Part9Weld = CreateWeld(Part9,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.327682495, 0.358730316, 0, 0.801670432, -0.597766697, 0, 0.597766697, 0.801670432, 0, 0, 0, 1), Part9, Handle2, "Part9ToHandle")
820
Part10Weld = CreateWeld(Part10,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.280105591, 0.15290451, 0, 0.381983012, -0.924169481, 0, 0.924169481, 0.381983012, 0, 0, 0, 1), Part10, Handle2, "Part10ToHandle")
821
Part11Weld = CreateWeld(Part11,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.202186584, 0.23966217, -0.000347137451, 0.381983012, -0.924169481, 0, 0.924169481, 0.381983012, 0, 0, 0, 1), Part11, Handle2, "Part11ToHandle")
822
Part12Weld = CreateWeld(Part12,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.110679626, 0.400859833, 3.81469727e-006, 0.923589706, -0.383382916, 0, 0.383382916, 0.923589706, 0, 0, 0, 1), Part12, Handle2, "Part12ToHandle")
823
Part13Weld = CreateWeld(Part13,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.151382446, -0.507144928, 0.00210952759, 0.491765201, -0.870728254, 0, 0.870728254, 0.491765201, 0, 0, 0, 1), Part13, Handle2, "Part13ToHandle")
824
Part14Weld = CreateWeld(Part14,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.20772171, 0.338977814, 0.00210952759, -0.00877001509, 0.999961674, 0, -0.999961674, -0.00877001509, 0, 0, 0, 1), Part14, Handle2, "Part14ToHandle")
825
Part15Weld = CreateWeld(Part15,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.632392883, -0.913993835, -0.00703048706, -0.529292822, -0.848439395, -0, 0.848439395, -0.529292822, 0, 0, 0, 1), Part15, Handle2, "Part15ToHandle")
826
Part16Weld = CreateWeld(Part16,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.6075592, -0.270458221, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part16, Handle2, "Part16ToHandle")
827
Part17Weld = CreateWeld(Part17,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.566223145, -0.314067841, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part17, Handle2, "Part17ToHandle")
828
Part18Weld = CreateWeld(Part18,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.323228836, -0.883232117, 0, -0.499998778, -0.866026282, -0, 0.866026282, -0.499998778, 0, 0, 0, 1), Part18, Handle2, "Part18ToHandle")
829
Part19Weld = CreateWeld(Part19,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.314693451, 2.26445007, -3.81469727e-006, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part19, Handle2, "Part19ToHandle")
830
Part20Weld = CreateWeld(Part20,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.60757446, -0.236690521, -0.00703430176, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part20, Handle2, "Part20ToHandle")
831
Part21Weld = CreateWeld(Part21,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.08020401, 2.12657166, -3.81469727e-006, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part21, Handle2, "Part21ToHandle")
832
Part22Weld = CreateWeld(Part22,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.574867249, 0.163562775, 0, 1.00000024, 0, 0, 0, 1.00000024, 0, 0, 0, 1), Part22, Handle2, "Part22ToHandle")
833
Part23Weld = CreateWeld(Part23,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.99020386, -0.177051544, 0, 0.499999017, -0.866026163, 0, 0.866026163, 0.499999017, 0, 0, 0, 1), Part23, Handle2, "Part23ToHandle")
834
Part24Weld = CreateWeld(Part24,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.201562881, 1.91455841, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part24, Handle2, "Part24ToHandle")
835
Part25Weld = CreateWeld(Part25,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000183105469, 0.375644684, 2.38105011, 0, 0, -1, -0.866346598, -0.49944365, 0, -0.49944365, 0.866346598, 0), Part25, Handle2, "Part25ToHandle")
836
Part26Weld = CreateWeld(Part26, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.2569561, 2.07778931, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part26, Handle2, "Part26ToHandle")
837
Part27Weld = CreateWeld(Part27,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.99460602, 0.744857788, -0.00316238403, 0.927193999, -0.374582142, 0, 0.374582142, 0.927193999, 0, 0, 0, 1), Part27, Handle2, "Part27ToHandle")
838
Part28Weld = CreateWeld(Part28,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.485691071, 2.30821228, -0.00871658325, -0.866026163, -0.499999017, -0, -0.499999017, 0.866026163, 0, 0, 0, -1), Part28, Handle2, "Part28ToHandle")
839
Part29Weld = CreateWeld(Part29,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.486751556, 2.30821991, -0.00660705566, -0.866026163, -0.499999017, -0, -0.499999017, 0.866026163, 0, 0, 0, -1), Part29, Handle2, "Part29ToHandle")
840
Part30Weld = CreateWeld(Part30,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0759849548, 1.79244995, 0, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part30, Handle2, "Part30ToHandle")
841
Part31Weld = CreateWeld(Part31,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.296571732, 2.22372437, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part31, Handle2, "Part31ToHandle")
842
Part32Weld = CreateWeld(Part32,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.112157822, -1.67666626, 0, -0.707104385, -0.707109571, -0, 0.707109571, -0.707104385, 0, 0, 0, 1), Part32, Handle2, "Part32ToHandle")
843
Part33Weld = CreateWeld(Part33,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.246152878, 2.07009888, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part33, Handle2, "Part33ToHandle")
844
Part34Weld = CreateWeld(Part34,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.174539566, 1.7539978, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part34, Handle2, "Part34ToHandle")
845
Part35Weld = CreateWeld(Part35,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0797309875, 2.27779388, -3.81469727e-006, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part35, Handle2, "Part35ToHandle")
846
Part36Weld = CreateWeld(Part36,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.217325211, 1.92167664, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part36, Handle2, "Part36ToHandle")
847
Part37Weld = CreateWeld(Part37,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0207366943, 0.521255493, 3.81469727e-006, 0.405499339, 0.914095461, 0, -0.914095461, 0.405499339, 0, 0, 0, 1), Part37, Handle2, "Part37ToHandle")
848
Part38Weld = CreateWeld(Part38,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0781059265, 1.96547699, 0, 0.866026163, 0.499999017, 0, -0.499999017, 0.866026163, 0, 0, 0, 1), Part38, Handle2, "Part38ToHandle")
849
Part39Weld = CreateWeld(Part39,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.2856884, 2.21749115, -3.81469727e-006, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part39, Handle2, "Part39ToHandle")
850
Part40Weld = CreateWeld(Part40,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.157697678, 1.74642944, 0, 0.707104385, 0.707109571, 0, -0.707109571, 0.707104385, 0, 0, 0, 1), Part40, Handle2, "Part40ToHandle")
851
852
Barrel2 = Part29
853
--[[ Damage function ]]--
854
855
function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
856
	
857
local HitHumanoid = Hit.Parent.Humanoid
858
859
860
local Damage = math.random(Min, Max)
861
862
863
coroutine.resume(coroutine.create(function()
864
HitHumanoid:TakeDamage(Damage)
865
end))
866
	
867
if Type == "Normal" then
868
	
869
local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
870
Services.Debris:AddItem(Push, 0)	
871
Display(Hit.Parent, Damage)
872
873
elseif Type == "Ranged" then
874
local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
875
Services.Debris:AddItem(Push, 0)	
876
Display(Hit.Parent, Damage)
877
878
elseif Type == "Knockdown" then
879
	
880
		
881
local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
882
Display(Hit.Parent, Damage)
883
Services.Debris:AddItem(Push, 0.3)
884
885
coroutine.resume(coroutine.create(function()
886
	
887
HitHumanoid.PlatformStand = true
888
wait(1)
889
HitHumanoid.PlatformStand = false	
890
	
891
	
892
end))	
893
end
894
895
if HitSFX == "Penetration" then
896
	
897
MakeSFX(Hit, 199149269, 1 , 1)
898
899
elseif HitSFX == "Punch" then
900
	
901
MakeSFX(Hit, 278062209, 1 , 1)
902
	
903
	
904
	
905
	
906
end
907
end
908
909
function Display(HitCharacter, DisplayTxt)
910
if HitCharacter:FindFirstChild("Head") then
911
local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Crimson", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
912
DamageShowingPart.Position = HitCharacter.Head.Position + Vector3.new(math.random(-5,5),2,math.random(-5,5))
913
914
915
local DisplayGui = Instance.new("BillboardGui", DamageShowingPart)
916
DisplayGui.Name = "Damage"
917
DisplayGui.AlwaysOnTop = true
918
DisplayGui.Size = UDim2.new(5, 0, 5, 0)
919
920
local DisplayNumber = Instance.new("TextLabel", DisplayGui)
921
DisplayNumber.Size = UDim2.new(1,0,1,0)
922
DisplayNumber.TextStrokeColor3 = BrickColor.White().Color
923
DisplayNumber.TextColor3 = BrickColor.Black().Color
924
DisplayNumber.TextStrokeTransparency = 0
925
DisplayNumber.BackgroundTransparency = 1
926
DisplayNumber.Font = "SciFi"
927
DisplayNumber.TextScaled = true
928
DisplayNumber.Text = DisplayTxt
929
930
if string.sub((DisplayTxt),1,1) ~= "+" then
931
932
if DisplayTxt > 19 then
933
	
934
DisplayNumber.TextColor3 = BrickColor.Red().Color
935
	
936
937
938
elseif DisplayTxt > 9 then
939
	
940
DisplayNumber.TextColor3 = BrickColor.Yellow().Color
941
	
942
end
943
end
944
945
if string.sub((DisplayTxt),1,1) == "+" then
946
DisplayNumber.TextColor3 = BrickColor.Green().Color
947
end
948
	
949
local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
950
BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
951
BodyVelocity.Velocity = Vector3.new(0,2,0)	
952
	
953
Services.Debris:AddItem(DamageShowingPart, 3)
954
	
955
end	
956
end 
957
function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
958
for _,WorkspaceChildren in pairs(workspace:children()) do
959
	
960
local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
961
962
if HitHumanoid ~= nil then
963
local Hit = WorkspaceChildren:findFirstChild("Torso")
964
965
if Hit ~= nil then
966
	
967
local Target = Hit.Position - Part.Position
968
969
local Magnitude = Target.magnitude
970
971
if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
972
	
973
local HitBlock = Hit.Parent:FindFirstChild("Block")	
974
	
975
if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
976
977
local HitBlock2 = Hit.Parent.Block.BlockDurability	
978
	
979
if HitBlock2.Value > 15 then
980
	
981
local HitN = math.random(1,5)
982
	
983
HitBlock2.Value = HitBlock2.Value - 15	
984
985
if HitN == 1 then
986
MakeSFX(Hit ,199148971, 0.5, 1)	
987
end
988
989
if HitN == 2 then
990
MakeSFX(Hit ,199149025, 0.5, 1)	
991
end
992
993
if HitN == 3 then
994
MakeSFX(Hit ,199149072, 0.5, 1)	
995
end
996
997
if HitN == 4 then
998
MakeSFX(Hit ,199149109, 0.5, 1)	
999
end
1000
1001
if HitN == 5 then
1002
MakeSFX(Hit ,199149119, 0.5, 1)	
1003
end
1004
return
1005
end	
1006
end
1007
1008
DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
1009
1010
end
1011
end
1012
end
1013
end
1014
end
1015
 
1016
function ValidateHeal(Part, Distance)
1017
for _,WorkspaceChildren in pairs(workspace:children()) do
1018
	
1019
local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
1020
1021
if HitHumanoid ~= nil then
1022
local Hit = WorkspaceChildren:findFirstChild("Torso")
1023
1024
if Hit ~= nil then
1025
	
1026
local Target = Hit.Position - Part.Position
1027
1028
local Magnitude = Target.magnitude
1029
1030
if Magnitude <= Distance then
1031
local Heal = math.random(5,10) 	
1032
	
1033
Hit.Parent.Humanoid.Health = Hit.Parent.Humanoid.Health + Heal
1034
Display(Hit.Parent, "+" .. Heal)
1035
	
1036
end
1037
end
1038
end
1039
end
1040
end
1041
1042
--[[ CLerp Declarations ]]--
1043
1044
function clerp(a,b,t) 
1045
local qa = {QuaternionFromCFrame(a)}
1046
local qb = {QuaternionFromCFrame(b)} 
1047
local ax, ay, az = a.x, a.y, a.z 
1048
local bx, by, bz = b.x, b.y, b.z
1049
local _t = 1-t
1050
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
1051
end 
1052
 
1053
function QuaternionFromCFrame(cf) 
1054
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
1055
local trace = m00 + m11 + m22 
1056
if trace > 0 then 
1057
local s = math.sqrt(1 + trace) 
1058
local recip = 0.5/s 
1059
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
1060
else 
1061
local i = 0 
1062
if m11 > m00 then
1063
i = 1
1064
end
1065
if m22 > (i == 0 and m00 or m11) then 
1066
i = 2 
1067
end 
1068
if i == 0 then 
1069
local s = math.sqrt(m00-m11-m22+1) 
1070
local recip = 0.5/s 
1071
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
1072
elseif i == 1 then 
1073
local s = math.sqrt(m11-m22-m00+1) 
1074
local recip = 0.5/s 
1075
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
1076
elseif i == 2 then 
1077
local s = math.sqrt(m22-m00-m11+1) 
1078
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
1079
end 
1080
end 
1081
end
1082
 
1083
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
1084
local xs, ys, zs = x + x, y + y, z + z 
1085
local wx, wy, wz = w*xs, w*ys, w*zs 
1086
local xx = x*xs 
1087
local xy = x*ys 
1088
local xz = x*zs 
1089
local yy = y*ys 
1090
local yz = y*zs 
1091
local zz = z*zs 
1092
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)) 
1093
end
1094
 
1095
function QuaternionSlerp(a, b, t) 
1096
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
1097
local startInterp, finishInterp; 
1098
if cosTheta >= 0.0001 then 
1099
if (1 - cosTheta) > 0.0001 then 
1100
local theta = math.acos(cosTheta) 
1101
local invSinTheta = 1/math.sin(theta) 
1102
startInterp = math.sin((1-t)*theta)*invSinTheta 
1103
finishInterp = math.sin(t*theta)*invSinTheta  
1104
else 
1105
startInterp = 1-t 
1106
finishInterp = t 
1107
end 
1108
else 
1109
if (1+cosTheta) > 0.0001 then 
1110
local theta = math.acos(-cosTheta) 
1111
local invSinTheta = 1/math.sin(theta) 
1112
startInterp = math.sin((t-1)*theta)*invSinTheta 
1113
finishInterp = math.sin(t*theta)*invSinTheta 
1114
else 
1115
startInterp = t-1 
1116
finishInterp = t 
1117
end 
1118
end 
1119
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 
1120
end
1121
1122
function RayCast(Pos, Dir, Max, Ignore)
1123
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
1124
end 
1125
1126
function Bars()
1127
	
1128
--[[ Mana Bar ]]--	
1129
1130
if Mana ~= MaxMana then
1131
	
1132
Mana = Mana + 0.1
1133
1134
end
1135
1136
if Mana >= MaxMana then
1137
	
1138
Mana = MaxMana	
1139
	
1140
end
1141
1142
--[[ Cooldowns Bars ]]--	
1143
1144
if Cooldown1 ~= MaxCooldown1 then
1145
	
1146
Cooldown1 = Cooldown1 + 1
1147
1148
end
1149
1150
if Cooldown1 >= MaxCooldown1 then
1151
	
1152
Cooldown1 = MaxCooldown1	
1153
	
1154
end
1155
1156
1157
1158
if Cooldown2 ~= MaxCooldown2 then
1159
	
1160
Cooldown2 = Cooldown2 + 0.1
1161
end
1162
1163
1164
if Cooldown2 >= MaxCooldown2 then
1165
	
1166
Cooldown2 = MaxCooldown2	
1167
	
1168
end
1169
1170
1171
1172
if Cooldown3 ~= MaxCooldown3 then
1173
Cooldown3 = Cooldown3 + 0.1
1174
end
1175
1176
if Cooldown3 >= MaxCooldown3 then
1177
	
1178
Cooldown3 = MaxCooldown3	
1179
	
1180
end
1181
1182
1183
1184
if Cooldown4 ~= MaxCooldown4 then
1185
Cooldown4 = Cooldown4 + 0.1
1186
end
1187
1188
if Cooldown4 >= MaxCooldown4 then
1189
	
1190
Cooldown4 = MaxCooldown4
1191
	
1192
end
1193
1194
1195
1196
if CooldownE ~= MaxCooldownE and not Blocking then
1197
CooldownE = CooldownE + 0.1
1198
end
1199
1200
if CooldownE >= MaxCooldownE then
1201
	
1202
CooldownE = MaxCooldownE
1203
	
1204
end
1205
1206
--[[ Health Bar ]]--	
1207
1208
local YellowZone = Humanoid.MaxHealth / 2	
1209
local RedZone = Humanoid.MaxHealth / 4
1210
1211
if Humanoid.Health <= YellowZone then
1212
	
1213
HealthBarP2.BackgroundColor3 = BrickColor.new("Gold").Color
1214
	
1215
end		
1216
1217
if Humanoid.Health <= RedZone then
1218
	
1219
HealthBarP2.BackgroundColor3 = BrickColor.new("Bright red").Color
1220
	
1221
end
1222
1223
if Humanoid.Health >= YellowZone then
1224
1225
HealthBarP2.BackgroundColor3 = BrickColor.new("Lime green").Color
1226
	
1227
end
1228
1229
1230
--[[ Resize All Bars ]]--
1231
1232
CoolDown1Bar.Size = UDim2.new(Cooldown1 / MaxCooldown1,0,0,50)
1233
CoolDown2Bar.Size = UDim2.new(Cooldown2 / MaxCooldown2,0,0,50)
1234
CoolDown3Bar.Size = UDim2.new(Cooldown3 / MaxCooldown3,0,0,50)
1235
CoolDown4Bar.Size = UDim2.new(Cooldown4 / MaxCooldown4,0,0,50)
1236
CoolDownEBar.Size = UDim2.new(CooldownE / MaxCooldownE,0,0,50)
1237
1238
HealthBarP2.Size = UDim2.new(Humanoid.Health / Humanoid.MaxHealth,0,0,25)
1239
ManaBarP2.Size = UDim2.new(Mana / MaxMana,0,0,25)
1240
1241
end
1242
1243
--[[ Attacks ]]--
1244
1245
function Shot1()
1246
Attacking = true
1247
	
1248
for i = 1,10 do
1249
wait()
1250
1251
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1.6),0.2)
1252
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,1),0.3)
1253
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0), 0.3)
1254
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-2, 0.5, 0) * CFrame.Angles(0,0,-1.6), 0.3)
1255
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1256
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1257
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
1258
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,3.2,-0.5),0.2)
1259
end	
1260
1261
Shot(Barrel2)
1262
1263
for i = 1,10 do
1264
wait()
1265
1266
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1.6),0.2)
1267
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,1),0.3)
1268
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
1269
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-2, 0.8, 0) * CFrame.Angles(0,0,-2), 0.3)
1270
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1271
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1272
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
1273
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,3.2,0),0.2)
1274
1275
end	
1276
Attacking = false
1277
end
1278
1279
function Shot2()
1280
Attacking = true
1281
1282
for i = 1,10 do
1283
wait()
1284
1285
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,1.6),0.2)
1286
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
1287
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(2, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.3)
1288
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1289
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1290
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1291
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0),0.2)
1292
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0.5),0.2)
1293
end	
1294
1295
Shot(Barrel1)
1296
1297
for i = 1,10 do
1298
wait()
1299
1300
1301
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,1.6),0.2)
1302
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
1303
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(2, 0.8, 0) * CFrame.Angles(0,0,2), 0.3)
1304
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1305
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1306
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1307
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0),0.2)
1308
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0),0.2)
1309
end		
1310
	Attacking = false
1311
end
1312
1313
function Shot3()
1314
1315
Attacking = true
1316
for i = 1,10 do
1317
wait()
1318
1319
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1320
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1321
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
1322
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
1323
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1324
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1325
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
1326
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0.5),0.2)
1327
end	
1328
1329
Shot(Barrel1)
1330
Shot(Barrel2)
1331
1332
for i = 1,10 do
1333
wait()
1334
1335
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1336
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1337
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(2,0,-0.2), 0.3)
1338
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(2,0,0.2), 0.3)
1339
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1340
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1341
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
1342
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,0),0.2)
1343
end		
1344
	Attacking = false
1345
end
1346
1347
function Attack1()
1348
Humanoid.WalkSpeed = 0
1349
Humanoid.JumpPower = 0
1350
Attacking = true
1351
for i = 1,5 do
1352
wait()
1353
1354
Torso.Neck.C0 = clerp(Torso.Neck.C0, Necko * CFrame.Angles(0, 0, -1), 0.5)
1355
RootJoint.C0 = clerp(RootJoint.C0, RootCFrame *cf(0, 0, 0) * CFrame.Angles(-0.5,0,1.6), 0.5)
1356
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1, 0.5, -0.5) * CFrame.Angles(1.6, 0, -1), 0.5)
1357
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0) * CFrame.Angles(1.6, 0, -1.6), 0.5)
1358
Right_Hip.C0 = clerp(Left_Hip.C0, cf(0, -1, 0.5) * CFrame.Angles(0, 1.57, 1.6) * CFrame.Angles(-1.6, -0, 0), 0.5)
1359
Left_Hip.C0 = clerp(Right_Hip.C0, cf(-1, -1, 0) * CFrame.Angles(0, -1.57, 0) * CFrame.Angles(-0, 0, 0), 0.5)
1360
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1361
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1362
end	
1363
MakeSFX(Torso,320557563, 1, 1)
1364
ValidateDamage(Right_Leg, 3, 5, 7, "Normal", "Punch", 5)
1365
for i = 1,5 do
1366
wait()
1367
1368
Torso.Neck.C0 = clerp(Torso.Neck.C0, Necko * CFrame.Angles(0, 0, -1), 0.5)
1369
RootJoint.C0 = clerp(RootJoint.C0, RootCFrame * cf(0, 0, 0) * CFrame.Angles(-0.5,0,1.6), 0.5)
1370
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1, 0.5, -0.5) * CFrame.Angles(1.6, 0, -1), 0.5)
1371
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0) * CFrame.Angles(1.6, 0, -1.6), 0.5)
1372
Right_Hip.C0 = clerp(Right_Hip.C0, cf(1, -1, 0.5) * CFrame.Angles(0, 1.57, 1.6) * CFrame.Angles(-1.6, -0, 0), 0.5)
1373
Left_Hip.C0 = clerp(Left_Hip.C0, cf(-1, -1, 0) * CFrame.Angles(0, -1.57, 0) * CFrame.Angles(-0, 0, 0), 0.5)
1374
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1375
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1376
end	
1377
Humanoid.WalkSpeed = 16
1378
Humanoid.JumpPower = 50
1379
Attacking = false
1380
end
1381
1382
function Attack2()
1383
Attacking = true
1384
Humanoid.WalkSpeed = 0
1385
Humanoid.JumpPower = 0
1386
for i = 1,5 do
1387
wait()
1388
1389
Torso.Neck.C0 = clerp(Torso.Neck.C0, Necko * CFrame.Angles(0, 0, 1), 0.5)
1390
RootJoint.C0 = clerp(RootJoint.C0, RootCFrame *cf(0, 0, 0) * CFrame.Angles(-0.5,0,-1.6), 0.5)
1391
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1, 0.5, -0.5) * CFrame.Angles(1.6, 0, -1), 0.5)
1392
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0) * CFrame.Angles(1.6, 0, -1.6), 0.5)
1393
Right_Hip.C0 = clerp(Right_Hip.C0, cf(1, -1, 0) * CFrame.Angles(0, 1.57, 0) * CFrame.Angles(0, -0, 0), 0.5)
1394
Left_Hip.C0 = clerp(Left_Hip.C0, cf(-0, -1, -0.5) * CFrame.Angles(0, -1.57, 1.6) * CFrame.Angles(-1.6, 0, 0), 0.5)
1395
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1396
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1397
end	
1398
MakeSFX(Torso,320557563, 1, 1)
1399
ValidateDamage(Left_Leg, 3, 5, 7, "Normal", "Punch", 5)
1400
for i = 1,5 do
1401
wait()
1402
1403
Torso.Neck.C0 = clerp(Torso.Neck.C0, Necko * CFrame.Angles(0, 0, 1), 0.5)
1404
RootJoint.C0 = clerp(RootJoint.C0, RootCFrame * cf(0, 0, 0) * CFrame.Angles(-0.5,0,-1.6), 0.5)
1405
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1, 0.5, -0.5) * CFrame.Angles(1.6, 0, -1), 0.5)
1406
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0) * CFrame.Angles(1.6, 0, -1.6), 0.5)
1407
Right_Hip.C0 = clerp(Right_Hip.C0, cf(1, -1, 0) * CFrame.Angles(0, 1.57, 0) * CFrame.Angles(0, -0, 0), 0.5)
1408
Left_Hip.C0 = clerp(Left_Hip.C0, cf(-1, -1, -0.5) * CFrame.Angles(0, -1.57, 1.6) * CFrame.Angles(-1.6, 0, 0), 0.5)
1409
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1410
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1411
end	
1412
Humanoid.WalkSpeed = 16
1413
Humanoid.JumpPower = 50
1414
Attacking = false
1415
end
1416
1417
function Attack3()
1418
Humanoid.WalkSpeed = 0
1419
Humanoid.JumpPower = 0
1420
Attacking = true
1421
ValidateDamage(Torso, 10, 5, 7, "Normal", "Punch", 5)
1422
1423
MakeSFX(Torso,320557563, 1, 1)
1424
for i = 1,10 do
1425
wait()
1426
1427
Torso.Neck.C0 = clerp(Torso.Neck.C0, Necko * CFrame.Angles(0, 0, 0), 0.5)
1428
RootJoint.C0 = clerp(RootJoint.C0, RootCFrame *cf(0, 0, 0) * CFrame.Angles(-i / 2,0,0), 0.5)
1429
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1, 0.5, -0.5) * CFrame.Angles(1.6, 0, -1), 0.5)
1430
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1, 0.5, -0.5) * CFrame.Angles(1.6, 0, 1), 0.5)
1431
Right_Hip.C0 = clerp(Right_Hip.C0, cf(0, -1, -0.5) * CFrame.Angles(0, 1.57, 1.6) * CFrame.Angles(0, -0, 0), 0.5)
1432
Left_Hip.C0 = clerp(Left_Hip.C0, cf(0, -1, 0.5) * CFrame.Angles(0, -1.57, 1.6) * CFrame.Angles(-0, 0, 0), 0.5)
1433
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1434
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1435
end	
1436
1437
Humanoid.WalkSpeed = 16
1438
Humanoid.JumpPower = 50
1439
Attacking = false
1440
	
1441
end
1442
1443
1444
function Shotcombo()
1445
Attacking = true
1446
Humanoid.WalkSpeed = 10
1447
Humanoid.JumpPower = 0
1448
1449
for i = 1,5 do
1450
wait()
1451
1452
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1453
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1454
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
1455
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
1456
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1457
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1458
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
1459
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0.5),0.2)
1460
end	
1461
1462
Shot(Barrel1)
1463
Shot(Barrel2)
1464
1465
for i = 1,5 do
1466
wait()
1467
1468
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1469
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1470
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(2,0,-0.2), 0.3)
1471
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(2,0,0.2), 0.3)
1472
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1473
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1474
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
1475
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,0),0.2)
1476
end		
1477
for i = 1,5 do
1478
wait()
1479
1480
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1481
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1482
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
1483
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
1484
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1485
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1486
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
1487
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0.5),0.2)
1488
end	
1489
1490
Shot(Barrel1)
1491
Shot(Barrel2)
1492
1493
for i = 1,5 do
1494
wait()
1495
1496
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1497
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1498
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(2,0,-0.2), 0.3)
1499
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(2,0,0.2), 0.3)
1500
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1501
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1502
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
1503
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,0),0.2)
1504
end		
1505
for i = 1,5 do
1506
wait()
1507
1508
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1509
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1510
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
1511
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
1512
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1513
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1514
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
1515
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0.5),0.2)
1516
end	
1517
1518
Shot(Barrel1)
1519
Shot(Barrel2)
1520
1521
for i = 1,5 do
1522
wait()
1523
1524
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1525
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1526
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(2,0,-0.2), 0.3)
1527
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(2,0,0.2), 0.3)
1528
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1529
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1530
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
1531
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,0),0.2)
1532
end		
1533
Humanoid.WalkSpeed = 16
1534
Humanoid.JumpPower = 50
1535
1536
Attacking = false
1537
end
1538
1539
1540
function BackJump()
1541
Attacking = true
1542
1543
Humanoid.WalkSpeed = 0
1544
Humanoid.JumpPower = 0
1545
1546
for i = 1,5 do
1547
wait()
1548
1549
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(-1.6,0,0),0.5)
1550
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.8,0,0),0.5)
1551
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(0,0,0), 0.5)
1552
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(0,0,0), 0.5)
1553
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.5)
1554
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.5)
1555
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
1556
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0.5),0.5)
1557
end	
1558
1559
Shot(Barrel1)
1560
Shot(Barrel2)
1561
local BV = Instance.new("BodyVelocity", Torso)
1562
BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
1563
BV.Velocity = Root.CFrame.lookVector * Vector3.new(-50,50,-50)
1564
1565
for i = 1,5 do
1566
wait()
1567
1568
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,-3)* CFrame.Angles(-1.6,0,0),0.5)
1569
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.8,0,0),0.3)
1570
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(1,0,0), 0.3)
1571
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(1,0,0), 0.3)
1572
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1573
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1574
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
1575
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,0),0.2)
1576
end
1577
BV:Remove()
1578
for i = 1,5 do
1579
wait()
1580
1581
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,-3)* CFrame.Angles(-1.6,0,0),0.5)
1582
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.8,0,0),0.3)
1583
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
1584
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
1585
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1586
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1587
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
1588
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0.5),0.2)
1589
end
1590
1591
Shot(Barrel1)
1592
Shot(Barrel2)
1593
1594
	
1595
for i = 1,5 do
1596
wait()
1597
1598
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,-3)* CFrame.Angles(-1.6,0,0),0.5)
1599
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.8,0,0),0.3)
1600
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(1,0,0), 0.3)
1601
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(1,0,0), 0.3)
1602
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1603
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1604
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
1605
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,0),0.2)
1606
end	
1607
for i = 1,5 do
1608
wait()
1609
1610
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,-3)* CFrame.Angles(-1.6,0,0),0.5)
1611
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.8,0,0),0.3)
1612
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
1613
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
1614
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1615
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1616
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,-0.5),0.2)
1617
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0.5),0.2)
1618
end
1619
1620
Shot(Barrel1)
1621
Shot(Barrel2)
1622
1623
	
1624
for i = 1,5 do
1625
wait()
1626
1627
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,-3)* CFrame.Angles(-1.6,0,0),0.5)
1628
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.8,0,0),0.3)
1629
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(1,0,0), 0.3)
1630
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(1,0,0), 0.3)
1631
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1632
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1633
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-0.6,-0) * CFrame.Angles(0,1.57,0),0.2)
1634
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,0),0.2)
1635
end
1636
Attacking = false
1637
Humanoid.WalkSpeed = 16
1638
Humanoid.JumpPower = 50
1639
end
1640
1641
function Energyshot()
1642
Attacking = true
1643
1644
for i = 1,5 do
1645
wait()
1646
1647
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1648
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1649
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
1650
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
1651
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1652
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1653
Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
1654
Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
1655
end
1656
1657
LightShot(Barrel1)
1658
for i = 1,5 do
1659
wait()
1660
1661
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1662
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1663
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
1664
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
1665
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1666
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1667
Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.5)
1668
Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
1669
end
1670
LightShot(Barrel2)
1671
for i = 1,5 do
1672
wait()
1673
1674
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1675
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1676
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
1677
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
1678
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1679
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1680
Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
1681
Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.5)
1682
end
1683
for i = 1,5 do
1684
wait()
1685
1686
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1687
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1688
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
1689
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
1690
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1691
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1692
Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
1693
Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
1694
end
1695
1696
LightShot(Barrel1)
1697
for i = 1,5 do
1698
wait()
1699
1700
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1701
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1702
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
1703
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
1704
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1705
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1706
Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.5)
1707
Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
1708
end
1709
LightShot(Barrel2)
1710
for i = 1,5 do
1711
wait()
1712
1713
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1714
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1715
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
1716
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
1717
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1718
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1719
Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
1720
Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,0),0.5)
1721
end
1722
1723
	
1724
Attacking = false
1725
end
1726
1727
function Overshot()
1728
Attacking = true
1729
Humanoid.WalkSpeed = 0
1730
Humanoid.JumpPower = 0
1731
coroutine.resume(coroutine.create(function()
1732
for i = 1,14 do
1733
wait(0.3)
1734
1735
local Hit, Position = RayCast(Root.Position, CFrame.new(Root.Position, Root.Position - Vector3.new(0, 1, 0)).lookVector, 200, Character)
1736
1737
if Hit ~= nil then
1738
	
1739
WaveEffect(Position, Services.Workspace, 0.05, 0.05, 0.05, 1, 0.05, 1, 1, "White", "SmoothPlastic", 0)
1740
end
1741
end
1742
end))
1743
MakeSFX(Torso,203691346,1,1)
1744
for i = 1,60 do
1745
wait()
1746
CircleEffect(Torso.Position + Vector3.new(0,10,0), Services.Workspace, 0.05, 0.05, 0.05, 1, 1, 1, 10, "Bright yellow", "SmoothPlastic", 0)
1747
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1748
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
1749
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0) * CFrame.Angles(3.2,0,-0.2), 0.3)
1750
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0) * CFrame.Angles(3.2,0,0.2), 0.3)
1751
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1752
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1753
Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,0,-0.6),0.5)
1754
Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,3.2,-0.6),0.5)
1755
end
1756
1757
for i = 1,10 do
1758
wait()
1759
1760
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1761
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1762
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.2), 0.3)
1763
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.2), 0.3)
1764
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
1765
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1766
Handle1Weld.C0=clerp(Handle1Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
1767
Handle2Weld.C0=clerp(Handle2Weld.C0, CFrame.new(0,-1,-0) * CFrame.Angles(0,1.57,-0.5),0.5)
1768
end
1769
 MakeSFX(Torso,156572165,10,0.75)
1770
wait(0.1)    
1771
MakeSFX(Torso,168586621,10,0.75)
1772
1773
local OvershotPart = CreatePart(Services.Workspace, "Overshot", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
1774
OvershotPart.Position = Barrel1.Position
1775
OvershotPart.CFrame = CFrame.new(OvershotPart.Position, Mouse.Hit.p)
1776
local OverVelocity = CreateVelocity(OvershotPart,OvershotPart.CFrame.lookVector * 50,Vector3.new(10000,10000,10000))
1777
1778
Services.Debris:AddItem(OvershotPart, 15)
1779
1780
coroutine.resume(coroutine.create(function()
1781
while OvershotPart.Parent == Services.Workspace do
1782
wait(0.3)
1783
	
1784
local Hit, Position = RayCast(OvershotPart.Position, CFrame.new(OvershotPart.Position, OvershotPart.Position - Vector3.new(0, 1, 0)).lookVector, 200, Character)
1785
1786
if Hit ~= nil then
1787
	
1788
WaveEffect(Position, Services.Workspace, 0.05, 0.05, 0.05, 1, 0.05, 1, 1, "White", "SmoothPlastic", 0)
1789
CircleEffect(OvershotPart.Position, Services.Workspace, 0.05, 0.05, 0.05, 5, 5, 5, 10, "Bright yellow", "SmoothPlastic", 0)
1790
end	
1791
end		
1792
end))
1793
wait()
1794
wait()
1795
wait()
1796
wait()
1797
wait()
1798
Connection = OvershotPart.Touched:connect(function(Hit)
1799
if Hit.Name ~= "Reference" and Hit.Name ~= "BallEffect" and Hit.Parent ~= Caliber1 and Hit.Parent ~= Caliber2 and Hit.Parent ~= Character then	
1800
Connection:disconnect()
1801
print(Hit.Name)
1802
OvershotPart:Remove()
1803
MakeSFX(OvershotPart, 320557563, 10, 1)
1804
ValidateDamage(OvershotPart, 60 ,36, 50, "Knockdown", "Penetration", 100)
1805
CircleEffect(OvershotPart.Position, Services.Workspace, 0.05, 0.05, 0.05, 30, 30, 30, 10, "Bright yellow", "SmoothPlastic", 0)
1806
end
1807
end)
1808
Humanoid.WalkSpeed = 16
1809
Humanoid.JumpPower = 50
1810
Attacking = false
1811
end
1812
1813
1814
1815
function OnClicked()
1816
1817
1818
if Combo == 1 and not Attacking and CanAttack then
1819
Combo = 2
1820
Attack1()	
1821
1822
	
1823
	
1824
1825
elseif Combo == 2 and not Attacking and CanAttack  then
1826
Combo = 3
1827
Attack2()
1828
	
1829
1830
elseif Combo == 3 and not Attacking and CanAttack  then
1831
Combo = 1
1832
Attack3()
1833
1834
end
1835
end
1836
1837
1838
function OnKeyDown(Key)
1839
	
1840
if Key == "e" and not Attacking and CooldownE > 10 then
1841
1842
CooldownE = CooldownE - 0
1843
1844
1845
if Shots == 1 and not Attacking and CanAttack then
1846
Shots = 2
1847
Shot1()	
1848
1849
	
1850
	
1851
1852
elseif Shots == 2 and not Attacking and CanAttack  then
1853
Shots = 3
1854
Shot2()
1855
	
1856
1857
elseif Shots == 3 and not Attacking and CanAttack  then
1858
Shots = 1
1859
Shot3()
1860
1861
end
1862
1863
end		
1864
1865
if Key == "z" and not Attacking and Mana > 10 and Cooldown1 == MaxCooldown1 then
1866
1867
Mana = Mana - 0
1868
Cooldown1 = 110
1869
Shotcombo()
1870
1871
end	
1872
1873
if Key == "x" and not Attacking and Mana > 20 and Cooldown2 == MaxCooldown2 then
1874
1875
Mana = Mana - 0
1876
Cooldown2 = 110
1877
BackJump()
1878
1879
	
1880
end
1881
1882
1883
if Key == "c" and not Attacking and Mana > 25 and Cooldown3 == MaxCooldown3 then
1884
1885
Mana = Mana - 0
1886
Cooldown3 = 110
1887
Energyshot()
1888
1889
end	
1890
1891
if Key == "v" and not Attacking and Mana > 50 and Cooldown4 == MaxCooldown4 then
1892
1893
Mana = Mana - 0
1894
Cooldown4 = 110
1895
Overshot()
1896
1897
end	
1898
end
1899
1900
Mouse.KeyDown:connect(OnKeyDown)
1901
Mouse.Button1Down:connect(OnClicked)
1902
1903
--[[ CLerp Animations ]]--
1904
1905
while true do
1906
wait()
1907
1908
local Torvel = (Root.Velocity*Vector3.new(1,0,1)).magnitude 
1909
local Velderp = Root.Velocity.y
1910
HitFloor,PosFloor = RayCast(Root.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,4,Character)	
1911
1912
Bars()
1913
1914
1915
if Torvel < 1 and HitFloor ~= nil and Attacking == false then
1916
Anim = "Idle"
1917
	
1918
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1919
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1920
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, -0.1) * CFrame.Angles(0.2,0,0.2), 0.3)
1921
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, -0.1) * CFrame.Angles(0.2,0,-0.2), 0.3)
1922
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0.1,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1923
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(-0.1,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1924
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0.3),0.2)
1925
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0.3),0.2)
1926
1927
end
1928
1929
1930
if 2 < Torvel and Torvel < 22 and HitFloor ~= nil and Attacking == false then
1931
Anim = "Walking"
1932
	
1933
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0.5,0,0),0.2)
1934
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.3,0,0),0.3)
1935
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0.3) * CFrame.Angles(-0.6,0,0.2), 0.3)
1936
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0.3) * CFrame.Angles(-0.6,0,-0.2), 0.3)
1937
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(0,0,0),0.2)
1938
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(0,0,0),0.2)
1939
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1940
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1941
end
1942
1943
if Root.Velocity.y > 1 and HitFloor == nil and Attacking == false then 
1944
Anim = "Jump"
1945
	
1946
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1947
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
1948
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0.2) * CFrame.Angles(-0.4,0,0.2), 0.3)
1949
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0.2) * CFrame.Angles(-0.4,0,-0.2), 0.3)
1950
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-0.2)*CFrame.Angles(-0.2,1.6,0),0.2)
1951
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1952
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1953
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(-3,1.57,-0.3),0.2)
1954
end
1955
1956
if Root.Velocity.y < -1 and HitFloor == nil and Attacking == false then 
1957
Anim = "Fall"
1958
	
1959
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1960
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
1961
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, -0.2) * CFrame.Angles(0.4,0,0.2), 0.3)
1962
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, -0.2) * CFrame.Angles(0.4,0,-0.2), 0.3)
1963
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-0.2)*CFrame.Angles(-0.2,1.6,0),0.2)
1964
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
1965
Handle1Weld.C0=clerp(Handle1Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0.3),0.2)
1966
Handle2Weld.C0=clerp(Handle2Weld.C0,CFrame.new(0,-1,-0) *  CFrame.Angles(0,1.57,-0.3),0.2)
1967
end
1968
1969
if #Effects > 0 then
1970
for E = 1, #Effects do
1971
if Effects[E]~=nil then
1972
local Effect = Effects[E]
1973
1974
if Effect ~= nil then
1975
	
1976
local Part = Effect[1]
1977
local Mode = Effect[2]
1978
local Time = Effect[3]
1979
local SizeX = Effect[4]
1980
local SizeY = Effect[5]
1981
local SizeZ = Effect[6]
1982
1983
if Effect[1].Transparency <= 1 then
1984
if Effect[2] == "Block" then
1985
Effect[1].CFrame = Effect[1].CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1986
1987
Mesh = Effect[1]:FindFirstChild("Mesh")
1988
if Mesh ~= nil then
1989
Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
1990
end
1991
1992
elseif Effect[2] == "Circle" then
1993
	
1994
if Effect[1]:FindFirstChild("Mesh") ~= nil then
1995
Mesh=Effect[1].Mesh
1996
Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
1997
end
1998
Effect[1].Transparency = Effect[1].Transparency + 0.05
1999
2000
elseif Effect[2] == "Cylinder" then
2001
	
2002
if Effect[1]:FindFirstChild("Mesh") ~= nil then
2003
Mesh=Effect[1].Mesh
2004
Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
2005
end
2006
Effect[1].Transparency = Effect[1].Transparency + 0.05
2007
2008
elseif Effect[2] == "Lightning" then
2009
	
2010
if Effect[1]:FindFirstChild("Mesh") ~= nil then
2011
Mesh=Effect[1].Mesh
2012
Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
2013
end
2014
Effect[1].Transparency = Effect[1].Transparency + 0.05
2015
2016
elseif Effect[2] == "Wave" then
2017
	
2018
if Effect[1]:FindFirstChild("Mesh") ~= nil then
2019
Mesh=Effect[1].Mesh
2020
Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
2021
end
2022
Effect[1].Transparency = Effect[1].Transparency + 0.05
2023
2024
2025
else
2026
	
2027
Part.Parent=nil
2028
2029
table.remove(Effects, E)
2030
2031
end
2032
end
2033
end
2034
end
2035
end
2036
end
2037
end