View difference between Paste ID: P8hq67r5 and Rieqp050
SHOW: | | - or go back to the newest paste.
1
wait(2)
2
3
local p = game:GetService("Players").LocalPlayer
4
local plr = game:GetService("Players").LocalPlayer
5
local player = game:GetService("Players").LocalPlayer
6
local char = p.Character
7
local mouse = p:GetMouse()
8
local larm = char:WaitForChild("Left Arm")
9
local rarm = char:WaitForChild("Right Arm")
10
local lleg = char:WaitForChild("Left Leg")
11
local rleg = char:WaitForChild("Right Leg")
12
local hed = char:WaitForChild("Head")
13
local torso = char:WaitForChild("Torso")
14
local root = char:WaitForChild("HumanoidRootPart")
15
local hum = char:FindFirstChildOfClass("Humanoid")
16
local debris = game:GetService("Debris")
17
local run = game:GetService("RunService")
18
local rs = run.RenderStepped
19
local cam = workspace.CurrentCamera
20
local movement = 4
21
local change = 0.4
22
local DebrisModel = Instance.new("Model",char)
23
local stealth = false
24
local debounce = false
25
-------------------------------------------------------
26
local Player_Size = 4
27
if Player_Size ~= 4 then
28
root.Size = root.Size * Player_Size
29
torso.Size = torso.Size * Player_Size
30
hed.Size = hed.Size * Player_Size
31
rarm.Size = rarm.Size * Player_Size
32
larm.Size = larm.Size * Player_Size
33
rleg.Size = rleg.Size * Player_Size
34
lleg.Size = lleg.Size * Player_Size
35
end
36
----------------------------------------------------------------------------------
37
it = Instance.new
38
hum.MaxHealth = 500000000000000000000000000000000000000000000000
39
hum.Health = hum.MaxHealth
40
themeid = 0
41
themepitch = 1
42
TorsoColor = torso.BrickColor
43
RightLeg = CFrame.new(0.5,-1,0)
44
	LeftLeg = CFrame.new(-0.5,-1,0)
45
RunService = game:service'RunService'
46
	lefth = (torso.CFrame*LeftLeg)
47
	righth = (torso.CFrame*RightLeg)
48
speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
49
local Lighty = game:GetService"Lighting"
50
EffectModel = Instance.new("Model", char)
51
Effects = {
52
  Block = {
53
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
54
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
55
      prt.Anchored = true
56
      prt.CFrame = cframe
57
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
58
      game:GetService("Debris"):AddItem(prt, 10)
59
      if Type == 1 or Type == nil then
60
        table.insert(Effects, {
61
          prt,
62
          "Block1",
63
          delay,
64
          x3,
65
          y3,
66
          z3,
67
          msh
68
        })
69
      elseif Type == 2 then
70
        table.insert(Effects, {
71
          prt,
72
          "Block2",
73
          delay,
74
          x3,
75
          y3,
76
          z3,
77
          msh
78
        })
79
      else
80
        table.insert(Effects, {
81
          prt,
82
          "Block3",
83
          delay,
84
          x3,
85
          y3,
86
          z3,
87
          msh
88
        })
89
      end
90
    end
91
  },
92
  Sphere = {
93
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
94
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
95
      prt.Anchored = true
96
      prt.CFrame = cframe
97
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
98
      game:GetService("Debris"):AddItem(prt, 10)
99
      table.insert(Effects, {
100
        prt,
101
        "Cylinder",
102
        delay,
103
        x3,
104
        y3,
105
        z3,
106
        msh
107
      })
108
    end
109
  },
110
  Cylinder = {
111
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
112
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
113
      prt.Anchored = true
114
      prt.CFrame = cframe
115
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
116
      game:GetService("Debris"):AddItem(prt, 10)
117
      table.insert(Effects, {
118
        prt,
119
        "Cylinder",
120
        delay,
121
        x3,
122
        y3,
123
        z3,
124
        msh
125
      })
126
    end
127
  },
128
  Wave = {
129
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
130
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
131
      prt.Anchored = true
132
      prt.CFrame = cframe
133
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
134
      game:GetService("Debris"):AddItem(prt, 10)
135
      table.insert(Effects, {
136
        prt,
137
        "Cylinder",
138
        delay,
139
        x3 / 60,
140
        y3 / 60,
141
        z3 / 60,
142
        msh
143
      })
144
    end
145
  },
146
  Ring = {
147
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
148
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
149
      prt.Anchored = true
150
      prt.CFrame = cframe
151
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
152
      game:GetService("Debris"):AddItem(prt, 10)
153
      table.insert(Effects, {
154
        prt,
155
        "Cylinder",
156
        delay,
157
        x3,
158
        y3,
159
        z3,
160
        msh
161
      })
162
    end
163
  },
164
  Break = {
165
    Create = function(brickcolor, cframe, x1, y1, z1)
166
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
167
      prt.Anchored = true
168
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
169
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
170
      local num = math.random(10, 50) / 1000
171
      game:GetService("Debris"):AddItem(prt, 10)
172
      table.insert(Effects, {
173
        prt,
174
        "Shatter",
175
        num,
176
        prt.CFrame,
177
        math.random() - math.random(),
178
        0,
179
        math.random(50, 100) / 100
180
      })
181
    end
182
  },
183
Spiral = {
184
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
185
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
186
      prt.Anchored = true
187
      prt.CFrame = cframe
188
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
189
      game:GetService("Debris"):AddItem(prt, 10)
190
      table.insert(Effects, {
191
        prt,
192
        "Cylinder",
193
        delay,
194
        x3,
195
        y3,
196
        z3,
197
        msh
198
      })
199
    end
200
  },
201
Push = {
202
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
203
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
204
      prt.Anchored = true
205
      prt.CFrame = cframe
206
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
207
      game:GetService("Debris"):AddItem(prt, 10)
208
      table.insert(Effects, {
209
        prt,
210
        "Cylinder",
211
        delay,
212
        x3,
213
        y3,
214
        z3,
215
        msh
216
      })
217
    end
218
  }
219
}
220
local NeckS = Instance.new("Part",char)
221
NeckS.Size = Vector3.new(1.2,1,1.2)
222
NeckS.Material = "SmoothPlastic"
223
NeckS.BrickColor = BrickColor.new("Bright yellow")
224
NeckS.CanCollide = false
225
local Neck3 = Instance.new("Weld",NeckS)
226
Neck3.Part0 = larm
227
Neck3.Part1 = NeckS
228
Neck3.C0 = CFrame.new(0,-0.62,0)*CFrame.Angles(math.rad(0),math.rad(-180),math.rad(0))
229
local Black = Instance.new("Part",NeckS)--First Stone, Yellow
230
Black.Size = Vector3.new(0.3,0.3,0.3)
231
Black.Material = "Neon"
232
Black.BrickColor = BrickColor.new("New Yeller")
233
Black.CanCollide = false
234
local BlackM = Instance.new("SpecialMesh",Black)
235
BlackM.MeshType = 3
236
local Black1 = Instance.new("Weld",Black)
237
Black1.Part0 = NeckS
238
Black1.Part1 = Black
239
Black1.C0 = CFrame.new(0.54,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
240
local Stone2 = Instance.new("Part",NeckS)--First Circle
241
Stone2.Size = Vector3.new(0.2,0.2,0.2)
242
Stone2.Material = "Neon"
243
Stone2.BrickColor = BrickColor.new("Magenta")
244
Stone2.CanCollide = false
245
local Stone22 = Instance.new("SpecialMesh",Stone2)
246
Stone22.MeshType = 3
247
local Stone222 = Instance.new("Weld",Stone2)
248
Stone222.Part0 = NeckS
249
Stone222.Part1 = Stone2
250
Stone222.C0 = CFrame.new(0.23,-0.47,0.4)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
251
local Stone3 = Instance.new("Part",NeckS)--First Circle
252
Stone3.Size = Vector3.new(0.2,0.2,0.2)
253
Stone3.Material = "Neon"
254
Stone3.BrickColor = BrickColor.new("Lapis")
255
Stone3.CanCollide = false
256
local Stone33 = Instance.new("SpecialMesh",Stone3)
257
Stone33.MeshType = 3
258
local Stone333 = Instance.new("Weld",Stone3)
259
Stone333.Part0 = NeckS
260
Stone333.Part1 = Stone3
261
Stone333.C0 = CFrame.new(0.23,-0.47,0.08)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
262
local Stone4 = Instance.new("Part",NeckS)--First Circle
263
Stone4.Size = Vector3.new(0.2,0.2,0.2)
264
Stone4.Material = "Neon"
265
Stone4.BrickColor = BrickColor.new("Really red")
266
Stone4.CanCollide = false
267
local Stone44 = Instance.new("SpecialMesh",Stone4)
268
Stone44.MeshType = 3
269
local Stone444 = Instance.new("Weld",Stone4)
270
Stone444.Part0 = NeckS
271
Stone444.Part1 = Stone4
272
Stone444.C0 = CFrame.new(0.23,-0.47,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
273
local Stone5 = Instance.new("Part",NeckS)--First Circle
274
Stone5.Size = Vector3.new(0.2,0.2,0.2)
275
Stone5.Material = "Neon"
276
Stone5.BrickColor = BrickColor.new("CGA brown")
277
Stone5.CanCollide = false
278
local Stone55 = Instance.new("SpecialMesh",Stone5)
279
Stone55.MeshType = 3
280
local Stone555 = Instance.new("Weld",Stone5)
281
Stone555.Part0 = NeckS
282
Stone555.Part1 = Stone5
283
Stone555.C0 = CFrame.new(0.23,-0.47,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
284
285
local Stone6 = Instance.new("Part",NeckS)--First Circle
286
Stone6.Size = Vector3.new(0.2,0.2,0.2)
287
Stone6.Material = "Neon"
288
Stone6.BrickColor = BrickColor.new("Lime green")
289
Stone6.CanCollide = false
290
local Stone66 = Instance.new("SpecialMesh",Stone6)
291
Stone66.MeshType = 3
292
local Stone666 = Instance.new("Weld",Stone6)
293
Stone666.Part0 = NeckS
294
Stone666.Part1 = Stone6
295
Stone666.C0 = CFrame.new(0,-0.3,0.6)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
296
297
local Grab = Instance.new("Part",hed)
298
	Grab.Size = Vector3.new(4.9,5,4.9)
299
	Grab.CanCollide = false
300
	Grab.BrickColor = BrickColor.new("Deep orange")
301
	Grab.Transparency = 1
302
	local Grabo = Instance.new("Weld",Grab)
303
	Grabo.Part0 = hed
304
	Grabo.Part1 = Grab
305
	Grabo.C0 = CFrame.new(0,-1.5,0)
306
	
307
local AuraB = Instance.new("Part",hed)
308
	AuraB.Size = Vector3.new(2,1,2)
309
	AuraB.CanCollide = false
310
	AuraB.BrickColor = BrickColor.new("Deep orange")
311
	AuraB.Transparency = 1
312
	local AuraBo = Instance.new("Weld",AuraB)
313
	AuraBo.Part0 = hed
314
	AuraBo.Part1 = AuraB
315
	AuraBo.C0 = CFrame.new(0,-3.6,0)
316
	
317
	local FZcharge3 = Instance.new("ParticleEmitter",Grab)
318
FZcharge3.Texture = "rbxassetid://249481494"
319
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
320
FZcharge3.EmissionDirection = "Top"
321
FZcharge3.Speed = NumberRange.new(8)
322
FZcharge3.Size = NumberSequence.new(8,0)
323
FZcharge3.Transparency = NumberSequence.new(0,1)
324
FZcharge3.Drag = 1.2
325
FZcharge3.LockedToPart = true
326
FZcharge3.Lifetime = NumberRange.new(1)
327
FZcharge3.Rate = 195
328
FZcharge3.LightEmission = 0
329
FZcharge3.Rotation = NumberRange.new(-360,360)
330
FZcharge3.VelocitySpread = 100.2	
331
FZcharge3.ZOffset = 2.5
332
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
333
wait(0.001)
334
	hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
335
for i,v in pairs(char:GetChildren()) do
336
if v ~= root then
337
if v:IsA("Part") then
338
v.Transparency = 1
339
elseif v:IsA("Accoutrement") then
340
v:FindFirstChildOfClass("Part").Transparency = 1
341
end
342
end
343
end
344
for i,v in pairs(NeckS:GetChildren()) do
345
if v ~= root then
346
if v:IsA("Part") then
347
v.Transparency = 1
348
elseif v:IsA("Accoutrement") then
349
v:FindFirstChildOfClass("Part").Transparency = 1
350
end
351
end
352
end
353
wait(5)	
354
FZcharge3.Rate = 0
355
for i,v in pairs(char:GetChildren()) do
356
if v ~= root then
357
if v:IsA("Part") then
358
v.Transparency = 0
359
elseif v:IsA("Accoutrement") then
360
v:FindFirstChildOfClass("Part").Transparency = 0
361
end
362
end
363
end
364
for i,v in pairs(NeckS:GetChildren()) do
365
if v ~= root then
366
if v:IsA("Part") then
367
v.Transparency = 0
368
elseif v:IsA("Accoutrement") then
369
v:FindFirstChildOfClass("Part").Transparency = 0
370
end
371
end
372
end
373
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
374
local SFXZ = Instance.new("Sound",torso)
375
			SFXZ.SoundId = "rbxassetid://915686003"
376
			SFXZ.Volume = 3
377
			SFXZ.Pitch = 1
378
			SFXZ.Looped = false
379
			wait(0.01)
380
			SFXZ:Play()
381
nooutline = function(part)
382
  part.TopSurface = 10
383
end
384
local Mode = false
385
part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
386
  local fp = it("Part")
387
  fp.formFactor = formfactor
388
  fp.Parent = parent
389
  fp.Reflectance = reflectance
390
  fp.Transparency = transparency
391
  fp.CanCollide = false
392
  fp.Locked = true
393
  fp.BrickColor = BrickColor.new(tostring(brickcolor))
394
  fp.Name = name
395
  fp.Size = size
396
  fp.Position = char.Torso.Position
397
  nooutline(fp)
398
  fp.Material = material
399
  fp:BreakJoints()
400
  return fp
401
end
402
403
mesh = function(Mesh, part, meshtype, meshid, offset, scale)
404
  local mesh = it(Mesh)
405
  mesh.Parent = part
406
  if Mesh == "SpecialMesh" then
407
    mesh.MeshType = meshtype
408
    mesh.MeshId = meshid
409
  end
410
  mesh.Offset = offset
411
  mesh.Scale = scale
412
  return mesh
413
end
414
415
weld = function(parent, part0, part1, c0, c1)
416
  local weld = it("Weld")
417
  weld.Parent = parent
418
  weld.Part0 = part0
419
  weld.Part1 = part1
420
  weld.C0 = c0
421
  weld.C1 = c1
422
  return weld
423
end
424
local Create = LoadLibrary("RbxUtility").Create
425
ArtificialHB = Create("BindableEvent", script){
426
	Parent = script,
427
	Name = "Heartbeat",
428
}
429
430
function RemoveOutlines(part)
431
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
432
end
433
CFuncs = {	
434
	Part = {
435
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
436
			local Part = Create("Part"){
437
				Parent = Parent,
438
				Reflectance = Reflectance,
439
				Transparency = Transparency,
440
				CanCollide = false,
441
				Locked = true,
442
				BrickColor = BrickColor.new(tostring(BColor)),
443
				Name = Name,
444
				Size = Size,
445
				Material = Material,
446
			}
447
			RemoveOutlines(Part)
448
			return Part
449
		end;
450
	};
451
	
452
	Mesh = {
453
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
454
			local Msh = Create(Mesh){
455
				Parent = Part,
456
				Offset = OffSet,
457
				Scale = Scale,
458
			}
459
			if Mesh == "SpecialMesh" then
460
				Msh.MeshType = MeshType
461
				Msh.MeshId = MeshId
462
			end
463
			return Msh
464
		end;
465
	};
466
467
	Weld = {
468
		Create = function(Parent, Part0, Part1, C0, C1)
469
			local Weld = Create("Weld"){
470
				Parent = Parent,
471
				Part0 = Part0,
472
				Part1 = Part1,
473
				C0 = C0,
474
				C1 = C1,
475
			}
476
			return Weld
477
		end;
478
	};
479
480
	Sound = {
481
		Create = function(id, par, vol, pit) 
482
			local Sound = Create("Sound"){
483
				Volume = vol,
484
				Pitch = pit or 1,
485
				SoundId = "rbxassetid://" .. id,
486
				Parent = par or workspace,
487
			}
488
			Sound:play() 
489
			return Sound
490
		end;
491
	};
492
	
493
	Decal = {
494
		Create = function(Color, Texture, Transparency, Name, Parent)
495
			local Decal = Create("Decal"){
496
				Color3 = Color,
497
				Texture = "rbxassetid://" .. Texture,
498
				Transparency = Transparency,
499
				Name = Name,
500
				Parent = Parent,
501
			}
502
			return Decal
503
		end;
504
	};
505
	
506
	BillboardGui = {
507
		Create = function(Parent, Image, Position, Size)
508
			local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
509
			BillPar.CFrame = CFrame.new(Position)
510
			local Bill = Create("BillboardGui"){
511
				Parent = BillPar,
512
				Adornee = BillPar,
513
				Size = UDim2.new(1, 0, 1, 0),
514
				SizeOffset = Vector2.new(Size, Size),
515
			}
516
			local d = Create("ImageLabel", Bill){
517
				Parent = Bill,
518
				BackgroundTransparency = 1,
519
				Size = UDim2.new(1, 0, 1, 0),
520
				Image = "rbxassetid://" .. Image,
521
			}
522
			return BillPar
523
		end
524
	};
525
	
526
	ParticleEmitter = {
527
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
528
			local Particle = Create("ParticleEmitter"){
529
				Parent = Parent,
530
				Color = ColorSequence.new(Color1, Color2),
531
				LightEmission = LightEmission,
532
				Size = Size,
533
				Texture = Texture,
534
				Transparency = Transparency,
535
				ZOffset = ZOffset,
536
				Acceleration = Accel,
537
				Drag = Drag,
538
				LockedToPart = LockedToPart,
539
				VelocityInheritance = VelocityInheritance,
540
				EmissionDirection = EmissionDirection,
541
				Enabled = Enabled,
542
				Lifetime = LifeTime,
543
				Rate = Rate,
544
				Rotation = Rotation,
545
				RotSpeed = RotSpeed,
546
				Speed = Speed,
547
				VelocitySpread = VelocitySpread,
548
			}
549
			return Particle
550
		end;
551
	};
552
	
553
	CreateTemplate = {
554
		
555
	};
556
}
557
NewInstance = function(instance,parent,properties)
558
	local inst = Instance.new(instance)
559
	inst.Parent = parent
560
	if(properties)then
561
		for i,v in next, properties do
562
			pcall(function() inst[i] = v end)
563
		end
564
	end
565
	return inst;
566
end
567
568
function rayCast(Position, Direction, Range, Ignore)
569
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
570
end 
571
local m = Create("Model"){
572
	Parent = char,
573
	Name = "WeaponModel",
574
}
575
HandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HandleL", Vector3.new(0.403949469, 0.000020112, 0.425030977))
576
HandleLWeld = CFuncs.Weld.Create(m, char["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00000000000, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1))
577
HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HitboxL", Vector3.new(1.00394952, 0.05222011, 1.02503109))
578
HitboxLWeld = CFuncs.Weld.Create(m, HandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 3.81469727e-006, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
579
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.401974738, 1.08532834, 0.40197292))
580
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.098050952, 0.00573730469, 0.171247482, 1, 0, 0, 0, 0, -1, 0, 1, 0))
581
CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
582
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
583
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335890889, -0.251642227, 0.414461493, 0, 0, -1, 0, -1, -0, -1, 0, -0))
584
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
585
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0, 0, 0))
586
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, -0.548431277, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0))
587
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1))
588
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.281382293, 0.206172079, 0.281381041))
589
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, 0.536894917, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0))
590
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1))
591
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
592
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0))
593
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
594
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
595
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.52296257, -0.166549563, 0.881902456, 0, 1, 0, 0, 0, 1, 1, 0, 0))
596
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249))
597
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
598
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.502866745, -0.447936893, 0.208598971, 0, 1, 0, 0, 0, 1, 1, 0, 0))
599
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384))
600
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
601
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335906148, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
602
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
603
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
604
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.5229702, -0.155028343, 0.881904364, 0, -1, -0, 0, 0, -1, 1, 0, 0))
605
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249))
606
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
607
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
608
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
609
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part", Vector3.new(1.01297641, 0.562762797, 0.361775607))
610
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00271511078, -0.231538773, 0.72112453, 0, 0, 1, 0, -1, -0, 1, 0, 0))
611
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
612
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
613
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
614
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
615
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
616
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.50287056, -0.436416715, 0.208604693, 0, -1, -0, 0, 0, -1, 1, 0, 0))
617
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384))
618
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.0853318, 0.206172079, 0.261282384))
619
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.0196914673, -0.273781061, 0, 0, -1, 0, 1, 0, 1, 0, 0))
620
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1))
621
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
622
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0))
623
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
624
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
625
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.638334274, 0.120502472, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
626
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
627
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
628
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501613617, -0.377654195, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
629
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
630
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
631
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201816559, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
632
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
633
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.252237976))
634
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, 0.383117557, 1, 0, 0, 0, -1, -0, 0, 0, -1))
635
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part2", Vector3.new(0.803949475, 0.452220112, 1.02503097))
636
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.500019014, 0.275951385, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
637
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.258267611))
638
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, -0.374602437, 1, 0, 0, 0, -1, -0, 0, 0, -1))
639
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
640
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.63834095, 0.120515823, 0.384124637, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
641
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
642
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064))
643
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364218116, -0.110958099, -0.496704191, 1, 0, 0, 0, -1, -0, 0, 0, -1))
644
CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654))
645
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064))
646
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364216208, -0.11095047, 0.508239627, 1, 0, 0, 0, -1, -0, 0, 0, -1))
647
CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654))
648
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.206172079, 1.0049324))
649
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.374262214, 0.100086212, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
650
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.0974852666, 0.682394505, 1))
651
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
652
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201721191, 0.384109378, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
653
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
654
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
655
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501708984, 0.384094119, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
656
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
657
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part2", Vector3.new(0.663258314, 0.643157542, 1.04512966))
658
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0325930119, -0.151147842, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
659
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
660
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357483745, -0.5254879, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0))
661
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945))
662
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.361777306, 0.206172079, 0.206172064))
663
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.062738657, -0.505384445, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
664
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199))
665
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
666
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, -0.335906148, 1, 0, 0, 0, -1, -0, 0, 0, -1))
667
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
668
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.643156648))
669
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.50538826, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
670
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455524, 0.316826075, 1))
671
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
672
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
673
CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684))
674
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 1.0049336, 0.206172064))
675
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.364208579, 0.00576782227, 0.17042923, -1, 0, -0, 0, 0, -1, 0, -1, -0))
676
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
677
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256168, 0.206172064))
678
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.0325796604, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
679
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
680
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.80495441, 0.206172079, 0.206172064))
681
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.520616472, -0.525484085, 0.00572109222, 1, 0, 0, 0, -1, -0, 0, 0, -1))
682
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199))
683
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
684
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.515432358, 0.00573730469, -0.120672107, 0, 1, 0, 0, 0, -1, -1, 0, 0))
685
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.414312303, 0.779879749, 0.414309978))
686
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256109, 0.206172064))
687
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496704191, 0.0325872898, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
688
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
689
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
690
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.255522728, -0.409584224, -0.512922287, 0, 0, 1, -1, 0, -0, 0, -1, 0))
691
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
692
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064))
693
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409576595, -0.502866745, 0.357467532, 1, 0, 0, 0, -1, -0, 0, 0, -1))
694
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086))
695
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
696
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.267042994, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0))
697
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
698
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.261283636, 0.462269485, 1.08532703))
699
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.241586685, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
700
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
701
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357467532, -0.522974014, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0))
702
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907))
703
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.401973516, 0.206172064))
704
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.512922287, 0.00572109222, -0.118150592, 0, 1, 0, 0, 0, -1, -1, 0, 0))
705
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 1, 0.389938712))
706
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064))
707
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508209109, -0.0779570341, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0))
708
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
709
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.723554611, 0.206172079, 0.40197283))
710
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.479927242, -0.512914658, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
711
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.389939815, 1))
712
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
713
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
714
CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684))
715
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
716
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.52296257, -0.640722156, 0, 0, -1, 0, -1, -0, -1, 0, -0))
717
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907))
718
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064))
719
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, -0.0779646635, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0))
720
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
721
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
722
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.436416715, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0))
723
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
724
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.683353961))
725
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.208598971, -0.502866745, 0.00576782227, 1, 0, 0, 0, -1, -0, 0, 0, -1))
726
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367556, 0.292454839, 1))
727
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.241183683))
728
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.881908178, -0.512926102, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
729
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 0.389939815, 1))
730
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.522567213, 0.206172079, 1.08532703))
731
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.143131495, -0.502866745, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
732
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1))
733
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
734
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.447936893, -0.409574687, -0.512914658, 0, 0, 1, -1, 0, -0, 0, -1, 0))
735
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
736
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064))
737
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, 0.357513309, 1, 0, 0, 0, -1, -0, 0, 0, -1))
738
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064))
739
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064))
740
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.40957278, -0.502866745, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1))
741
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086))
742
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
743
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354666114, -0.435037613, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
744
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
745
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064))
746
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1))
747
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064))
748
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
749
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, 0.347427249, 1, 0, 0, 0, -1, -0, 0, 0, -1))
750
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
751
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
752
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.525484085, -0.640727878, 0, 0, -1, 0, -1, -0, -1, 0, -0))
753
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945))
754
Part4 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part4", Vector3.new(1.04513443, 0.206172079, 0.206172064))
755
Part4Weld = CFuncs.Weld.Create(m, HandleL, Part4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.120185852, 0.349273562, 0, 0, -1, 0, 1, 0, 1, 0, 0))
756
CFuncs.Mesh.Create("SpecialMesh", Part4, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105))
757
Part5 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part5", Vector3.new(1.04513443, 0.206172079, 0.206172064))
758
Part5Weld = CFuncs.Weld.Create(m, HandleL, Part5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00573730469, -0.42247963, 0.349279284, 0, 0, 1, 0, -1, -0, 1, 0, 0))
759
CFuncs.Mesh.Create("SpecialMesh", Part5, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105))
760
Part6 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part6", Vector3.new(0.206172049, 0.442170829, 1.04512966))
761
Part6Weld = CFuncs.Weld.Create(m, HandleL, Part6, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.349294543, -0.151140213, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
762
CFuncs.Mesh.Create("BlockMesh", Part6, "", "", Vector3.new(0, 0, 0), Vector3.new(0.48742649, 1, 1))
763
sref = CFuncs.Part.Create(char, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
764
sref.Anchored = true
765
766
ACOS = math.acos
767
  ang = CFrame.Angles
768
SIN = math.sin
769
cf = CFrame.new
770
COS = math.cos
771
  rd = math.rad
772
  rd2 = math.random
773
 Heartbeat = Instance.new("BindableEvent")
774
  Heartbeat.Name = "Heartbeat"
775
  Heartbeat.Parent = script
776
local LeftShoulder = torso["Left Shoulder"] 
777
local Left_Hip = torso["Left Hip"] 
778
local RightShoulder = torso["Right Shoulder"] 
779
local Right_Hip = torso["Right Hip"] 
780
781
 RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
782
  RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
783
  LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
784
  LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
785
  RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
786
  RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
787
  LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
788
  LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
789
  NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
790
  NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
791
  RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
792
  RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
793
  RS = torso:FindFirstChild("Right Shoulder")
794
  LS = torso:FindFirstChild("Left Shoulder")
795
  RH = torso:FindFirstChild("Right Hip")
796
  LH = torso:FindFirstChild("Left Hip")
797
  RJ = root:FindFirstChild("RootJoint")
798
  N = torso:FindFirstChild("Neck")
799
800
801
local UltimateBattle = Instance.new("Sound",hed)
802
		UltimateBattle.SoundId = "rbxassetid://1333021608"
803
		UltimateBattle.Pitch = 1
804
		UltimateBattle.Looped = true
805
		UltimateBattle.Volume = 5
806
	UltimateBattle:Play()
807
		
808
		
809
		
810
		
811
812
		
813
	function QuaternionFromCFrame(cf)
814
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
815
	local trace = m00 + m11 + m22
816
	if trace > 0 then 
817
		local s = math.sqrt(1 + trace)
818
		local recip = 0.5 / s
819
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
820
	else
821
		local i = 0
822
		if m11 > m00 then
823
			i = 1
824
		end
825
		if m22 > (i == 0 and m00 or m11) then
826
			i = 2
827
		end
828
		if i == 0 then
829
			local s = math.sqrt(m00 - m11 - m22 + 1)
830
			local recip = 0.5 / s
831
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
832
		elseif i == 1 then
833
			local s = math.sqrt(m11 - m22 - m00 + 1)
834
			local recip = 0.5 / s
835
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
836
		elseif i == 2 then
837
			local s = math.sqrt(m22 - m00 - m11 + 1)
838
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
839
		end
840
	end
841
end
842
 
843
function QuaternionToCFrame(px, py, pz, x, y, z, w)
844
	local xs, ys, zs = x + x, y + y, z + z
845
	local wx, wy, wz = w * xs, w * ys, w * zs
846
	local xx = x * xs
847
	local xy = x * ys
848
	local xz = x * zs
849
	local yy = y * ys
850
	local yz = y * zs
851
	local zz = z * zs
852
	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))
853
end
854
 
855
function QuaternionSlerp(a, b, t)
856
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
857
	local startInterp, finishInterp;
858
	if cosTheta >= 0.0001 then
859
		if (1 - cosTheta) > 0.0001 then
860
			local theta = ACOS(cosTheta)
861
			local invSinTheta = 1 / SIN(theta)
862
			startInterp = SIN((1 - t) * theta) * invSinTheta
863
			finishInterp = SIN(t * theta) * invSinTheta
864
		else
865
			startInterp = 1 - t
866
			finishInterp = t
867
		end
868
	else
869
		if (1 + cosTheta) > 0.0001 then
870
			local theta = ACOS(-cosTheta)
871
			local invSinTheta = 1 / SIN(theta)
872
			startInterp = SIN((t - 1) * theta) * invSinTheta
873
			finishInterp = SIN(t * theta) * invSinTheta
874
		else
875
			startInterp = t - 1
876
			finishInterp = t
877
		end
878
	end
879
	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
880
end
881
882
function Clerp(a, b, t)
883
	local qa = {QuaternionFromCFrame(a)}
884
	local qb = {QuaternionFromCFrame(b)}
885
	local ax, ay, az = a.x, a.y, a.z
886
	local bx, by, bz = b.x, b.y, b.z
887
	local _t = 1 - t
888
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
889
end
890
891
main = {r = 0;g = 100;b = 255;v = 1}
892
if p:FindFirstChild("rcolor") then main.r = p.rcolor.Value else local string = Instance.new("StringValue",p) string.Name = "rcolor" end
893
if p:FindFirstChild("gcolor") then main.g = p.gcolor.Value else local string = Instance.new("StringValue",p) string.Name = "gcolor" end
894
if p:FindFirstChild("bcolor") then main.b = p.bcolor.Value else local string = Instance.new("StringValue",p) string.Name = "bcolor" end
895
if p:FindFirstChild("vcolor") then main.v = p.vcolor.Value else local string = Instance.new("StringValue",p) string.Name = "vcolor" end
896
if p:FindFirstChild("idtheme") then themeid = p.idtheme.Value else local string = Instance.new("StringValue",p) string.Name = "idtheme" end
897
if p:FindFirstChild("pitchtheme") then themepitch = p.pitchtheme.Value else local string = Instance.new("StringValue",p) string.Name = "pitchtheme" end
898
pr = p:FindFirstChild("rcolor")
899
pg = p:FindFirstChild("gcolor")
900
pb = p:FindFirstChild("bcolor")
901
pv = p:FindFirstChild("vcolor")
902
idth = p:FindFirstChild("idtheme")
903
pith = p:FindFirstChild("pitchtheme")
904
main_color = Color3.fromRGB(main.r,main.g,main.b)
905
explosionid = {144699494,144699494}
906
punch = {545219984}
907
--919941001
908
Prefix = "/"
909
p.Chatted:connect(function(msg)
910
 
911
    if msg:lower():sub(1,#Prefix+#'color r ')==Prefix..'color r ' then
912
    local v = tonumber(msg:sub(#Prefix+#'color r '+1))
913
    main.r = v
914
    elseif msg:lower():sub(1,#Prefix+#'color g ')==Prefix..'color g ' then
915
    local v = tonumber(msg:sub(#Prefix+#'color g '+1))
916
    main.g = v
917
    elseif msg:lower():sub(1,#Prefix+#'color b ')==Prefix..'color b ' then
918
    local v = tonumber(msg:sub(#Prefix+#'color b '+1))
919
    main.b = v
920
    elseif msg:lower():sub(1,#Prefix+#'color v ')==Prefix..'color v ' then
921
    local v = tonumber(msg:sub(#Prefix+#'color v '+1))
922
    if v > 1 then main.v = 1 elseif v < -1 then main.v = -1 else main.v = v end
923
924
    elseif msg:lower():sub(1,#Prefix+#'theme ')==Prefix..'theme ' then
925
    local v = tonumber(msg:sub(#Prefix+#'theme '+1))
926
    themeid = v
927
    music(themeid,themepitch)
928
929
    elseif msg:lower():sub(1,#Prefix+#'pitch ')==Prefix..'pitch ' then
930
    local v = tonumber(msg:sub(#Prefix+#'pitch '+1))
931
    themepitch = v
932
    music(themeid,themepitch)
933
934
    elseif msg:lower():sub(1,#Prefix+#'prefix ')==Prefix..'prefix ' then
935
    local v = msg:sub(#Prefix+#'prefix '+1)
936
    Prefix = v
937
 
938
    elseif msg:lower():sub(1,#Prefix+#'reset')==Prefix..'reset' then
939
    main.r = 0
940
    main.g = 100
941
    main.b = 255
942
    main.v = 1
943
    themeid = 556122490
944
    themepitch = 1
945
    music(themeid,themepitch)
946
947
    end
948
949
end)
950
----------------------------------------------------------------------------
951
no_anim = false
952
attack = false
953
attacking = false
954
canjump = true
955
aiming_anim = false
956
animid = math.random(0,1)
957
timer = 0
958
bg = Instance.new("BodyGyro",root)
959
bg.P = 100000
960
bg.D = 100
961
----------------------------------------------------------------------------
962
 
963
----
964
function rswait(value)
965
  if value ~= nil and value ~= 0 then
966
    for i=1,value do
967
     rs:wait()
968
    end
969
  else
970
	rs:wait()
971
  end
972
end
973
974
----
975
local maincolor = BrickColor.new("Really red")
976
function Eviscerate(dude)
977
	if dude.Name ~= char then
978
	
979
		local val = Instance.new("BoolValue", dude)
980
		val.Name = "IsHit"
981
		local ds = coroutine.wrap(function()
982
			dude:BreakJoints()
983
			wait(0)
984
			local Vanish = Instance.new("Sound",dude)
985
			Vanish.SoundId = "rbxassetid://427025525"
986
			Vanish.Volume = 0.5
987
			Vanish.Pitch = 0.6
988
			Vanish.Looped = false
989
			wait(0.01)
990
			Vanish:Play()
991
			coroutine.resume(coroutine.create(function()
992
				for i, v in pairs(dude:GetChildren()) do
993
					if v:IsA("Accessory") then
994
						v:Destroy()
995
					end
996
					
997
					if v:IsA("CharacterMesh") then
998
						v:Destroy()
999
					end
1000
					if v:IsA("Model") then
1001
						v:Destroy()
1002
					end
1003
					if v:IsA("Part") or v:IsA("MeshPart") then
1004
						for x, o in pairs(v:GetChildren()) do
1005
							if o:IsA("Decal") then
1006
								o:Destroy()
1007
							end
1008
						end
1009
						coroutine.resume(coroutine.create(function()
1010
							v.Material = "Grass"
1011
							v.CanCollide = false
1012
							
1013
			coroutine.resume(coroutine.create(function()
1014
			for i = 1,45 do
1015
			v.Transparency = v.Transparency + 0.04
1016
			wait(0.00000000001)
1017
			end
1018
			
1019
				
1020
			end))
1021
			
1022
						local Aura = Instance.new("ParticleEmitter",v)
1023
Aura.Texture = "rbxassetid://1084976679"
1024
Aura.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color)
1025
Aura.EmissionDirection = "Top"
1026
Aura.Speed = NumberRange.new(0)
1027
Aura.Size = NumberSequence.new(2.5)
1028
Aura.Transparency = NumberSequence.new(0,1)
1029
Aura.Drag = 0.4
1030
Aura.LightInfluence = 0
1031
Aura.LockedToPart = true
1032
Aura.Lifetime = NumberRange.new(0.9)
1033
Aura.Rate = 260
1034
Aura.LightEmission = 1
1035
Aura.Rotation = NumberRange.new(-360,360)
1036
Aura.VelocitySpread = 0
1037
Aura.Acceleration = Vector3.new(0,10,0)	
1038
Aura.ZOffset = 0.2
1039
							local BodPoss = Instance.new("BodyPosition", v)
1040
							BodPoss.P = 3000
1041
							BodPoss.D = 1000
1042
							BodPoss.maxForce = Vector3.new(500, 5000, 500)
1043
							BodPoss.position = v.Position + Vector3.new(rd2(-2, 0), rd2(-0, 0), rd2(-0, 0))
1044
							v.BrickColor = BrickColor.new("Dirt brown")
1045
							
1046
								wait(1.3)
1047
								Aura.Enabled = false
1048
								wait(1.5)
1049
								v:Destroy()
1050
						
1051
								dude:Destroy()
1052
							end))
1053
						end
1054
					
1055
				end
1056
			end))
1057
		end)
1058
		ds()
1059
	end
1060
end
1061
function Snap(dude)
1062
	if dude.Name ~= char then
1063
		local bgf = Instance.new("BodyGyro", dude.Head)
1064
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(rd(-90), 0, 0)
1065
		local val = Instance.new("BoolValue", dude)
1066
		val.Name = "IsHit"
1067
		local ds = coroutine.wrap(function()
1068
			dude:BreakJoints()
1069
			wait(0)
1070
			
1071
			coroutine.resume(coroutine.create(function()
1072
				for i, v in pairs(dude:GetChildren()) do
1073
					if v:IsA("Accessory") then
1074
						v:Destroy()
1075
					end
1076
					
1077
					if v:IsA("CharacterMesh") then
1078
						v:Destroy()
1079
					end
1080
					if v:IsA("Model") then
1081
						v:Destroy()
1082
					end
1083
					if v:IsA("Part") or v:IsA("MeshPart") then
1084
						for x, o in pairs(v:GetChildren()) do
1085
							if o:IsA("Decal") then
1086
								o:Destroy()
1087
							end
1088
						end
1089
						coroutine.resume(coroutine.create(function()
1090
							
1091
							v.Material = "Neon"
1092
							local PartEmmit1 = Instance.new("ParticleEmitter", v)
1093
							PartEmmit1.LightEmission = 1
1094
							PartEmmit1.Texture = "rbxassetid://520049620"
1095
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1096
							PartEmmit1.Rate = 150
1097
							PartEmmit1.Lifetime = NumberRange.new(1)
1098
							PartEmmit1.Size = NumberSequence.new({
1099
								NumberSequenceKeypoint.new(0, 0.75, 0),
1100
								NumberSequenceKeypoint.new(1, 0, 0)
1101
							})
1102
							PartEmmit1.Transparency = NumberSequence.new({
1103
								NumberSequenceKeypoint.new(0, 0, 0),
1104
								NumberSequenceKeypoint.new(1, 1, 0)
1105
							})
1106
							PartEmmit1.Speed = NumberRange.new(0, 0)
1107
							PartEmmit1.VelocitySpread = 30000
1108
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1109
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1110
							local BodPoss = Instance.new("BodyPosition", v)
1111
							BodPoss.P = 3000
1112
							BodPoss.D = 1000
1113
							BodPoss.maxForce = Vector3.new(200000, 200000, 200000)
1114
							BodPoss.position = v.Position + Vector3.new(rd2(-1, 1), rd2(-1, 1), rd2(-1, 1))
1115
							v.BrickColor = BrickColor.new("Really red")
1116
							coroutine.resume(coroutine.create(function()
1117
								for i = 0, 49 do
1118
									swait(1)
1119
									
1120
								end
1121
								wait(0.5)
1122
								PartEmmit1.Enabled = false
1123
								wait(3)
1124
								v:Destroy()
1125
								dude:Destroy()
1126
							end))
1127
						end))
1128
					end
1129
				end
1130
			end))
1131
		end)
1132
		ds()
1133
	end
1134
end
1135
function Rock(stone)
1136
	if stone.Name ~= char then
1137
		
1138
		local val = Instance.new("BoolValue", stone)
1139
		val.Name = "IsHit"
1140
		local ds = coroutine.wrap(function()
1141
			stone:BreakJoints()
1142
			wait(0)
1143
			
1144
			coroutine.resume(coroutine.create(function()
1145
				for i, v in pairs(stone:GetChildren()) do
1146
					if v:IsA("Accessory") then
1147
						v:Destroy()
1148
					end
1149
					
1150
					if v:IsA("CharacterMesh") then
1151
						v:Destroy()
1152
					end
1153
					if v:IsA("Model") then
1154
						v:Destroy()
1155
					end
1156
					if v:IsA("Part") or v:IsA("MeshPart") then
1157
						for x, o in pairs(v:GetChildren()) do
1158
							if o:IsA("Decal") then
1159
								o:Destroy()
1160
							end
1161
						end
1162
						coroutine.resume(coroutine.create(function()
1163
							
1164
							v.Material = "Slate"
1165
							v.CanCollide = true
1166
						local BodPoss = Instance.new("BodyPosition", v)
1167
							BodPoss.P = 3000
1168
							BodPoss.D = 1000
1169
							BodPoss.maxForce = Vector3.new(500, 5000, 500)
1170
							BodPoss.position = v.Position + Vector3.new(rd2(-5, 5), rd2(-0, 0), rd2(-0, 0))
1171
						
1172
							v.BrickColor = BrickColor.new("Dark stone grey")
1173
								wait(0.1)
1174
								BodPoss:Destroy()
1175
							coroutine.resume(coroutine.create(function()
1176
								for i = 0, 49 do
1177
									swait(1)
1178
									
1179
								end
1180
								wait(0.5)
1181
								
1182
								wait(3)
1183
								
1184
							end))
1185
						end))
1186
					end
1187
				end
1188
			end))
1189
		end)
1190
		ds()
1191
	end
1192
end
1193
----------------------------------------------------------------------------
1194
local instinct = true
1195
1196
1197
---
1198
Instance.new("ForceField",char).Visible = false
1199
hum:SetStateEnabled("Dead",false)
1200
hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
1201
---
1202
1203
---
1204
1205
local MUI = false
1206
1207
1208
max = 0
1209
function music(id,pitch)
1210
max = 0
1211
if id == "Stop" then
1212
if not torso:FindFirstChild("MusicRuin") then
1213
soundz = Instance.new("Sound",torso)
1214
end
1215
soundz:Stop()
1216
else
1217
if not torso:FindFirstChild("MusicRuin") then
1218
soundz = Instance.new("Sound",torso)
1219
end
1220
soundz.MaxDistance = 150*5
1221
soundz.EmitterSize = 150/5
1222
soundz.Volume = 10
1223
soundz.Name = "MusicRuin"
1224
soundz.Looped = true
1225
soundz.PlaybackSpeed = pitch
1226
soundz.SoundId = "rbxassetid://"..id
1227
soundz:Stop()
1228
soundz:Play()
1229
end
1230
end
1231
1232
----------------------------------------------------------------------------
1233
1234
function lerp(a, b, t)
1235
  return a + (b - a)*t
1236
end
1237
1238
----------------------------------------------------------------------------
1239
1240
function Lerp(c1,c2,al)
1241
  local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
1242
  local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
1243
  for i,v in pairs(com1) do
1244
    com1[i] = v+(com2[i]-v)*al
1245
  end
1246
  return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
1247
end
1248
1249
----------------------------------------------------------------------------
1250
1251
function slerp(a, b, t)
1252
  dot = a:Dot(b)
1253
  if dot > 0.99999 or dot < -0.99999 then
1254
    return t <= 0.5 and a or b
1255
  else
1256
    r = math.acos(dot)
1257
    return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
1258
  end
1259
end
1260
1261
----------------------------------------------------------------------------
1262
1263
function clerp(c1,c2,al)
1264
1265
  local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
1266
1267
  local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
1268
1269
  for i,v in pairs(com1) do
1270
1271
    com1[i] = lerp(v,com2[i],al)
1272
1273
  end
1274
1275
  return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
1276
1277
end
1278
1279
----------------------------------------------------------------------------
1280
1281
1282
1283
-------------------
1284
function findAllNearestTorso(pos,dist)
1285
    local list = game.Workspace:children()
1286
    local torso = {}
1287
    local temp = nil
1288
    local human = nil
1289
    local temp2 = nil
1290
    for x = 1, #list do
1291
        temp2 = list[x]
1292
        if (temp2.className == "Model") and (temp2 ~= char) then
1293
            local nayem = "Torso"
1294
            if temp2:findFirstChild("UpperTorso") then nayem = "UpperTorso" end
1295
            temp = temp2:findFirstChild(nayem)
1296
            human = temp2:findFirstChildOfClass("Humanoid")
1297
            if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
1298
                if (temp.Position - pos).magnitude < dist then
1299
                    table.insert(torso,temp)
1300
                    dist = (temp.Position - pos).magnitude
1301
                end
1302
            end
1303
        end
1304
    end
1305
    return torso
1306
end
1307
1308
----------------------------------------------------------------------------
1309
1310
local isAPlayer
1311
function checkIfNotPlayer(model)
1312
coroutine.resume(coroutine.create(function()
1313
if model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel then
1314
isAPlayer = true
1315
else
1316
isAPlayer = false
1317
end
1318
end))
1319
return isAPlayer
1320
end
1321
1322
----------------------------------------------------------------------------
1323
1324
function computeDirection(vec)
1325
local lenSquared = vec.magnitude * vec.magnitude
1326
local invSqrt = 1 / math.sqrt(lenSquared)
1327
return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
1328
end
1329
1330
----------------------------------------------------------------------------
1331
1332
function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
1333
1334
  local wld = Instance.new("Weld", wp1)
1335
1336
  wld.Part0 = wp0
1337
1338
  wld.Part1 = wp1
1339
1340
  wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
1341
1342
  return wld
1343
1344
end
1345
1346
----------------------------------------------------------------------------
1347
1348
function weld(model)
1349
	local parts,last = {}
1350
	local function scan(parent)
1351
		for _,v in pairs(parent:GetChildren()) do
1352
			if (v:IsA("BasePart")) then
1353
				if (last) then
1354
					local w = Instance.new("Weld")
1355
					w.Name = ("%s_Weld"):format(v.Name)
1356
					w.Part0,w.Part1 = last,v
1357
					w.C0 = last.CFrame:inverse()
1358
					w.C1 = v.CFrame:inverse()
1359
					w.Parent = last
1360
				end
1361
				last = v
1362
				table.insert(parts,v)
1363
			end
1364
			scan(v)
1365
		end
1366
	end
1367
	scan(model)
1368
	for _,v in pairs(parts) do
1369
		v.Anchored = false
1370
		v.Locked = true
1371
	end
1372
end
1373
1374
----------------------------------------------------------------------------
1375
1376
function sound(id,position,vol,pitch,dist,start,finish)
1377
  coroutine.resume(coroutine.create(function()
1378
1379
  local part = Instance.new("Part",DebrisModel)
1380
  part.Anchored = true
1381
  part.Position = position
1382
  part.Size = Vector3.new(0,0,0)
1383
  part.CanCollide = false
1384
  part.Transparency = 1
1385
1386
  soundasd = Instance.new("Sound",part)
1387
  
1388
  soundasd.SoundId = "rbxassetid://"..id
1389
  
1390
  if vol ~= nil then
1391
    soundasd.Volume = vol
1392
  end
1393
1394
  if pitch ~= nil then
1395
    soundasd.PlaybackSpeed = pitch
1396
  end
1397
  
1398
  if dist ~= nil then
1399
    soundasd.MaxDistance = dist*5
1400
    soundasd.EmitterSize = dist/5
1401
  end
1402
1403
  delay(0.5,function() debris:AddItem(part,soundasd.TimeLength+3) end)
1404
  
1405
  soundasd:Play()
1406
  
1407
  end))
1408
  return soundasd
1409
end
1410
1411
function createsound(id,parent)
1412
1413
  local soundz = Instance.new("Sound",parent)
1414
1415
  soundz.SoundId = "rbxassetid://"..id
1416
1417
  return soundz
1418
1419
end
1420
1421
function playsound(sond,vol,pitch,start)
1422
  
1423
  if vol ~= nil then
1424
    sond.Volume = vol
1425
  end
1426
1427
  if pitch ~= nil then
1428
    sond.PlaybackSpeed = pitch
1429
  end
1430
 
1431
  if start ~= nil then
1432
    sond.TimePosition = start
1433
  end
1434
1435
  sond:Play()
1436
  
1437
end
1438
1439
----------------------------------------------------------------------------
1440
eColors={"Really red","Really black"}
1441
function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans)
1442
    local magz = (Part0 - Part1).magnitude
1443
    local curpos = Part0
1444
    local trz = {-Offset,Offset} 
1445
    for i=1,Times do
1446
        local li = Instance.new("Part", DebrisModel)
1447
        li.TopSurface =0
1448
        li.Material = Enum.Material.Neon
1449
        li.BottomSurface = 0
1450
        li.Anchored = true
1451
        li.Locked = true
1452
        li.Transparency = Trans or 0.4
1453
        li.BrickColor = BrickColor.new(Color)
1454
        li.formFactor = "Custom"
1455
        li.CanCollide = false
1456
        li.Size = Vector3.new(Thickness,Thickness,magz/Times)
1457
        local lim = Instance.new("BlockMesh",li)
1458
        local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
1459
        local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
1460
        if Times == i then
1461
        local magz2 = (curpos - Part1).magnitude
1462
        li.Size = Vector3.new(Thickness,Thickness,magz2)
1463
        li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
1464
        else
1465
        li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
1466
        end
1467
        curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
1468
        li.Name = "LIGHTNING"
1469
    end
1470
end
1471
1472
----------------------------------------------------------------------------
1473
1474
1475
local HBill = Instance.new("BillboardGui",hed)
1476
local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
1477
local HName = Instance.new("TextLabel")
1478
HBill.Size = UDim2.new(15,0,2.2,0)
1479
HBill.StudsOffset = Vector3.new(3.675,1.2,0)
1480
HBill.AlwaysOnTop = true
1481
HBill.Enabled = true
1482
HMain.BackgroundColor3 = Color3.new(0, 0, 0)
1483
HMain.BackgroundTransparency = 1
1484
HMain.Size = UDim2.new(.5,0,.2,0)
1485
HName.Parent = HMain
1486
HName.BackgroundTransparency = 1
1487
HName.BackgroundColor3 = Color3.new(255,255,255)
1488
HName.BorderColor3 = Color3.new(0,0,0)
1489
HName.BorderSizePixel = 2
1490
HName.TextTransparency = 1
1491
HName.Size = UDim2.new(1,0,.75,0)
1492
HName.Font = "Code"
1493
HName.Text = [[ok]]
1494
HName.TextScaled = true
1495
HName.TextColor3 = Color3.new(0.5,0.5,0.5)
1496
HName.TextStrokeColor3 = Color3.new(0.1,0.1,0.1)
1497
HName.TextStrokeTransparency = 1
1498
HName.TextYAlignment = "Bottom"
1499
1500
local HBill = Instance.new("BillboardGui",hed)
1501
local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
1502
local HName = Instance.new("TextLabel")
1503
HBill.Size = UDim2.new(15,0,2.2,0)
1504
HBill.StudsOffset = Vector3.new(3.675,2,0)
1505
HBill.AlwaysOnTop = true
1506
HBill.Enabled = true
1507
HMain.BackgroundColor3 = Color3.new(0, 0, 0)
1508
HMain.BackgroundTransparency = 1
1509
HMain.Size = UDim2.new(.5,0,.5,0)
1510
HName.Parent = HMain
1511
HName.BackgroundTransparency = 1
1512
HName.BackgroundColor3 = Color3.new(255,255,255)
1513
HName.BorderColor3 = Color3.new(0,0,0)
1514
HName.BorderSizePixel = 2
1515
HName.Size = UDim2.new(1,0,.75,0)
1516
HName.Font = "Code"
1517
HName.TextTransparency = 1
1518
HName.Text = [[hi]]
1519
HName.TextScaled = true
1520
HName.TextColor3 = Color3.new(0,0,0)
1521
HName.TextStrokeColor3 = Color3.new(255,255,255)
1522
HName.TextStrokeTransparency = 1
1523
HName.TextYAlignment = "Bottom"
1524
1525
function bigboomrektxd()
1526
coroutine.resume(coroutine.create(function()
1527
local magnitude = nil
1528
local Position = nil
1529
if animid == 0 then
1530
Position = larm.Position
1531
else
1532
Position = rarm.Position
1533
end
1534
--sound(743499393,Position,10,math.random(6,8)/10)
1535
sound(1050751126,Position,10,math.random(10,12)/10,50)
1536
1537
local Part1 = Instance.new("Part")
1538
local mesh2 = Instance.new("SpecialMesh",Part1)
1539
mesh2.MeshId = "rbxassetid://559831844"
1540
mesh2.Scale = Vector3.new(0,0,0.4)
1541
Part1.Material = Enum.Material.Neon
1542
Part1.CanCollide = false
1543
Part1.BrickColor = BrickColor.new("White")
1544
Part1.Parent = DebrisModel
1545
Part1.Size = Vector3.new(0,0,0)
1546
Part1.Anchored = true
1547
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
1548
Part1.Name = "EXPLOSION2"
1549
1550
local Part0 = Instance.new("Part",DebrisModel)
1551
local PointLight2 = Instance.new("PointLight")
1552
Part0.Name = "Bullet"
1553
Part0.Material = Enum.Material.Neon
1554
Part0.BrickColor = BrickColor.new("New Yeller")
1555
Part0.Anchored = false
1556
Part0.Size = Vector3.new(5, 5, 5)
1557
local mesh = Instance.new("SpecialMesh",Part0)
1558
mesh.MeshType = Enum.MeshType.Sphere
1559
local bforce = Instance.new("BodyForce",Part0)
1560
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
1561
Part0.CanCollide = false
1562
PointLight2.Parent = Part0
1563
PointLight2.Color = Part0.Color
1564
local Target = mouse.Hit.p
1565
local direction = Target - Position
1566
local direction = computeDirection(direction)
1567
local pos = Position + (direction * 2) 
1568
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
1569
Part0.Velocity = direction * 60
1570
local asd = nil
1571
local loop = nil
1572
delay(9, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
1573
loop = rs:connect(function()
1574
local asdf = math.random(500,1000)/1000
1575
local Part1 = Instance.new("Part")
1576
local mesh2 = Instance.new("SpecialMesh",Part1)
1577
mesh2.MeshType = Enum.MeshType.Sphere
1578
Part1.Material = Enum.Material.Neon
1579
Part1.CanCollide = false
1580
Part1.BrickColor = BrickColor.new("Gold")
1581
Part1.Parent = DebrisModel
1582
Part1.Size = Part0.Size + Vector3.new(asdf,asdf,asdf)
1583
Part1.Anchored = true
1584
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
1585
Part1.Name = "SMOKE"
1586
end)
1587
asd = Part0.Touched:connect(function(ht)
1588
local hit=ht.Parent
1589
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
1590
asd:disconnect()
1591
loop:disconnect()
1592
Part0:Destroy()
1593
1594
sound(explosionid[math.random(1,#explosionid)],Part0.Position,5,math.random(6,9)/10,80)
1595
for i,v in pairs(findAllNearestTorso(Part0.Position,5)) do
1596
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
1597
v:Destroy()
1598
else
1599
v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/(math.random(50,60)/10))
1600
end
1601
local Position = Part0.Position
1602
local Target = v.Position
1603
local direction = Target - Position
1604
local direction = computeDirection(direction)
1605
local bv = Instance.new("BodyVelocity",v)
1606
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
1607
debris:AddItem(bv,1)
1608
end
1609
for i=1,14,2 do for x=1,math.random(0,1) do rs:wait() end
1610
for z=1,math.random(2,3) do
1611
local asdf = math.random(-5,5)*10-(i/20)*8
1612
local Part1 = Instance.new("Part")
1613
local mesh2 = Instance.new("SpecialMesh",Part1)
1614
mesh2.MeshType = Enum.MeshType.Sphere
1615
mesh2.Scale = Vector3.new(0,0,0)
1616
Part1.Material = Enum.Material.Neon
1617
Part1.CanCollide = false
1618
Part1.BrickColor = BrickColor.new("Gold")
1619
Part1.Parent = DebrisModel
1620
Part1.Size = Vector3.new(asdf,asdf,asdf)
1621
Part1.Anchored = true
1622
local a = i*0.5
1623
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-10,10),math.random(-2,2)*a))
1624
Part1.Name = "EXPLOSION"
1625
end
1626
end
1627
1628
end
1629
end)
1630
end))
1631
end
1632
1633
1634
function WhiteBall()
1635
coroutine.resume(coroutine.create(function()
1636
local magnitude = nil
1637
local Position = nil
1638
if animid == 0 then
1639
Position = larm.Position
1640
else
1641
Position = rarm.Position
1642
end
1643
--sound(743499393,Position,10,math.random(6,8)/10)
1644
sound(1050751126,Position,10,math.random(4,5)/10,100)
1645
1646
local Part1 = Instance.new("Part")
1647
local mesh2 = Instance.new("SpecialMesh",Part1)
1648
mesh2.MeshId = "rbxassetid://559831844"
1649
mesh2.Scale = Vector3.new(0,0,0.4)
1650
Part1.Material = Enum.Material.Neon
1651
Part1.CanCollide = false
1652
Part1.BrickColor = BrickColor.new("White")
1653
Part1.Parent = DebrisModel
1654
Part1.Size = Vector3.new(0,0,0)
1655
Part1.Anchored = true
1656
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
1657
Part1.Name = "EXPLOSION3"
1658
1659
local Part0 = Instance.new("Part",DebrisModel)
1660
local PointLight2 = Instance.new("PointLight")
1661
Part0.Name = "Bullet"
1662
Part0.Material = Enum.Material.Neon
1663
Part0.BrickColor = BrickColor.new("White")
1664
Part0.Anchored = false
1665
Part0.Size = Vector3.new(5, 5, 5)
1666
local mesh = Instance.new("SpecialMesh",Part0)
1667
mesh.MeshType = Enum.MeshType.Sphere
1668
mesh.Scale = Vector3.new(3,3,3)
1669
local bforce = Instance.new("BodyForce",Part0)
1670
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
1671
Part0.CanCollide = false
1672
PointLight2.Parent = Part0
1673
PointLight2.Color = Part0.Color
1674
local Target = mouse.Hit.p
1675
local direction = Target - Position
1676
local direction = computeDirection(direction)
1677
local pos = Position + (direction * 2) 
1678
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
1679
Part0.Velocity = direction * 150
1680
local asd = nil
1681
local loop = nil
1682
delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
1683
loop = rs:connect(function()
1684
local asdf = math.random(500,1000)/1000
1685
local Part1 = Instance.new("Part")
1686
local mesh2 = Instance.new("SpecialMesh",Part1)
1687
mesh2.MeshType = Enum.MeshType.Sphere
1688
Part1.Material = Enum.Material.Neon
1689
Part1.CanCollide = false
1690
Part1.BrickColor = BrickColor.new("White")
1691
Part1.Parent = DebrisModel
1692
Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
1693
Part1.Anchored = true
1694
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-3000,3000)/750,math.random(-3000,3000)/750,math.random(-3000,3000)/750))
1695
Part1.Name = "SMOKE"
1696
end)
1697
asd = Part0.Touched:connect(function(ht)
1698
local hit=ht.Parent
1699
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
1700
asd:disconnect()
1701
loop:disconnect()
1702
Part0:Destroy()
1703
1704
sound(explosionid[math.random(1,#explosionid)],Part0.Position,10,math.random(3,5)/10,500)
1705
for i,v in pairs(findAllNearestTorso(Part0.Position,160)) do
1706
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
1707
v:Destroy()
1708
else
1709
v.Parent:BreakJoints()
1710
end
1711
local Position = Part0.Position
1712
local Target = v.Position
1713
local direction = Target - Position
1714
local direction = computeDirection(direction)
1715
local bv = Instance.new("BodyVelocity",v)
1716
bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
1717
debris:AddItem(bv,1)
1718
end
1719
for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
1720
for z=1,math.random(2,3) do
1721
local asdf = math.random(-5,5)*10-(i/20)*12
1722
local Part1 = Instance.new("Part")
1723
local mesh2 = Instance.new("SpecialMesh",Part1)
1724
mesh2.MeshType = Enum.MeshType.Sphere
1725
mesh2.Scale = Vector3.new(0,0,0)
1726
Part1.Material = Enum.Material.Neon
1727
Part1.CanCollide = false
1728
Part1.BrickColor = BrickColor.new("White")
1729
Part1.Parent = DebrisModel
1730
Part1.Size = Vector3.new(asdf,asdf,asdf)
1731
Part1.Anchored = true
1732
local a = i*5
1733
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-30,30),math.random(-2,2)*a))
1734
Part1.Name = "EXPLOSION4"
1735
end
1736
end
1737
1738
end
1739
end)
1740
end))
1741
end
1742
1743
1744
function AirPunch()
1745
coroutine.resume(coroutine.create(function()
1746
local magnitude = nil
1747
local Position = nil
1748
if animid == 0 then
1749
Position = larm.Position
1750
else
1751
Position = rarm.Position
1752
end
1753
--sound(743499393,Position,10,math.random(6,8)/10)
1754
local Sound2 = Instance.new("Sound",hed)
1755
		Sound2.SoundId = "rbxassetid://138137702"
1756
		Sound2.Volume = 5
1757
		Sound2.Pitch = 1
1758
		Sound2.Looped = false
1759
		Sound2:Play()
1760
1761
local Part1 = Instance.new("Part")
1762
local mesh2 = Instance.new("SpecialMesh",Part1)
1763
mesh2.MeshId = "rbxassetid://559831844"
1764
mesh2.Scale = Vector3.new(0,0,0.4)
1765
Part1.Material = Enum.Material.Neon
1766
Part1.CanCollide = false
1767
Part1.BrickColor = BrickColor.new("White")
1768
Part1.Parent = DebrisModel
1769
Part1.Size = Vector3.new(0,0,0)
1770
Part1.Anchored = true
1771
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
1772
Part1.Name = "EXPLOSION3"
1773
1774
local Part0 = Instance.new("Part",DebrisModel)
1775
local PointLight2 = Instance.new("PointLight")
1776
Part0.Name = "Bullet"
1777
Part0.Material = Enum.Material.Neon
1778
Part0.BrickColor = BrickColor.new("White")
1779
Part0.Anchored = false
1780
Part0.Size = Vector3.new(20,20,20)
1781
Part0.Transparency = 0.5
1782
local mesh = Instance.new("SpecialMesh",Part0)
1783
mesh.MeshId = "rbxassetid://437347603"
1784
mesh.Scale = Vector3.new(2.3,2.3,2.7)
1785
1786
1787
coroutine.resume(coroutine.create(function()
1788
			for i = 3,3 do 
1789
			
1790
			
1791
			
1792
			coroutine.resume(coroutine.create(function()
1793
			for i = 1,100 do
1794
			Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2)
1795
			
1796
			wait(0.00000000001)
1797
			end
1798
			
1799
				
1800
			end))
1801
			wait(0.3)
1802
			end
1803
		end))
1804
1805
1806
local bforce = Instance.new("BodyForce",Part0)
1807
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
1808
Part0.CanCollide = false
1809
PointLight2.Parent = Part0
1810
PointLight2.Color = Part0.Color
1811
local Target = mouse.Hit.p
1812
local direction = Target - Position
1813
local direction = computeDirection(direction)
1814
local pos = Position + (direction * 2) 
1815
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles(0,0,1.55)
1816
coroutine.resume(coroutine.create(function()
1817
			for i = 3,300 do
1818
				Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -13), 0.4)
1819
				
1820
			
1821
			wait(0.00000000001)
1822
			end
1823
			
1824
			
1825
			end))	
1826
local FZcharge3 = Instance.new("ParticleEmitter",Part0)
1827
FZcharge3.Texture = "rbxassetid://174073769"
1828
FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color)
1829
FZcharge3.EmissionDirection = "Top"
1830
FZcharge3.Speed = NumberRange.new(5)
1831
FZcharge3.Size = NumberSequence.new(10,0)
1832
FZcharge3.Transparency = NumberSequence.new(0,1)
1833
FZcharge3.Drag = 1.2
1834
FZcharge3.LockedToPart = false
1835
FZcharge3.Lifetime = NumberRange.new(2)
1836
FZcharge3.Rate = 105
1837
FZcharge3.LightEmission = 0.8
1838
FZcharge3.Rotation = NumberRange.new(-360,360)
1839
FZcharge3.VelocitySpread = 100	
1840
FZcharge3.ZOffset = 1
1841
coroutine.resume(coroutine.create(function()
1842
			for i = 1,3 do 
1843
			local HQ = Instance.new("Part",Part0)
1844
			HQ.Size = Vector3.new(1,1,1)
1845
			HQ.BrickColor = BrickColor.new("White")
1846
			HQ.Material = "Neon"
1847
			HQ.Anchored = true
1848
			HQ.CanCollide = false
1849
			HQ.Transparency = 0
1850
			HQ.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
1851
			local HQ2 = Instance.new("SpecialMesh",HQ)
1852
			HQ2.MeshId = "rbxassetid://20329976"
1853
			HQ2.Scale = Vector3.new(1,1,1)
1854
			local ZQW = Instance.new("Part",Part0)
1855
			ZQW.Size = Vector3.new(1,1,1)
1856
			ZQW.BrickColor = BrickColor.new("White")
1857
			ZQW.Material = "Neon"
1858
			ZQW.Transparency = 1
1859
			ZQW.Anchored = true
1860
			ZQW.CanCollide = false
1861
			ZQW.CFrame = Part0.CFrame*CFrame.new(0,0,0)
1862
			local ZQW2 = Instance.new("SpecialMesh",ZQW)
1863
			ZQW2.MeshType = "Sphere"
1864
			ZQW2.Scale = Vector3.new(1,1,1)
1865
			local H = Instance.new("Part",Part0)
1866
			H.Size = Vector3.new(1,1,1)
1867
			H.BrickColor = BrickColor.new("White")
1868
			H.CanCollide = false
1869
			H.Anchored = true
1870
			H.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
1871
			local H2 = Instance.new("SpecialMesh",H)
1872
			H2.MeshId = "rbxassetid://3270017"
1873
			coroutine.resume(coroutine.create(function()
1874
			for i = 3,90 do
1875
			ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2)
1876
			ZQW.Transparency = ZQW.Transparency + 0.06
1877
			HQ2.Scale = HQ2.Scale + Vector3.new(3.2,3.2,3.2)
1878
			HQ.Transparency = HQ.Transparency + 0.05
1879
			H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2)
1880
			H.Transparency = H.Transparency + 0.05
1881
			wait(0.00000000001)
1882
			end
1883
			HQ:Destroy()
1884
			H2:Destroy()
1885
			H:Destroy()
1886
			HQ2:Destroy()
1887
			ZQW:Destroy()
1888
			ZQW2:Destroy()
1889
			end))
1890
			wait(0.3)
1891
			end
1892
			end))
1893
local asd = nil
1894
local loop = nil
1895
delay(2, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
1896
loop = rs:connect(function()
1897
local asdf = math.random(100,1000)/1000
1898
local Part1 = Instance.new("Part")
1899
local mesh2 = Instance.new("SpecialMesh",Part1)
1900
mesh2.MeshType = Enum.MeshType.Sphere
1901
Part1.Material = Enum.Material.Neon
1902
Part1.CanCollide = false
1903
Part1.Transparency = 0.9
1904
Part1.BrickColor = BrickColor.new("White")
1905
Part1.Parent = DebrisModel
1906
Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf)
1907
Part1.Anchored = true
1908
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-1000,1000)/750))
1909
Part1.Name = "SMOKE"
1910
end)
1911
asd = Part0.Touched:connect(function(ht)
1912
local hit=ht.Parent
1913
1914
1915
for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
1916
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
1917
v:Destroy()
1918
else
1919
v.Parent.Humanoid:TakeDamage(100000)
1920
1921
		
1922
1923
end
1924
local Position = Part0.Position
1925
local Target = v.Position
1926
local direction = Target - Position
1927
local direction = computeDirection(direction)
1928
local bv = Instance.new("BodyVelocity",v)
1929
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
1930
debris:AddItem(bv,1)
1931
end
1932
1933
1934
end)
1935
end))
1936
end
1937
1938
function DetroitSmash()
1939
coroutine.resume(coroutine.create(function()
1940
local magnitude = nil
1941
local Position = nil
1942
if animid == 0 then
1943
Position = larm.Position
1944
else
1945
Position = rarm.Position
1946
end
1947
--sound(743499393,Position,10,math.random(6,8)/10)
1948
sound(1050751126,Position,10,math.random(4,5)/10,100)
1949
1950
local Part1 = Instance.new("Part")
1951
local mesh2 = Instance.new("SpecialMesh",Part1)
1952
mesh2.MeshId = "rbxassetid://559831844"
1953
mesh2.Scale = Vector3.new(0,0,0.4)
1954
Part1.Material = Enum.Material.Neon
1955
Part1.CanCollide = false
1956
Part1.BrickColor = BrickColor.new("White")
1957
Part1.Parent = DebrisModel
1958
Part1.Size = Vector3.new(0,0,0)
1959
Part1.Anchored = true
1960
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
1961
Part1.Name = "EXPLOSION3"
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
local Target = mouse.Hit.p
1972
local direction = Target - Position
1973
local direction = computeDirection(direction)
1974
local pos = Position + (direction * 2) 
1975
1976
1977
1978
local asd = nil
1979
local loop = nil
1980
1981
local asdf = math.random(100,1000)/1000
1982
local Part1 = Instance.new("Part")
1983
local mesh2 = Instance.new("SpecialMesh",Part1)
1984
mesh2.MeshType = Enum.MeshType.Sphere
1985
Part1.Material = Enum.Material.Neon
1986
Part1.CanCollide = false
1987
Part1.Transparency = 0.9
1988
Part1.BrickColor = BrickColor.new("Institutional white")
1989
Part1.Parent = DebrisModel
1990
Part1.Size = (Part1.Size*0.9) + Vector3.new(asdf,asdf,asdf)
1991
Part1.Anchored = true
1992
Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1000,1000)/10,math.random(-1000,1000)/10,math.random(-1000,1000)/750))
1993
Part1.Name = "SMOKE"
1994
1995
1996
1997
1998
sound(punch[math.random(1,#punch)],Part1.Position,500,math.random(3,5)/5,50)
1999
for i,v in pairs(findAllNearestTorso(Part1.Position,100)) do
2000
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
2001
v:Destroy()
2002
else
2003
v.Parent.Humanoid:TakeDamage(100000000000000)
2004
2005
		
2006
2007
end
2008
local Position = Part1.Position
2009
local Target = v.Position
2010
local direction = Target - Position
2011
local direction = computeDirection(direction)
2012
local bv = Instance.new("BodyVelocity",v)
2013
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
2014
debris:AddItem(bv,1)
2015
end
2016
for i=1,14,2 do for x=1,math.random(1,2) do rs:wait() end
2017
for z=1,math.random(1,2) do
2018
local asdf = math.random(-5,5)*3-(i/20)*10
2019
local Part1 = Instance.new("Part")
2020
local mesh2 = Instance.new("SpecialMesh",Part1)
2021
mesh2.MeshType = Enum.MeshType.Sphere
2022
mesh2.Scale = Vector3.new(0,0,0)
2023
Part1.Material = Enum.Material.SmoothPlastic
2024
Part1.CanCollide = false
2025
Part1.BrickColor = BrickColor.new("Institutional white")
2026
Part1.Parent = DebrisModel
2027
Part1.Size = Vector3.new(asdf,asdf,asdf)
2028
Part1.Anchored = true
2029
Part1.Transparency = 0.3
2030
local a = i*0.9
2031
Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1,1)*a,math.random(-1,1),math.random(-1,1)*a))
2032
Part1.Name = "EXPLOSION4"
2033
end
2034
end
2035
end))
2036
end
2037
2038
function DelawareSmash()
2039
coroutine.resume(coroutine.create(function()
2040
local magnitude = nil
2041
local Position = nil
2042
if animid == 0 then
2043
Position = larm.Position
2044
else
2045
Position = rarm.Position
2046
end
2047
--sound(743499393,Position,10,math.random(6,8)/10)
2048
local Sound2 = Instance.new("Sound",hed)
2049
		Sound2.SoundId = "rbxassetid://138137702"
2050
		Sound2.Volume = 5
2051
		Sound2.Pitch = 0.9
2052
		Sound2.Looped = false
2053
		Sound2:Play()
2054
2055
local Part1 = Instance.new("Part")
2056
local mesh2 = Instance.new("SpecialMesh",Part1)
2057
mesh2.MeshId = "rbxassetid://559831844"
2058
mesh2.Scale = Vector3.new(0,0,0.4)
2059
Part1.Material = Enum.Material.Neon
2060
Part1.CanCollide = false
2061
Part1.BrickColor = BrickColor.new("White")
2062
Part1.Parent = DebrisModel
2063
Part1.Size = Vector3.new(0,0,0)
2064
Part1.Anchored = true
2065
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
2066
Part1.Name = "EXPLOSION3"
2067
2068
local Part0 = Instance.new("Part",DebrisModel)
2069
local PointLight2 = Instance.new("PointLight")
2070
PointLight2.Brightness = 100
2071
PointLight2.Range = 40
2072
Part0.Name = "Bullet"
2073
Part0.Material = Enum.Material.Glass
2074
Part0.BrickColor = BrickColor.new("White")
2075
Part0.Anchored = false
2076
Part0.Size = Vector3.new(20,20,20)
2077
Part0.Transparency = 0.5
2078
local mesh = Instance.new("SpecialMesh",Part0)
2079
mesh.MeshId = "rbxassetid://437347603"
2080
mesh.Scale = Vector3.new(4.3,4.3,6.7)
2081
local Music = Instance.new("Sound",Part0)
2082
		Music.SoundId = "rbxassetid://362395087"
2083
		Music.Pitch = 0.8
2084
		Music.Looped = true
2085
		Music.Volume = 5
2086
				
2087
		Music:Play()
2088
2089
coroutine.resume(coroutine.create(function()
2090
			for i = 3,3 do 
2091
			
2092
2093
			
2094
			coroutine.resume(coroutine.create(function()
2095
			for i = 1,400 do
2096
			Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2)
2097
			
2098
			wait()
2099
			end
2100
			
2101
				
2102
			end))
2103
			wait(0.3)
2104
			end
2105
		end))
2106
2107
2108
local bforce = Instance.new("BodyForce",Part0)
2109
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
2110
Part0.CanCollide = false
2111
PointLight2.Parent = Part0
2112
PointLight2.Color = Part0.Color
2113
local Target = mouse.Hit.p
2114
local direction = Target - Position
2115
local direction = computeDirection(direction)
2116
local pos = Position + (direction * 2) 
2117
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles(0,0,1.55)
2118
2119
coroutine.resume(coroutine.create(function()
2120
			for i = 3,300 do
2121
				Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -18), 0.4)
2122
				
2123
			
2124
			wait()
2125
			end
2126
			
2127
			
2128
end))
2129
local FZcharge3 = Instance.new("ParticleEmitter",Part0)
2130
FZcharge3.Texture = "rbxassetid://174073769"
2131
FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color)
2132
FZcharge3.EmissionDirection = "Top"
2133
FZcharge3.Speed = NumberRange.new(5)
2134
FZcharge3.Size = NumberSequence.new(40,0)
2135
FZcharge3.Transparency = NumberSequence.new(0,1)
2136
FZcharge3.Drag = 1.2
2137
FZcharge3.LockedToPart = false
2138
FZcharge3.Lifetime = NumberRange.new(3)
2139
FZcharge3.Rate = 105
2140
FZcharge3.LightEmission = 0.8
2141
FZcharge3.Rotation = NumberRange.new(-360,360)
2142
FZcharge3.VelocitySpread = 100	
2143
FZcharge3.ZOffset = 1	
2144
local FlyAt = Instance.new("Attachment",Part0)FlyAt.Position = Vector3.new(0,0.1,0)
2145
local FlyAt2 = Instance.new("Attachment",Part0)FlyAt2.Position = Vector3.new(0,-15.5,0)
2146
local Speed = Instance.new("Trail",Part0)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
2147
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 2.1 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
2148
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5		
2149
2150
coroutine.resume(coroutine.create(function()
2151
			for i = 1,60 do 
2152
			local HQ = Instance.new("Part",Part0)
2153
			HQ.Size = Vector3.new(1,1,1)
2154
			HQ.BrickColor = BrickColor.new("White")
2155
			HQ.Material = Enum.Material.Glass
2156
			HQ.Anchored = true
2157
			HQ.CanCollide = false
2158
			HQ.Transparency = 0
2159
			HQ.CFrame = Part0.CFrame*CFrame.new(0,0,-20)*CFrame.Angles(1.55,0,0)
2160
			local HQ2 = Instance.new("SpecialMesh",HQ)
2161
			HQ2.MeshId = "rbxassetid://20329976"
2162
			HQ2.Scale = Vector3.new(14.5,14.5,14.5)
2163
			local ZQW = Instance.new("Part",Part0)
2164
			ZQW.Size = Vector3.new(1,1,1)
2165
			ZQW.BrickColor = BrickColor.new("White")
2166
			ZQW.Material = Enum.Material.Glass
2167
			ZQW.Transparency = 1
2168
			ZQW.Anchored = true
2169
			ZQW.CanCollide = false
2170
			ZQW.CFrame = Part0.CFrame*CFrame.new(-40,0,0)
2171
			local ZQW2 = Instance.new("SpecialMesh",ZQW)
2172
			ZQW2.MeshType = "Sphere"
2173
			ZQW2.Scale = Vector3.new(14.5,14.5,2.5)
2174
			local H = Instance.new("Part",Part0)
2175
			H.Size = Vector3.new(1,1,1)
2176
			H.BrickColor = BrickColor.new("White")
2177
			H.CanCollide = false
2178
			H.Anchored = true
2179
			H.CFrame = Part0.CFrame*CFrame.new(0,0,-40)*CFrame.Angles(0,0,0)
2180
			local H2 = Instance.new("SpecialMesh",H)
2181
			H2.MeshId = "rbxassetid://3270017"
2182
			H2.Scale = Vector3.new(14.5,14.5,2.5)
2183
			coroutine.resume(coroutine.create(function()
2184
			for i = 1,90 do
2185
			ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2)
2186
			ZQW.Transparency = ZQW.Transparency + 0.06
2187
			HQ2.Scale = HQ2.Scale + Vector3.new(3.2,8.2,3.2)
2188
			HQ.Transparency = HQ.Transparency + 0.05
2189
			H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2)
2190
			H.Transparency = H.Transparency + 0.05
2191
			wait(0.00000000001)
2192
			end
2193
			HQ:Destroy()
2194
			H2:Destroy()
2195
			H:Destroy()
2196
			HQ2:Destroy()
2197
			ZQW:Destroy()
2198
			ZQW2:Destroy()
2199
			end))
2200
					
2201
			wait(0.1)
2202
	
2203
			end
2204
			
2205
			end))
2206
local asd = nil
2207
local loop = nil
2208
delay(7, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
2209
loop = rs:connect(function()
2210
local asdf = math.random(100,1000)/1000
2211
local Part1 = Instance.new("Part")
2212
local mesh2 = Instance.new("SpecialMesh",Part1)
2213
mesh2.MeshType = Enum.MeshType.Sphere
2214
Part1.Material = Enum.Material.Neon
2215
Part1.CanCollide = false
2216
Part1.Transparency = 0.9
2217
Part1.BrickColor = BrickColor.new("White")
2218
Part1.Parent = DebrisModel
2219
Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf)
2220
Part1.Anchored = true
2221
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-1000,1000)/750))
2222
Part1.Name = "SMOKE"
2223
end)
2224
asd = Part0.Touched:connect(function(ht)
2225
local hit=ht.Parent
2226
2227
2228
2229
2230
for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
2231
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
2232
v:Destroy()
2233
else
2234
v.Parent.Humanoid:TakeDamage(1000)
2235
			v.Velocity = Part0.CFrame.lookVector * 100
2236
2237
end
2238
2239
local Position = Part0.Position
2240
local Target = v.Position
2241
local direction = Target - Position
2242
local direction = computeDirection(direction)
2243
local bv = Instance.new("BodyVelocity",v)
2244
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
2245
debris:AddItem(bv,1)
2246
end
2247
2248
2249
end)
2250
end))
2251
end
2252
2253
2254
2255
function unused()
2256
coroutine.resume(coroutine.create(function()
2257
local magnitude = nil
2258
local Position = nil
2259
if animid == 0 then
2260
Position = larm.Position
2261
else
2262
Position = rarm.Position
2263
end
2264
--sound(743499393,Position,10,math.random(6,8)/10)
2265
sound(1050751126,Position,10,math.random(4,5)/10,100)
2266
2267
local Part1 = Instance.new("Part")
2268
local mesh2 = Instance.new("SpecialMesh",Part1)
2269
mesh2.MeshId = "rbxassetid://559831844"
2270
mesh2.Scale = Vector3.new(0,0,0.4)
2271
Part1.Material = Enum.Material.Neon
2272
Part1.CanCollide = false
2273
Part1.BrickColor = BrickColor.new("White")
2274
Part1.Parent = DebrisModel
2275
Part1.Size = Vector3.new(0,0,0)
2276
Part1.Anchored = true
2277
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
2278
Part1.Name = "EXPLOSION3"
2279
2280
local Part0 = Instance.new("Part",DebrisModel)
2281
local PointLight2 = Instance.new("PointLight")
2282
Part0.Name = "Bullet"
2283
Part0.Material = Enum.Material.Neon
2284
Part0.BrickColor = BrickColor.new("White")
2285
Part0.Anchored = false
2286
Part0.Size = Vector3.new(1,1,1)
2287
Part0.Transparency = 0.5
2288
local mesh = Instance.new("SpecialMesh",Part0)
2289
mesh.MeshId = "rbxassetid://437347603"
2290
mesh.Scale = Vector3.new(1.3,1.3,4.4)
2291
local bforce = Instance.new("BodyForce",Part0)
2292
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
2293
Part0.CanCollide = false
2294
PointLight2.Parent = Part0
2295
PointLight2.Color = Part0.Color
2296
local Target = mouse.Hit.p
2297
local direction = Target - Position
2298
local direction = computeDirection(direction)
2299
local pos = Position + (direction * 2) 
2300
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles(0,0,1.55)
2301
Part0.Velocity = direction * 750
2302
local asd = nil
2303
local loop = nil
2304
delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
2305
loop = rs:connect(function()
2306
local asdf = math.random(500,1000)/1000
2307
local Part1 = Instance.new("Part")
2308
local mesh2 = Instance.new("SpecialMesh",Part1)
2309
mesh2.MeshType = Enum.MeshType.Sphere
2310
Part1.Material = Enum.Material.Neon
2311
Part1.CanCollide = false
2312
Part1.BrickColor = BrickColor.new("White")
2313
Part1.Parent = DebrisModel
2314
Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
2315
Part1.Anchored = true
2316
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
2317
Part1.Name = "SMOKE"
2318
end)
2319
asd = Part0.Touched:connect(function(ht)
2320
local hit=ht.Parent
2321
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
2322
asd:disconnect()
2323
loop:disconnect()
2324
Part0:Destroy()
2325
2326
sound(punch[math.random(1,#punch)],Part0.Position,10,math.random(3,5)/5,50)
2327
for i,v in pairs(findAllNearestTorso(Part0.Position,35)) do
2328
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
2329
v:Destroy()
2330
else
2331
v.Parent:BreakJoints()
2332
local Fl = Instance.new("BodyVelocity",v.Parent.Head)
2333
			Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2334
			Fl.velocity = Part0.CFrame.lookVector*395
2335
			wait(0.05)
2336
			Fl:remove()
2337
2338
end
2339
local Position = Part0.Position
2340
local Target = v.Position
2341
local direction = Target - Position
2342
local direction = computeDirection(direction)
2343
local bv = Instance.new("BodyVelocity",v)
2344
bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
2345
debris:AddItem(bv,1)
2346
end
2347
for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
2348
for z=1,math.random(2,3) do
2349
local asdf = math.random(-5,5)*2-(i/2)*10
2350
local Part1 = Instance.new("Part")
2351
local mesh2 = Instance.new("SpecialMesh",Part1)
2352
mesh2.MeshType = Enum.MeshType.Sphere
2353
mesh2.Scale = Vector3.new(0,0,0)
2354
Part1.Material = Enum.Material.Neon
2355
Part1.CanCollide = false
2356
Part1.BrickColor = BrickColor.new("White")
2357
Part1.Parent = DebrisModel
2358
Part1.Size = Vector3.new(asdf,asdf,asdf)
2359
Part1.Anchored = true
2360
local a = i*0.7
2361
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
2362
Part1.Name = "EXPLOSION4"
2363
end
2364
end
2365
2366
end
2367
end)
2368
end))
2369
end
2370
2371
2372
2373
2374
2375
2376
 function lerpz(joint, prop, cfrmz, alp)
2377
    joint[prop] = joint[prop]:lerp(cfrmz, alp)
2378
  end
2379
  function resetlerp()
2380
    RJ.C0 = RJC0
2381
    RJ.C1 = RJC1
2382
    N.C0 = NC0
2383
    N.C1 = NC1
2384
    RS.C0 = RSC0
2385
    RS.C1 = RSC1
2386
    LS.C0 = LSC0
2387
    LS.C1 = LSC1
2388
    RH.C0 = RHC0
2389
    RH.C1 = RHC1
2390
    LH.C0 = LHC0
2391
  end
2392
function swait(num)
2393
    if num == 0 or num == nil then
2394
      Heartbeat.Event:wait()
2395
    else
2396
      for i = 1, num do
2397
        Heartbeat.Event:wait()
2398
      end
2399
    end
2400
  end
2401
mouse.KeyDown:connect(function(k)
2402
if k == "=" and MUI == true then
2403
	instinct = false
2404
	animid = 5
2405
	no_anim = true
2406
	 for _ = 1, 45 do
2407
      swait()
2408
      lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
2409
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
2410
      lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2)
2411
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2412
      lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
2413
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
2414
      lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
2415
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2416
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
2417
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2418
     
2419
    end
2420
	AirPunchStrong()
2421
	wait(0.2)
2422
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
2423
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
2424
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm
2425
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
2426
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2427
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2428
		wait(0.5)
2429
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
2430
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
2431
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm
2432
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm
2433
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2434
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2435
	AirPunchStrong()
2436
	wait(0.2)
2437
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
2438
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
2439
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm
2440
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
2441
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2442
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2443
		wait(0.5)
2444
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.8)--head
2445
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
2446
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
2447
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
2448
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2449
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2450
	AirPunchStrong()
2451
	wait(0.2)
2452
	no_anim = false
2453
	instinct = true
2454
end
2455
end)
2456
2457
2458
2459
local attacktype = 1
2460
mouse.Button1Down:connect(function()
2461
	if attack == false and attacktype == 1 and MUI == false then
2462
		Hit()
2463
		attacktype = 2
2464
	elseif attack == false and attacktype == 2 and MUI == false then
2465
		Hit2()
2466
		attacktype = 1
2467
	end
2468
end)
2469
2470
2471
mouse.Button1Down:connect(function()
2472
	if attack == false and attacktype == 1 and MUI == true then
2473
		HitFC()
2474
		attacktype = 2
2475
	elseif attack == false and attacktype == 2 and MUI == true then
2476
		HitFC2()
2477
		attacktype = 1
2478
	end
2479
end)
2480
function Hit()
2481
	if not D then D = true
2482
		animid = 5
2483
	no_anim = true
2484
	
2485
		local Grab = Instance.new("Part",larm)
2486
	Grab.Size = Vector3.new(4,4,4)
2487
	Grab.CanCollide = false
2488
	Grab.BrickColor = BrickColor.new("Deep orange")
2489
	Grab.Transparency = math.huge
2490
	local Grabo = Instance.new("Weld",Grab)
2491
	Grabo.Part0 = larm
2492
	Grabo.Part1 = Grab
2493
	Grabo.C0 = CFrame.new(0,-1.1,0)
2494
	local SFXZ = Instance.new("Sound",torso)
2495
			SFXZ.SoundId = "rbxassetid://169259383"
2496
			SFXZ.Volume = 1
2497
			SFXZ.Pitch = 1.5
2498
			SFXZ.Looped = false
2499
			wait(0.01)
2500
			SFXZ:Play()
2501
			
2502
	Grab.Touched:connect(function(hit)
2503
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
2504
			Grab:Destroy()
2505
			SFXZ:Destroy()
2506
			
2507
hit.Parent.Humanoid:TakeDamage(5000000000000000)
2508
			local Smash = Instance.new("Part",char)
2509
				Smash.Size = Vector3.new(30,30,30)
2510
				Smash.BrickColor = BrickColor.new("New Yeller")
2511
				Smash.CanCollide = false
2512
				Smash.Anchored = true
2513
				Smash.Transparency = 0.1
2514
				Smash.CFrame = root.CFrame*CFrame.new(0,0,20)*CFrame.Angles(0,0,1.55)
2515
				local Smash2 = Instance.new("SpecialMesh",Smash)
2516
				Smash2.MeshId = "rbxassetid://437347603"
2517
				Smash2.Scale = Vector3.new(2.8,2.8,2.94)			
2518
			local Sound2 = Instance.new("Sound",Smash)
2519
		Sound2.SoundId = "rbxassetid://138137702"
2520
		Sound2.Volume = 0.9
2521
		Sound2.Pitch = 1
2522
		Sound2.Looped = false
2523
		Sound2:Play()
2524
		local Sound = Instance.new("Sound",torso)
2525
		Sound.SoundId = "rbxassetid://0"
2526
		Sound.Volume = 7
2527
		Sound.Pitch = 1
2528
		Sound.Looped = false
2529
		Sound:Play()
2530
	coroutine.resume(coroutine.create(function()
2531
			for i = 3,100 do
2532
				
2533
				Smash.CFrame = Smash.CFrame*CFrame.Angles(0,0,-0.1)
2534
				Smash.CFrame = Smash.CFrame:lerp(Smash.CFrame * CFrame.new(0, 0, -11), 0.4)
2535
				
2536
				
2537
				Smash.Transparency = Smash.Transparency + 0.09
2538
			
2539
			wait(0.00000000001)
2540
			end
2541
			Smash:Destroy()	
2542
			
2543
			end))			
2544
			
2545
			
2546
	coroutine.resume(coroutine.create(function()
2547
			for i = 1,3 do 
2548
			local HQ = Instance.new("Part",root)
2549
			HQ.Size = Vector3.new(1,1,1)
2550
			HQ.BrickColor = BrickColor.new("Medium stone grey")
2551
			HQ.Material = "Neon"
2552
			HQ.Anchored = true
2553
			HQ.CanCollide = false
2554
			HQ.Transparency = 0
2555
			HQ.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,1.55)
2556
			local HQ2 = Instance.new("SpecialMesh",HQ)
2557
			HQ2.MeshId = "rbxassetid://3270017"
2558
			HQ2.Scale = Vector3.new(1,1,1)
2559
			local ZQW = Instance.new("Part",root)
2560
			ZQW.Size = Vector3.new(1,1,1)
2561
			ZQW.BrickColor = BrickColor.new("Medium stone grey")
2562
			ZQW.Material = "Neon"
2563
			ZQW.Transparency = 1
2564
			ZQW.Anchored = true
2565
			ZQW.CanCollide = false
2566
			ZQW.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0)
2567
			local ZQW2 = Instance.new("SpecialMesh",ZQW)
2568
			ZQW2.MeshType = "Sphere"
2569
			ZQW2.Scale = Vector3.new(1,1,1)
2570
			local H = Instance.new("Part",root)
2571
			H.Size = Vector3.new(1,1,1)
2572
			H.BrickColor = BrickColor.new("Medium stone grey")
2573
			H.CanCollide = false
2574
			H.Anchored = true
2575
			H.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55)
2576
			local H2 = Instance.new("SpecialMesh",H)
2577
			H2.MeshId = "rbxassetid://3270017"
2578
			coroutine.resume(coroutine.create(function()
2579
			for i = 3,90 do
2580
			ZQW2.Scale = ZQW2.Scale + Vector3.new(2.2,2.2,2.2)
2581
			ZQW.Transparency = ZQW.Transparency + 0.06
2582
			HQ2.Scale = HQ2.Scale + Vector3.new(3,3,3.2)
2583
			HQ.Transparency = HQ.Transparency + 0.05
2584
			H2.Scale = H2.Scale + Vector3.new(2.2,2.2,2.2)
2585
			H.Transparency = H.Transparency + 0.05
2586
			wait(0.00000000001)
2587
			end
2588
			HQ:Destroy()
2589
			H2:Destroy()
2590
			H:Destroy()
2591
			HQ2:Destroy()
2592
			ZQW:Destroy()
2593
			ZQW2:Destroy()
2594
			end))
2595
			wait(0.3)
2596
			end
2597
			end))
2598
				local Spinn = Instance.new("Part",char)
2599
				Spinn.Size = Vector3.new(1,1,1)
2600
				Spinn.BrickColor = BrickColor.new("New Yeller")
2601
				Spinn.CanCollide = false
2602
				Spinn.Transparency = 0.1
2603
				Spinn.Anchored = true
2604
				Spinn.Material = "Neon"
2605
				Spinn.CFrame = root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
2606
				local Spinn2 = Instance.new("SpecialMesh",Spinn)
2607
				Spinn2.MeshId = "rbxassetid://881809484"
2608
				Spinn2.Scale = Vector3.new(20,20,20)	
2609
				coroutine.resume(coroutine.create(function()
2610
			for i = 3,300 do
2611
				Spinn.Transparency = Spinn.Transparency + 0.05
2612
					
2613
					Spinn.CFrame = Spinn.CFrame*CFrame.Angles(0.2,0.2,0.2)
2614
			wait(0.00000000001)
2615
			end
2616
			end))				
2617
2618
2619
			local Spinn = Instance.new("Part",char)
2620
				Spinn.Size = Vector3.new(1,1,1)
2621
				Spinn.BrickColor = BrickColor.new("New Yeller")
2622
				Spinn.CanCollide = false
2623
				Spinn.Transparency = 0.1
2624
				Spinn.Anchored = true
2625
				Spinn.Material = "Neon"
2626
				Spinn.CFrame = root.CFrame*CFrame.new(0,0,-10)*CFrame.Angles(0,0,0)
2627
				local Spinn2 = Instance.new("SpecialMesh",Spinn)
2628
				Spinn2.MeshType = 3
2629
				Spinn2.Scale = Vector3.new(6,6,35)	
2630
				coroutine.resume(coroutine.create(function()
2631
			for i = 3,300 do
2632
				Spinn.Transparency = Spinn.Transparency + 0.05
2633
					
2634
					
2635
			wait(0.00000000001)
2636
			end
2637
			end))			
2638
						
2639
			local SFXZ = Instance.new("Sound",hed)
2640
			SFXZ.SoundId = "rbxassetid://260430060"
2641
			SFXZ.Volume = 3
2642
			SFXZ.Pitch = 1
2643
			SFXZ.Looped = false
2644
			wait(0.01)
2645
			SFXZ:Play()
2646
			
2647
end
2648
SFXZ:Destroy()
2649
	end)
2650
		
2651
for i= 1,5 do
2652
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
2653
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
2654
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm
2655
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
2656
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
2657
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
2658
	wait()
2659
		end
2660
		
2661
		coroutine.resume(coroutine.create(function()
2662
			wait(0.5)
2663
			Grab:remove()
2664
		end))
2665
		no_anim = false
2666
		Grab:Destroy()
2667
		wait(0)
2668
		D = false
2669
	end
2670
end
2671
function Hit2()
2672
	if not D then D = true
2673
		no_anim = true
2674
		local Grab = Instance.new("Part",rarm)
2675
	Grab.Size = Vector3.new(4,4,4)
2676
	Grab.CanCollide = false
2677
	Grab.BrickColor = BrickColor.new("Deep orange")
2678
	Grab.Transparency = math.huge
2679
	local Grabo = Instance.new("Weld",Grab)
2680
	Grabo.Part0 = rarm
2681
	Grabo.Part1 = Grab
2682
	Grabo.C0 = CFrame.new(0,-1.1,0)
2683
	local SFXZ = Instance.new("Sound",torso)
2684
			SFXZ.SoundId = "rbxassetid://169259383"
2685
			SFXZ.Volume = 1
2686
			SFXZ.Pitch = 1
2687
			SFXZ.Looped = false
2688
			wait(0.01)
2689
			SFXZ:Play()
2690
			
2691
	Grab.Touched:connect(function(hit)
2692
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
2693
			Grab:Destroy()
2694
			SFXZ:Destroy()
2695
hit.Parent.Humanoid:TakeDamage(50)
2696
			local Cloud3 = Instance.new("Part",char)
2697
				Cloud3.Size = Vector3.new(1,1,1)
2698
				Cloud3.BrickColor = BrickColor.new("Medium stone grey")
2699
				Cloud3.Anchored = true
2700
				Cloud3.Material = "Neon"
2701
				Cloud3.CanCollide = false
2702
				Cloud3.CFrame = rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0)
2703
				local Cloud4 = Instance.new("SpecialMesh",Cloud3)
2704
				Cloud4.MeshId = "rbxassetid://3270017"
2705
				Cloud4.Scale = Vector3.new(1,1,0.4)
2706
				
2707
				
2708
				
2709
					coroutine.resume(coroutine.create(function()
2710
			for i = 3,650 do
2711
			
2712
			
2713
			
2714
					
2715
	Cloud3.Transparency = Cloud3.Transparency + 0.03
2716
					Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2)
2717
								
2718
					
2719
					
2720
					
2721
			wait(0.00000000001)
2722
			end
2723
			end))
2724
			local SFXZ = Instance.new("Sound",hed)
2725
			SFXZ.SoundId = "rbxassetid://260430060"
2726
			SFXZ.Volume = 3
2727
			SFXZ.Pitch = 1.2
2728
			SFXZ.Looped = false
2729
			wait(0.01)
2730
			SFXZ:Play()
2731
			
2732
end
2733
SFXZ:Destroy()
2734
	end)
2735
		for i = 1, 5 do
2736
		wait()
2737
2738
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
2739
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
2740
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
2741
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2742
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2743
		end
2744
		
2745
		coroutine.resume(coroutine.create(function()
2746
			wait(0.5)
2747
			Grab:remove()
2748
		end))
2749
		no_anim = false
2750
		Grab:Destroy()
2751
		wait(0)
2752
		D = false
2753
	end
2754
end
2755
2756
function HitFC()
2757
	if not D then D = true
2758
		animid = 5
2759
	no_anim = true
2760
		local Grab = Instance.new("Part",larm)
2761
	Grab.Size = Vector3.new(3,3,3)
2762
	Grab.CanCollide = false
2763
	Grab.BrickColor = BrickColor.new("Deep orange")
2764
	Grab.Transparency = math.huge
2765
	local Grabo = Instance.new("Weld",Grab)
2766
	Grabo.Part0 = larm
2767
	Grabo.Part1 = Grab
2768
	Grabo.C0 = CFrame.new(0,-1.1,0)
2769
	local SFXZ = Instance.new("Sound",torso)
2770
			SFXZ.SoundId = "rbxassetid://169259383"
2771
			SFXZ.Volume = 1
2772
			SFXZ.Pitch = 1.5
2773
			SFXZ.Looped = false
2774
			wait(0.01)
2775
			SFXZ:Play()
2776
			
2777
	Grab.Touched:connect(function(hit)
2778
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
2779
			Grab:Destroy()
2780
			SFXZ:Destroy()
2781
hit.Parent.Humanoid:TakeDamage(250)
2782
			local Cloud3 = Instance.new("Part",char)
2783
				Cloud3.Size = Vector3.new(1,1,1)
2784
				Cloud3.BrickColor = BrickColor.new("Medium stone grey")
2785
				Cloud3.Anchored = true
2786
				Cloud3.Material = "Neon"
2787
				Cloud3.CanCollide = false
2788
				Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
2789
				local Cloud4 = Instance.new("SpecialMesh",Cloud3)
2790
				Cloud4.MeshId = "rbxassetid://3270017"
2791
				Cloud4.Scale = Vector3.new(1.6,1.6,0.4)
2792
				
2793
				
2794
				
2795
					coroutine.resume(coroutine.create(function()
2796
			for i = 3,650 do
2797
			
2798
			
2799
			
2800
					
2801
	Cloud3.Transparency = Cloud3.Transparency + 0.03
2802
					Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.5)
2803
								
2804
					
2805
					
2806
					
2807
			wait(0.00000000001)
2808
			end
2809
			end))
2810
			local SFXZ = Instance.new("Sound",hed)
2811
			SFXZ.SoundId = "rbxassetid://260430060"
2812
			SFXZ.Volume = 3
2813
			SFXZ.Pitch = 1
2814
			SFXZ.Looped = false
2815
			wait(0.01)
2816
			SFXZ:Play()
2817
			
2818
end
2819
SFXZ:Destroy()
2820
	end)
2821
		
2822
for i = 1, 2 do
2823
		wait()
2824
2825
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
2826
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm
2827
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm
2828
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2829
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2830
		end
2831
		
2832
		coroutine.resume(coroutine.create(function()
2833
			wait(0.5)
2834
			Grab:remove()
2835
		end))
2836
		no_anim = false
2837
		Grab:Destroy()
2838
		wait(0)
2839
		D = false
2840
	end
2841
end
2842
function HitFC2()
2843
	if not D then D = true
2844
		no_anim = true
2845
		local Grab = Instance.new("Part",rarm)
2846
	Grab.Size = Vector3.new(3,3,3)
2847
	Grab.CanCollide = false
2848
	Grab.BrickColor = BrickColor.new("Deep orange")
2849
	Grab.Transparency = math.huge
2850
	local Grabo = Instance.new("Weld",Grab)
2851
	Grabo.Part0 = rarm
2852
	Grabo.Part1 = Grab
2853
	Grabo.C0 = CFrame.new(0,-1.1,0)
2854
	local SFXZ = Instance.new("Sound",torso)
2855
			SFXZ.SoundId = "rbxassetid://169259383"
2856
			SFXZ.Volume = 1
2857
			SFXZ.Pitch = 1
2858
			SFXZ.Looped = false
2859
			wait(0.01)
2860
			SFXZ:Play()
2861
			
2862
	Grab.Touched:connect(function(hit)
2863
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
2864
			Grab:Destroy()
2865
			SFXZ:Destroy()
2866
hit.Parent.Humanoid:TakeDamage(250)
2867
			local Cloud3 = Instance.new("Part",char)
2868
				Cloud3.Size = Vector3.new(1,1,1)
2869
				Cloud3.BrickColor = BrickColor.new("Medium stone grey")
2870
				Cloud3.Anchored = true
2871
				Cloud3.Material = "Neon"
2872
				Cloud3.CanCollide = false
2873
				Cloud3.CFrame = rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0)
2874
				local Cloud4 = Instance.new("SpecialMesh",Cloud3)
2875
				Cloud4.MeshId = "rbxassetid://3270017"
2876
				Cloud4.Scale = Vector3.new(1.6,1.6,0.4)
2877
				
2878
				
2879
				
2880
					coroutine.resume(coroutine.create(function()
2881
			for i = 3,650 do
2882
			
2883
			
2884
			
2885
					
2886
	Cloud3.Transparency = Cloud3.Transparency + 0.03
2887
					Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.2)
2888
								
2889
					
2890
					
2891
					
2892
			wait(0.00000000001)
2893
			end
2894
			end))
2895
			local SFXZ = Instance.new("Sound",hed)
2896
			SFXZ.SoundId = "rbxassetid://260430060"
2897
			SFXZ.Volume = 3
2898
			SFXZ.Pitch = 1.2
2899
			SFXZ.Looped = false
2900
			wait(0.01)
2901
			SFXZ:Play()
2902
			
2903
end
2904
SFXZ:Destroy()
2905
	end)
2906
		for i = 1, 2 do
2907
		wait()
2908
2909
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
2910
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
2911
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
2912
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2913
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2914
		end
2915
		
2916
		coroutine.resume(coroutine.create(function()
2917
			wait(0.5)
2918
			Grab:remove()
2919
		end))
2920
		no_anim = false
2921
		Grab:Destroy()
2922
		wait(0)
2923
		D = false
2924
	end
2925
end
2926
2927
2928
2929
2930
mouse.KeyDown:connect(function(key)
2931
    if key == '1' then
2932
	no_anim = true
2933
	local Aura = Instance.new("ParticleEmitter",Stone4)
2934
Aura.Texture = "rbxassetid://271370648"
2935
Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
2936
Aura.EmissionDirection = "Top"
2937
Aura.Speed = NumberRange.new(0)
2938
Aura.Size = NumberSequence.new(2.5)
2939
Aura.Transparency = NumberSequence.new(0,1)
2940
Aura.Drag = 0.4
2941
Aura.LightInfluence = 0
2942
Aura.LockedToPart = true
2943
Aura.Lifetime = NumberRange.new(0.9)
2944
Aura.Rate = 60
2945
Aura.LightEmission = 0.6
2946
Aura.Rotation = NumberRange.new(-360,360)
2947
Aura.VelocitySpread = 0
2948
Aura.Acceleration = Vector3.new(0,0,0)	
2949
Aura.ZOffset = 0.2
2950
LockOn()
2951
for i = 1, 20 do
2952
		wait()
2953
	
2954
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
2955
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
2956
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 0.8)--larm
2957
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2958
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2959
end
2960
no_anim = false
2961
Aura.Rate = 0
2962
end
2963
end)
2964
2965
mouse.KeyDown:connect(function(key)
2966
    if key == '2' then
2967
Bring()
2968
end
2969
end)
2970
2971
function LockOn()
2972
if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2973
TargetSelect(mouse.Target.Parent)
2974
Rock(mouse.Target.Parent)
2975
end
2976
end
2977
2978
2979
function Bring()
2980
if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2981
TargetSelect(mouse.Target.Parent)
2982
2983
end
2984
end
2985
function swait(num)
2986
	if num == 0 or num == nil then
2987
		ArtificialHB.Event:wait()
2988
	else
2989
		for i = 0, num do
2990
			ArtificialHB.Event:wait()
2991
		end
2992
	end
2993
end
2994
2995
	ArtificialHB = Instance.new("BindableEvent", script)
2996
ArtificialHB.Name = "Heartbeat"
2997
2998
script:WaitForChild("Heartbeat")
2999
3000
function TargetSelect(person)
3001
local dd=coroutine.wrap(function()
3002
if targetted ~= person then
3003
targetted = person
3004
for i = 0, 2, 0.1 do
3005
swait()
3006
end
3007
end
3008
end)
3009
dd()
3010
end 
3011
local RbxUtility = LoadLibrary("RbxUtility")
3012
local Create = RbxUtility.Create
3013
function HomingAttack()
3014
3015
3016
3017
3018
if targetted == nil then
3019
3020
end
3021
3022
3023
				 targetted.Head.CFrame = root.CFrame * CFrame.new(0,1.5,-3.1)
3024
			
3025
			
3026
		
3027
				
3028
 
3029
end
3030
mouse.KeyDown:connect(function(key)
3031
    if key == '3'  then
3032
HomingAttack()
3033
end
3034
end)
3035
3036
function laz0r()
3037
3038
local Position = nil
3039
if animid == 0 then
3040
Position = NeckS.Position
3041
else
3042
Position = NeckS.Position
3043
end
3044
3045
local Part1 = Instance.new("Part")
3046
local mesh2 = Instance.new("SpecialMesh",Part1)
3047
mesh2.MeshId = "rbxassetid://559831844"
3048
mesh2.Scale = Vector3.new(0,0,0.4)
3049
Part1.Material = Enum.Material.Neon
3050
Part1.CanCollide = false
3051
Part1.BrickColor = BrickColor.new("White")
3052
Part1.Parent = DebrisModel
3053
Part1.Size = Vector3.new(0,0,0)
3054
Part1.Anchored = true
3055
Part1.CFrame = CFrame.new(Position)
3056
Part1.Name = "EXPLOSION3"
3057
3058
local Part0 = Instance.new("Part",DebrisModel)
3059
Part0.Name = "Bullet"
3060
Part0.Material = Enum.Material.Neon
3061
Part0.BrickColor = BrickColor.new("Magenta")
3062
Part0.Anchored = true
3063
local mesh = Instance.new("SpecialMesh",Part0)
3064
mesh.MeshType = Enum.MeshType.Sphere
3065
Part0.CanCollide = false
3066
local Target = mouse.Hit.p
3067
local direction = Target - Position
3068
local direction = computeDirection(direction)
3069
local ray = Ray.new(Position, (Target).unit*1048)
3070
local part, endPoint = workspace:FindPartOnRay(ray, char)
3071
Part0.Size = Vector3.new(9,1,9)
3072
mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
3073
local pos = Position + (direction * (mesh.Scale.Y/2))
3074
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
3075
3076
clashpart = Instance.new("Part",DebrisModel)
3077
clashpart.Size = Vector3.new(50,50,50)
3078
clashpart.CanCollide = false
3079
clashpart.Anchored = true
3080
clashpart.Transparency = 1
3081
clashpart.BrickColor = BrickColor.new("Magenta")
3082
clashpart.Name = "StarLightClash"
3083
clashpart.CFrame = CFrame.new(endPoint, mouse.Hit.p)
3084
3085
3086
3087
local z = 10
3088
for i = 1,100 do rs:wait()
3089
if animid == 0 then
3090
	root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
3091
Position = root.Position
3092
else
3093
	root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
3094
Position = root.Position
3095
end
3096
3097
local Target = mouse.Hit.p
3098
local direction = Target - Position
3099
local direction = computeDirection(direction)
3100
local ray = Ray.new(Position, (Target-Position).unit*1048)
3101
local part, endPoint = workspace:FindPartOnRay(ray, char)
3102
Part0.Size = Vector3.new(5-((i/100)*5),1,5-((i/100)*5))
3103
mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
3104
mesh.Offset = Vector3.new(math.random(-10000,10000)/20000,math.random(-10000,10000)/20000,0)
3105
local pos = Position + (direction * (mesh.Scale.Y/0))
3106
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
3107
clashpart.CFrame = CFrame.new(endPoint, root.Position)
3108
3109
local Position = mouse.Hit.p
3110
local Target = root.Position
3111
local direction = Target - Position
3112
local direction = computeDirection(direction)
3113
root.Velocity = direction * 5
3114
3115
if i >= z then z = i + 10 sound(explosionid[math.random(1,#explosionid)],endPoint,10,math.random(6,9)/10,200) end
3116
3117
Part1 = Part0:Clone()
3118
Part1.Parent = DebrisModel
3119
Part1.BrickColor = BrickColor.new("Magenta")
3120
Part1.Name = "SMOKE2"
3121
3122
if part ~= nil then
3123
if part.Name == "StarLightClash" then
3124
local asdf = math.random(0,5)*20
3125
local Part1 = Instance.new("Part")
3126
local mesh2 = Instance.new("SpecialMesh",Part1)
3127
mesh2.MeshType = Enum.MeshType.Sphere
3128
mesh2.Scale = Vector3.new(0,0,0)
3129
Part1.Material = Enum.Material.Neon
3130
Part1.CanCollide = false
3131
Part1.BrickColor = BrickColor.new("Magenta")
3132
Part1.Size = Vector3.new(asdf,asdf,asdf)
3133
Part1.Anchored = true
3134
local a = 1.5
3135
Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
3136
Part1.Name = "EXPLOSION"
3137
else
3138
local asdf = math.random(0,5)*10
3139
local Part1 = Instance.new("Part")
3140
local mesh2 = Instance.new("SpecialMesh",Part1)
3141
mesh2.MeshType = Enum.MeshType.Sphere
3142
mesh2.Scale = Vector3.new(0,0,0)
3143
Part1.Material = Enum.Material.Neon
3144
Part1.CanCollide = false
3145
Part1.BrickColor = BrickColor.new("Magenta")
3146
Part1.Parent = DebrisModel
3147
Part1.Size = Vector3.new(asdf,asdf,asdf)
3148
Part1.Anchored = true
3149
local a = 1.5
3150
Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
3151
Part1.Name = "EXPLOSION"
3152
end
3153
end
3154
3155
for i,v in pairs(findAllNearestTorso(endPoint,50)) do
3156
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 100000000000000000000000000000000000 then
3157
v:Destroy()
3158
else
3159
v.Parent:BreakJoints()
3160
end
3161
local Position = mouse.Hit.p
3162
local Target = v.Position
3163
local direction = Target - Position
3164
local direction = computeDirection(direction)
3165
local bv = Instance.new("BodyVelocity",v)
3166
bv.Velocity = direction * (10 - ((Position - Target).magnitude/2))
3167
debris:AddItem(bv,1)
3168
end
3169
3170
end
3171
clashpart:Destroy()
3172
Part0:Destroy()
3173
wait(0.3)
3174
aiming_anim = false
3175
delay(0.3,function() debounce = false end)
3176
end
3177
3178
3179
mouse.KeyDown:connect(function(k)
3180
if k == "u" and Mode == false then
3181
	
3182
	animid = 5
3183
	no_anim = true
3184
	hum.WalkSpeed = 0
3185
	
3186
	
3187
	
3188
		for i = 1, 30 do
3189
		wait()
3190
	
3191
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3192
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
3193
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 0.8)--larm
3194
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3195
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3196
		end
3197
		wait(2)
3198
		local Grab = Instance.new("Part",hed)
3199
	Grab.Size = Vector3.new(3.9,5,3.9)
3200
	Grab.CanCollide = false
3201
	Grab.BrickColor = BrickColor.new("Deep orange")
3202
	Grab.Transparency = 1
3203
	local Grabo = Instance.new("Weld",Grab)
3204
	Grabo.Part0 = hed
3205
	Grabo.Part1 = Grab
3206
	Grabo.C0 = CFrame.new(0,-1.5,0)
3207
	
3208
local AuraB = Instance.new("Part",hed)
3209
	AuraB.Size = Vector3.new(2,1,2)
3210
	AuraB.CanCollide = false
3211
	AuraB.BrickColor = BrickColor.new("Deep orange")
3212
	AuraB.Transparency = 1
3213
	local AuraBo = Instance.new("Weld",AuraB)
3214
	AuraBo.Part0 = hed
3215
	AuraBo.Part1 = AuraB
3216
	AuraBo.C0 = CFrame.new(0,-3.6,0)
3217
	
3218
	local FZcharge3 = Instance.new("ParticleEmitter",Grab)
3219
FZcharge3.Texture = "rbxassetid://249481494"
3220
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
3221
FZcharge3.EmissionDirection = "Top"
3222
FZcharge3.Speed = NumberRange.new(2)
3223
FZcharge3.Size = NumberSequence.new(4,0)
3224
FZcharge3.Transparency = NumberSequence.new(0,1)
3225
FZcharge3.Drag = 1.2
3226
FZcharge3.LockedToPart = true
3227
FZcharge3.Lifetime = NumberRange.new(1)
3228
FZcharge3.Rate = 195
3229
FZcharge3.LightEmission = 0.3
3230
FZcharge3.Rotation = NumberRange.new(-360,360)
3231
FZcharge3.VelocitySpread = 0.2	
3232
FZcharge3.ZOffset = 2.5
3233
wait(1)
3234
FZcharge3.Rate = 0
3235
UltimateBattle.Volume = 0
3236
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
3237
for i,v in pairs(char:GetChildren()) do
3238
if v ~= root then
3239
if v:IsA("Part") then
3240
v.Transparency = 1
3241
elseif v:IsA("Accoutrement") then
3242
v:FindFirstChildOfClass("Part").Transparency = 1
3243
end
3244
end
3245
end
3246
for i,v in pairs(NeckS:GetChildren()) do
3247
if v ~= root then
3248
if v:IsA("Part") then
3249
v.Transparency = 1
3250
elseif v:IsA("Accoutrement") then
3251
v:FindFirstChildOfClass("Part").Transparency = 1
3252
end
3253
end
3254
end
3255
3256
wait(2.2)
3257
FZcharge3.Rate = 195
3258
root.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
3259
3260
for i,v in pairs(char:GetChildren()) do
3261
if v ~= root then
3262
if v:IsA("Part") then
3263
v.Transparency = 0
3264
elseif v:IsA("Accoutrement") then
3265
v:FindFirstChildOfClass("Part").Transparency = 0
3266
end
3267
end
3268
end
3269
for i,v in pairs(NeckS:GetChildren()) do
3270
if v ~= root then
3271
if v:IsA("Part") then
3272
v.Transparency = 0
3273
elseif v:IsA("Accoutrement") then
3274
v:FindFirstChildOfClass("Part").Transparency = 0
3275
end
3276
end
3277
end
3278
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
3279
wait(1)
3280
UltimateBattle.Volume = 5
3281
FZcharge3.Rate = 0
3282
hum.WalkSpeed = 16
3283
wait(1)
3284
Grab:Destroy()
3285
no_anim = false
3286
end
3287
end)
3288
mouse.KeyDown:connect(function(k)
3289
if k == "u" and Mode == true then
3290
	
3291
	
3292
root.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
3293
3294
3295
end
3296
end)
3297
-------------------------------------------------------
3298
3299
mouse.KeyDown:connect(function(k)
3300
if k == "z" then
3301
	local FZcharge3 = Instance.new("ParticleEmitter",Stone6)
3302
FZcharge3.Texture = "rbxassetid://165211997"
3303
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
3304
FZcharge3.EmissionDirection = "Top"
3305
FZcharge3.Speed = NumberRange.new(8)
3306
FZcharge3.Size = NumberSequence.new(0.5,0)
3307
FZcharge3.Transparency = NumberSequence.new(0,1)
3308
FZcharge3.Drag = 1.2
3309
FZcharge3.LockedToPart = false
3310
FZcharge3.Lifetime = NumberRange.new(0.5)
3311
FZcharge3.Rate = 195
3312
FZcharge3.LightEmission = 1
3313
FZcharge3.VelocitySpread = 100
3314
FZcharge3.Rotation = NumberRange.new(-360,360)
3315
FZcharge3.VelocitySpread = 100.2	
3316
FZcharge3.ZOffset = 1
3317
	local CHAINLINKS = {}
3318
	local POS = mouse.Hit.p
3319
	local CHAINS = false
3320
	local CHAINLINKS = {}
3321
	local A = Instance.new("Attachment",NeckS)
3322
	A.Position = Vector3.new(0.3,0,0)*Player_Size
3323
	A.Orientation = Vector3.new(-90, -89.982, 0)
3324
	local B = Instance.new("Attachment",NeckS)
3325
	B.Position = Vector3.new(-0.3,0,0)*Player_Size
3326
	B.Orientation = Vector3.new(-90, 89.988, 0)
3327
	local C = Instance.new("Attachment",NeckS)
3328
	C.Position = Vector3.new(0.3,-0.1,0)*Player_Size
3329
	C.Orientation = Vector3.new(-90, -89.982, 0)
3330
	local D = Instance.new("Attachment",NeckS)
3331
	D.Position = Vector3.new(-0.3,-0.3,0)*Player_Size
3332
	D.Orientation = Vector3.new(-90, 89.988, 0)
3333
	local LIGHT = Instance.new("Attachment",NeckS)
3334
	LIGHT.Position = Vector3.new(0.3,-0,0)*Player_Size
3335
	local LIGHT2 = Instance.new("PointLight",larm)
3336
	LIGHT2.Range = 6
3337
	LIGHT2.Brightness = 20
3338
	LIGHT2.Color = Color3.new(0, 255, 0)
3339
	for i = 1, 2 do
3340
		local TWIST = -2
3341
		local START = A
3342
		local END = B
3343
		if i == 1 then
3344
			START = B
3345
			END = A
3346
		end
3347
	local ChainLink = Instance.new("Beam",torso)
3348
		ChainLink.Texture = "rbxassetid://165211997"
3349
		ChainLink.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
3350
		ChainLink.TextureSpeed = 5
3351
		ChainLink.Width0 = 1
3352
		ChainLink.Width1 = 1
3353
		ChainLink.TextureLength = 1.5
3354
		ChainLink.Attachment0 = START
3355
		ChainLink.Attachment1 = END
3356
		ChainLink.CurveSize0 = TWIST
3357
		ChainLink.CurveSize1 = TWIST
3358
		--ChainLink.FaceCamera = true
3359
		ChainLink.Segments = 45
3360
		ChainLink.Transparency = NumberSequence.new(0)
3361
		table.insert(CHAINLINKS,ChainLink)
3362
	end
3363
	coroutine.resume(coroutine.create(function()
3364
			for i = 3,80000000000000000000000000000 do 
3365
	hum.Health = hum.MaxHealth
3366
			
3367
			
3368
			coroutine.resume(coroutine.create(function()
3369
			for i = 1,15 do
3370
			
3371
			wait(0.00000000001)
3372
			end
3373
			
3374
			
3375
				
3376
			end))
3377
			wait(0.06)
3378
			end
3379
	end))
3380
	
3381
end
3382
end)
3383
3384
mouse.KeyDown:connect(function(k)
3385
if k == "k" then
3386
	no_anim = true
3387
	local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position = Vector3.new(0,0.5,0)
3388
local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-0.5,0)
3389
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
3390
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
3391
Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission = 5
3392
	for i = 1,7 do
3393
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
3394
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(0)), .5)--torso
3395
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm
3396
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), .5)--arm
3397
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg
3398
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg
3399
		wait()
3400
		end
3401
	wait(0.7)
3402
	local Grab = Instance.new("Part",NeckS)
3403
	Grab.Size = Vector3.new(4,4,4)
3404
	Grab.CanCollide = false
3405
	Grab.BrickColor = BrickColor.new("Deep orange")
3406
	Grab.Transparency = math.huge
3407
	local Grabo = Instance.new("Weld",Grab)
3408
	Grabo.Part0 = larm
3409
	Grabo.Part1 = Grab
3410
	Grabo.C0 = CFrame.new(0,-0.1,0)
3411
	Grab.Touched:connect(function(hit)
3412
	if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= player.Character.Name then
3413
		Grab:Destroy()	
3414
		no_anim = true
3415
		local SFXZ = Instance.new("Sound",root)
3416
			SFXZ.SoundId = "rbxassetid://1699290293"
3417
			SFXZ.Volume = 7
3418
			SFXZ.Pitch = 1
3419
			SFXZ.Looped = false
3420
			wait(0.01)
3421
			SFXZ:Play()
3422
			hit.Parent:BreakJoints()
3423
Snap(hit.Parent)
3424
3425
3426
3427
			
3428
		end
3429
	end)
3430
	for i= 1,10 do
3431
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
3432
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
3433
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm
3434
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
3435
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
3436
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
3437
	wait()
3438
		end
3439
	FlyAt:Destroy()
3440
	no_anim = false
3441
	
3442
end
3443
end)
3444
3445
3446
mouse.KeyDown:connect(function(k)
3447
if k == "y" then
3448
	instinct = false
3449
	animid = 5
3450
	no_anim = true
3451
	
3452
	local sbs = Instance.new("BodyPosition", torso)
3453
        sbs.P = 9000
3454
        sbs.D = 1000
3455
        sbs.maxForce = Vector3.new(900000, 900000000, 900000)
3456
        sbs.position = torso.CFrame.p + Vector3.new(0, 10, 0)
3457
	for i = 1, 20 do
3458
		wait()
3459
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), 0.8)--head
3460
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3461
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(-50)), 0.8)--rarm
3462
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(50)), 0.8)--larm
3463
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.8)--lleg
3464
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--rleg
3465
	end
3466
	coroutine.resume(coroutine.create(function()
3467
			for i = 3,8 do 
3468
			local Ball = Instance.new("Part",char)
3469
			Ball.Size = Vector3.new(1,1,1)
3470
			Ball.BrickColor = BrickColor.new("Magenta")
3471
			Ball.Material = "Neon"
3472
			Ball.Anchored = true
3473
			Ball.CanCollide = false
3474
			Ball.Transparency = 0
3475
			Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
3476
			local Ball2 = Instance.new("SpecialMesh",Ball)
3477
			Ball2.MeshType = 3
3478
			Ball2.Scale = Vector3.new(2,2,2)
3479
		
3480
	
3481
			
3482
			
3483
			coroutine.resume(coroutine.create(function()
3484
			for i = 1,15 do
3485
			Ball2.Scale = Ball2.Scale + Vector3.new(19.4,19.4,19.4)
3486
			Ball.Transparency = Ball.Transparency + 0.06
3487
			wait(0.00000000001)
3488
			end
3489
			Ball:Destroy()
3490
			
3491
				
3492
			end))
3493
			wait(0.06)
3494
			end
3495
	end))
3496
	root.Anchored = true
3497
	g = Instance.new("Explosion")
3498
	g.Parent = workspace
3499
g.Position = root.Position
3500
g.BlastRadius = 90
3501
g.BlastPressure = 4000200
3502
g.Visible = false
3503
	for i = 1, 70 do
3504
		wait()
3505
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.8)--head
3506
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3507
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(50)), 0.8)--rarm
3508
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(50),math.rad(-50)), 0.8)--larm
3509
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--lleg
3510
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3511
		end
3512
	wait(0.2)
3513
3514
	sbs:Destroy()
3515
	no_anim = false
3516
	root.Anchored = false
3517
3518
end
3519
end)
3520
local deb = false
3521
function smooth(obj)
3522
	local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"}
3523
	for i,v in pairs(sides) do
3524
		obj[v.."Surface"] = "SmoothNoOutlines"
3525
	end
3526
end
3527
local multiplier = 1000000000000000000000000000000000000000000000000000000000000000000000000000000000
3528
function hurt(hit, dmg)
3529
	if hit.Parent then
3530
		if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end
3531
		local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
3532
		if hum then
3533
			if hum.Parent.Name ~= plr.Name then
3534
				if dmg == "Kill" or hum.Health > 100000 then
3535
					hit.Parent:BreakJoints()
3536
					return true
3537
				else
3538
					if math.random(0, 100) == 50 then
3539
						hit.Parent:BreakJoints()
3540
					else
3541
						hit.Parent:BreakJoints()
3542
					end
3543
					return true
3544
				end
3545
			end
3546
		end
3547
	end
3548
end
3549
local push = 100
3550
local huge = Vector3.new(math.huge,math.huge,math.huge)
3551
function gethum(obj)
3552
	if obj.Parent then
3553
		if obj.Parent:FindFirstChild("Humanoid") then
3554
			if obj.Parent.Name ~= plr.Name then
3555
				return obj.Parent:FindFirstChildOfClass("Humanoid")
3556
			end
3557
		end
3558
	end
3559
end
3560
3561
mouse.KeyDown:connect(function(key)
3562
	if key == "p" and not deb and not attacking then
3563
		deb = true
3564
		no_anim = true
3565
3566
	local Aura = Instance.new("ParticleEmitter",Stone2)
3567
Aura.Texture = "rbxassetid://271370648"
3568
Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
3569
Aura.EmissionDirection = "Top"
3570
Aura.Speed = NumberRange.new(0)
3571
Aura.Size = NumberSequence.new(2.5)
3572
Aura.Transparency = NumberSequence.new(0,1)
3573
Aura.Drag = 0.4
3574
Aura.LightInfluence = 0
3575
Aura.LockedToPart = true
3576
Aura.Lifetime = NumberRange.new(0.9)
3577
Aura.Rate = 60
3578
Aura.LightEmission = 0.6
3579
Aura.Rotation = NumberRange.new(-360,360)
3580
Aura.VelocitySpread = 0
3581
Aura.Acceleration = Vector3.new(0,0,0)	
3582
Aura.ZOffset = 0.2
3583
	
3584
	for i = 1, 10 do
3585
		wait()
3586
	
3587
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3588
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
3589
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 0.8)--larm
3590
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3591
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3592
	end
3593
	Aura.Rate = 0
3594
		
3595
		for i = 0, 10 do
3596
			spawn(function()
3597
				local p = Instance.new("Part")
3598
				p.Anchored = true
3599
				p.CanCollide = false
3600
				p.CFrame = char.Torso.CFrame *CFrame.new(math.random(-12,12),-10,math.random(-12,12))
3601
				smooth(p)
3602
				p.BrickColor = BrickColor.DarkGray()
3603
				p.Material = Enum.Material.Slate
3604
				p.Size = Vector3.new(9,9,9)
3605
				p.Transparency = 0
3606
				
3607
				p.Parent = workspace
3608
				local FlyAt = Instance.new("Attachment",p)FlyAt.Position = Vector3.new(0,2.5,0)
3609
local FlyAt2 = Instance.new("Attachment",p)FlyAt2.Position = Vector3.new(0,-2.5,0)
3610
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
3611
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
3612
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
3613
				local endcf = p.CFrame *CFrame.new(0,30,0)
3614
				for i = 0, 20 do
3615
					p.CFrame = p.CFrame:Lerp(endcf, 0.3)
3616
					wait()
3617
				end
3618
				local z = Instance.new("Part")
3619
				z.CFrame = p.CFrame
3620
				z.CFrame = CFrame.new(z.Position, mouse.Hit.p)
3621
				local bv = Instance.new("BodyVelocity", p)
3622
				bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
3623
				bv.Velocity = z.CFrame.lookVector*140
3624
				p.Anchored = false
3625
				z:Destroy()
3626
				p.CanCollide = false
3627
				local connection
3628
				spawn(function()
3629
					local angle = CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10)))
3630
					repeat wait()
3631
						p.CFrame = p.CFrame *angle
3632
					until not p or p.CanCollide
3633
				end)
3634
				
3635
				connection = p.Touched:connect(function(hit)
3636
					hurt(hit, math.random(5,5))
3637
					if not hit.Anchored and hit.Parent.Name ~= plr.Name and hit.Parent.ClassName ~= "Accessory" then
3638
						p.CanCollide = true
3639
					end
3640
				end)
3641
				game.Debris:AddItem(p, 5)
3642
			end)
3643
			
3644
			wait()
3645
			deb = false
3646
			no_anim = false
3647
		end
3648
	end
3649
end)
3650
function doBrick(parent,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
3651
local p=Instance.new('Part',parent);p.BrickColor=colour;p.Material=material;p.Transparency=transparency;p.Anchored=a;p.CanCollide=cc;p.FormFactor="Custom";p.Size=size;p.BackSurface=bs;p.BottomSurface=bts;p.FrontSurface=fs;p.LeftSurface=ls;p.RightSurface=rs;p.TopSurface=ts;p.Position=pos;p.CFrame=p.CFrame*cf;
3652
return p
3653
end
3654
3655
function doMesh(parent,meshType,meshId,scale)
3656
local m=Instance.new('SpecialMesh',parent);m.MeshType=meshType;m.MeshId=meshId;m.Scale=scale
3657
return m
3658
end
3659
local EP=Instance.new("Model",char)
3660
function magicBrick(pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts,meshType,meshId,scale,scaleAdd,loop,loopTransparency,repeatloop,repeatLoopWait,loopCFrame)
3661
	local cw1=coroutine.wrap(function()
3662
		for i=1,repeatloop do
3663
			local x=doBrick(EP,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
3664
			local z=doMesh(x,meshType,meshId,scale)
3665
			
3666
			local cw2=coroutine.wrap(function()
3667
				for i=1,loop do
3668
					if loopTransparency then
3669
						x.Transparency=i/loop
3670
						z.Scale=z.Scale+scaleAdd
3671
						x.CFrame=x.CFrame*loopCFrame
3672
						wait()
3673
					else
3674
						z.Scale=z.Scale+scaleAdd
3675
						x.CFrame=x.CFrame*loopCFrame
3676
					end
3677
				end
3678
				x:Destroy()
3679
			end)
3680
			cw2()
3681
			swait(repeatLoopWait)
3682
		end
3683
	end)
3684
	cw1()
3685
end
3686
if MUI == true then
3687
		
3688
			speed=0.15
3689
			sound(438666277,2,1.5,torso)
3690
			coroutine.resume(coroutine.create(function()
3691
				for i=1,20 do
3692
					magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.Angles(math.random(1,50),math.random(1,50),math.random(1,50)),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(math.random(10,15),math.random(20,30),0.2),Vector3.new(-2,-2,0),16,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0.2,0,0))
3693
					swait(3)
3694
				end
3695
			end))
3696
			for i=0,1,0.1*speed do
3697
				if lastAnim~=thisAnim then break end
3698
				
3699
				
3700
					
3701
				swait()
3702
			end
3703
			
3704
			doingMove=true		
3705
			
3706
			coroutine.resume(coroutine.create(function()
3707
				for i=1,200 do
3708
					magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))			
3709
					swait()
3710
				end
3711
			end))
3712
			
3713
			local beam=Instance.new("Part",char)
3714
			beam.Anchored=true
3715
			beam.CanCollide=false
3716
			beam.BrickColor=BrickColor.new("Institutional white")
3717
			beam.Material="Neon"
3718
			beam.Transparency=0.5
3719
			
3720
			sound(415700134,1.75,0.85,torso)
3721
			
3722
			coroutine.resume(coroutine.create(function()
3723
				while true do
3724
					if not doingMove then break end
3725
					local dis=(torso.Position-mouse.Hit.p).magnitude
3726
					beam.Size=Vector3.new(2,2,dis)
3727
					beam.CFrame=CFrame.new(torso.CFrame.p,mouse.Hit.p)*CFrame.new(0,0,-dis/2)
3728
					swait()
3729
				end
3730
			end))
3731
			
3732
			coroutine.resume(coroutine.create(function()
3733
				for i=1,20 do
3734
					if not doingMove then break end
3735
					magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Deep orange"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(2,6,2),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
3736
					magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(3,3,3),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
3737
					coroutine.resume(coroutine.create(function()
3738
						for i=1,7 do
3739
							magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.new(0,0,0)*CFrame.new(math.random(1,15),math.random(1,15),math.random(1,15))*CFrame.new(-15/2,-15/2,-15/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(4,4,4),Vector3.new(1,1,1),12,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
3740
						end
3741
					end))
3742
					for i,v in pairs(workspace:GetChildren()) do
3743
						if v:findFirstChild("Humanoid")~=nil and v~=char then
3744
							if (v:WaitForChild("Torso").Position-mouse.Hit.p).magnitude<=10 then
3745
								v:WaitForChild("Humanoid"):TakeDamage(v:WaitForChild("Humanoid").MaxHealth/20)
3746
							end
3747
						end 
3748
					end
3749
					swait(10)
3750
				end
3751
			end))
3752
			
3753
			for i=0,2,0.1*speed do
3754
				if lastAnim~=thisAnim then break end
3755
					
3756
			
3757
					
3758
				swait()
3759
			end
3760
			
3761
			beam:Destroy()
3762
			lastAnim=nil
3763
			lastPriority=0
3764
			doingMove=false
3765
		end
3766
3767
function chestBeam()
3768
	
3769
		
3770
		MUI = true
3771
	
3772
	
3773
end
3774
mouse.KeyDown:connect(function(k)
3775
if k == "n" then
3776
	chestBeam()
3777
end
3778
end)
3779
mouse.KeyDown:connect(function(k)
3780
if k == "v" then
3781
	UltimateBattle:Stop()
3782
Mode = true
3783
	local SFXZ = Instance.new("Sound",torso)
3784
			SFXZ.SoundId = "rbxassetid://316675316"
3785
			SFXZ.Volume = 8
3786
			SFXZ.Pitch = 1
3787
			SFXZ.Looped = true
3788
			wait(0.01)
3789
			SFXZ:Play()
3790
			local Wind = Instance.new("Sound",torso)
3791
			Wind.SoundId = "rbxassetid://142840797"
3792
			Wind.Volume = 0.5
3793
			Wind.Pitch = 1
3794
			Wind.Looped = true
3795
			wait(0.01)
3796
			Wind:Play()
3797
			
3798
			       
3799
Grab.Touched:connect(function(hit)
3800
	if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
3801
		hit.Parent:BreakJoints()
3802
		wait(0.2)
3803
		hit.Parent:Destroy()
3804
		
3805
3806
		
3807
		end
3808
end)
3809
hum.WalkSpeed = 55
3810
	
3811
		local FZcharge3 = Instance.new("ParticleEmitter",NeckS)
3812
FZcharge3.Texture = "rbxassetid://37329477"
3813
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
3814
FZcharge3.EmissionDirection = "Top"
3815
FZcharge3.Speed = NumberRange.new(8)
3816
FZcharge3.Size = NumberSequence.new(0.5,0)
3817
FZcharge3.Transparency = NumberSequence.new(0,1)
3818
FZcharge3.Drag = 1.2
3819
FZcharge3.LockedToPart = false
3820
FZcharge3.Lifetime = NumberRange.new(0.5)
3821
FZcharge3.Rate = 195
3822
FZcharge3.LightEmission = 1
3823
FZcharge3.VelocitySpread = 100
3824
FZcharge3.Rotation = NumberRange.new(-360,360)
3825
FZcharge3.VelocitySpread = 100.2	
3826
FZcharge3.ZOffset = 1
3827
local StoneEf2 = Instance.new("ParticleEmitter",Stone4)
3828
StoneEf2.Texture = "rbxassetid://37329477"
3829
StoneEf2.Color = ColorSequence.new(Color3.fromRGB(255, 0, 0))
3830
StoneEf2.EmissionDirection = "Top"
3831
StoneEf2.Speed = NumberRange.new(8)
3832
StoneEf2.Size = NumberSequence.new(0.5,0)
3833
StoneEf2.Transparency = NumberSequence.new(0,1)
3834
StoneEf2.LockedToPart = false
3835
StoneEf2.Lifetime = NumberRange.new(0.5)
3836
StoneEf2.Rate = 195
3837
StoneEf2.LightEmission = 1
3838
StoneEf2.VelocitySpread = 100
3839
StoneEf2.Rotation = NumberRange.new(-360,360)
3840
StoneEf2.VelocitySpread = 100.2	
3841
StoneEf2.ZOffset = 1
3842
local StoneEf3 = Instance.new("ParticleEmitter",Stone3)
3843
StoneEf3.Texture = "rbxassetid://74675986"
3844
StoneEf3.Color = ColorSequence.new(Color3.fromRGB(9, 137, 207))
3845
StoneEf3.EmissionDirection = "Top"
3846
StoneEf3.Speed = NumberRange.new(8)
3847
StoneEf3.Size = NumberSequence.new(0.5,0)
3848
StoneEf3.Transparency = NumberSequence.new(0,1)
3849
StoneEf3.LockedToPart = false
3850
StoneEf3.Lifetime = NumberRange.new(0.5)
3851
StoneEf3.Rate = 195
3852
StoneEf3.LightEmission = 1
3853
StoneEf3.VelocitySpread = 100
3854
StoneEf3.Rotation = NumberRange.new(-360,360)
3855
StoneEf3.VelocitySpread = 100.2	
3856
StoneEf3.ZOffset = 1
3857
local StoneEf5 = Instance.new("ParticleEmitter",Stone5)
3858
StoneEf5.Texture = "rbxassetid://73229113"
3859
StoneEf5.Color = ColorSequence.new(Color3.fromRGB(255, 176, 0))
3860
StoneEf5.EmissionDirection = "Top"
3861
StoneEf5.Speed = NumberRange.new(8)
3862
StoneEf5.Size = NumberSequence.new(0.5,0)
3863
StoneEf5.Transparency = NumberSequence.new(0,1)
3864
StoneEf5.LockedToPart = false
3865
StoneEf5.Lifetime = NumberRange.new(0.5)
3866
StoneEf5.Rate = 195
3867
StoneEf5.LightEmission = 1
3868
StoneEf5.VelocitySpread = 100
3869
StoneEf5.Rotation = NumberRange.new(-360,360)
3870
StoneEf5.VelocitySpread = 100.2	
3871
StoneEf5.ZOffset = 1
3872
	local CHAINLINKS = {}
3873
	local POS = mouse.Hit.p
3874
	local CHAINS = false
3875
	local CHAINLINKS = {}
3876
	local A = Instance.new("Attachment",root)
3877
	A.Position = Vector3.new(0.5,0,0)*Player_Size
3878
	A.Orientation = Vector3.new(-90, -89.982, 0)
3879
	local B = Instance.new("Attachment",root)
3880
	B.Position = Vector3.new(-0.5,0,0)*Player_Size
3881
	B.Orientation = Vector3.new(-90, 89.988, 0)
3882
	local C = Instance.new("Attachment",root)
3883
	C.Position = Vector3.new(0.5,-0.1,0)*Player_Size
3884
	C.Orientation = Vector3.new(-90, -89.982, 0)
3885
	local D = Instance.new("Attachment",root)
3886
	D.Position = Vector3.new(-0.5,-0.3,0)*Player_Size
3887
	D.Orientation = Vector3.new(-90, 89.988, 0)
3888
	local LIGHT = Instance.new("Attachment",root)
3889
	LIGHT.Position = Vector3.new(0.5,-0,0)*Player_Size
3890
	local LIGHT2 = Instance.new("PointLight",larm)
3891
	LIGHT2.Range = 6
3892
	LIGHT2.Brightness = 20
3893
	LIGHT2.Color = Color3.new(255, 255, 0)
3894
	for i = 1, 2 do
3895
		local TWIST = -1
3896
		local START = A
3897
		local END = B
3898
		if i == 1 then
3899
			START = B
3900
			END = A
3901
		end
3902
	local ChainLink = Instance.new("Beam",torso)
3903
		ChainLink.Texture = "rbxassetid://37329477"
3904
		ChainLink.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
3905
		ChainLink.TextureSpeed = 5
3906
		ChainLink.Width0 = 1
3907
		ChainLink.Width1 = 1
3908
		ChainLink.TextureLength = 2.5
3909
		ChainLink.Attachment0 = START
3910
		ChainLink.Attachment1 = END
3911
		ChainLink.CurveSize0 = TWIST
3912
		ChainLink.CurveSize1 = TWIST
3913
		--ChainLink.FaceCamera = true
3914
		ChainLink.Segments = 85
3915
		ChainLink.Transparency = NumberSequence.new(0)
3916
		table.insert(CHAINLINKS,ChainLink)
3917
	end
3918
	coroutine.resume(coroutine.create(function()
3919
			for i = 3,60060 do 
3920
			
3921
		
3922
			local HQG = Instance.new("Part",char)
3923
			HQG.Size = Vector3.new(1,0,1)
3924
			HQG.BrickColor = BrickColor.new("Ghost grey")
3925
			HQG.Material = "Neon"
3926
			HQG.Anchored = true
3927
			HQG.CanCollide = false
3928
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
3929
			local HQG2 = Instance.new("SpecialMesh",HQG)
3930
			HQG2.MeshId = "rbxassetid://1726537151"
3931
			HQG2.Scale = Vector3.new(0.01,0.01,0.01)
3932
			
3933
			
3934
			coroutine.resume(coroutine.create(function()
3935
			for i = 1,200 do
3936
			
3937
			
3938
			HQG2.Scale = HQG2.Scale + Vector3.new(0.01,0.03,0.01)
3939
			HQG.Transparency = HQG.Transparency + 0.07
3940
			HQG.CFrame = HQG.CFrame*CFrame.Angles(0,-0.3,0)
3941
			
3942
			wait(0.00000000001)
3943
			end
3944
			
3945
			HQG:Destroy()
3946
			HQG2:Destroy()
3947
				
3948
			end))
3949
			
3950
	
3951
			wait(0.3)
3952
			end
3953
		end))
3954
end
3955
end)
3956
	
3957
3958
3959
mouse.KeyDown:connect(function(k)
3960
if k == "j" then
3961
	
3962
	animid = 5
3963
	no_anim = true
3964
	
3965
		
3966
	local Aura = Instance.new("ParticleEmitter",Stone2)
3967
Aura.Texture = "rbxassetid://271370648"
3968
Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
3969
Aura.EmissionDirection = "Top"
3970
Aura.Speed = NumberRange.new(0)
3971
Aura.Size = NumberSequence.new(2.5)
3972
Aura.Transparency = NumberSequence.new(0,1)
3973
Aura.Drag = 0.4
3974
Aura.LightInfluence = 0
3975
Aura.LockedToPart = true
3976
Aura.Lifetime = NumberRange.new(0.9)
3977
Aura.Rate = 60
3978
Aura.LightEmission = 0.6
3979
Aura.Rotation = NumberRange.new(-360,360)
3980
Aura.VelocitySpread = 0
3981
Aura.Acceleration = Vector3.new(0,0,0)	
3982
Aura.ZOffset = 0.2
3983
	
3984
		for i = 1, 30 do
3985
		wait()
3986
	
3987
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3988
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
3989
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 0.8)--larm
3990
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3991
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3992
		end
3993
		
3994
	
3995
			local HQ = Instance.new("Part",char)
3996
			HQ.Size = Vector3.new(1,0,1)
3997
			HQ.BrickColor = BrickColor.new("Grey")
3998
			HQ.Material = "Neon"
3999
			HQ.Anchored = true
4000
			HQ.CanCollide = false
4001
			HQ.Transparency = 0.7
4002
			HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4003
			local HQ2 = Instance.new("SpecialMesh",HQ)
4004
			HQ2.MeshId = "rbxassetid://20329976"
4005
			HQ2.Scale = Vector3.new(1,1,1)
4006
		
4007
			local HQG = Instance.new("Part",char)
4008
			HQG.Size = Vector3.new(1,0,1)
4009
			HQG.BrickColor = BrickColor.new("Grey")
4010
			HQG.Material = "Neon"
4011
			HQG.Anchored = true
4012
			HQG.Transparency = 0.7
4013
			HQG.CanCollide = false
4014
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4015
			local HQG2 = Instance.new("SpecialMesh",HQG)
4016
			HQG2.MeshId = "rbxassetid://20329976"
4017
			HQG2.Scale = Vector3.new(1,1,1)
4018
			
4019
			
4020
			coroutine.resume(coroutine.create(function()
4021
			for i = 1,200 do
4022
			HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
4023
			HQ.Transparency = HQ.Transparency + 0.01
4024
			HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4025
			
4026
			HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
4027
			HQG.Transparency = HQG.Transparency + 0.01
4028
			HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4029
			
4030
			wait(0.00000000001)
4031
		
4032
				
4033
			end
4034
				HQ:Destroy()
4035
			HQ2:Destroy()
4036
			HQG:Destroy()
4037
			HQG2:Destroy()
4038
			end))
4039
4040
laz0r()
4041
	wait(0.5)
4042
	no_anim = false
4043
	Aura.Rate = 0
4044
	
4045
	instinct = true
4046
end
4047
end)
4048
4049
4050
4051
4052
4053
mouse.KeyDown:connect(function(key)
4054
	if key == "r" then
4055
	local Aura = Instance.new('ParticleEmitter',Stone3)
4056
Aura.Texture = "rbxassetid://271370648"
4057
Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
4058
Aura.EmissionDirection = "Top"
4059
Aura.Speed = NumberRange.new(0)
4060
Aura.Size = NumberSequence.new(2.5)
4061
Aura.Transparency = NumberSequence.new(0,1)
4062
Aura.Drag = 0.4
4063
Aura.LightInfluence = 0
4064
Aura.LockedToPart = true
4065
Aura.Lifetime = NumberRange.new(0.9)
4066
Aura.Rate = 60
4067
Aura.LightEmission = 0.6
4068
Aura.Rotation = NumberRange.new(-360,360)
4069
Aura.VelocitySpread = 0
4070
Aura.Acceleration = Vector3.new(0,0,0)	
4071
Aura.ZOffset = 0.2
4072
	no_anim = true
4073
		for i = 1, 15 do
4074
		wait()
4075
	
4076
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
4077
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
4078
		end
4079
		
4080
			local Grab = Instance.new("Part",root)
4081
	Grab.Size = Vector3.new(5.2,5.8,3.9)
4082
	Grab.CanCollide = true
4083
	Grab.Material = "Neon"
4084
	Grab.BrickColor = BrickColor.new("Cyan")
4085
	Grab.Transparency = 0.5
4086
	local Hat2 = Instance.new("SpecialMesh",Grab)
4087
Hat2.MeshType = 3
4088
Hat2.Scale = Vector3.new(3.35,3.15,0.95)
4089
	local Grabo = Instance.new("Weld",Grab)
4090
	Grabo.Part0 = root
4091
	Grabo.Part1 = Grab
4092
	Grabo.C0 = CFrame.new(0,0.3,-6.8)
4093
	
4094
local AuraB = Instance.new("Part",root)
4095
	AuraB.Size = Vector3.new(2,1,2)
4096
	AuraB.CanCollide = false
4097
	AuraB.BrickColor = BrickColor.new("Deep orange")
4098
	AuraB.Transparency = 1
4099
	local AuraBo = Instance.new("Weld",AuraB)
4100
	AuraBo.Part0 = root
4101
	AuraBo.Part1 = AuraB
4102
	AuraBo.C0 = CFrame.new(0,-0.6,0)
4103
	Grab.Touched:connect(function(hit)
4104
	if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
4105
		
4106
		
4107
hit.Anchored = false
4108
			local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
4109
			Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
4110
			Fl.velocity = root.CFrame.lookVector*340
4111
			wait(0.05)
4112
			Fl:remove()
4113
		
4114
		end
4115
	end)
4116
		
4117
		
4118
		end
4119
end)
4120
mouse.KeyUp:connect(function(key)
4121
	if key == "r" then
4122
		
4123
			for i, v in pairs(root:GetChildren()) do
4124
	if v:IsA("Part")then
4125
		v:Remove()
4126
	end
4127
			end
4128
			for i, v in pairs(Stone3:GetChildren()) do
4129
	if v:IsA('ParticleEmitter')then
4130
		v.Rate = 0
4131
	end
4132
		end
4133
		
4134
		no_anim = false
4135
		end
4136
end)
4137
4138
4139
mouse.KeyDown:connect(function(key)
4140
	if key == "n" then
4141
		
4142
	end
4143
	end)
4144
4145
4146
mouse.KeyDown:connect(function(key)
4147
	if key == "t" then
4148
	local Aura = Instance.new("ParticleEmitter",Stone4)
4149
Aura.Texture = "rbxassetid://271370648"
4150
Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
4151
Aura.EmissionDirection = "Top"
4152
Aura.Speed = NumberRange.new(0)
4153
Aura.Size = NumberSequence.new(2.5)
4154
Aura.Transparency = NumberSequence.new(0,1)
4155
Aura.Drag = 0.4
4156
Aura.LightInfluence = 0
4157
Aura.LockedToPart = true
4158
Aura.Lifetime = NumberRange.new(0.9)
4159
Aura.Rate = 60
4160
Aura.LightEmission = 0.6
4161
Aura.Rotation = NumberRange.new(-360,360)
4162
Aura.VelocitySpread = 0
4163
Aura.Acceleration = Vector3.new(0,0,0)	
4164
Aura.ZOffset = 0.2
4165
	no_anim = true
4166
		for i = 1, 15 do
4167
		wait()
4168
	
4169
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
4170
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
4171
		end
4172
		
4173
			local Grab = Instance.new("Part",root)
4174
	Grab.Size = Vector3.new(5.2,5.8,3.9)
4175
	Grab.CanCollide = false
4176
	Grab.Material = "Neon"
4177
	Grab.BrickColor = BrickColor.new("Really red")
4178
	Grab.Transparency = 0.5
4179
	local Hat2 = Instance.new("SpecialMesh",Grab)
4180
Hat2.MeshType = 3
4181
Hat2.Scale = Vector3.new(3.35,3.15,0.95)
4182
	local Grabo = Instance.new("Weld",Grab)
4183
	Grabo.Part0 = root
4184
	Grabo.Part1 = Grab
4185
	Grabo.C0 = CFrame.new(0,0.3,-6.8)
4186
	
4187
local AuraB = Instance.new("Part",root)
4188
	AuraB.Size = Vector3.new(2,1,2)
4189
	AuraB.CanCollide = false
4190
	AuraB.BrickColor = BrickColor.new("Deep orange")
4191
	AuraB.Transparency = 1
4192
	local AuraBo = Instance.new("Weld",AuraB)
4193
	AuraBo.Part0 = root
4194
	AuraBo.Part1 = AuraB
4195
	AuraBo.C0 = CFrame.new(0,-0.6,0)
4196
	Grab.Touched:connect(function(hit)
4197
	if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
4198
		
4199
		
4200
Snap(hit.Parent)
4201
			local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
4202
			Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
4203
			Fl.velocity = root.CFrame.lookVector*340
4204
			wait(0.05)
4205
			Fl:remove()
4206
		
4207
		end
4208
	end)
4209
		
4210
		
4211
		end
4212
end)
4213
mouse.KeyUp:connect(function(key)
4214
	if key == "t" then
4215
		
4216
			for i, v in pairs(root:GetChildren()) do
4217
	if v:IsA("Part")then
4218
		v:Remove()
4219
	end
4220
			end
4221
			for i, v in pairs(Stone4:GetChildren()) do
4222
	if v:IsA("ParticleEmitter")then
4223
		v.Rate = 0
4224
	end
4225
		end
4226
		
4227
		no_anim = false
4228
		end
4229
	end)
4230
4231
4232
mouse.KeyDown:connect(function(k)
4233
if k == "e" and MUI == false then --highjump
4234
	
4235
	animid = 5
4236
	no_anim = true
4237
4238
	local sbs = Instance.new("BodyPosition", torso)
4239
        sbs.P = 9000
4240
        sbs.D = 1000
4241
        sbs.maxForce = Vector3.new(900000, 9000000000, 900000)
4242
        sbs.position = torso.CFrame.p + Vector3.new(0, 150, 0)
4243
local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position = Vector3.new(0,0.5,0)
4244
local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-0.5,0)
4245
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
4246
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
4247
Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission = 5
4248
	
4249
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head
4250
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4251
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm
4252
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm
4253
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg
4254
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
4255
	
4256
		
4257
		
4258
			local HQ = Instance.new("Part",char)
4259
			HQ.Size = Vector3.new(1,0,1)
4260
			HQ.BrickColor = BrickColor.new("New Yeller")
4261
			HQ.Material = "Neon"
4262
			HQ.Anchored = true
4263
			HQ.CanCollide = false
4264
			HQ.Transparency = 0.7
4265
			HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4266
			local HQ2 = Instance.new("SpecialMesh",HQ)
4267
			HQ2.MeshId = "rbxassetid://20329976"
4268
			HQ2.Scale = Vector3.new(1,50,1)
4269
		
4270
			local HQG = Instance.new("Part",char)
4271
			HQG.Size = Vector3.new(1,0,1)
4272
			HQG.BrickColor = BrickColor.new("Grey")
4273
			HQG.Material = "Neon"
4274
			HQG.Anchored = true
4275
			HQG.Transparency = 0.7
4276
			HQG.CanCollide = false
4277
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4278
			local HQG2 = Instance.new("SpecialMesh",HQG)
4279
			HQG2.MeshId = "rbxassetid://20329976"
4280
			HQG2.Scale = Vector3.new(1,1,1)
4281
			
4282
			
4283
			coroutine.resume(coroutine.create(function()
4284
			for i = 1,500 do
4285
			HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
4286
			HQ.Transparency = HQ.Transparency + 0.005
4287
			HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4288
			
4289
			HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
4290
			HQG.Transparency = HQG.Transparency + 0.005
4291
			HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4292
			
4293
			wait(0.00000000001)
4294
		
4295
				
4296
			end
4297
				HQ:Destroy()
4298
			HQ2:Destroy()
4299
			HQG:Destroy()
4300
			HQG2:Destroy()
4301
			end))
4302
4303
	
4304
	wait(0.5)
4305
	sbs:Destroy()
4306
4307
	FlyAt:Destroy()
4308
	wait(0.2)
4309
	
4310
	no_anim = false
4311
	instinct = true
4312
end
4313
end)
4314
4315
4316
mouse.KeyDown:connect(function(k)
4317
if k == "e" and MUI == true then --highjump
4318
	
4319
	animid = 5
4320
	no_anim = true
4321
	hum.WalkSpeed = 60
4322
	local sbs = Instance.new("BodyPosition", torso)
4323
        sbs.P = 9000
4324
        sbs.D = 1000
4325
        sbs.maxForce = Vector3.new(900000, 9000000000, 900000)
4326
        sbs.position = torso.CFrame.p + Vector3.new(0, 120, 0)
4327
local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0)
4328
local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0)
4329
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
4330
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
4331
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
4332
	
4333
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head
4334
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4335
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm
4336
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm
4337
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg
4338
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
4339
	
4340
		
4341
		
4342
			local HQ = Instance.new("Part",char)
4343
			HQ.Size = Vector3.new(1,0,1)
4344
			HQ.BrickColor = BrickColor.new("Grey")
4345
			HQ.Material = "Neon"
4346
			HQ.Anchored = true
4347
			HQ.CanCollide = false
4348
			HQ.Transparency = 0.7
4349
			HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4350
			local HQ2 = Instance.new("SpecialMesh",HQ)
4351
			HQ2.MeshId = "rbxassetid://20329976"
4352
			HQ2.Scale = Vector3.new(1,1,1)
4353
		
4354
			local HQG = Instance.new("Part",char)
4355
			HQG.Size = Vector3.new(1,0,1)
4356
			HQG.BrickColor = BrickColor.new("Grey")
4357
			HQG.Material = "Neon"
4358
			HQG.Anchored = true
4359
			HQG.Transparency = 0.7
4360
			HQG.CanCollide = false
4361
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4362
			local HQG2 = Instance.new("SpecialMesh",HQG)
4363
			HQG2.MeshId = "rbxassetid://20329976"
4364
			HQG2.Scale = Vector3.new(1,1,1)
4365
			
4366
			
4367
			coroutine.resume(coroutine.create(function()
4368
			for i = 1,200 do
4369
			HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
4370
			HQ.Transparency = HQ.Transparency + 0.01
4371
			HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4372
			
4373
			HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
4374
			HQG.Transparency = HQG.Transparency + 0.01
4375
			HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4376
			
4377
			wait(0.00000000001)
4378
		
4379
				
4380
			end
4381
				HQ:Destroy()
4382
			HQ2:Destroy()
4383
			HQG:Destroy()
4384
			HQG2:Destroy()
4385
			end))
4386
4387
	
4388
	wait(0.5)
4389
	sbs:Destroy()
4390
	hum.WalkSpeed = 260
4391
	FlyAt:Destroy()
4392
	wait(0.2)
4393
	hum.WalkSpeed = 16
4394
	no_anim = false
4395
	instinct = true
4396
end
4397
end)
4398
4399
mouse.KeyDown:connect(function(k)
4400
if k == "q" and MUI == false then --highjump
4401
	
4402
	animid = 5
4403
	no_anim = true
4404
	
4405
	local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0)
4406
local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0)
4407
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
4408
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
4409
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
4410
	local bv = Instance.new("BodyVelocity")
4411
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4412
  bv.velocity = root.CFrame.lookVector*200
4413
  bv.Parent = root
4414
4415
	
4416
4417
for i = 1, 30 do
4418
	wait()
4419
		
4420
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head
4421
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso
4422
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm
4423
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm
4424
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg
4425
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg
4426
		end
4427
4428
4429
	
4430
	
4431
		
4432
		
4433
		
4434
4435
	
4436
	wait(0.5)
4437
	bv:Destroy()
4438
	
4439
	wait(0.2)
4440
	
4441
4442
FlyAt:Destroy()
4443
	no_anim = false
4444
end
4445
end)
4446
holdclick=false
4447
4448
mouse.KeyDown:connect(function(k)
4449
if k == "q" and MUI == true then --highjump
4450
	
4451
	animid = 5
4452
	no_anim = true
4453
	hum.WalkSpeed = 60
4454
	local bv = Instance.new("BodyVelocity")
4455
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4456
  bv.velocity = root.CFrame.lookVector*190
4457
  bv.Parent = root
4458
4459
	local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,1,0)
4460
local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-1,0)
4461
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
4462
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
4463
Speed.Color = ColorSequence.new(Color3.fromRGB(4, 175, 236)) Speed.LightEmission = 5
4464
	
4465
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), 0.8)--torso
4466
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-80),math.rad(0),math.rad(0)), 0.8)--rarm
4467
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-85),math.rad(0),math.rad(0)), 0.8)--larm
4468
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-60),math.rad(0),math.rad(-10)), 0.8)--lleg
4469
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.3, -1) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
4470
	
4471
		
4472
		
4473
			local HQ = Instance.new("Part",char)
4474
			HQ.Size = Vector3.new(1,0,1)
4475
			HQ.BrickColor = BrickColor.new("Grey")
4476
			HQ.Material = "Neon"
4477
			HQ.Anchored = true
4478
			HQ.CanCollide = false
4479
			HQ.Transparency = 0.7
4480
			HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0)
4481
			local HQ2 = Instance.new("SpecialMesh",HQ)
4482
			HQ2.MeshId = "rbxassetid://20329976"
4483
			HQ2.Scale = Vector3.new(1,1,1)
4484
		
4485
			local HQG = Instance.new("Part",char)
4486
			HQG.Size = Vector3.new(1,0,1)
4487
			HQG.BrickColor = BrickColor.new("Grey")
4488
			HQG.Material = "Neon"
4489
			HQG.Anchored = true
4490
			HQG.Transparency = 0.7
4491
			HQG.CanCollide = false
4492
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0)
4493
			local HQG2 = Instance.new("SpecialMesh",HQG)
4494
			HQG2.MeshId = "rbxassetid://20329976"
4495
			HQG2.Scale = Vector3.new(1,1,1)
4496
			
4497
			
4498
			coroutine.resume(coroutine.create(function()
4499
			for i = 1,200 do
4500
			HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
4501
			HQ.Transparency = HQ.Transparency + 0.01
4502
			HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4503
			
4504
			HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
4505
			HQG.Transparency = HQG.Transparency + 0.01
4506
			HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4507
			
4508
			wait()
4509
		
4510
				
4511
			end
4512
				HQ:Destroy()
4513
			HQ2:Destroy()
4514
			HQG:Destroy()
4515
			HQG2:Destroy()
4516
			end))
4517
4518
	
4519
	wait(0.5)
4520
	bv:Destroy()
4521
	hum.WalkSpeed = 60
4522
	wait(0.2)
4523
	hum.WalkSpeed = 16
4524
	FlyAt:Destroy()
4525
	no_anim = false
4526
	instinct = true
4527
end
4528
end)
4529
mouse.KeyDown:connect(function(k)
4530
if k == "l" then
4531
	
4532
	animid = 5
4533
	no_anim = true
4534
UltimateBattle:Stop()
4535
	
4536
	
4537
		for i = 1, 10 do
4538
		wait()
4539
		
4540
		            
4541
		              torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4542
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
4543
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(0)), 0.8)--larm
4544
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
4545
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
4546
		end
4547
		wait(2)
4548
		local SFXZ = Instance.new("Sound",char)
4549
			SFXZ.SoundId = "rbxassetid://242076158"
4550
			SFXZ.Volume = 10
4551
			SFXZ.Pitch = 1
4552
			SFXZ.Looped = false
4553
			wait(0.01)
4554
			SFXZ:Play()
4555
			
4556
		for i = 1, 10 do
4557
		wait()
4558
		
4559
		            
4560
		              torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4561
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
4562
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(30),math.rad(0)), 0.8)--larm
4563
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
4564
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
4565
		end
4566
		
4567
	
4568
		coroutine.resume(coroutine.create(function()
4569
			for i = 3,80 do 
4570
			local Ball = Instance.new("Part",char)
4571
			Ball.Size = Vector3.new(0,0,0)
4572
			Ball.BrickColor = BrickColor.new("White")
4573
			Ball.Material = "Neon"
4574
			Ball.Anchored = true
4575
			Ball.CanCollide = false
4576
			Ball.Transparency = 0
4577
			Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
4578
			local Ball2 = Instance.new("SpecialMesh",Ball)
4579
			Ball2.MeshType = 3
4580
			Ball2.Scale = Vector3.new(0.4,0.4,0.4)
4581
		
4582
	
4583
			
4584
			
4585
			coroutine.resume(coroutine.create(function()
4586
			for i = 1,15 do
4587
			Ball2.Scale = Ball2.Scale + Vector3.new(1980.4,1980.4,1980.4)
4588
			Ball.Transparency = Ball.Transparency + 0.06
4589
			
4590
			wait(0.00000000001)
4591
			end
4592
			Ball:Destroy()
4593
			
4594
				
4595
			end))
4596
			wait(0.02)
4597
			end
4598
		end))
4599
	
4600
wait(5)
4601
4602
	
4603
	  
4604
                                   
4605
	coroutine.wrap(function()
4606
	    for i,v in next, workspace:children() do
4607
	        if v:IsA"Model" or v:IsA"Part" then
4608
	            if v:FindFirstChildOfClass"Humanoid" and v ~= char then
4609
	                Eviscerate(v)
4610
	               	if v:FindFirstChildOfClass"Humanoid" then   Eviscerate(v) end
4611
	                wait(.15)
4612
    local Tower = Workspace
4613
local Parts = {}
4614
4615
--//=================================\\
4616
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
4617
--\\=================================//
4618
4619
ArtificialHB = Instance.new("BindableEvent", script)
4620
ArtificialHB.Name = "ArtificialHB"
4621
4622
script:WaitForChild("ArtificialHB")
4623
4624
frame = 1/60
4625
tf = 0
4626
allowframeloss = false
4627
tossremainder = false
4628
lastframe = tick()
4629
script.ArtificialHB:Fire()
4630
4631
game:GetService("RunService").Heartbeat:connect(function(s, p)
4632
	tf = tf + s
4633
	if tf >= frame then
4634
		if allowframeloss then
4635
			script.ArtificialHB:Fire()
4636
			lastframe = tick()
4637
		else
4638
			for i = 1, math.floor(tf / frame) do
4639
				script.ArtificialHB:Fire()
4640
			end
4641
		lastframe = tick()
4642
		end
4643
		if tossremainder then
4644
			tf = 0
4645
		else
4646
			tf = tf - frame * math.floor(tf / frame)
4647
		end
4648
	end
4649
end)
4650
4651
--//=================================\\
4652
--\\=================================//
4653
4654
function Swait(NUMBER)
4655
	if NUMBER == 0 or NUMBER == nil then
4656
		ArtificialHB.Event:wait()
4657
	else
4658
		for i = 1, NUMBER do
4659
			ArtificialHB.Event:wait()
4660
		end
4661
	end
4662
end
4663
4664
function TrulyRandom(Min,Max,Type)
4665
	local RANDOMNUM = Random.new()
4666
	if Type == "Integer" then
4667
		RANDOMNUM = RANDOMNUM:NextInteger(Min,Max)
4668
	elseif Type == "Number" then
4669
		RANDOMNUM = RANDOMNUM:NextNumber(Min,Max)
4670
	end
4671
	return RANDOMNUM
4672
end
4673
4674
for i,v in pairs(Tower:GetDescendants()) do
4675
	if v:IsA("BasePart") then
4676
		table.insert(Parts, {v,v.CFrame,v.CanCollide,v.Transparency})
4677
	end
4678
end
4679
4680
for e = 1,#Parts do
4681
	if Parts[e] then
4682
		Swait()
4683
		local STUFF = Parts[e]
4684
		local PART = STUFF[1]
4685
		local CFRAME = STUFF[2]
4686
		local CANCOLLIDE = STUFF[3]
4687
		local TRANSPARENCY = STUFF[4]
4688
		PART.CanCollide = false
4689
		PART.Anchored = true
4690
		local Tween = game:GetService('TweenService'):Create(PART,TweenInfo.new(1),{CFrame = PART.CFrame * CFrame.new(TrulyRandom(-5,50,"Integer"),TrulyRandom(-5,25,"Integer"),TrulyRandom(-5,50,"Integer")) * CFrame.Angles(math.rad(TrulyRandom(10,50,"Integer")),math.rad(TrulyRandom(10,50,"Integer")),math.rad(TrulyRandom(10,50,"Integer"))),Transparency = 1})
4691
		Tween:Play()
4692
	end
4693
end
4694
	            end
4695
	        end   
4696
	    end
4697
	end)()
4698
	  
4699
	
4700
	wait(10)
4701
	no_anim = false
4702
4703
	
4704
	
4705
end
4706
end)
4707
4708
4709
4710
	
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
mouse.KeyDown:connect(function(key)
4722
if debounce == false then
4723
if key == "=" and MUI == true then
4724
dashasdf()
4725
elseif key == "=" and cooldownult == false then
4726
cooldownult = true
4727
if animid == 0 then
4728
animid = 1
4729
else
4730
animid = 0
4731
end
4732
debounce = true
4733
holdr = true
4734
aiming_anim = true
4735
wait(0.2)
4736
repeat 
4737
rs:wait()
4738
timer = 150
4739
until holdr == false
4740
nukewelpo()
4741
4742
local Position = mouse.Hit.p
4743
local Target = root.Position
4744
local direction = Target - Position
4745
local direction = computeDirection(direction)
4746
root.Velocity = direction * 300
4747
4748
aiming_anim = false
4749
delay(5,function() cooldownult = false end)
4750
delay(1,function() debounce = false end)
4751
4752
elseif key == "=" then
4753
debounce = true
4754
if animid == 0 then
4755
animid = 1
4756
else
4757
animid = 0
4758
end
4759
holdq = true
4760
attack = true
4761
4762
			
4763
		
4764
4765
repeat rs:wait() timer = 150 until holdq == false
4766
laz0r()
4767
attack = false
4768
		
4769
end
4770
end
4771
4772
end)
4773
4774
mouse.KeyUp:connect(function(key)
4775
if key == "=" then
4776
holdq = false
4777
elseif key == "=" then
4778
holdr = false
4779
end
4780
end)
4781
--
4782
hum.Name = 'Goku'
4783
----------------------------------------------------------------------------
4784
music(themeid,themepitch)
4785
velocityYFall=0
4786
velocityYFall2=0
4787
velocityYFall3=0
4788
velocityYFall4=0
4789
neckrotY=0
4790
neckrotY2=0
4791
torsorotY=0
4792
torsorotY2=0
4793
torsoY=0
4794
torsoY2=0
4795
sine = 0
4796
newWeld(torso, larm, -1.5, 0.5, 0)
4797
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
4798
newWeld(torso, rarm, 1.5, 0.5, 0)
4799
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
4800
newWeld(torso, hed, 0, 1.5, 0)
4801
newWeld(torso, lleg, -0.5, -1, 0)
4802
lleg.Weld.C1 = CFrame.new(0, 1, 0)
4803
newWeld(torso, rleg, 0.5, -1, 0)
4804
rleg.Weld.C1 = CFrame.new(0, 1, 0)
4805
newWeld(root, torso, 0, -1, 0)
4806
torso.Weld.C1 = CFrame.new(0, -1, 0)
4807
4808
rs:connect(function()
4809
4810
bg.MaxTorque = Vector3.new(0,0,0)
4811
4812
for i,v in pairs(DebrisModel:GetChildren()) do
4813
    
4814
4815
if v.Name == "EXPLOSION" then
4816
local change = 0.04-(v.Transparency*0.02)
4817
local vm = v:FindFirstChildOfClass("SpecialMesh")
4818
vm.Scale = vm.Scale + Vector3.new(change,change,change)
4819
v.Transparency = v.Transparency + 0.02
4820
if v.Transparency >= 1 then
4821
v:Destroy()
4822
end
4823
4824
elseif v.Name == "EXPLOSION2" then
4825
local change = 0.04-(v.Transparency*0.04)
4826
local vm = v:FindFirstChildOfClass("SpecialMesh")
4827
vm.Scale = vm.Scale + Vector3.new(change,change,0)
4828
v.Transparency = v.Transparency + 0.025
4829
if v.Transparency >= 1 then
4830
v:Destroy()
4831
end
4832
4833
elseif v.Name == "EXPLOSION3" then
4834
local change = 0.5-(v.Transparency*0.5)
4835
local vm = v:FindFirstChildOfClass("SpecialMesh")
4836
vm.Scale = vm.Scale + Vector3.new(change,change,0)
4837
v.Transparency = v.Transparency + 0.1
4838
if v.Transparency >= 1 then
4839
v:Destroy()
4840
end
4841
4842
elseif v.Name == "EXPLOSION4" then
4843
local change = 0.15-(v.Transparency*0.125)
4844
local vm = v:FindFirstChildOfClass("SpecialMesh")
4845
vm.Scale = vm.Scale + Vector3.new(change,change,change)
4846
v.Transparency = v.Transparency + 0.01
4847
if v.Transparency >= 1 then
4848
v:Destroy()
4849
end
4850
4851
elseif v.Name == "SMOKE" then
4852
local vm = v:FindFirstChildOfClass("SpecialMesh")
4853
vm.Scale = vm.Scale - Vector3.new(0.075,0.075,0.075)
4854
if vm.Scale.X <= 0 then
4855
v:Destroy()
4856
end
4857
4858
elseif v.Name == "SMOKE2" then
4859
local change = 2-(v.Transparency*2)
4860
local vm = v:FindFirstChildOfClass("SpecialMesh")
4861
local Position = nil
4862
if animid == 0 then
4863
Position = larm.Position
4864
else
4865
Position = rarm.Position
4866
end
4867
local Target = mouse.Hit.p
4868
local direction = Target - Position
4869
local direction = computeDirection(direction)
4870
local ray = Ray.new(Position, (Target-Position).unit*1048)
4871
local part, endPoint = workspace:FindPartOnRay(ray, char)
4872
vm.Scale = Vector3.new(vm.Scale.X,(Position-endPoint).magnitude,vm.Scale.Z) + Vector3.new(change,0,change)
4873
local pos = Position + (direction * (vm.Scale.Y/2))
4874
v.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
4875
vm.Offset = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,0)
4876
v.Transparency = v.Transparency + 0.1
4877
if v.Transparency >= 1 then
4878
v:Destroy()
4879
end
4880
4881
4882
elseif v.Name == "LIGHTNING" then
4883
local vm = v:FindFirstChildOfClass("BlockMesh")
4884
vm.Scale = vm.Scale - Vector3.new(0.1,0.1,0)
4885
if vm.Scale.X <= 0 then
4886
v:Destroy()
4887
end
4888
4889
end
4890
end
4891
4892
if -root.Velocity.Y/1.5 > 0 and -root.Velocity.Y/1.5 < 160 then
4893
velocityYFall = root.Velocity.Y/1.5
4894
end
4895
if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then
4896
velocityYFall2 = root.Velocity.Y/180
4897
end
4898
if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then
4899
velocityYFall3 = root.Velocity.Y/1.5
4900
end
4901
if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then
4902
velocityYFall4 = root.Velocity.Y/1.5
4903
end
4904
if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then
4905
neckrotY = root.RotVelocity.Y/6
4906
end
4907
if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then
4908
neckrotY2 = root.RotVelocity.Y/8
4909
end
4910
4911
if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then
4912
torsorotY = root.RotVelocity.Y/6
4913
end
4914
if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then
4915
torsorotY2 = root.RotVelocity.Y/8
4916
end
4917
4918
4919
torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
4920
torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
4921
4922
4923
local SINE = 0
4924
local jumped = false
4925
local ray1 = Ray.new(root.Position+Vector3.new(1,0,0),Vector3.new(0, -6, 0))
4926
local part1, endPoint = workspace:FindPartOnRay(ray1, char)
4927
local ray2 = Ray.new(root.Position-Vector3.new(1,0,0),Vector3.new(0, -6, 0))
4928
local part2, endPoint = workspace:FindPartOnRay(ray2, char)
4929
local ray3 = Ray.new(root.Position+Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
4930
local part3, endPoint = workspace:FindPartOnRay(ray3, char)
4931
local ray4 = Ray.new(root.Position-Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
4932
local part4, endPoint = workspace:FindPartOnRay(ray4, char)
4933
4934
if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end
4935
4936
local rlegray = Ray.new(rleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
4937
local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
4938
local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
4939
	local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
4940
	
4941
local llegray = Ray.new(lleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
4942
local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
4943
local sizem = 1
4944
if no_anim == false then
4945
if hum.Health > 0 then
4946
if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
4947
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
4948
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-10),0,0),0.1)
4949
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62-(movement/30)*math.cos(sine/4)/2,(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5-(movement*2)*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
4950
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+(movement/30)*math.cos(sine/4)/2,-(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5+(movement*2)*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
4951
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+(movement/20)*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-(change*20)-4*math.cos(sine/2)), torsorotY2+math.rad(0-4*math.cos(sine/4)), torsorotY2+math.rad(0-1*math.cos(sine/4))), 0.1)
4952
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.85-(movement/10)*math.cos(sine/4)/2,-0.1+(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)-movement*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
4953
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.85+(movement/10)*math.cos(sine/4)/2,-0.1-(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)+movement*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
4954
elseif jumped == true then
4955
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
4956
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0),0.1)
4957
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-50-1*math.cos(sine/8))), 0.2)
4958
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(50+1*math.cos(sine/8))), 0.2)
4959
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
4960
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(-35-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
4961
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0+0.1*math.cos(sine/16),-0.8)*CFrame.Angles(math.rad(-25+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
4962
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5 then
4963
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
4964
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-15),0,0),0.1)
4965
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-5-1*math.cos(sine/8))), 0.2)
4966
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(5+1*math.cos(sine/8))), 0.2)
4967
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
4968
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
4969
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
4970
end
4971
for i=1,5 do
4972
if aiming_anim == true then
4973
bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
4974
if jumped == false then
4975
bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
4976
else
4977
bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
4978
end
4979
if animid == 0 then
4980
hed.Weld.C1 =  Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(-80),0),0.4)
4981
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
4982
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
4983
else
4984
	if animid == 5 then
4985
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)), 1)--head
4986
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), 1)--torso
4987
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,0)*CFrame.Angles(math.rad(30),math.rad(-40),math.rad(-10)), 1)--rarm
4988
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.2,-0.2)*CFrame.Angles(math.rad(30),math.rad(40),math.rad(40)), 1)--larm
4989
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 1)--lleg
4990
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 1)--rleg
4991
else
4992
hed.Weld.C1 =  Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(80),0),0.4)
4993
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(80), math.rad(0-1*math.cos(sine/32))),0.2)
4994
rarm.Weld.C0 = Lerp(rarm.Weld.C0,CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(10-1*math.cos(sine/16)),math.rad(90+1*math.cos(sine/8))),0.4)
4995
	end
4996
	end
4997
else
4998
if timer <= 0 then
4999
animid = math.random(0,1)
5000
else
5001
timer = timer - 1
5002
end
5003
end
5004
end
5005
end
5006
end
5007
main_color = Color3.fromRGB(main.r,main.g,main.b)
5008
pr.Value = main.r
5009
pg.Value = main.g
5010
pb.Value = main.b
5011
pv.Value = main.v
5012
idth.Value = themeid
5013
pith.Value = themepitch
5014
HName.TextStrokeColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v/2)
5015
HName.TextColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v)
5016
sine = sine + change
5017
if hum.Health <= 0 then
5018
debounce = true
5019
end
5020
end)