View difference between Paste ID: pS6C48T4 and kt1EghfF
SHOW: | | - or go back to the newest paste.
1
LocalScript1.Name = "TerraGod"
2-
LocalScript1.Parent = ModuleScript0
2+
LocalScript1.Parent = ModuleScript1
3
table.insert(cors,sandbox(LocalScript1,function()
4
--//====================================================\\--
5
--||			   CREATED BY SHACKLUSTER
6
--\\====================================================//--
7
8
wait(0.2)
9
10
Player = game:GetService("Players").LocalPlayer
11
PlayerGui = Player.PlayerGui
12
Cam = workspace.CurrentCamera
13
Backpack = Player.Backpack
14
Character = Player.Character
15
Humanoid = Character.Humanoid
16
Mouse = Player:GetMouse()
17
RootPart = Character["HumanoidRootPart"]
18
Torso = Character["Torso"]
19
Head = Character["Head"]
20
RightArm = Character["Right Arm"]
21
LeftArm = Character["Left Arm"]
22
RightLeg = Character["Right Leg"]
23
LeftLeg = Character["Left Leg"]
24
RootJoint = RootPart["RootJoint"]
25
Neck = Torso["Neck"]
26
RightShoulder = Torso["Right Shoulder"]
27
LeftShoulder = Torso["Left Shoulder"]
28
RightHip = Torso["Right Hip"]
29
LeftHip = Torso["Left Hip"]
30
31
IT = Instance.new
32
CF = CFrame.new
33
VT = Vector3.new
34
RAD = math.rad
35
C3 = Color3.new
36
UD2 = UDim2.new
37
BRICKC = BrickColor.new
38
ANGLES = CFrame.Angles
39
EULER = CFrame.fromEulerAnglesXYZ
40
COS = math.cos
41
ACOS = math.acos
42
SIN = math.sin
43
ASIN = math.asin
44
ABS = math.abs
45
MRANDOM = math.random
46
FLOOR = math.floor
47
48
--//=================================\\
49
--|| 	      USEFUL VALUES
50
--\\=================================//
51
52
Animation_Speed = 3
53
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
54
local Speed = 35
55
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
56
local NECKC0 = CF(0, 1.75, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
57
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
58
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
59
local DAMAGEMULTIPLIER = 1
60
local ANIM = "Idle"
61
local ATTACK = false
62
local EQUIPPED = false
63
local HOLD = false
64
local COMBO = 1
65
local Rooted = false
66
local SINE = 0
67
local KEYHOLD = false
68
local CHANGE = 2 / Animation_Speed
69
local WALKINGANIM = false
70
local VALUE1 = false
71
local VALUE2 = false
72
local ROBLOXIDLEANIMATION = IT("Animation")
73
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
74
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
75
--ROBLOXIDLEANIMATION.Parent = Humanoid
76
local WEAPONGUI = IT("ScreenGui", PlayerGui)
77
WEAPONGUI.Name = "Weapon GUI"
78
local Effects = IT("Folder", Character)
79
Effects.Name = "Effects"
80
local ANIMATOR = Humanoid.Animator
81
local ANIMATE = Character.Animate
82
local UNANCHOR = true
83
local PLAYSONG = true
84
local EXTRATRANS = 0
85
86
--//=================================\\
87
--\\=================================//
88
89
90
--//=================================\\
91
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
92
--\\=================================//
93
94
ArtificialHB = Instance.new("BindableEvent", script)
95
ArtificialHB.Name = "ArtificialHB"
96
97
script:WaitForChild("ArtificialHB")
98
99
frame = Frame_Speed
100
tf = 0
101
allowframeloss = false
102
tossremainder = false
103
lastframe = tick()
104
script.ArtificialHB:Fire()
105
106
game:GetService("RunService").Heartbeat:connect(function(s, p)
107
	tf = tf + s
108
	if tf >= frame then
109
		if allowframeloss then
110
			script.ArtificialHB:Fire()
111
			lastframe = tick()
112
		else
113
			for i = 1, math.floor(tf / frame) do
114
				script.ArtificialHB:Fire()
115
			end
116
		lastframe = tick()
117
		end
118
		if tossremainder then
119
			tf = 0
120
		else
121
			tf = tf - frame * math.floor(tf / frame)
122
		end
123
	end
124
end)
125
126
--//=================================\\
127
--\\=================================//
128
129
--//=================================\\
130
--|| 	      SOME FUNCTIONS
131
--\\=================================//
132
133
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
134
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
135
end
136
137
function PositiveAngle(NUMBER)
138
	if NUMBER >= 0 then
139
		NUMBER = 0
140
	end
141
	return NUMBER
142
end
143
144
function NegativeAngle(NUMBER)
145
	if NUMBER <= 0 then
146
		NUMBER = 0
147
	end
148
	return NUMBER
149
end
150
151
function Swait(NUMBER)
152
	if NUMBER == 0 or NUMBER == nil then
153
		ArtificialHB.Event:wait()
154
	else
155
		for i = 1, NUMBER do
156
			ArtificialHB.Event:wait()
157
		end
158
	end
159
end
160
161
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
162
	local NEWMESH = IT(MESH)
163
	if MESH == "SpecialMesh" then
164
		NEWMESH.MeshType = MESHTYPE
165
		if MESHID ~= "nil" and MESHID ~= "" then
166
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
167
		end
168
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
169
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
170
		end
171
	end
172
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
173
	NEWMESH.Scale = SCALE
174
	NEWMESH.Parent = PARENT
175
	return NEWMESH
176
end
177
178
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
179
	local NEWPART = IT("Part")
180
	NEWPART.formFactor = FORMFACTOR
181
	NEWPART.Reflectance = REFLECTANCE
182
	NEWPART.Transparency = TRANSPARENCY
183
	NEWPART.CanCollide = false
184
	NEWPART.Locked = true
185
	NEWPART.Anchored = true
186
	if ANCHOR == false then
187
		NEWPART.Anchored = false
188
	end
189
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
190
	NEWPART.Name = NAME
191
	NEWPART.Size = SIZE
192
	NEWPART.Position = Torso.Position
193
	NEWPART.Material = MATERIAL
194
	NEWPART:BreakJoints()
195
	NEWPART.Parent = PARENT
196
	return NEWPART
197
end
198
199
	local function weldBetween(a, b)
200
	    local weldd = Instance.new("ManualWeld")
201
	    weldd.Part0 = a
202
	    weldd.Part1 = b
203
	    weldd.C0 = CFrame.new()
204
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
205
	    weldd.Parent = a
206
	    return weldd
207
	end
208
209
210
function QuaternionFromCFrame(cf)
211
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
212
	local trace = m00 + m11 + m22
213
	if trace > 0 then 
214
		local s = math.sqrt(1 + trace)
215
		local recip = 0.5 / s
216
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
217
	else
218
		local i = 0
219
		if m11 > m00 then
220
			i = 1
221
		end
222
		if m22 > (i == 0 and m00 or m11) then
223
			i = 2
224
		end
225
		if i == 0 then
226
			local s = math.sqrt(m00 - m11 - m22 + 1)
227
			local recip = 0.5 / s
228
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
229
		elseif i == 1 then
230
			local s = math.sqrt(m11 - m22 - m00 + 1)
231
			local recip = 0.5 / s
232
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
233
		elseif i == 2 then
234
			local s = math.sqrt(m22 - m00 - m11 + 1)
235
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
236
		end
237
	end
238
end
239
 
240
function QuaternionToCFrame(px, py, pz, x, y, z, w)
241
	local xs, ys, zs = x + x, y + y, z + z
242
	local wx, wy, wz = w * xs, w * ys, w * zs
243
	local xx = x * xs
244
	local xy = x * ys
245
	local xz = x * zs
246
	local yy = y * ys
247
	local yz = y * zs
248
	local zz = z * zs
249
	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))
250
end
251
 
252
function QuaternionSlerp(a, b, t)
253
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
254
	local startInterp, finishInterp;
255
	if cosTheta >= 0.0001 then
256
		if (1 - cosTheta) > 0.0001 then
257
			local theta = ACOS(cosTheta)
258
			local invSinTheta = 1 / SIN(theta)
259
			startInterp = SIN((1 - t) * theta) * invSinTheta
260
			finishInterp = SIN(t * theta) * invSinTheta
261
		else
262
			startInterp = 1 - t
263
			finishInterp = t
264
		end
265
	else
266
		if (1 + cosTheta) > 0.0001 then
267
			local theta = ACOS(-cosTheta)
268
			local invSinTheta = 1 / SIN(theta)
269
			startInterp = SIN((t - 1) * theta) * invSinTheta
270
			finishInterp = SIN(t * theta) * invSinTheta
271
		else
272
			startInterp = t - 1
273
			finishInterp = t
274
		end
275
	end
276
	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
277
end
278
279
function Clerp(a, b, t)
280
	local qa = {QuaternionFromCFrame(a)}
281
	local qb = {QuaternionFromCFrame(b)}
282
	local ax, ay, az = a.x, a.y, a.z
283
	local bx, by, bz = b.x, b.y, b.z
284
	local _t = 1 - t
285
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
286
end
287
288
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
289
	local frame = IT("Frame")
290
	frame.BackgroundTransparency = TRANSPARENCY
291
	frame.BorderSizePixel = BORDERSIZEPIXEL
292
	frame.Position = POSITION
293
	frame.Size = SIZE
294
	frame.BackgroundColor3 = COLOR
295
	frame.BorderColor3 = BORDERCOLOR
296
	frame.Name = NAME
297
	frame.Parent = PARENT
298
	return frame
299
end
300
301
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
302
	local label = IT("TextLabel")
303
	label.BackgroundTransparency = 1
304
	label.Size = UD2(1, 0, 1, 0)
305
	label.Position = UD2(0, 0, 0, 0)
306
	label.TextColor3 = TEXTCOLOR
307
	label.TextStrokeTransparency = STROKETRANSPARENCY
308
	label.TextTransparency = TRANSPARENCY
309
	label.FontSize = TEXTFONTSIZE
310
	label.Font = TEXTFONT
311
	label.BorderSizePixel = BORDERSIZEPIXEL
312
	label.TextScaled = false
313
	label.Text = TEXT
314
	label.Name = NAME
315
	label.Parent = PARENT
316
	return label
317
end
318
319
function NoOutlines(PART)
320
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
321
end
322
323
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
324
	local NEWWELD = IT(TYPE)
325
	NEWWELD.Part0 = PART0
326
	NEWWELD.Part1 = PART1
327
	NEWWELD.C0 = C0
328
	NEWWELD.C1 = C1
329
	NEWWELD.Parent = PARENT
330
	return NEWWELD
331
end
332
333
local S = IT("Sound")
334
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
335
	local NEWSOUND = nil
336
	coroutine.resume(coroutine.create(function()
337
		NEWSOUND = S:Clone()
338
		NEWSOUND.Parent = PARENT
339
		NEWSOUND.Volume = VOLUME
340
		NEWSOUND.Pitch = PITCH
341
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
342
		NEWSOUND:play()
343
		if DOESLOOP == true then
344
			NEWSOUND.Looped = true
345
		else
346
			repeat wait(1) until NEWSOUND.Playing == false
347
			NEWSOUND:remove()
348
		end
349
	end))
350
	return NEWSOUND
351
end
352
353
function CFrameFromTopBack(at, top, back)
354
	local right = top:Cross(back)
355
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
356
end
357
358
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
359
function WACKYEFFECT(Table)
360
	local TYPE = (Table.EffectType or "Sphere")
361
	local SIZE = (Table.Size or VT(1,1,1))
362
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
363
	local TRANSPARENCY = (Table.Transparency or 0)
364
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
365
	local CFRAME = (Table.CFrame or Torso.CFrame)
366
	local MOVEDIRECTION = (Table.MoveToPos or nil)
367
	local ROTATION1 = (Table.RotationX or 0)
368
	local ROTATION2 = (Table.RotationY or 0)
369
	local ROTATION3 = (Table.RotationZ or 0)
370
	local MATERIAL = (Table.Material or "Neon")
371
	local COLOR = (Table.Color or C3(1,1,1))
372
	local TIME = (Table.Time or 45)
373
	local SOUNDID = (Table.SoundID or nil)
374
	local SOUNDPITCH = (Table.SoundPitch or nil)
375
	local SOUNDVOLUME = (Table.SoundVolume or nil)
376
	coroutine.resume(coroutine.create(function()
377
		local PLAYSSOUND = false
378
		local SOUND = nil
379
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
380
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
381
			PLAYSSOUND = true
382
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
383
		end
384
		EFFECT.Color = COLOR
385
		local MSH = nil
386
		if TYPE == "Sphere" then
387
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
388
		elseif TYPE == "Block" then
389
			MSH = IT("BlockMesh",EFFECT)
390
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
391
		elseif TYPE == "Wave" then
392
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
393
		elseif TYPE == "Ring" then
394
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
395
		elseif TYPE == "Slash" then
396
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
397
		elseif TYPE == "Round Slash" then
398
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
399
		elseif TYPE == "Swirl" then
400
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
401
		elseif TYPE == "Skull" then
402
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
403
		elseif TYPE == "Crystal" then
404
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
405
		end
406
		if MSH ~= nil then
407
			local MOVESPEED = nil
408
			if MOVEDIRECTION ~= nil then
409
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
410
			end
411
			local GROWTH = SIZE - ENDSIZE
412
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
413
			if TYPE == "Block" then
414
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
415
			else
416
				EFFECT.CFrame = CFRAME
417
			end
418
			for LOOP = 1, TIME+1 do
419
				Swait()
420
				MSH.Scale = MSH.Scale - GROWTH/TIME
421
				if TYPE == "Wave" then
422
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
423
				end
424
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
425
				if TYPE == "Block" then
426
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
427
				else
428
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
429
				end
430
				if MOVEDIRECTION ~= nil then
431
					local ORI = EFFECT.Orientation
432
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
433
					EFFECT.Orientation = ORI
434
				end
435
			end
436
			if PLAYSSOUND == false then
437
				EFFECT:remove()
438
			else
439
				repeat Swait() until EFFECT:FindFirstChild("Sound") == nil
440
				EFFECT:remove()
441
			end
442
		else
443
			if PLAYSSOUND == false then
444
				EFFECT:remove()
445
			else
446
				repeat Swait() until EFFECT:FindFirstChild("Sound") == nil
447
				EFFECT:remove()
448
			end
449
		end
450
	end))
451
end
452
453
function MakeForm(PART,TYPE)
454
	if TYPE == "Cyl" then
455
		local MSH = IT("CylinderMesh",PART)
456
	elseif TYPE == "Ball" then
457
		local MSH = IT("SpecialMesh",PART)
458
		MSH.MeshType = "Sphere"
459
	elseif TYPE == "Wedge" then
460
		local MSH = IT("SpecialMesh",PART)
461
		MSH.MeshType = "Wedge"
462
	end
463
end
464
465
Debris = game:GetService("Debris")
466
467
function CastProperRay(StartPos, EndPos, Distance, Ignore)
468
	local DIRECTION = CF(StartPos,EndPos).lookVector
469
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
470
end
471
472
local ROCK = script.Rock
473
ROCK.Parent = nil
474
function GetRock(FLOOROBJECT)
475
	local Rock = ROCK:Clone()
476
	Rock.Parent = Effects
477
	if FLOOROBJECT ~= nil then
478
		if FLOOROBJECT.Material ~= Enum.Material.Grass and FLOOROBJECT.Material ~= Enum.Material.Fabric then
479
			Rock.Material = FLOOROBJECT.Material
480
			Rock.Color = FLOOROBJECT.Color
481
		else
482
			Rock.Material = "Slate"
483
			Rock.Color = BRICKC"Dirt brown".Color
484
		end
485
	else
486
		Rock.Material = "Slate"
487
		Rock.Color = BRICKC"Dirt brown".Color
488
	end
489
	Rock.Core.Emit.Color = ColorSequence.new(Rock.Color)
490
	return Rock
491
end
492
493
local SPIKE = script.RockSpike
494
SPIKE.Parent = nil
495
function GetSpike(FLOOROBJECT)
496
	local Rock = SPIKE:Clone()
497
	Rock.Parent = Effects
498
	if FLOOROBJECT ~= nil then
499
		if FLOOROBJECT.Material ~= Enum.Material.Grass and FLOOROBJECT.Material ~= Enum.Material.Fabric then
500
			Rock.Material = FLOOROBJECT.Material
501
			Rock.Color = FLOOROBJECT.Color
502
		else
503
			Rock.Material = "Slate"
504
			Rock.Color = BRICKC"Dirt brown".Color
505
		end
506
	else
507
		Rock.Material = "Slate"
508
		Rock.Color = BRICKC"Dirt brown".Color
509
	end
510
	return Rock
511
end
512
513
local SHIELD = script.Shield
514
SHIELD.Parent = nil
515
function GetShield(FLOOROBJECT)
516
	local Rock = SHIELD:Clone()
517
	Rock.Parent = Effects
518
	if FLOOROBJECT ~= nil then
519
		Rock.Material = FLOOROBJECT.Material
520
		Rock.Color = FLOOROBJECT.Color
521
	else
522
		Rock.Material = "Slate"
523
		Rock.Color = BRICKC"Dirt brown".Color
524
	end
525
	return Rock
526
end
527
528
function RespondToImpact(Object,Rock)
529
	local BREAKABLEMATERIALS = {{Enum.Material.Glass,5,1571353313},{Enum.Material.Ice,2,151284431},{Enum.Material.Wood,1.3,131144461},{Enum.Material.WoodPlanks,1,131144461},{Enum.Material.Cobblestone,0.2,130972023}}
530
	for i = 1, #BREAKABLEMATERIALS do
531
		local MATERIAL = BREAKABLEMATERIALS[i]
532
		if Object.Material == MATERIAL[1] then
533
			local A = Rock.Size.Magnitude
534
			local B = Object.Size.Magnitude
535
			if B < A*MATERIAL[2] then
536
				WaveParticles(Object.Position,B*3,Object.Color)
537
				Object:remove()
538
				CreateSound(MATERIAL[3], Rock, 5, MRANDOM(8,12)/10, false)
539
			end
540
		end
541
	end
542
end
543
544
function WaveParticles(Position,Size,Color)
545
	local BASE = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Shockwave", VT(0,0,0), true)
546
	BASE.CFrame = CF(Position)
547
	local A = IT("Attachment",BASE)
548
	local WAVE = script.Wave:Clone()
549
	WAVE.Parent = A
550
	WAVE.Size = NumberSequence.new(0,Size)
551
	WAVE.Color = ColorSequence.new(Color)
552
	Debris:AddItem(BASE,0.5)
553
	WAVE:Emit(1)
554
end
555
556
--//=================================\\
557
--||	     WEAPON CREATION
558
--\\=================================//
559
560
local sick = Instance.new("Sound",Character)
561
562
local PILLAR = script.Pillar
563
PILLAR.Parent = nil
564
local HOOD = script.Hood
565
HOOD.Parent = Character
566
HOOD.CFrame = Torso.CFrame*CFrame.new(0,2.2,0)
567
weldBetween(Torso,HOOD)
568
Head:ClearAllChildren()
569
Head.Transparency = 1
570
local EYE = script.Eye
571
EYE.Parent = Character
572
EYE.CFrame = Head.CFrame*CF(0,0,0)
573
EYE.Anchored = false
574
weldBetween(EYE,Head)
575
local COLLAR = script.Collar
576
COLLAR.Parent = Character
577
COLLAR.CFrame = Torso.CFrame*CF(0,1,0) * ANGLES(RAD(90), RAD(0), RAD(0))
578
weldBetween(Torso,COLLAR)
579
local BONE = script.SpinePart
580
BONE.Parent = nil
581
local TAIL = {}
582
local LASTPART = Torso
583
local SIZE = BONE.Size
584
for i = 1, 23 do
585
	local PART = BONE:Clone()
586
	PART.Anchored = false
587
	PART.Parent = Character
588
	PART.Size = SIZE*((25-i)/10)/1.6
589
	if LASTPART == Torso then
590
		local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-0.8,0.6)* ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0))
591
		LASTPART = PART
592
		table.insert(TAIL,WELD)
593
	else
594
		local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-PART.Size.Y/1.2,-0.01), CF(0, 0, 0))
595
		LASTPART = PART
596
		table.insert(TAIL,WELD)
597
	end
598
end
599
for _, c in pairs(Character:GetChildren()) do
600
	if c:IsA("BasePart") then
601
		if c:FindFirstChildOfClass("ParticleEmitter") then
602
			c:FindFirstChildOfClass("ParticleEmitter"):remove()
603
		end
604
		if c == Head then
605
			if c:FindFirstChild("face") then
606
				c.face:remove()
607
			end
608
		end
609
	elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
610
		c:remove()
611
	end
612
end
613
local BODY = {}
614
for _, c in pairs(Character:GetDescendants()) do
615
	if c:IsA("BasePart") and c.Name ~= "Handle" then
616
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
617
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
618
		end
619
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
620
	elseif c:IsA("JointInstance") then
621
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
622
	end
623
end
624
for e = 1, #BODY do
625
	if BODY[e] ~= nil then
626
		local STUFF = BODY[e]
627
		local PART = STUFF[1]
628
		local PARENT = STUFF[2]
629
		local MATERIAL = STUFF[3]
630
		local COLOR = STUFF[4]
631
		local TRANSPARENCY = STUFF[5]
632
		if PART.ClassName == "Part" and PART ~= RootPart then
633
			PART.Material = MATERIAL
634
			PART.Color = COLOR
635
			PART.Transparency = TRANSPARENCY
636
		end
637
		PART.AncestryChanged:Connect(function()
638
			PART.Parent = PARENT
639
		end)
640
	end
641
end
642
function refit()
643
	Character.Parent = workspace
644
	for e = 1, #BODY do
645
		if BODY[e] ~= nil then
646
			local STUFF = BODY[e]
647
			local PART = STUFF[1]
648
			local PARENT = STUFF[2]
649
			local MATERIAL = STUFF[3]
650
			local COLOR = STUFF[4]
651
			local TRANSPARENCY = STUFF[5]
652
			if PART:IsA("BasePart") and PART ~= RootPart then
653
				PART.Material = MATERIAL
654
				PART.Color = COLOR
655
				PART.Transparency = TRANSPARENCY+EXTRATRANS
656
			end
657
			if PART.Parent ~= PARENT then
658
				Humanoid:remove()
659
				PART.Parent = PARENT
660
				Humanoid = IT("Humanoid",Character)
661
			end
662
		end
663
	end
664
end
665
666
Humanoid.Died:connect(function()
667
	refit()
668
end)
669
670
--//=================================\\
671
--||			DAMAGING
672
--\\=================================//
673
674
function ApplyDamage(Humanoid,Damage,TorsoPart)
675
	Damage = Damage * DAMAGEMULTIPLIER
676
	if Humanoid.Health ~= 0 then
677
		Humanoid.Health = Humanoid.Health - Damage
678
	end
679
end
680
681
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,ROCK)
682
	local CHILDREN = workspace:GetDescendants()
683
	for index, CHILD in pairs(CHILDREN) do
684
		if CHILD.ClassName == "Model" and CHILD ~= Character then
685
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
686
			if HUM then
687
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
688
				if TORSO then
689
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
690
						if INSTAKILL == true or HUM.MaxHealth > 5000 then
691
							CHILD:BreakJoints()
692
						else
693
							local DMG = MRANDOM(MINDMG,MAXDMG)
694
							ApplyDamage(HUM,DMG,TORSO)
695
						end
696
						if FLING > 0 then
697
							for _, c in pairs(CHILD:GetChildren()) do
698
								if c:IsA("BasePart") then
699
									local bv = Instance.new("BodyVelocity",c) 
700
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
701
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
702
									Debris:AddItem(bv,0.05)
703
								end
704
							end
705
						end
706
					end
707
				end
708
			end
709
		elseif CHILD:IsA("BasePart") and ROCK ~= nil then
710
			if (CHILD.Position - POSITION).Magnitude <= RANGE then
711
				RespondToImpact(CHILD,ROCK)
712
			end
713
		end
714
	end
715
end
716
717
--//=================================\\
718
--||	ATTACK FUNCTIONS AND STUFF
719
--\\=================================//
720
721
function RockExplosion(Rock,Multiplier,Survive)
722
	local EXPLOSION = Rock.Core:FindFirstChildOfClass("ParticleEmitter")
723
	EXPLOSION.Color = ColorSequence.new(Rock.Color)
724
	local SIZE = (Rock.Size.Y*4)*Multiplier
725
	EXPLOSION.Enabled = false
726
	EXPLOSION.Speed = NumberRange.new(0,SIZE*5)
727
	EXPLOSION.Size = NumberSequence.new(SIZE/15,0)
728
	EXPLOSION:Emit(200,300)
729
	WaveParticles(Rock.Position,SIZE*2,Rock.Color)
730
	coroutine.resume(coroutine.create(function()
731
		Rock:BreakJoints()
732
		if Survive == nil then
733
			Rock.Transparency = 1
734
			Rock.CanCollide = false
735
			Rock.Anchored = true
736
			Debris:AddItem(Rock,5)
737
		end
738
		CreateSound(165970126, Rock, 2, MRANDOM(8,12)/10, false)
739
		ApplyAoE(Rock.Position,SIZE,25,30,35,false,Rock)
740
		local HITFLOOR,HITPOS = Raycast(Rock.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, Rock.Size.Y/2, Character)
741
		Swait()
742
		if HITFLOOR then
743
			WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SIZE*7,3,SIZE*7), Transparency = 0.7, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = HITFLOOR.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
744
		end
745
		for i = 1, 5 do
746
			WACKYEFFECT({Time = MRANDOM(15,55), EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SIZE*5,0.2,SIZE*5), Transparency = 0.95, Transparency2 = 1, CFrame = CF(Rock.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Rock.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
747
		end
748
	end))
749
end
750
751
function Bullet()
752
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
753
	ATTACK = true
754
	Rooted = true
755
	local GYRO = IT("BodyGyro",RootPart)
756
	GYRO.D = 2
757
	GYRO.P = 2000
758
	GYRO.MaxTorque = VT(0,4000000,0)
759
	coroutine.resume(coroutine.create(function()
760
		repeat
761
			Swait()
762
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
763
		until ATTACK == false
764
		GYRO:Remove()
765
	end))
766
	local FLOOR = false
767
	if HITFLOOR then
768
		if HITFLOOR.Material ~= Enum.Material.Foil and HITFLOOR.Material ~= Enum.Material.Glass then
769
			FLOOR = true
770
		end
771
	end
772
	if FLOOR == true then
773
		for i=0, 0.5, 0.1 / Animation_Speed do
774
			Swait()
775
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
776
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
777
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
778
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
779
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.75) * ANGLES(RAD(-30), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
780
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
781
		end
782
		for i=0, 0.25, 0.1 / Animation_Speed do
783
			Swait()
784
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
785
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
786
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
787
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
788
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
789
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
790
		end
791
		local ROCKPLACED = false
792
		local Rock = nil
793
		if HITFLOOR.Anchored == true then
794
			Rock = GetRock(HITFLOOR)
795
			Rock.Core.Emit.Enabled = true
796
			Rock.Size = VT(6,6,6)
797
			Rock.CFrame = CF(RootPart.CFrame*CF(0,-9,-6).p,Mouse.Hit.p)
798
			CreateSound(130972023, Rock, 2, MRANDOM(5,8)/10, false)
799
			coroutine.resume(coroutine.create(function()
800
				for i = 1, 30 do
801
					Swait()
802
					Rock.CFrame = Clerp(Rock.CFrame, CF(RootPart.CFrame*CF(0,1,-6).p,Mouse.Hit.p), 0.8 / Animation_Speed)
803
				end
804
				ROCKPLACED = true
805
				Rock.Core.Emit.Enabled = false
806
			end))
807
		else
808
			if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
809
				local TORSO = HITFLOOR.Parent:FindFirstChild("Torso") or HITFLOOR.Parent:FindFirstChild("UpperTorso")
810
				if TORSO then
811
					Rock = TORSO
812
					ROCK.Core:Clone().Parent = Rock
813
				else
814
					Rock = HITFLOOR
815
					ROCK.Core:Clone().Parent = Rock
816
				end
817
			elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
818
				local TORSO = HITFLOOR.Parent.Parent:FindFirstChild("Torso") or HITFLOOR.Parent.Parent:FindFirstChild("UpperTorso")
819
				if TORSO then
820
					Rock = TORSO
821
					ROCK.Core:Clone().Parent = Rock
822
				else
823
					Rock = HITFLOOR
824
					ROCK.Core:Clone().Parent = Rock
825
				end
826
			else
827
				Rock = HITFLOOR
828
				ROCK.Core:Clone().Parent = Rock
829
			end
830
			Rock.Anchored = true
831
			coroutine.resume(coroutine.create(function()
832
				for i = 1, 30 do
833
					Swait()
834
					Rock.CFrame = Clerp(Rock.CFrame, CF(RootPart.CFrame*CF(0,1,-6).p,Mouse.Hit.p), 0.8 / Animation_Speed)
835
				end
836
				ROCKPLACED = true
837
			end))
838
		end
839
		for i=0, 0.1, 0.1 / Animation_Speed do
840
			Swait()
841
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
842
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
843
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
844
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
845
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
846
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
847
		end
848
		repeat
849
			Swait()
850
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
851
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
852
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
853
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
854
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
855
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
856
		until ROCKPLACED == true
857
		for i=0, 0.1, 0.1 / Animation_Speed do
858
			Swait()
859
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
860
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
861
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
862
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
863
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
864
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
865
		end
866
		WaveParticles(Rock.Position,12,C3(1,1,1))
867
		CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
868
		coroutine.resume(coroutine.create(function()
869
			if Rock.Parent:FindFirstChildOfClass("Humanoid") == nil then
870
				for i = 1, 200 do
871
					Swait()
872
					Rock.CFrame = Rock.CFrame * CF(0,0,-1.2)
873
					local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
874
					if HIT then
875
						RespondToImpact(HIT,Rock)
876
						break
877
					end
878
				end
879
				RockExplosion(Rock,1)
880
			else
881
				for i = 1, 60 do
882
					Swait()
883
					Rock.CFrame = Rock.CFrame * CF(0,0,-2)
884
					local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, 3, Character)
885
					if HIT then
886
						RespondToImpact(HIT,Rock)
887
						break
888
					end
889
				end
890
				RockExplosion(Rock,2)
891
			end
892
		end))
893
		for i=0, 0.4, 0.1 / Animation_Speed do
894
			Swait()
895
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
896
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
897
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
898
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
899
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
900
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
901
		end
902
	else
903
		local GRAV = IT("BodyPosition",RootPart)
904
		GRAV.D = 250
905
		GRAV.P = 20000
906
		GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
907
		GRAV.Position = RootPart.Position
908
		local Rock = GetRock()
909
		Rock.Size = VT(0,0,0)
910
		Rock.CFrame = CF(RightLeg.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
911
		CreateSound(201858045, Rock, 1, MRANDOM(10,12)/10, false)
912
		local DONEROCK = false
913
		coroutine.resume(coroutine.create(function()
914
			for i = 1, 15 do
915
				Swait()
916
				Rock.Size = Rock.Size + VT(0.1,0.1,0.1)
917
				Rock.Size = Rock.Size * 1.1
918
				Rock.CFrame = CF(RightLeg.CFrame*CF(0,-1-Rock.Size.Y/2,0).p,Mouse.Hit.p)
919
			end
920
			DONEROCK = true
921
		end))
922
		repeat
923
			Swait()
924
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-65), RAD(0), RAD(0)), 1 / Animation_Speed)
925
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
926
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
927
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
928
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(90), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
929
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
930
		until DONEROCK == true
931
		local LOOP = 0
932
		for i=0, 0.2, 0.1 / Animation_Speed do
933
			Swait()
934
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-70), RAD(0), RAD(0)), 1 / Animation_Speed)
935
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
936
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
937
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
938
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(130), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
939
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
940
		end
941
		WaveParticles(Rock.Position,5,C3(1,1,1))
942
		CreateSound(621557962, RightLeg, 1, MRANDOM(10,12)/10, false)
943
		coroutine.resume(coroutine.create(function()
944
			for i = 1, 300 do
945
				Swait()
946
				Rock.CFrame = Rock.CFrame * CF(0,0,-1.6)
947
				local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
948
				if HIT then
949
					RespondToImpact(HIT,Rock)
950
					break
951
				end
952
			end
953
			RockExplosion(Rock,1)
954
		end))
955
		for i=0, 0.3, 0.1 / Animation_Speed do
956
			Swait()
957
			LOOP = LOOP + 15*3
958
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-65+(LOOP)), RAD(0), RAD(0)), 1 / Animation_Speed)
959
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
960
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
961
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
962
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
963
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
964
		end
965
		GRAV:remove()
966
	end
967
	ATTACK = false
968
	Rooted = false
969
end
970
971
function Melee()
972
	ATTACK = true
973
	Rooted = false
974
	Speed = 12
975
	repeat
976
		Swait()
977
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-35)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
978
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(15)), 1 / Animation_Speed)
979
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
980
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
981
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
982
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
983
	until KEYHOLD == false
984
	Speed = 0
985
	local ROOT = nil
986
	local TORS = nil
987
	local HUMAN = nil
988
	local DIST = 4
989
	for i=0, 0.2, 0.1 / Animation_Speed do
990
		Swait()
991
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
992
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
993
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
994
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
995
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
996
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
997
	end
998
	for i=0, 1, 0.1 / Animation_Speed do
999
		Swait()
1000
		local CHILDREN = workspace:GetDescendants()
1001
		for index, CHILD in pairs(CHILDREN) do
1002
			if CHILD.ClassName == "Model" and CHILD ~= Character then
1003
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1004
				if HUM then
1005
					local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1006
					if TORSO and HUM.Health > 0 then
1007
						if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
1008
							DIST = (TORSO.Position - RightArm.Position).Magnitude
1009
							ROOT = TORSO
1010
							HUMAN = HUM
1011
							TORS = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1012
						end
1013
					end
1014
				end
1015
			end
1016
		end
1017
		if ROOT then
1018
			break
1019
		end
1020
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1021
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
1022
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1023
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1024
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1025
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1026
	end
1027
	if ROOT then
1028
		local POSITIONED = false
1029
		coroutine.resume(coroutine.create(function()
1030
			ROOT.Anchored = true
1031
			local POS = RootPart.CFrame*CF(0,-3,-1) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(90), RAD(0), RAD(0))
1032
			for i = 1, 25 do
1033
				ROOT.Anchored = true
1034
				Swait()
1035
				ROOT.CFrame = Clerp(ROOT.CFrame, POS, 0.8 / Animation_Speed)
1036
			end
1037
			POSITIONED = true
1038
			repeat Swait() ROOT.Anchored = true until ATTACK == false
1039
			ROOT.Anchored = false
1040
		end))
1041
		repeat
1042
			Swait()
1043
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1044
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1045
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1046
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1047
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1048
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1049
		until POSITIONED == true
1050
		for i = 1, 3 do
1051
			for i=0, 0.5, 0.1 / Animation_Speed do
1052
				Swait()
1053
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
1054
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
1055
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1056
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1057
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.75) * ANGLES(RAD(50), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1058
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1059
			end
1060
			for i=0, 0.15, 0.1 / Animation_Speed do
1061
				Swait()
1062
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1063
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
1064
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1065
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1066
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1067
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1068
			end
1069
			local EMIT = script.Emit:Clone()
1070
			EMIT.Parent = TORS
1071
			EMIT.Size = NumberSequence.new(1,0)
1072
			EMIT:Emit(120)
1073
			Debris:AddItem(EMIT,5)
1074
			CreateSound(138186576, RightLeg, 1, MRANDOM(13,15)/10, false)
1075
			WaveParticles(TORS.Position,12,C3(1,1,1))
1076
			ApplyAoE(RightLeg.Position,8,25,35,0,false)
1077
			WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(35,3,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORS.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1078
			WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(25,4,25), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORS.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1079
			for i=0, 0.25, 0.1 / Animation_Speed do
1080
				Swait()
1081
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1082
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
1083
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1084
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1085
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1086
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1087
			end
1088
			if HUMAN.Health == 0 then
1089
				break
1090
			end
1091
			for i=0, 0.2, 0.1 / Animation_Speed do
1092
				Swait()
1093
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1094
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1095
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1096
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1097
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1098
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1099
			end
1100
		end
1101
	end
1102
	Speed = 25
1103
	ATTACK = false
1104
	Rooted = false
1105
end
1106
1107
function Launch()
1108
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1109
	if HITFLOOR then
1110
		WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15,3,15), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 138186576, SoundPitch = 1, SoundVolume = 2})
1111
		local P = PILLAR:Clone()
1112
		P.Color = HITFLOOR.Color
1113
		P.Material = HITFLOOR.Material
1114
		P.Parent = Effects
1115
		P.CFrame = CF(HITPOS-VT(0,4.5,0))
1116
		coroutine.resume(coroutine.create(function()
1117
			for i = 1, 6 do
1118
				Swait()
1119
				P.CFrame = P.CFrame * CF(0,0.9,0)
1120
			end
1121
			wait(1)
1122
			for i = 1, 45 do
1123
				Swait()
1124
				P.Transparency =P.Transparency + 1/45 
1125
			end
1126
			P:remove()
1127
		end))
1128
		RootPart.CFrame = RootPart.CFrame*CF(0,1,0)
1129
		RootPart.Velocity = VT(0,0,0)
1130
		local bv = Instance.new("BodyVelocity",RootPart) 
1131
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1132
		bv.velocity = CF(RootPart.Position,RootPart.Position+VT(0,100,0)).lookVector*350
1133
		Debris:AddItem(bv,0.1)
1134
	end
1135
end
1136
1137
function Ravage()
1138
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1139
	if HITFLOOR then
1140
		ATTACK = true
1141
		Rooted = false
1142
		for i=0, 0.3, 0.1 / Animation_Speed do
1143
			Swait()
1144
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1145
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
1146
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1147
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1148
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1149
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1150
		end
1151
		WaveParticles(RightArm.CFrame*CF(0,-1,0).p,4,C3(1,1,1))
1152
		Rooted = true
1153
		CreateSound(217767125, RightArm, 5, 1, false)
1154
		for i=0, 0.15, 0.1 / Animation_Speed do
1155
			Swait()
1156
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1157
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
1158
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(145)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1159
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1160
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1161
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1162
		end
1163
		local HOLD = true
1164
		coroutine.resume(coroutine.create(function()
1165
			repeat
1166
				Swait()
1167
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
1168
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
1169
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.2) * ANGLES(RAD(145), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1170
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1171
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1172
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1173
			until HOLD == false
1174
		end))
1175
		repeat
1176
			wait(0.3)
1177
			coroutine.resume(coroutine.create(function()
1178
				local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
1179
				if HITFLOOR then
1180
					if HITFLOOR.Anchored == true then
1181
						local ROCK = GetRock(HITFLOOR)
1182
						CreateSound(130972023, ROCK, 2, MRANDOM(8,12)/10, false)
1183
						ROCK.Size = VT(4,4,4)*(MRANDOM(8,12)/10)
1184
						ROCK.Core.Emit.Enabled = true
1185
						ROCK.CFrame = CF(HITPOS+VT(0,-6,0)) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
1186
						local POS = ROCK.CFrame*CF(0,12,0)
1187
						for i = 1, 25 do
1188
							ROCK.Anchored = true
1189
							Swait()
1190
							ROCK.CFrame = Clerp(ROCK.CFrame, POS, 0.8 / Animation_Speed)
1191
						end
1192
						ROCK.Core.Emit.Enabled = false
1193
						wait(0.3)
1194
						RockExplosion(ROCK,1)
1195
					end
1196
				end
1197
			end))
1198
		until KEYHOLD == false
1199
		wait(0.5)
1200
		HOLD = false
1201
		ATTACK = false
1202
		Rooted = false
1203
	end
1204
end
1205
1206
function Shield()
1207
	ATTACK = true
1208
	Rooted = false
1209
	local GYRO = IT("BodyGyro",RootPart)
1210
	GYRO.D = 2
1211
	GYRO.P = 2000
1212
	GYRO.MaxTorque = VT(40000000000,4000000,40000000000)
1213
	local GRAV = IT("BodyPosition",RootPart)
1214
	GRAV.D = 250
1215
	GRAV.P = 20000
1216
	GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
1217
	GRAV.Position = RootPart.Position
1218
	coroutine.resume(coroutine.create(function()
1219
		repeat
1220
			Swait()
1221
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1222
		until ATTACK == false
1223
		GYRO:Remove()
1224
		GRAV:Remove()
1225
	end))
1226
	for i=0, 0.3, 0.1 / Animation_Speed do
1227
		Swait()
1228
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
1229
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 1 / Animation_Speed)
1230
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1231
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1232
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1233
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1234
	end
1235
	local Defence = GetShield()
1236
	Defence.Size = VT(0,2,0)
1237
	Defence.Parent = Effects
1238
	Defence.CFrame = RightArm.CFrame*CF(0,-6,0) * ANGLES(RAD(180), RAD(90), RAD(0))
1239
	WaveParticles(Defence.Position,12,Defence.Color)
1240
	CreateSound(201858045, Defence, 2, MRANDOM(10,12)/10, false)
1241
	local FIX = Defence.AncestryChanged:Connect(function()
1242
		Defence.Parent = Effects
1243
	end)
1244
	for i = 1, 40 do
1245
		Swait()
1246
		Defence.Size = Defence.Size + VT(0.5,0,0.7)
1247
		Defence.CFrame = RightArm.CFrame*CF(0,-6,0) * ANGLES(RAD(180), RAD(90), RAD(0))
1248
	end
1249
	repeat
1250
		Swait()
1251
		Defence.CFrame = RightArm.CFrame*CF(0,-6,0) * ANGLES(RAD(180), RAD(90), RAD(0))
1252
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
1253
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 1 / Animation_Speed)
1254
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1255
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1256
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1257
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1258
	until KEYHOLD == false
1259
	FIX:Disconnect()
1260
	coroutine.resume(coroutine.create(function()
1261
		for i = 1, 40 do
1262
			Swait()
1263
			Defence.Size = Defence.Size - VT(0.5,0,0.7)
1264
		end
1265
		WaveParticles(Defence.Position,12,Defence.Color)
1266
		Defence:remove()
1267
	end))
1268
	ATTACK = false
1269
	Rooted = false
1270
end
1271
1272
function TwinMeteor()
1273
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
1274
	if HITFLOOR == nil then
1275
		ATTACK = true
1276
		Rooted = false
1277
		local GYRO = IT("BodyGyro",RootPart)
1278
		GYRO.D = 2
1279
		GYRO.P = 2000
1280
		GYRO.MaxTorque = VT(40000000000,4000000,40000000000)
1281
		local GRAV = IT("BodyPosition",RootPart)
1282
		GRAV.D = 250
1283
		GRAV.P = 20000
1284
		GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
1285
		GRAV.Position = RootPart.Position
1286
		coroutine.resume(coroutine.create(function()
1287
			repeat
1288
				Swait()
1289
				GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1290
			until ATTACK == false
1291
			GYRO:Remove()
1292
			GRAV:Remove()
1293
		end))
1294
		local CHARGED = false
1295
		coroutine.resume(coroutine.create(function()
1296
			repeat
1297
				Swait()
1298
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1299
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1300
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1301
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1302
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1303
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1304
			until CHARGED == true
1305
		end))
1306
		local ROCK1 = GetRock()
1307
		local ROCK2 = GetRock()
1308
		local VORTEX1 = script.Vortex:Clone()
1309
		local VORTEX2 = script.Vortex:Clone()
1310
		VORTEX1.Parent = ROCK1.Core
1311
		VORTEX2.Parent = ROCK2.Core
1312
		ROCK1.Core.Emit.Enabled = true
1313
		ROCK2.Core.Emit.Enabled = true
1314
		ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
1315
		ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
1316
		CreateSound(1664710821, ROCK1, 10, MRANDOM(8,12)/10, false)
1317
		CreateSound(1664710821, ROCK2, 10, MRANDOM(8,12)/10, false)
1318
		for i = 1, 70 do
1319
			Swait()
1320
			ROCK1.Size = ROCK1.Size + VT(0.3,0.3,0.3)
1321
			ROCK2.Size = ROCK2.Size + VT(0.3,0.3,0.3)
1322
			ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
1323
			ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
1324
			VORTEX1.Size = NumberSequence.new(ROCK1.Size.Y*2,0)
1325
			VORTEX2.Size = NumberSequence.new(ROCK1.Size.Y*2,0)
1326
			VORTEX1:Emit(1)
1327
			VORTEX2:Emit(1)
1328
		end
1329
		CHARGED = true
1330
		for i=0, 1, 0.1 / Animation_Speed do
1331
			Swait()
1332
			ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
1333
			ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
1334
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1335
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1336
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1337
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1338
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1339
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1340
		end
1341
		for i=0, 0.5, 0.1 / Animation_Speed do
1342
			Swait()
1343
			ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
1344
			ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
1345
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
1346
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
1347
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1348
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1349
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1350
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1351
		end
1352
		coroutine.resume(coroutine.create(function()
1353
			local Rock = ROCK1
1354
			WaveParticles(Rock.Position,30,C3(1,1,1))
1355
			CreateSound(134012322, Rock, 2, MRANDOM(10,12)/10, false)
1356
			for i = 1, 200 do
1357
				Swait()
1358
				Rock.CFrame = Rock.CFrame * CF(0,0,-3.2)
1359
				local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
1360
				if HIT then
1361
					RespondToImpact(HIT,Rock)
1362
					break
1363
				end
1364
			end
1365
			ApplyAoE(Rock.Position,ROCK.Size.Y,50,55,55,false)
1366
			for i = 1, 6 do
1367
				RockExplosion(Rock,1.5,true)
1368
				wait(1)
1369
			end
1370
			RockExplosion(Rock,1.5)
1371
		end))
1372
		for i=0, 1, 0.1 / Animation_Speed do
1373
			Swait()
1374
			ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
1375
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
1376
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 1 / Animation_Speed)
1377
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1378
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1379
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1380
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1381
		end
1382
		for i=0, 0.5, 0.1 / Animation_Speed do
1383
			Swait()
1384
			ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
1385
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
1386
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
1387
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1388
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1389
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1390
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1391
		end
1392
		coroutine.resume(coroutine.create(function()
1393
			local Rock = ROCK2
1394
			WaveParticles(Rock.Position,30,C3(1,1,1))
1395
			CreateSound(134012322, Rock, 2, MRANDOM(10,12)/10, false)
1396
			for i = 1, 200 do
1397
				Swait()
1398
				Rock.CFrame = Rock.CFrame * CF(0,0,-3.2)
1399
				local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
1400
				if HIT then
1401
					RespondToImpact(HIT,Rock)
1402
					break
1403
				end
1404
			end
1405
			ApplyAoE(Rock.Position,ROCK.Size.Y,50,55,55,false)
1406
			for i = 1, 6 do
1407
				RockExplosion(Rock,1.5,true)
1408
				wait(1)
1409
			end
1410
			RockExplosion(Rock,1.5)
1411
		end))
1412
		for i=0, 1, 0.1 / Animation_Speed do
1413
			Swait()
1414
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-35)), 1 / Animation_Speed)
1415
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
1416
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1417
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(55), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1418
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1419
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1420
		end
1421
		ATTACK = false
1422
		Rooted = false
1423
	end
1424
end
1425
1426
function Spikes()
1427
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 12, Character)
1428
	if HITFLOOR then
1429
		ATTACK = true
1430
		Rooted = true
1431
		local GYRO = IT("BodyGyro",RootPart)
1432
		GYRO.D = 2
1433
		GYRO.P = 2000
1434
		GYRO.MaxTorque = VT(0,4000000,0)
1435
		coroutine.resume(coroutine.create(function()
1436
			repeat
1437
				Swait()
1438
				GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1439
			until ATTACK == false
1440
			GYRO:Remove()
1441
		end))
1442
		for i=0, 1, 0.1 / Animation_Speed do
1443
			Swait()
1444
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
1445
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
1446
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1447
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1448
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.75) * ANGLES(RAD(30), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1449
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1450
		end
1451
		for i=0, 0.25, 0.1 / Animation_Speed do
1452
			Swait()
1453
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1454
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
1455
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1456
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1457
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1458
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1459
		end
1460
		CreateSound(165970126, RightLeg, 1, MRANDOM(13,15)/10, false)
1461
		WaveParticles(RightLeg.CFrame*CF(0,-1,0).p,15,C3(1,1,1))
1462
		coroutine.resume(coroutine.create(function()
1463
			local CFRAME = RootPart.CFrame*CF(0,-3,0)
1464
			for i = 1, 60 do
1465
				Swait()
1466
				local SPIKE = GetSpike(HITFLOOR)
1467
				SPIKE.CFrame = CFRAME*CF(0,-11,-i*2)
1468
				ApplyAoE(CFRAME*CF(0,0,-i*2).p,4,10,35,15,false)
1469
				coroutine.resume(coroutine.create(function()
1470
					local POS = SPIKE.CFrame*CF(0,11,0)
1471
					for i = 1, 25 do
1472
						Swait()
1473
						SPIKE.CFrame = Clerp(SPIKE.CFrame, POS, 0.8 / Animation_Speed)
1474
					end
1475
					wait(0.2)
1476
					for i = 1, 45 do
1477
						Swait()
1478
						SPIKE.Transparency = SPIKE.Transparency + 1/45
1479
						SPIKE.CFrame = SPIKE.CFrame * CF(0,-2/15,0)
1480
					end
1481
					SPIKE:remove()
1482
				end))
1483
			end
1484
		end))
1485
		wait(0.3)
1486
		ATTACK = false
1487
		Rooted = false
1488
	end
1489
end
1490
1491
function TakeOnMe()
1492
	Speed = 5
1493
	local MEME = CreateSound(288703954, Effects, 2, 1, false)
1494
	ATTACK = true
1495
	Rooted = false
1496
	local DANCE = true
1497
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
1498
		if NEWKEY == "p" then
1499
			DANCE = false
1500
		end
1501
	end)
1502
	PLAYSONG = false
1503
	while true do
1504
		for i = 1, 15 do
1505
			Swait()
1506
			MEME.Parent = Effects
1507
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1508
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1509
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1510
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1511
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1512
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1513
		end
1514
		if DANCE == false then
1515
			break
1516
		end
1517
		for i = 1, 15 do
1518
			Swait()
1519
			MEME.Parent = Effects
1520
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1521
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1522
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1523
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1524
			RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1525
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1526
		end
1527
	end
1528
	PLAYSONG = true
1529
	KEY:Disconnect()
1530
	MEME:remove()
1531
	Speed = 25
1532
	ATTACK = false
1533
	Rooted = false
1534
end
1535
1536
function Noclip()
1537
	ATTACK = true
1538
	Rooted = true
1539
	UNANCHOR = false
1540
	RootPart.Anchored = true
1541
	local CLIPPING = true
1542
	local MOVEMENT = nil
1543
	CreateSound(96098241, Torso, 3, MRANDOM(9,12)/10, false)
1544
	for i = 1, 50 do
1545
		Swait()
1546
		EXTRATRANS = EXTRATRANS + 0.5/50
1547
		RootPart.CFrame = RootPart.CFrame * CF(0,(1-(i/50))/4.3,0)
1548
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1549
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1550
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1551
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1552
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1553
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1554
	end
1555
	local AURA = CreateSound(1393698948, Torso, 3, 1, true)
1556
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
1557
		if NEWKEY == "w" then
1558
			MOVEMENT = "Forward"
1559
			repeat
1560
				Swait()
1561
				RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.2)
1562
			until KEYHOLD == false
1563
		elseif NEWKEY == "s" then
1564
			MOVEMENT = "Backwards"
1565
			repeat
1566
				Swait()
1567
				RootPart.CFrame = RootPart.CFrame * CF(0,0,0.2)
1568
			until KEYHOLD == false
1569
		elseif NEWKEY == "a" then
1570
			MOVEMENT = "Strafe"
1571
			repeat
1572
				Swait()
1573
				RootPart.CFrame = RootPart.CFrame * CF(0.2,0,0)
1574
			until KEYHOLD == false
1575
		elseif NEWKEY == "d" then
1576
			MOVEMENT = "Strafe"
1577
			repeat
1578
				Swait()
1579
				RootPart.CFrame = RootPart.CFrame * CF(-0.2,0,0)
1580
			until KEYHOLD == false
1581
		elseif NEWKEY == "y" then
1582
			CLIPPING = false
1583
		end
1584
		MOVEMENT = nil
1585
	end)
1586
	local LOOP = 0
1587
	repeat
1588
		Swait()
1589
		AURA.Parent = Torso
1590
		LOOP = LOOP + 1
1591
		if LOOP >= 15 then
1592
			LOOP = 0
1593
			WaveParticles(Torso.Position,15,C3(1,1,1))
1594
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(15,1,15), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RootPart.CFrame*CF(0,-3.5,0).p), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1595
		end
1596
		if MOVEMENT == nil then
1597
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1598
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1599
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1600
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1601
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1602
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1603
		elseif MOVEMENT == "Forward" then
1604
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1605
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1606
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1607
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1608
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1609
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1610
		elseif MOVEMENT == "Backwards" then
1611
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
1612
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1613
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1614
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1615
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1616
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1617
		elseif MOVEMENT == "Strafe" then
1618
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
1619
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1620
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1621
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1622
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1623
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1624
		end
1625
	until CLIPPING == false
1626
	KEY:Disconnect()
1627
	coroutine.resume(coroutine.create(function()
1628
		for i = 1, 20 do
1629
			Swait()
1630
			AURA.Volume = AURA.Volume - 3/20
1631
		end
1632
		AURA:remove()
1633
	end))
1634
	CreateSound(814168787, Torso, 1, MRANDOM(9,12)/10, false)
1635
	for i = 1, 50 do
1636
		Swait()
1637
		EXTRATRANS = EXTRATRANS - 0.5/50
1638
		RootPart.CFrame = RootPart.CFrame * CF(0,-(1-(i/50))/4.3,0)
1639
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1640
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1641
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1642
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1643
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1644
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1645
	end
1646
	EXTRATRANS = 0
1647
	UNANCHOR = true
1648
	ATTACK = false
1649
	Rooted = false
1650
end
1651
1652
function Taunt()
1653
	ATTACK = true
1654
	Rooted = true
1655
	local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
1656
	repeat
1657
		Swait()
1658
		TAUNT.Parent = Torso
1659
		TAUNT.Playing = true
1660
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1661
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1662
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1663
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1664
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1665
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1666
	until TAUNT.TimePosition >= 1.25
1667
	for i=0, 1.6, 0.1 / Animation_Speed do
1668
		Swait()
1669
		TAUNT.Parent = Torso
1670
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
1671
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
1672
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1673
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1674
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1675
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1676
	end
1677
	ATTACK = false
1678
	Rooted = false
1679
end
1680
1681
--//=================================\\
1682
--||	  ASSIGN THINGS TO KEYS
1683
--\\=================================//
1684
1685
function MouseDown(Mouse)
1686
	if ATTACK == false then
1687
	end
1688
end
1689
1690
function MouseUp(Mouse)
1691
HOLD = false
1692
end
1693
1694
function KeyDown(Key)
1695
	KEYHOLD = true
1696
	if Key == "z" and ATTACK == false then
1697
		Bullet()
1698
	end
1699
1700
	if Key == "b" and ATTACK == false then
1701
		Melee()
1702
	end
1703
1704
	if Key == "c" and ATTACK == false then
1705
		Launch()
1706
	end
1707
1708
	if Key == "v" and ATTACK == false then
1709
		Ravage()
1710
	end
1711
1712
	if Key == "e" and ATTACK == false then
1713
		Shield()
1714
	end
1715
1716
	if Key == "q" and ATTACK == false then
1717
		Spikes()
1718
	end
1719
1720
	if Key == "x" and ATTACK == false then
1721
		TwinMeteor()
1722
	end
1723
1724
	if Key == "y" and ATTACK == false then
1725
		Noclip()
1726
	end
1727
1728
	if Key == "p" and ATTACK == false then
1729
		TakeOnMe()
1730
	end
1731
1732
	if Key == "t" and ATTACK == false then
1733
		Taunt()
1734
	end
1735
1736
	if Key == "]" and ATTACK == false then
1737
		if PLAYSONG == true then
1738
			PLAYSONG = false
1739
		else
1740
			PLAYSONG = true
1741
		end
1742
	end
1743
end
1744
1745
function KeyUp(Key)
1746
	KEYHOLD = false
1747
end
1748
1749
	Mouse.Button1Down:connect(function(NEWKEY)
1750
		MouseDown(NEWKEY)
1751
	end)
1752
	Mouse.Button1Up:connect(function(NEWKEY)
1753
		MouseUp(NEWKEY)
1754
	end)
1755
	Mouse.KeyDown:connect(function(NEWKEY)
1756
		KeyDown(NEWKEY)
1757
	end)
1758
	Mouse.KeyUp:connect(function(NEWKEY)
1759
		KeyUp(NEWKEY)
1760
	end)
1761
1762
--//=================================\\
1763
--\\=================================//
1764
1765
function AntiTimeStop()
1766
	for _, c in pairs(Character:GetChildren()) do
1767
		if c:IsA("BasePart") and c ~= RootPart then
1768
			c.Anchored = false
1769
		end
1770
	end
1771
	if UNANCHOR == true then
1772
		RootPart.Anchored = false
1773
	else
1774
		RootPart.Anchored = true
1775
	end
1776
end
1777
1778
--//=================================\\
1779
--||	WRAP THE WHOLE SCRIPT UP
1780
--\\=================================//
1781
1782
Humanoid.Changed:connect(function(Jump)
1783
	if Jump == "Jump" and (Disable_Jump == true) then
1784
		Humanoid.Jump = false
1785
	end
1786
end)
1787
1788
while true do
1789
	Swait()
1790
	Head:ClearAllChildren()
1791
	script.Parent = WEAPONGUI
1792
	ANIMATE.Parent = nil
1793
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1794
	    v:Stop();
1795
	end
1796
	if Character:FindFirstChildOfClass("Humanoid") == nil then
1797
		Humanoid = IT("Humanoid",Character)
1798
	end
1799
	SINE = SINE + CHANGE
1800
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1801
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1802
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1803
	local WALKSPEEDVALUE = 4
1804
	Neck.C1 = Clerp(Neck.C1, CF(0, 0, 0.03) * ANGLES(RAD(90), RAD(180), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(180)) , 1 / Animation_Speed)
1805
	if ANIM == "Walk" and TORSOVELOCITY > 1 and PLAYSONG == true  then
1806
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1807
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1808
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1809
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1810
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or PLAYSONG == false then
1811
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1812
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1813
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1814
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1815
	end
1816
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1817
		ANIM = "Jump"
1818
		if ATTACK == false then
1819
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1820
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
1821
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1822
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1823
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1824
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1825
		end
1826
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1827
		ANIM = "Fall"
1828
		if ATTACK == false then
1829
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1830
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1831
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1832
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1833
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1834
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1835
		end
1836
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1837
		ANIM = "Idle"
1838
		if ATTACK == false then
1839
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1840
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1841
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1842
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1843
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1844
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1845
		end
1846
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1847
		ANIM = "Walk"
1848
		if ATTACK == false then
1849
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1850
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, -0.025, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1851
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1852
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1853
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1854
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1855
		end
1856
	end
1857
	for _, c in pairs(Character:GetChildren()) do
1858
		if c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1859
			c:remove()
1860
		end
1861
	end
1862
	AntiTimeStop()
1863
	Humanoid.MaxHealth = 10e10
1864
	Humanoid.Health = 10e10
1865
	if Rooted == false then
1866
		Disable_Jump = false
1867
		Humanoid.WalkSpeed = Speed
1868
	elseif Rooted == true then
1869
		Disable_Jump = true
1870
		Humanoid.WalkSpeed = 0
1871
	end
1872
	for E = 1, #TAIL do
1873
		TAIL[E].C1 = Clerp(TAIL[E].C1,CF(0, 0, 0) * ANGLES(RAD(5-1 * SIN(SINE / 12)), RAD(-2 * COS(SINE / 24)), RAD(4 * SIN(SINE / 24))), 1 / Animation_Speed)
1874
	end
1875
	sick.SoundId = "rbxassetid://157460916"
1876
	sick.Looped = true
1877
	sick.Pitch = 1
1878
	sick.Volume = 2
1879
	sick.Parent = Effects
1880
	sick.Playing = PLAYSONG
1881
	Humanoid.PlatformStand = false
1882
	Humanoid.Name = "I am the god of earth"
1883
	refit()
1884
	if Character:FindFirstChild("Pants") == nil then
1885
		script.Pants:Clone().Parent = Character
1886
	end
1887
	if Character:FindFirstChild("Shirt") == nil then
1888
		script.Shirt:Clone().Parent = Character
1889
	end
1890
	for _, c in pairs(Character:GetChildren()) do
1891
		if c:IsA("BasePart") and ATTACK == false then
1892
			for _, e in pairs(c:GetChildren()) do
1893
				if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then
1894
					e:remove()
1895
				end
1896
			end
1897
		end
1898
	end
1899
end
1900
1901
--//=================================\\
1902
--\\=================================//
1903
1904
1905
1906
1907
1908
--//====================================================\\--
1909
--||			  		 END OF SCRIPT
1910
--\\====================================================//--
1911
end))
1912
UnionOperation2.Name = "Collar"
1913
UnionOperation2.Parent = LocalScript1
1914
UnionOperation2.CFrame = CFrame.new(6.60000801, 46.7082901, -7.50001097, 1, 0, 0, 0, 0, -1, 0, 1, 0)
1915
UnionOperation2.Orientation = Vector3.new(90, 0, 0)
1916
UnionOperation2.Position = Vector3.new(6.60000801, 46.7082901, -7.50001097)
1917
UnionOperation2.Rotation = Vector3.new(90, 0, 0)
1918
UnionOperation2.Color = Color3.new(0.639216, 0.635294, 0.647059)
1919
UnionOperation2.Velocity = Vector3.new(0, -16.3500004, 0)
1920
UnionOperation2.Size = Vector3.new(2.06001234, 2.06001496, 0.200000063)
1921
UnionOperation2.BrickColor = BrickColor.new("Medium stone grey")
1922
UnionOperation2.CanCollide = false
1923
UnionOperation2.Locked = true
1924
UnionOperation2.Material = Enum.Material.Metal
1925
UnionOperation2.brickColor = BrickColor.new("Medium stone grey")
1926
UnionOperation3.Name = "Eye"
1927
UnionOperation3.Parent = LocalScript1
1928
UnionOperation3.CFrame = CFrame.new(6.80000782, 44.6407394, -13.5000257, 1, -3.19743418e-13, 1.07282686e-13, -3.19743418e-13, 0.999994636, -1.67703539e-26, 1.07282686e-13, -1.67703539e-26, 0.999994636)
1929
UnionOperation3.Position = Vector3.new(6.80000782, 44.6407394, -13.5000257)
1930
UnionOperation3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1931
UnionOperation3.Size = Vector3.new(2, 2, 2.07000494)
1932
UnionOperation3.Anchored = true
1933
UnionOperation3.BrickColor = BrickColor.new("Really black")
1934
UnionOperation3.CanCollide = false
1935
UnionOperation3.Locked = true
1936
UnionOperation3.Material = Enum.Material.SmoothPlastic
1937
UnionOperation3.brickColor = BrickColor.new("Really black")
1938
MeshPart4.Name = "Hood"
1939
MeshPart4.Parent = LocalScript1
1940
MeshPart4.CFrame = CFrame.new(6.80000782, 43.9254341, -13.4600182, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1941
MeshPart4.Position = Vector3.new(6.80000782, 43.9254341, -13.4600182)
1942
MeshPart4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1943
MeshPart4.Velocity = Vector3.new(0, -16.3500023, 0)
1944
MeshPart4.Size = Vector3.new(2.91887903, 2.39406967, 2.89092922)
1945
MeshPart4.BrickColor = BrickColor.new("Really black")
1946
MeshPart4.CanCollide = false
1947
MeshPart4.CustomPhysicalProperties = 0.00999999978, 0, 0, 0, 0
1948
MeshPart4.Locked = true
1949
MeshPart4.Material = Enum.Material.SmoothPlastic
1950
MeshPart4.brickColor = BrickColor.new("Really black")
1951
UnionOperation5.Parent = MeshPart4
1952
UnionOperation5.CFrame = CFrame.new(6.80000877, 42.7753944, -13.1603947, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1953
UnionOperation5.Position = Vector3.new(6.80000877, 42.7753944, -13.1603947)
1954
UnionOperation5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1955
UnionOperation5.Velocity = Vector3.new(0, -16.3500023, 0)
1956
UnionOperation5.Size = Vector3.new(1.89999914, 0.100013733, 1.20075035)
1957
UnionOperation5.BrickColor = BrickColor.new("Really black")
1958
UnionOperation5.CanCollide = false
1959
UnionOperation5.Locked = true
1960
UnionOperation5.Material = Enum.Material.SmoothPlastic
1961
UnionOperation5.brickColor = BrickColor.new("Really black")
1962
Weld6.Name = "Joint"
1963
Weld6.Parent = MeshPart4
1964
Weld6.C0 = CFrame.new(-9.53674316e-07, 1.15003967, -0.299623489, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1965
Weld6.Part0 = UnionOperation5
1966
Weld6.Part1 = MeshPart4
1967
Weld6.part1 = MeshPart4
1968
ParticleEmitter7.Name = "Wave"
1969
ParticleEmitter7.Parent = LocalScript1
1970
ParticleEmitter7.Speed = NumberRange.new(0, 0)
1971
ParticleEmitter7.Rotation = NumberRange.new(-180, 180)
1972
ParticleEmitter7.Enabled = false
1973
ParticleEmitter7.LightEmission = 1
1974
ParticleEmitter7.Texture = "rbxassetid://1084991215"
1975
ParticleEmitter7.Transparency = NumberSequence.new(0,0.39344263076782,0.66120219230652,0.83606559038162,1)
1976
ParticleEmitter7.ZOffset = 1
1977
ParticleEmitter7.Size = NumberSequence.new(0,0)
1978
ParticleEmitter7.Lifetime = NumberRange.new(0.30000001192093, 0.30000001192093)
1979
ParticleEmitter7.Rate = 1
1980
MeshPart8.Name = "Rock"
1981
MeshPart8.Parent = LocalScript1
1982
MeshPart8.CFrame = CFrame.new(4.78514624, 44.4145737, -17.2287712, 1, 0, 0, 0, 1, 0, 0, 0, 1)
1983
MeshPart8.Position = Vector3.new(4.78514624, 44.4145737, -17.2287712)
1984
MeshPart8.Size = Vector3.new(2.02970004, 1.97820997, 2.05747986)
1985
MeshPart8.Anchored = true
1986
MeshPart8.CanCollide = false
1987
MeshPart8.Locked = true
1988
ParticleEmitter9.Name = "Emit"
1989
ParticleEmitter9.Parent = mas
1990
ParticleEmitter9.Speed = NumberRange.new(0, 35)
1991
ParticleEmitter9.Rotation = NumberRange.new(0, 360)
1992
ParticleEmitter9.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118),Color3.new(0.423529, 0.345098, 0.294118))
1993
ParticleEmitter9.Enabled = false
1994
ParticleEmitter9.Texture = "rbxassetid://281633012"
1995
ParticleEmitter9.Transparency = NumberSequence.new(1,0.75409835577011,0,0)
1996
ParticleEmitter9.Size = NumberSequence.new(3,3.0601096153259,2.1311478614807,0)
1997
ParticleEmitter9.Acceleration = Vector3.new(0, -15, 0)
1998
ParticleEmitter9.Lifetime = NumberRange.new(1, 4)
1999
ParticleEmitter9.RotSpeed = NumberRange.new(-25, 25)
2000
ParticleEmitter9.SpreadAngle = Vector2.new(360, 360)
2001
ParticleEmitter9.VelocitySpread = 360
2002
ParticleEmitter10.Name = "Emit"
2003
ParticleEmitter10.Parent = LocalScript1
2004
ParticleEmitter10.Speed = NumberRange.new(0, 35)
2005
ParticleEmitter10.Rotation = NumberRange.new(0, 360)
2006
ParticleEmitter10.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118),Color3.new(0.423529, 0.345098, 0.294118))
2007
ParticleEmitter10.Enabled = false
2008
ParticleEmitter10.Texture = "rbxassetid://281633012"
2009
ParticleEmitter10.Transparency = NumberSequence.new(1,0.75409835577011,0,0)
2010
ParticleEmitter10.Size = NumberSequence.new(1,0)
2011
ParticleEmitter10.Acceleration = Vector3.new(0, -15, 0)
2012
ParticleEmitter10.Lifetime = NumberRange.new(1, 4)
2013
ParticleEmitter10.RotSpeed = NumberRange.new(-25, 25)
2014
ParticleEmitter10.SpreadAngle = Vector2.new(360, 360)
2015
ParticleEmitter10.VelocitySpread = 360
2016
UnionOperation11.Name = "Pillar"
2017
UnionOperation11.Parent = LocalScript1
2018
UnionOperation11.CFrame = CFrame.new(11.3000021, 47.423584, -17.6000175, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2019
UnionOperation11.Position = Vector3.new(11.3000021, 47.423584, -17.6000175)
2020
UnionOperation11.Color = Color3.new(0.639216, 0.635294, 0.647059)
2021
UnionOperation11.Size = Vector3.new(3, 8.00001526, 3)
2022
UnionOperation11.Anchored = true
2023
UnionOperation11.BrickColor = BrickColor.new("Medium stone grey")
2024
UnionOperation11.CanCollide = false
2025
UnionOperation11.Material = Enum.Material.SmoothPlastic
2026
UnionOperation11.brickColor = BrickColor.new("Medium stone grey")
2027
UnionOperation11.UsePartColor = true
2028
MeshPart12.Name = "Shield"
2029
MeshPart12.Parent = LocalScript1
2030
MeshPart12.CFrame = CFrame.new(4.78514624, 43.5792542, -17.2287712, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2031
MeshPart12.Position = Vector3.new(4.78514624, 43.5792542, -17.2287712)
2032
MeshPart12.Size = Vector3.new(1.38995004, 0.407837987, 1.91620004)
2033
MeshPart12.Anchored = true
2034
MeshPart12.Locked = true
2035
UnionOperation13.Name = "RockSpike"
2036
UnionOperation13.Parent = LocalScript1
2037
UnionOperation13.CFrame = CFrame.new(12.8000021, 53.4236221, -20.1000175, 1, 0, 0, 0, -1, 0, 0, 0, -1)
2038
UnionOperation13.Orientation = Vector3.new(0, 180, 180)
2039
UnionOperation13.Position = Vector3.new(12.8000021, 53.4236221, -20.1000175)
2040
UnionOperation13.Rotation = Vector3.new(-180, 0, 0)
2041
UnionOperation13.Color = Color3.new(0.423529, 0.345098, 0.294118)
2042
UnionOperation13.Size = Vector3.new(4, 20, 4)
2043
UnionOperation13.Anchored = true
2044
UnionOperation13.BrickColor = BrickColor.new("Pine Cone")
2045
UnionOperation13.CanCollide = false
2046
UnionOperation13.Material = Enum.Material.Slate
2047
UnionOperation13.brickColor = BrickColor.new("Pine Cone")
2048
UnionOperation13.UsePartColor = true
2049
UnionOperation14.Name = "SpinePart"
2050
UnionOperation14.Parent = LocalScript1
2051
UnionOperation14.CFrame = CFrame.new(-48.2499809, 43.5735779, -6.70000792, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2052
UnionOperation14.Position = Vector3.new(-48.2499809, 43.5735779, -6.70000792)
2053
UnionOperation14.Color = Color3.new(0.972549, 0.972549, 0.972549)
2054
UnionOperation14.Size = Vector3.new(0.300003052, 0.300010681, 0.599998474)
2055
UnionOperation14.Anchored = true
2056
UnionOperation14.CanCollide = false
2057
UnionOperation14.Locked = true
2058
UnionOperation14.Material = Enum.Material.SmoothPlastic
2059
ParticleEmitter15.Name = "Vortex"
2060
ParticleEmitter15.Parent = LocalScript1
2061
ParticleEmitter15.Speed = NumberRange.new(0, 0)
2062
ParticleEmitter15.Rotation = NumberRange.new(0, 360)
2063
ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118),Color3.new(0.423529, 0.345098, 0.294118))
2064
ParticleEmitter15.Enabled = false
2065
ParticleEmitter15.LightEmission = 1
2066
ParticleEmitter15.Texture = "rbxassetid://1084969997"
2067
ParticleEmitter15.Transparency = NumberSequence.new(1,0.5,0.5)
2068
ParticleEmitter15.ZOffset = -2
2069
ParticleEmitter15.Size = NumberSequence.new(0,0)
2070
ParticleEmitter15.Lifetime = NumberRange.new(1, 1)
2071
ParticleEmitter15.LockedToPart = true
2072
ParticleEmitter15.Rate = 0
2073
ParticleEmitter15.RotSpeed = NumberRange.new(360, 360)
2074
Pants16.Name = "Pants"
2075
Pants16.Parent = LocalScript1
2076
Pants16.PantsTemplate = "http://www.roblox.com/asset/?id=1614573917"
2077
Shirt17.Name = "Shirt"
2078
Shirt17.Parent = LocalScript1
2079
Shirt17.ShirtTemplate = "http://www.roblox.com/asset/?id=1604092628"
2080
for i,v in pairs(mas:GetChildren()) do
2081
	v.Parent = game:GetService("Players").LocalPlayer.Character
2082
	pcall(function() v:MakeJoints() end)
2083
end
2084
mas:Destroy()
2085
for i,v in pairs(cors) do
2086
	spawn(function()
2087
		pcall(v)
2088
	end)
2089
end