View difference between Paste ID: pN9yumME and dnp0365y
SHOW: | | - or go back to the newest paste.
1-
-----------------------
1+
-- This script has been converted to FE by iPxter
2-
--WhAT ANOTHER ONE????????!--
2+
3
4-
--A script By makhail07
4+
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6-
--This edit by 2003boobear
6+
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8-
--Discord Creterisk#2958 
8+
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11-
--https://cdn.discordapp.com/attachments/424766294303309844/424769047436197888/e41a6cbd-23cb-4553-bd39-1338429743a7.png
11+
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14-
local FavIDs = {
14+
	--Fake event to make stuff like Mouse.KeyDown work
15-
	340106355, --Nefl Crystals
15+
	local function fakeEvent()
16-
	927529620, --Dimension
16+
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17-
	876981900, --Fantasy
17+
		t.connect = t.Connect
18-
	398987889, --Ordinary Days
18+
		return t
19-
	1117396305, --Oh wait, it's you.
19+
20-
	885996042, --Action Winter Journey
20+
21-
	919231299, --Sprawling Idiot Effigy
21+
	--Creating fake input objects with fake variables
22-
	743466274, --Good Day Sunshine
22+
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23-
	727411183, --Knife Fight
23+
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24-
	1402748531, --The Earth Is Counting On You!
24+
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25-
	595230126 --Robot Language
25+
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30-
--The reality of my life isn't real but a Universe -makhail07
30+
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32-
local Player = game.Players.localPlayer
32+
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34-
local plr = game:service'Players'.LocalPlayer
34+
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45-
local mouse = plr:GetMouse()
45+
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
wait()
88
local Player = owner
89
local Character = Player.Character
90
local plr = owner
91
local char = plr.Character
92
local hum = char.Humanoid
93
local ra = char["Right Arm"]
94
local la= char["Left Arm"]
95
local rl= char["Right Leg"]
96
local ll = char["Left Leg"]
97
local hed = char.Head
98
local root = char.HumanoidRootPart
99
local rootj = root.RootJoint
100
local tors = char.Torso
101
local LeftArm = Character["Left Arm"]
102
local RightArm = Character["Right Arm"]
103
local LeftLeg = Character["Left Leg"]
104
local RightLeg = Character["Right Leg"]
105
local Head = Character.Head
106
local Torso = Character.Torso
107
local cam = game.Workspace.CurrentCamera
108
local RootPart = Character.HumanoidRootPart
109
local RootJoint = RootPart.RootJoint
110
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
111
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
112
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
113
local EdgyMode = false
114
local Divinity = false
115
local Fighter = false
116
local Purity = false
117
local Destruction = false
118
local helpme = false
119
local Planetary = false
120
local Solar = false
121
local Lunar = false
122
local Frost = false
123
local Ashes = false
124
local Ascend = false
125
local Overclocked = false
126
local Darkness = false
127
local Wow = false
128
local Balance = false
129
local notmenacing = true
130
local maincolor = BrickColor.new("Institutional white")
131
 and Wow == false
132
--do a die
133
--tecks2.Text = "ASCEND"
134
--tecks2.TextColor3 = Color3.fromRGB(255, 0, 255)
135
--tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
136
-------------------------------------------------------
137
--Start Good Stuff--
138
-------------------------------------------------------
139
CF = CFrame.new
140
VT = Vector3.new
141
angles = CFrame.Angles
142
attack = false
143
Euler = CFrame.fromEulerAnglesXYZ
144
Rad = math.rad
145
IT = Instance.new
146
BrickC = BrickColor.new
147
Cos = math.cos
148
Acos = math.acos
149
Sin = math.sin
150
Asin = math.asin
151
Abs = math.abs
152
Mrandom = math.random
153
Floor = math.floor
154
local cn = CFrame.new
155
local mr = math.rad
156
local angles = CFrame.Angles
157
local ud = UDim2.new
158
local c3 = Color3.new
159
-------------------------------------------------------
160
--End Good Stuff--
161
-------------------------------------------------------
162
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
163
RSH, LSH = nil, nil 
164
RW = Instance.new("Weld") 
165
LW = Instance.new("Weld")
166
RH = tors["Right Hip"]
167
LH = tors["Left Hip"]
168
RSH = tors["Right Shoulder"] 
169
LSH = tors["Left Shoulder"] 
170
RSH.Parent = nil 
171
LSH.Parent = nil 
172
RW.Name = "RW"
173
RW.Part0 = tors 
174
RW.C0 = CF(1.5, 0.5, 0)
175
RW.C1 = CF(0, 0.5, 0) 
176
RW.Part1 = ra
177
RW.Parent = tors 
178
LW.Name = "LW"
179
LW.Part0 = tors 
180
LW.C0 = CF(-1.5, 0.5, 0)
181
LW.C1 = CF(0, 0.5, 0) 
182
LW.Part1 = la
183
LW.Parent = tors
184
Effects = {}
185
186
-------------------------------------------------------
187
--Start HeartBeat--
188
-------------------------------------------------------
189
ArtificialHB = Instance.new("BindableEvent", script)
190
ArtificialHB.Name = "Heartbeat"
191
script:WaitForChild("Heartbeat")
192
193
frame = 1 / 60
194
tf = 0
195
allowframeloss = false
196
tossremainder = false
197
198
199
lastframe = tick()
200
script.Heartbeat:Fire()
201
202
BATAUNT = Instance.new("Sound", tors)
203
BATAUNT.SoundId = "http://www.roblox.com/asset/?id=132514715"
204
BATAUNT.Volume = 10
205
BATAUNT.Pitch = 1
206
BATAUNT.Looped = false
207
BATAUNT.TimePosition = 0
208
209
LAZOR = Instance.new("Sound", ra)
210
LAZOR.SoundId = "http://www.roblox.com/asset/?id=201858045"
211
LAZOR.Volume = 10
212
LAZOR.Pitch = 0.7
213
LAZOR.Looped = false
214
LAZOR.TimePosition = 0
215
216
game:GetService("RunService").Heartbeat:connect(function(s, p)
217
	tf = tf + s
218
	if tf >= frame then
219
		if allowframeloss then
220
			script.Heartbeat:Fire()
221
			lastframe = tick()
222
		else
223
			for i = 1, math.floor(tf / frame) do
224
				script.Heartbeat:Fire()
225
			end
226
			lastframe = tick()
227
		end
228
		if tossremainder then
229
			tf = 0
230
		else
231
			tf = tf - frame * math.floor(tf / frame)
232
		end
233
	end
234
end)
235
236
-------------------------------------------------------
237
--End HeartBeat--
238
-------------------------------------------------------
239
240
local insanity={"hELPmE","iNsAnItY","iNsAnItY","InsAnITTTTY","InsAnityYyyyy","iNsAnItY","Insane","rUN","sCATTER","bEGoNE","cRAZY","mAD wIth pOWeR","hAHAAA","SanItyyYYYyYy","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","hELP","iNsAnItY","iNsAnItY","dREaD","nIgHTFAll","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY"} --why
241
242
local NOUSE={"nOUsE","dONT TrYYYYYY","DiE FOr MEEEEE","HAAHHHHHA","BeGONE","UnSTOpPAbLE","WRYYyY","rUN","NoUsE","nO HOPe FOr tHE HoPELEsS","cRAZY","mAD wIth pOWeR","hAHAAA","SanItyyYYYyYy","S o U L S","fEED","hUNgEr","HAHAAAAAAAAHHAHAAHA","aAAAaAAAAaA","bEGoNE sINnERRRR"} --aaaaaaa
243
244
245
-------------------------------------------------------
246
--Start Important Functions--
247
-------------------------------------------------------
248
function swait(num)
249
	if num == 0 or num == nil then
250
		game:service("RunService").Stepped:wait(0)
251
	else
252
		for i = 0, num do
253
			game:service("RunService").Stepped:wait(0)
254
		end
255
	end
256
end
257
258
function CameraEnshaking(Length, Intensity)
259
	coroutine.resume(coroutine.create(function()
260
		local intensity = 1 * Intensity
261
		local rotM = 0.01 * Intensity
262
		for i = 0, Length, 0.1 do
263
			swait()
264
			intensity = intensity - 0.05 * Intensity / Length
265
			rotM = rotM - 5.0E-4 * Intensity / Length
266
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
267
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
268
		end
269
		hum.CameraOffset = Vector3.new(0, 0, 0)
270
	end))
271
end
272
273
function thread(f)
274
	coroutine.resume(coroutine.create(f))
275
end
276
function clerp(a, b, t)
277
	local qa = {
278
		QuaternionFromCFrame(a)
279
	}
280
	local qb = {
281
		QuaternionFromCFrame(b)
282
	}
283
	local ax, ay, az = a.x, a.y, a.z
284
	local bx, by, bz = b.x, b.y, b.z
285
	local _t = 1 - t
286
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
287
end
288
function QuaternionFromCFrame(cf)
289
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
290
	local trace = m00 + m11 + m22
291
	if trace > 0 then
292
		local s = math.sqrt(1 + trace)
293
		local recip = 0.5 / s
294
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
295
	else
296
		local i = 0
297
		if m00 < m11 then
298
			i = 1
299
		end
300
		if m22 > (i == 0 and m00 or m11) then
301
			i = 2
302
		end
303
		if i == 0 then
304
			local s = math.sqrt(m00 - m11 - m22 + 1)
305
			local recip = 0.5 / s
306
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
307
		elseif i == 1 then
308
			local s = math.sqrt(m11 - m22 - m00 + 1)
309
			local recip = 0.5 / s
310
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
311
		elseif i == 2 then
312
			local s = math.sqrt(m22 - m00 - m11 + 1)
313
			local recip = 0.5 / s
314
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
315
		end
316
	end
317
end
318
function QuaternionToCFrame(px, py, pz, x, y, z, w)
319
	local xs, ys, zs = x + x, y + y, z + z
320
	local wx, wy, wz = w * xs, w * ys, w * zs
321
	local xx = x * xs
322
	local xy = x * ys
323
	local xz = x * zs
324
	local yy = y * ys
325
	local yz = y * zs
326
	local zz = z * zs
327
	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))
328
end
329
function QuaternionSlerp(a, b, t)
330
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
331
	local startInterp, finishInterp
332
	if cosTheta >= 1.0E-4 then
333
		if 1 - cosTheta > 1.0E-4 then
334
			local theta = math.acos(cosTheta)
335
			local invSinTheta = 1 / Sin(theta)
336
			startInterp = Sin((1 - t) * theta) * invSinTheta
337
			finishInterp = Sin(t * theta) * invSinTheta
338
		else
339-
			Value = game:service("Players").LocalPlayer,
339+
340
			finishInterp = t
341
		end
342
	elseif 1 + cosTheta > 1.0E-4 then
343
		local theta = math.acos(-cosTheta)
344
		local invSinTheta = 1 / Sin(theta)
345
		startInterp = Sin((t - 1) * theta) * invSinTheta
346
		finishInterp = Sin(t * theta) * invSinTheta
347
	else
348
		startInterp = t - 1
349
		finishInterp = t
350
	end
351
	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
352
end
353
function rayCast(Position, Direction, Range, Ignore)
354
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
355
end
356
local RbxUtility = LoadLibrary("RbxUtility")
357
local Create = RbxUtility.Create
358
359
warn("I'ma just call dis WhAT ANOTHER ONE V1.5")
360
361
warn("Please support the original creator, makhail07.")
362
363
warn("Also, 2003boobear made this edit.")
364
365
-------------------------------------------------------
366
--Start Damage Function--
367
-------------------------------------------------------
368
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
369
	if hit.Parent == nil then
370
		return
371
	end
372
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
373
	for _, v in pairs(hit.Parent:children()) do
374
		if v:IsA("Humanoid") then
375
			h = v
376
		end
377
	end
378
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
379
	
380
         hit.Parent:FindFirstChild("Head"):BreakJoints()
381
         end
382
383
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
384
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
385
			if hit.Parent.DebounceHit.Value == true then
386
				return
387
			end
388
		end
389
         if insta == true then
390
         hit.Parent:FindFirstChild("Head"):BreakJoints()
391
         end
392
		local c = Create("ObjectValue"){
393
			Name = "creator",
394
			Value = owner,
395
			Parent = h,
396
		}
397
		game:GetService("Debris"):AddItem(c, .5)
398
		if HitSound ~= nil and HitPitch ~= nil then
399
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
400
		end
401
		local Damage = math.random(minim, maxim)
402
		local blocked = false
403
		local block = hit.Parent:findFirstChild("Block")
404
		if block ~= nil then
405
			if block.className == "IntValue" then
406
				if block.Value > 0 then
407
					blocked = true
408
					block.Value = block.Value - 1
409
					print(block.Value)
410
				end
411
			end
412
		end
413
		if blocked == false then
414
			h.Health = h.Health - Damage
415
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
416
		else
417
			h.Health = h.Health - (Damage / 2)
418
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
419
		end
420
		if Type == "Knockdown" then
421
			local hum = hit.Parent.Humanoid
422
			hum.PlatformStand = true
423
			coroutine.resume(coroutine.create(function(HHumanoid)
424
				swait(1)
425
				HHumanoid.PlatformStand = false
426
			end), hum)
427
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
428
			local bodvol = Create("BodyVelocity"){
429
				velocity = angle * knockback,
430
				P = 5000,
431
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
432
				Parent = hit,
433
			}
434
			local rl = Create("BodyAngularVelocity"){
435
				P = 3000,
436
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
437
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
438
				Parent = hit,
439
			}
440
			game:GetService("Debris"):AddItem(bodvol, .5)
441
			game:GetService("Debris"):AddItem(rl, .5)
442
		elseif Type == "Normal" then
443
			local vp = Create("BodyVelocity"){
444
				P = 500,
445
				maxForce = Vector3.new(math.huge, 0, math.huge),
446
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
447
			}
448
			if knockback > 0 then
449
				vp.Parent = hit.Parent.Torso
450
			end
451
			game:GetService("Debris"):AddItem(vp, .5)
452
		elseif Type == "Up" then
453
			local bodyVelocity = Create("BodyVelocity"){
454
				velocity = Vector3.new(0, 20, 0),
455
				P = 5000,
456
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
457
				Parent = hit,
458
			}
459
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
460
		elseif Type == "DarkUp" then
461
			coroutine.resume(coroutine.create(function()
462
				for i = 0, 1, 0.1 do
463
					swait()
464
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
465
				end
466
			end))
467
			local bodyVelocity = Create("BodyVelocity"){
468
				velocity = Vector3.new(0, 20, 0),
469
				P = 5000,
470
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
471
				Parent = hit,
472
			}
473
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
474
		elseif Type == "Snare" then
475
			local bp = Create("BodyPosition"){
476
				P = 2000,
477
				D = 100,
478
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
479
				position = hit.Parent.Torso.Position,
480
				Parent = hit.Parent.Torso,
481
			}
482
			game:GetService("Debris"):AddItem(bp, 1)
483
		elseif Type == "Freeze" then
484
			local BodPos = Create("BodyPosition"){
485
				P = 50000,
486
				D = 1000,
487
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
488
				position = hit.Parent.Torso.Position,
489
				Parent = hit.Parent.Torso,
490
			}
491
			local BodGy = Create("BodyGyro") {
492
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
493
				P = 20e+003,
494
				Parent = hit.Parent.Torso,
495
				cframe = hit.Parent.Torso.CFrame,
496
			}
497
			hit.Parent.Torso.Anchored = true
498
			coroutine.resume(coroutine.create(function(Part) 
499
				swait(1.5)
500
				Part.Anchored = false
501
			end), hit.Parent.Torso)
502
			game:GetService("Debris"):AddItem(BodPos, 3)
503
			game:GetService("Debris"):AddItem(BodGy, 3)
504
		end
505
		local debounce = Create("BoolValue"){
506
			Name = "DebounceHit",
507
			Parent = hit.Parent,
508
			Value = true,
509
		}
510
		game:GetService("Debris"):AddItem(debounce, Delay)
511
		c = Create("ObjectValue"){
512
			Name = "creator",
513
			Value = Player,
514
			Parent = h,
515
		}
516
		game:GetService("Debris"):AddItem(c, .5)
517
	end
518
end
519
-------------------------------------------------------
520
--End Damage Function--
521
-------------------------------------------------------
522
local DColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,0,0)),
523
ColorSequenceKeypoint.new(0.16, Color3.new(1,0,0)),
524
ColorSequenceKeypoint.new(0.32, Color3.new(1,0,0)),
525
ColorSequenceKeypoint.new(0.48, Color3.new(1,0,0)),
526
ColorSequenceKeypoint.new(0.64, Color3.new(1,0,0)),
527
ColorSequenceKeypoint.new(0.80, Color3.new(0,0,0)),
528
ColorSequenceKeypoint.new(0.96, Color3.new(0,0,0)),
529
ColorSequenceKeypoint.new(1, Color3.new(0,0,0))}
530
local DAtch3 = Instance.new("Attachment",ll)DAtch3.Position = Vector3.new(0,1.1,0)
531
local DAtch4 = Instance.new("Attachment",ll)DAtch4.Position = Vector3.new(0,-0.6,0)
532
local DTrail2 = Instance.new("Trail",ll)DTrail2.Attachment0 = DAtch3 DTrail2.Attachment1 = DAtch4
533
DTrail2.Texture = "rbxassetid://22636887" DTrail2.Lifetime = 0.2 DTrail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
534
DTrail2.Color = ColorSequence.new(DColorsArray) DTrail2.LightEmission = 1 
535
DTrail2.Enabled = false
536
local DAtch5 = Instance.new("Attachment",rl)DAtch5.Position = Vector3.new(0,1.1,0)
537
local DAtch6 = Instance.new("Attachment",rl)DAtch6.Position = Vector3.new(0,-0.6,0)
538
local DTrail3 = Instance.new("Trail",rl)DTrail3.Attachment0 = DAtch5 DTrail3.Attachment1 = DAtch6
539
DTrail3.Texture = "rbxassetid://22636887" DTrail3.Lifetime = 0.2 DTrail3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
540
DTrail3.Color = ColorSequence.new(DColorsArray) DTrail3.LightEmission = 1 
541
DTrail3.Enabled = false
542
local DAtch7 = Instance.new("Attachment",ra)DAtch7.Position = Vector3.new(0,1.1,0)
543
local DAtch8 = Instance.new("Attachment",ra)DAtch8.Position = Vector3.new(0,-0.6,0)
544
local DTrail4 = Instance.new("Trail",ra)DTrail4.Attachment0 = DAtch7 DTrail4.Attachment1 = DAtch8
545
DTrail4.Texture = "rbxassetid://22636887" DTrail4.Lifetime = 0.2 DTrail4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
546
DTrail4.Color = ColorSequence.new(DColorsArray) DTrail4.LightEmission = 1 
547
DTrail4.Enabled = false
548
local DAtch9 = Instance.new("Attachment",la)DAtch9.Position = Vector3.new(0,1.1,0)
549
local DAtch10 = Instance.new("Attachment",la)DAtch10.Position = Vector3.new(0,-0.6,0)
550
local DTrail5 = Instance.new("Trail",la)DTrail5.Attachment0 = DAtch9 DTrail5.Attachment1 = DAtch10
551
DTrail5.Texture = "rbxassetid://22636887" DTrail5.Lifetime = 0.2 DTrail5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
552
DTrail5.Color = ColorSequence.new(DColorsArray) DTrail5.LightEmission = 1 
553
DTrail5.Enabled = false
554
local DAtch1 = Instance.new("Attachment",Torso)DAtch1.Position = Vector3.new(0,1.1,0)
555
local DAtch2 = Instance.new("Attachment",Torso)DAtch2.Position = Vector3.new(0,-2.5,0)
556
local DTrail = Instance.new("Trail",Torso)DTrail.Attachment0 = DAtch1 DTrail.Attachment1 = DAtch2
557
DTrail.Texture = "rbxassetid://22636887" DTrail.Lifetime = 0.2 DTrail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
558
DTrail.Color = ColorSequence.new(DColorsArray) DTrail.LightEmission = 1 
559
DTrail.Enabled = false
560
-------------------------------------------------------
561
--Start Damage Function Customization--
562
-------------------------------------------------------
563
function ShowDamage(Pos, Text, Time, Color)
564
	local Rate = (1 / 30)
565
	local Pos = (Pos or Vector3.new(0, 0, 0))
566
	local Text = (Text or "")
567
	local Time = (Time or 2)
568
	local Color = (Color or Color3.new(1, 0, 1))
569
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
570
	EffectPart.Anchored = true
571
	local BillboardGui = Create("BillboardGui"){
572
		Size = UDim2.new(3, 0, 3, 0),
573
		Adornee = EffectPart,
574
		Parent = EffectPart,
575
	}
576
	local TextLabel = Create("TextLabel"){
577
		BackgroundTransparency = 1,
578
		Size = UDim2.new(1, 0, 1, 0),
579
		Text = Text,
580
		Font = "Highway",
581
		TextColor3 = Color,
582
		TextScaled = true,
583
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
584
		Parent = BillboardGui,
585
	}
586
	game.Debris:AddItem(EffectPart, (Time))
587
	EffectPart.Parent = game:GetService("Workspace")
588
	delay(0, function()
589
		local Frames = (Time / Rate)
590
		for Frame = 1, Frames do
591
			wait(Rate)
592
			local Percent = (Frame / Frames)
593
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
594
			TextLabel.TextTransparency = Percent
595
		end
596
		if EffectPart and EffectPart.Parent then
597
			EffectPart:Destroy()
598
		end
599
	end)
600
end
601
-------------------------------------------------------
602
--End Damage Function Customization--
603
-------------------------------------------------------
604
605
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
606
  for _, c in pairs(workspace:children()) do
607
    local hum = c:findFirstChild("Humanoid")
608
    if hum ~= nil then
609
      local head = c:findFirstChild("Head")
610
      if head ~= nil then
611
        local targ = head.Position - Part.Position
612
        local mag = targ.magnitude
613
        if magni >= mag and c.Name ~= plr.Name then
614
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
615
        end
616
      end
617
    end
618
  end
619
end
620
621
function PlayAnimationFromTable(table, speed, bool) --i didn't make this you fattie
622
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
623
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
624
	RW.C0 = clerp(RW.C0, table[3], speed) 
625
	LW.C0 = clerp(LW.C0, table[4], speed) 
626
	RH.C0 = clerp(RH.C0, table[5], speed) 
627
	LH.C0 = clerp(LH.C0, table[6], speed) 
628
	if bool == true then
629
		if resetc1 == false then
630
			resetc1 = true
631
			RootJoint.C1 = RootJoint.C1
632
			Torso.Neck.C1 = Torso.Neck.C1
633
			RW.C1 = rarmc1
634
			LW.C1 = larmc1
635
			RH.C1 = rlegc1
636
			LH.C1 = llegc1
637
		end
638
	end
639
end
640
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
641
	local type = type
642
	local rng = Instance.new("Part", char)
643
	rng.Anchored = true
644
	rng.BrickColor = color
645
	rng.CanCollide = false
646
	rng.FormFactor = 3
647
	rng.Name = "Ring"
648
	rng.Material = "Neon"
649
	rng.Size = Vector3.new(1, 1, 1)
650
	rng.Transparency = 0
651
	rng.TopSurface = 0
652
	rng.BottomSurface = 0
653
	rng.CFrame = pos
654
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
655
	local rngm = Instance.new("SpecialMesh", rng)
656
	rngm.MeshType = MType
657
	rngm.Scale = Vector3.new(x1, y1, z1)
658
	local scaler2 = 1
659
	local speeder = FastSpeed
660
	if type == "Add" then
661
		scaler2 = 1 * value
662
	elseif type == "Divide" then
663
		scaler2 = 1 / value
664
	end
665
	coroutine.resume(coroutine.create(function()
666
		for i = 0, 10 / bonuspeed, 0.1 do
667
			swait()
668
			if type == "Add" then
669
				scaler2 = scaler2 - 0.01 * value / bonuspeed
670
			elseif type == "Divide" then
671
				scaler2 = scaler2 - 0.01 / value * bonuspeed
672
			end
673
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
674
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
675
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
676
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
677
		end
678
		rng:Destroy()
679
	end))
680
end
681
CFuncs = {
682
	Part = {
683
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
684
			local Part = Create("Part")({
685
				Parent = Parent,
686
				Reflectance = Reflectance,
687
				Transparency = Transparency,
688
				CanCollide = false,
689
				Locked = true,
690
				BrickColor = BrickColor.new(tostring(BColor)),
691
				Name = Name,
692
				Size = Size,
693
				Material = Material
694
			})
695
			RemoveOutlines(Part)
696
			return Part
697
		end
698
	},
699
	Mesh = {
700
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
701
			local Msh = Create(Mesh)({
702
				Parent = Part,
703
				Offset = OffSet,
704
				Scale = Scale
705
			})
706
			if Mesh == "SpecialMesh" then
707
				Msh.MeshType = MeshType
708
				Msh.MeshId = MeshId
709
			end
710
			return Msh
711
		end
712
	},
713
	Mesh = {
714
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
715
			local Msh = Create(Mesh)({
716
				Parent = Part,
717
				Offset = OffSet,
718
				Scale = Scale
719
			})
720
			if Mesh == "SpecialMesh" then
721
				Msh.MeshType = MeshType
722
				Msh.MeshId = MeshId
723
			end
724
			return Msh
725
		end
726
	},
727
	Weld = {
728
		Create = function(Parent, Part0, Part1, C0, C1)
729
			local Weld = Create("Weld")({
730
				Parent = Parent,
731
				Part0 = Part0,
732
				Part1 = Part1,
733
				C0 = C0,
734
				C1 = C1
735
			})
736
			return Weld
737
		end
738
	},
739
	Sound = {
740
		Create = function(id, par, vol, pit)
741
			coroutine.resume(coroutine.create(function()
742
				local S = Create("Sound")({
743
					Volume = vol,
744
					Pitch = pit or 1,
745
					SoundId = id,
746
					Parent = par or workspace
747
				})
748
				wait()
749
				S:play()
750
				game:GetService("Debris"):AddItem(S, 6)
751
			end))
752
		end
753
	},
754
	ParticleEmitter = {
755
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
756
			local fp = Create("ParticleEmitter")({
757
				Parent = Parent,
758
				Color = ColorSequence.new(Color1, Color2),
759
				LightEmission = LightEmission,
760
				Size = Size,
761
				Texture = Texture,
762
				Transparency = Transparency,
763
				ZOffset = ZOffset,
764
				Acceleration = Accel,
765
				Drag = Drag,
766
				LockedToPart = LockedToPart,
767
				VelocityInheritance = VelocityInheritance,
768
				EmissionDirection = EmissionDirection,
769
				Enabled = Enabled,
770
				Lifetime = LifeTime,
771
				Rate = Rate,
772
				Rotation = Rotation,
773
				RotSpeed = RotSpeed,
774
				Speed = Speed,
775
				VelocitySpread = VelocitySpread
776
			})
777
			return fp
778
		end
779
	}
780
}
781
function RemoveOutlines(part)
782
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
783
end
784
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
785
	local Part = Create("Part")({
786
		formFactor = FormFactor,
787
		Parent = Parent,
788
		Reflectance = Reflectance,
789
		Transparency = Transparency,
790
		CanCollide = false,
791
		Locked = true,
792
		BrickColor = BrickColor.new(tostring(BColor)),
793
		Name = Name,
794
		Size = Size,
795
		Material = Material
796
	})
797
	RemoveOutlines(Part)
798
	return Part
799
end
800
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
801
	local Msh = Create(Mesh)({
802
		Parent = Part,
803
		Offset = OffSet,
804
		Scale = Scale
805
	})
806
	if Mesh == "SpecialMesh" then
807
		Msh.MeshType = MeshType
808
		Msh.MeshId = MeshId
809
	end
810
	return Msh
811
end
812
function CreateWeld(Parent, Part0, Part1, C0, C1)
813
	local Weld = Create("Weld")({
814
		Parent = Parent,
815
		Part0 = Part0,
816
		Part1 = Part1,
817
		C0 = C0,
818
		C1 = C1
819
	})
820
	return Weld
821
end
822
823
824
-------------------------------------------------------
825
--Start Effect Function--
826
-------------------------------------------------------
827
EffectModel = Instance.new("Model", char)
828
Effects = {
829
  Block = {
830
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
831
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
832
      prt.Anchored = true
833
      prt.CFrame = cframe
834
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
835
      game:GetService("Debris"):AddItem(prt, 10)
836
      if Type == 1 or Type == nil then
837
        table.insert(Effects, {
838
          prt,
839
          "Block1",
840
          delay,
841
          x3,
842
          y3,
843
          z3,
844
          msh
845
        })
846
      elseif Type == 2 then
847
        table.insert(Effects, {
848
          prt,
849
          "Block2",
850
          delay,
851
          x3,
852
          y3,
853
          z3,
854
          msh
855
        })
856
      else
857
        table.insert(Effects, {
858
          prt,
859
          "Block3",
860
          delay,
861
          x3,
862
          y3,
863
          z3,
864
          msh
865
        })
866
      end
867
    end
868
  },
869
  Sphere = {
870
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
871
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
872
      prt.Anchored = true
873
      prt.CFrame = cframe
874
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
875
      game:GetService("Debris"):AddItem(prt, 10)
876
      table.insert(Effects, {
877
        prt,
878
        "Cylinder",
879
        delay,
880
        x3,
881
        y3,
882
        z3,
883
        msh
884
      })
885
    end
886
  },
887
  Cylinder = {
888
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
889
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
890
      prt.Anchored = true
891
      prt.CFrame = cframe
892
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
893
      game:GetService("Debris"):AddItem(prt, 10)
894
      table.insert(Effects, {
895
        prt,
896
        "Cylinder",
897
        delay,
898
        x3,
899
        y3,
900
        z3,
901
        msh
902
      })
903
    end
904
  },
905
  Wave = {
906
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
907
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
908
      prt.Anchored = true
909
      prt.CFrame = cframe
910
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
911
      game:GetService("Debris"):AddItem(prt, 10)
912
      table.insert(Effects, {
913
        prt,
914
        "Cylinder",
915
        delay,
916
        x3 / 60,
917
        y3 / 60,
918
        z3 / 60,
919
        msh
920
      })
921
    end
922
  },
923
  Ring = {
924
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
925
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
926
      prt.Anchored = true
927
      prt.CFrame = cframe
928
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
929
      game:GetService("Debris"):AddItem(prt, 10)
930
      table.insert(Effects, {
931
        prt,
932
        "Cylinder",
933
        delay,
934
        x3,
935
        y3,
936
        z3,
937
        msh
938
      })
939
    end
940
  },
941
  Break = {
942
    Create = function(brickcolor, cframe, x1, y1, z1)
943
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
944
      prt.Anchored = true
945
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
946
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
947
      local num = math.random(10, 50) / 1000
948
      game:GetService("Debris"):AddItem(prt, 10)
949
      table.insert(Effects, {
950
        prt,
951
        "Shatter",
952
        num,
953
        prt.CFrame,
954
        math.random() - math.random(),
955
        0,
956
        math.random(50, 100) / 100
957
      })
958
    end
959
  },
960
Spiral = {
961
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
962
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
963
      prt.Anchored = true
964
      prt.CFrame = cframe
965
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
966
      game:GetService("Debris"):AddItem(prt, 10)
967
      table.insert(Effects, {
968
        prt,
969
        "Cylinder",
970
        delay,
971
        x3,
972
        y3,
973
        z3,
974
        msh
975
      })
976
    end
977
  },
978
Push = {
979
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
980
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
981
      prt.Anchored = true
982
      prt.CFrame = cframe
983
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
984
      game:GetService("Debris"):AddItem(prt, 10)
985
      table.insert(Effects, {
986
        prt,
987
        "Cylinder",
988
        delay,
989
        x3,
990
        y3,
991
        z3,
992
        msh
993
      })
994
    end
995
  }
996
}
997
-------------------------------------------------------
998
--End Effect Function--
999
-------------------------------------------------------
1000
1001
function CreateSound(ID, PARENT, VOLUME, PITCH)
1002
	local NSound = nil
1003
	coroutine.resume(coroutine.create(function()
1004
		NSound = Instance.new("Sound", PARENT)
1005
		NSound.Volume = VOLUME
1006
		NSound.Pitch = PITCH
1007
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1008
		swait()
1009
		NSound:play()
1010
		game:GetService("Debris"):AddItem(NSound, 10)
1011
	end))
1012
	return NSound
1013
end
1014
1015
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1016
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1017
  prt.Anchored = true
1018
  prt.CFrame = cframe
1019
  local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1020
  game:GetService("Debris"):AddItem(prt, 10)
1021
  if Type == 1 or Type == nil then
1022
    table.insert(Effects, {
1023
      prt,
1024
      "Block1",
1025
      delay,
1026
      x3,
1027
      y3,
1028
      z3,
1029
      msh
1030
    })
1031
  elseif Type == 2 then
1032
    table.insert(Effects, {
1033
      prt,
1034
      "Block2",
1035
      delay,
1036
      x3,
1037
      y3,
1038
      z3,
1039
      msh
1040
    })
1041
  elseif Type == 3 then
1042
    table.insert(Effects, {
1043
      prt,
1044
      "Block3",
1045
      delay,
1046
      x3,
1047
      y3,
1048
      z3,
1049
      msh
1050
    })
1051
  end
1052
end
1053
1054
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
1055
local fp=Instance.new("Part")
1056
fp.formFactor=formfactor 
1057
fp.Parent=parent
1058
fp.Reflectance=reflectance
1059
fp.Transparency=transparency
1060
fp.CanCollide=false 
1061
fp.Locked=true
1062
fp.BrickColor=brickcolor
1063
fp.Name=name
1064
fp.Size=size
1065
fp.Position=tors.Position 
1066
RemoveOutlines(fp)
1067
fp.Material="SmoothPlastic"
1068
fp:BreakJoints()
1069
return fp 
1070
end 
1071
 
1072
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1073
local mesh=Instance.new(Mesh) 
1074
mesh.Parent=part
1075
if Mesh=="SpecialMesh" then
1076
mesh.MeshType=meshtype
1077
if meshid~="nil" then
1078
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
1079
end
1080
end
1081
mesh.Offset=offset
1082
mesh.Scale=scale
1083
return mesh
1084
end
1085
1086
function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
1087
	local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1088
	prt.Anchored = true
1089
	prt.Material = "Neon"
1090
	prt.CFrame = cframe
1091
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1092
	game:GetService("Debris"):AddItem(prt, 5)
1093
	coroutine.resume(coroutine.create(function(Part, Mesh)
1094
		local rtype = rottype
1095
		for i = 0, 1, delay do
1096
			swait()
1097
			if rtype == 1 then
1098
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1099
			elseif rtype == 2 then
1100
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1101
			end
1102
			prt.Transparency = i
1103
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1104
		end
1105
		Part.Parent = nil
1106
	end), prt, msh)
1107
end
1108
1109
1110
function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1111
	local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1112
	prt.Anchored = true
1113
	prt.Material = "Neon"
1114
	prt.CFrame = cframe
1115
	prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1116
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1117
	game:GetService("Debris"):AddItem(prt, 5)
1118
	coroutine.resume(coroutine.create(function(Part, Mesh)
1119
		for i = 0, 1, delay do
1120
			swait()
1121
			Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1122
			Part.Transparency = i
1123
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1124
		end
1125
		Part.Parent = nil
1126
	end), prt, msh)
1127
end
1128
1129
1130
function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
1131
	local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1132
	prt.Anchored = true
1133
	prt.Material = "Neon"
1134
	prt.CFrame = cframe
1135
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
1136
	game:GetService("Debris"):AddItem(prt, 5)
1137
	coroutine.resume(coroutine.create(function(Part, Mesh)
1138
		local rtype = rottype
1139
		for i = 0, 1, delay do
1140
			swait()
1141
			if rtype == 1 then
1142
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1143
			elseif rtype == 2 then
1144
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1145
			end
1146
			prt.Transparency = i
1147
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0)
1148
		end
1149
		Part.Parent = nil
1150
	end), prt, msh)
1151
end
1152
1153
function SoulSteal(dude)
1154
if dude.Name ~= char then
1155
local bgf = IT("BodyGyro", dude.Head)
1156
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1157
local val = IT("BoolValue", dude)
1158
val.Name = "IsHit"
1159
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1160
local soulst = coroutine.wrap(function()
1161
local soul = Instance.new("Part",dude)
1162
soul.Size = Vector3.new(1,1,1)
1163
soul.CanCollide = false
1164
soul.Anchored = false
1165
soul.Position = torso.Position
1166
soul.Transparency = 1
1167
local PartEmmit1 = IT("ParticleEmitter", soul)
1168
PartEmmit1.LightEmission = 1
1169
PartEmmit1.Texture = "rbxassetid://569507414"
1170
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1171
PartEmmit1.Rate = 250
1172
PartEmmit1.Lifetime = NumberRange.new(1.6)
1173
PartEmmit1.Size = NumberSequence.new({
1174
	NumberSequenceKeypoint.new(0, 1, 0),
1175
	NumberSequenceKeypoint.new(1, 0, 0)
1176
})
1177
PartEmmit1.Transparency = NumberSequence.new({
1178
	NumberSequenceKeypoint.new(0, 0, 0),
1179
	NumberSequenceKeypoint.new(1, 1, 0)
1180
})
1181
PartEmmit1.Speed = NumberRange.new(0, 0)
1182
PartEmmit1.VelocitySpread = 30000
1183
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1184
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1185
local BodPoss = IT("BodyPosition", soul)
1186
BodPoss.P = 3000
1187
BodPoss.D = 1000
1188
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1189
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1190
wait(1.6)
1191
soul.Touched:connect(function(hit)
1192
	if hit.Parent == char then
1193
	soul:Destroy()
1194
	end
1195
end)
1196
wait(1.2)
1197
while soul do
1198
	swait()
1199
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1200
	BodPoss.Position = tors.Position
1201
end
1202
end)
1203
	soulst()
1204
	end
1205
end
1206
function FaceMouse()
1207
local	Cam = workspace.CurrentCamera
1208
	return {
1209
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1210
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1211
	}
1212
end
1213
1214
function Eviscerate(dude)
1215
	if dude.Name ~= char then
1216
		local bgf = IT("BodyGyro", dude.Head)
1217
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1218
		local val = IT("BoolValue", dude)
1219
		val.Name = "IsHit"
1220
		local ds = coroutine.wrap(function()
1221
			dude:WaitForChild("Head"):BreakJoints()
1222
			wait(0.5)
1223
			target = nil
1224
			coroutine.resume(coroutine.create(function()
1225
				for i, v in pairs(dude:GetChildren()) do
1226
					if v:IsA("Accessory") then
1227
						v:Destroy()
1228
					end
1229
					if v:IsA("Humanoid") then
1230
						v:Destroy()
1231
					end
1232
					if v:IsA("CharacterMesh") then
1233
						v:Destroy()
1234
					end
1235
					if v:IsA("Model") then
1236
						v:Destroy()
1237
					end
1238
					if v:IsA("Part") or v:IsA("MeshPart") then
1239
						for x, o in pairs(v:GetChildren()) do
1240
							if o:IsA("Decal") then
1241
								o:Destroy()
1242
							end
1243
						end
1244
						coroutine.resume(coroutine.create(function()
1245
							v.Material = "Neon"
1246
							v.CanCollide = false
1247
							local PartEmmit1 = IT("ParticleEmitter", v)
1248
							PartEmmit1.LightEmission = 1
1249
							PartEmmit1.Texture = "rbxassetid://284205403"
1250
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1251
							PartEmmit1.Rate = 150
1252
							PartEmmit1.Lifetime = NumberRange.new(1)
1253
							PartEmmit1.Size = NumberSequence.new({
1254
								NumberSequenceKeypoint.new(0, 0.75, 0),
1255
								NumberSequenceKeypoint.new(1, 0, 0)
1256
							})
1257
							PartEmmit1.Transparency = NumberSequence.new({
1258
								NumberSequenceKeypoint.new(0, 0, 0),
1259
								NumberSequenceKeypoint.new(1, 1, 0)
1260
							})
1261
							PartEmmit1.Speed = NumberRange.new(0, 0)
1262
							PartEmmit1.VelocitySpread = 30000
1263
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1264
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1265
							local BodPoss = IT("BodyPosition", v)
1266
							BodPoss.P = 3000
1267
							BodPoss.D = 1000
1268
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1269
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1270
							v.Color = maincolor.Color
1271
							coroutine.resume(coroutine.create(function()
1272
								for i = 0, 49 do
1273
									swait(1)
1274
									v.Transparency = v.Transparency + 0.08
1275
								end
1276
								wait(0.5)
1277
								PartEmmit1.Enabled = false
1278
								wait(3)
1279
								v:Destroy()
1280
								dude:Destroy()
1281
							end))
1282
						end))
1283
					end
1284
				end
1285
			end))
1286
		end)
1287
		ds()
1288
	end
1289
end
1290
function FindNearestHead(Position, Distance, SinglePlayer)
1291
	if SinglePlayer then
1292
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1293
	end
1294
	local List = {}
1295
	for i, v in pairs(workspace:GetChildren()) do
1296
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1297
			table.insert(List, v)
1298
		end
1299
	end
1300
	return List
1301
end
1302
function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
1303
	local type = type
1304
	local rng = Instance.new("Part", char)
1305
	rng.Anchored = true
1306
	rng.BrickColor = color
1307
	rng.CanCollide = false
1308
	rng.FormFactor = 3
1309
	rng.Name = "Ring"
1310
	rng.Material = "Neon"
1311
	rng.Size = Vector3.new(1, 1, 1)
1312
	rng.Transparency = 0
1313
	rng.TopSurface = 0
1314
	rng.BottomSurface = 0
1315
	rng.CFrame = pos
1316
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1317
	local rngm = Instance.new("SpecialMesh", rng)
1318
	rngm.MeshType = "Sphere"
1319
	rngm.Scale = Vector3.new(x1, y1, z1)
1320
	local scaler2 = 1
1321
	local speeder = FastSpeed
1322
	if type == "Add" then
1323
		scaler2 = 1 * value
1324
	elseif type == "Divide" then
1325
		scaler2 = 1 / value
1326
	end
1327
	coroutine.resume(coroutine.create(function()
1328
		for i = 0, 10 / bonuspeed, 0.1 do
1329
			swait()
1330
			if type == "Add" then
1331
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1332
			elseif type == "Divide" then
1333
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1334
			end
1335
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1336
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1337
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1338
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1339
		end
1340
		rng:Destroy()
1341
	end))
1342
end
1343
-------------------------------------------------------
1344
--End Important Functions--
1345
-------------------------------------------------------
1346
1347
--[[
1348
		Thanks for using Build-To-Lua by jarredbcv.
1349
]]--
1350
1351
New = function(Object, Parent, Name, Data)
1352
	local Object = Instance.new(Object)
1353
	for Index, Value in pairs(Data or {}) do
1354
		Object[Index] = Value
1355
	end
1356
	Object.Parent = Parent
1357
	Object.Name = Name
1358
	return Object
1359
end
1360
1361
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
1362
local type = type
1363
local rng = Instance.new("Part", char)
1364
        rng.Anchored = true
1365
        rng.BrickColor = color
1366
        rng.CanCollide = false
1367
        rng.FormFactor = 3
1368
        rng.Name = "Ring"
1369
        rng.Material = "Neon"
1370
        rng.Size = Vector3.new(1, 1, 1)
1371
        rng.Transparency = 0
1372
        rng.TopSurface = 0
1373
        rng.BottomSurface = 0
1374
        rng.CFrame = pos
1375
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
1376
        local rngm = Instance.new("SpecialMesh", rng)
1377
        rngm.MeshType = "Brick"
1378
rngm.Scale = VT(x1,y1,z1)
1379
local scaler2 = 1
1380
local speeder = FastSpeed/10
1381
if type == "Add" then
1382
scaler2 = 1*value
1383
elseif type == "Divide" then
1384
scaler2 = 1/value
1385
end
1386
coroutine.resume(coroutine.create(function()
1387
for i = 0,10/bonuspeed,0.1 do
1388
swait()
1389
if type == "Add" then
1390
scaler2 = scaler2 - 0.01*value/bonuspeed
1391
elseif type == "Divide" then
1392
scaler2 = scaler2 - 0.01/value*bonuspeed
1393
end
1394
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
1395
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
1396
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1397
end
1398
rng:Destroy()
1399
end))
1400
end
1401
1402
NewInstance = function(instance,parent,properties)
1403
	local inst = Instance.new(instance,parent)
1404
	if(properties)then
1405
		for i,v in next, properties do
1406
			pcall(function() inst[i] = v end)
1407
		end
1408
	end
1409
	return inst;
1410
end
1411
	
1412
Gunty = New("Model",char,"Gunty",{})
1413
Handle = New("Part",Gunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.799999952, 0.980000019, 1),CFrame = CFrame.new(-6.17461252, 2.89117765, -81.6553421, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
1414
Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1415
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.449999958, 0.300000012, 1.00999999),CFrame = CFrame.new(-5.79491472, 3.31696463, -81.668541, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1416
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1.14999998, 0.699999988, 1.04999995),})
1417
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.375087738, 0.43002677, -0.00499725342, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1418
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.800000012, 1.43999994),CFrame = CFrame.new(-5.77552652, 2.79678607, -81.6581802, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1419
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1420
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.400111198, -0.089990139, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1421
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.50999999, 1.00999999, 1.38),CFrame = CFrame.new(-5.79167271, 2.89196372, -81.6569061, 0.999894142, 0.0109243561, 0.00963267591, -0.0110270008, 0.99988246, 0.0106679127, -0.00951499958, -0.0107729975, 0.999896884),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1422
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1423
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.382905483, 0.00498604774, 0.00213623047, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1424
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.179999962, 1.27999997),CFrame = CFrame.new(-6.43716383, 3.22691417, -81.656456, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1425
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1426
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.266214848, 0.332840681, -6.10351563e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1427
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.43716383, 2.87691402, -81.6564636, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1428
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1429
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.262355328, -0.0171182156, -0.00379943848, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1430
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.380000025, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.41705704, 2.5166924, -81.6567535, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1431
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1432
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.238276005, -0.37707448, -0.00774383545, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1433
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.080000028, 0.829999983, 1.24000001),CFrame = CFrame.new(-6.28731203, 2.83357024, -81.6548691, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1434
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1435
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.112056732, -0.058836937, -0.00122833252, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1436
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.209999949, 1.24000001),CFrame = CFrame.new(-6.30723286, 3.2204814, -81.6576462, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1437
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1438
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.136215687, 0.327841043, -6.86645508e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1439
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.269999951, 1.24000001),CFrame = CFrame.new(-6.30756044, 2.87048483, -81.6573257, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1440
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1441
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.132686615, -0.0221214294, -0.0034866333, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1442
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.249999955, 1.25),CFrame = CFrame.new(-6.30751181, 2.53053808, -81.6523285, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1443
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1444
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.128937244, -0.362081289, -0.00211334229, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1445
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.71910667, 3.10924911, -81.0621643, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
1446
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
1447
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.447408676, 0.216631651, 0.599830627, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1448
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.74061537, 3.09643626, -82.2620392, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
1449
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
1450
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.437460423, 0.216511488, -0.600265503, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1451
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.4000001),CFrame = CFrame.new(-5.66842175, 2.87551188, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1452
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
1453
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.506342888, -0.0100963116, 0.00119018555, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1454
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.320000023, 0.919999957, 1.27999997),CFrame = CFrame.new(-6.08716917, 2.84636235, -81.6569443, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1455
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1456
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.0879435539, -0.0438375473, -0.00123596191, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1457
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.329999983, 0.269999981, 0.860000074),CFrame = CFrame.new(-5.68526602, 2.76024342, -81.6548996, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1458
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1459
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.4907341, -0.125577688, 0.0037612915, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1460
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.279999971, 0.389999986, 1.05000007),CFrame = CFrame.new(-5.67011929, 2.75067925, -81.6596603, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1461
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1462
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.506030083, -0.134924173, -0.000953674316, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1463
Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.14374733, -82.1123657, 1.00000036, -2.32830644e-10, 1.86264515e-09, 2.76486389e-10, 0.945462108, -0.325733244, 2.79396772e-09, 0.325733304, 0.945462048),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1464
mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.94546175, 0.325733155, 0, -0.325733155, 0.94546175),C1 = CFrame.new(0.524296761, 0.263174534, -0.449249268, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1465
Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.150000021, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.16514564, -82.0512466, 1.00000036, -1.28056854e-09, 1.86264515e-09, 2.76486389e-10, 0.990724444, 0.135888785, 2.79396772e-09, -0.13588877, 0.990724444),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1466
mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.990724087, -0.135888726, 0, 0.135888726, 0.990724087),C1 = CFrame.new(0.523478985, 0.283911943, -0.387901306, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1467
Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.170000017, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.15523815, -81.9898987, 1.00000036, -9.31322575e-10, 1.86264515e-09, 2.76486389e-10, 0.841228187, -0.540680885, 2.79396772e-09, 0.540680885, 0.841228247),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1468
mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.841227949, 0.540680707, 0, -0.540680707, 0.841227949),C1 = CFrame.new(0.523004532, 0.273344755, -0.326667786, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1469
Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.12556744, -81.9521408, 1.00000036, -5.82076609e-10, 9.31322575e-10, 2.76486389e-10, 0.99409467, -0.10851986, 2.79396772e-09, 0.108519867, 0.99409461),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1470
mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.994094312, 0.10851983, 0, -0.10851983, 0.994094312),C1 = CFrame.new(0.522972584, 0.243270636, -0.289230347, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1471
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.18000007),CFrame = CFrame.new(-6.06842232, 2.94551158, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1472
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
1473
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.105613232, 0.0555255413, -0.00191497803, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1474
1475
local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(-.1,-.51,0)})
1476
1477
for _,v in next, Gunty:children() do
1478
	v.CanCollide = false
1479
end
1480
1481
local all, last = {}, nil
1482
ArmourParts = {}
1483
ArmourParts2 = {}
1484
NeonParts = {}
1485
function scan(p)
1486
  for _, v in pairs(p:GetChildren()) do
1487
    if v:IsA("BasePart") then
1488
      if v.BrickColor == BrickColor.new("Smoky grey") then
1489
        table.insert(ArmourParts, v)
1490
      end
1491
	if v.BrickColor == BrickColor.new("Fossil") then
1492
		table.insert(ArmourParts2, v)
1493
	end
1494
      if v.BrickColor == BrickColor.new("Institutional white") then
1495
        table.insert(NeonParts, v)
1496
      end
1497
      if last then
1498
        local w = Instance.new("Weld")
1499
        w.Part0, w.Part1 = last, v
1500
        w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
1501
        w.Parent = last
1502
      end
1503
      table.insert(all, v)
1504
      last = v
1505
    end
1506
    scan(v)
1507
  end
1508
end
1509
scan(Gunty)
1510
for _, v in pairs(all) do
1511
  v.Anchored = false
1512
  v.CanCollide = false
1513
end
1514
function resetmode()
1515
  for i, v in pairs(ArmourParts) do
1516
    v.BrickColor = BrickColor.new("Smoky grey")
1517
  end
1518
	for i, v in pairs(ArmourParts2) do
1519
    v.BrickColor = BrickColor.new("Fossil")
1520
  end
1521
  for i, v in pairs(NeonParts) do
1522
    v.BrickColor = BrickColor.new("Institutional white")
1523
  end
1524
	maincolor = BrickColor.new("Institutional white")
1525
end
1526
-------------------------------------------------------
1527
--Start Music Option--
1528
-------------------------------------------------------
1529
local Music = Instance.new("Sound",tors)
1530
Music.Volume = 7.5
1531
Music.SoundId = "rbxassetid://1117396305"
1532
Music.Looped = true
1533
Music.Pitch = 1 --Pitcher
1534
Music:Play()
1535
-------------------------------------------------------
1536
--End Music Option--
1537
-------------------------------------------------------
1538
1539
local naeeym2 = Instance.new("BillboardGui",char)
1540
naeeym2.AlwaysOnTop = true
1541
naeeym2.Size = UDim2.new(5,35,2,35)
1542
naeeym2.StudsOffset = Vector3.new(0,2,0)
1543
naeeym2.Adornee = hed
1544
naeeym2.Name = "Name"
1545
1546
local tecks2 = Instance.new("TextLabel",naeeym2)
1547
tecks2.BackgroundTransparency = 1
1548
tecks2.TextScaled = true
1549
tecks2.BorderSizePixel = 0
1550
tecks2.Text = "Neutral"
1551
tecks2.Font = "Code"
1552
tecks2.TextSize = 30
1553
tecks2.TextStrokeTransparency = 0
1554
tecks2.TextColor3 = Color3.new(0,0,0)
1555
tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
1556
tecks2.Size = UDim2.new(1,0,0.5,0)
1557
tecks2.Rotation = 0
1558
tecks2.Parent = naeeym2
1559
1560
-------------------------------------------------------
1561
--Start Attacks N Stuff--
1562
-------------------------------------------------------
1563
local sine=0
1564
function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
1565
  local Hitboxpart = Instance.new("Part", EffectModel)
1566
  RemoveOutlines(Hitboxpart)
1567
  Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
1568
  Hitboxpart.CanCollide = false
1569
  Hitboxpart.Transparency = 1
1570
  Hitboxpart.Anchored = true
1571
  Hitboxpart.CFrame = Pose
1572
  game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
1573
  MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
1574
end
1575
wait2 = false
1576
combo = 1
1577
mouse.Button1Down:connect(function(key)
1578
  if attack == false then
1579
    attack = true
1580
    hum.WalkSpeed = 3.01
1581
    if combo == 1 and wait2 == false then
1582
      wait2 = true
1583
		for i = 0, 1.2, 0.1 do
1584
        swait()
1585
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
1586
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
1587
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
1588
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1589
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
1590
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
1591
		  end
1592
		CreateSound("138097048", ra, 3, .8)
1593
		HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
1594
      for i = 0, 1.2, 0.1 do
1595
        swait()
1596
	BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
1597
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
1598
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1599
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1)
1600
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1601
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
1602
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
1603
      end
1604
      combo = 2
1605
    end
1606
 	if combo == 2 and wait2 == false then
1607
      wait2 = true
1608
   for i = 0, 1.2, 0.1 do
1609
        swait()
1610
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
1611
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1612
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
1613
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1614
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
1615
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
1616
      end
1617
	CreateSound("138097048", rl, 3, 1)
1618
	HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
1619
    for i = 0, 1.6, 0.1 do
1620
        swait()
1621
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3)
1622
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1623
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1)
1624
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3)
1625
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
1626
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3)
1627
      end
1628
      combo = 3
1629
    end
1630
   if combo == 3 and wait2 == false then
1631
    for i = 0, 1.2, 0.1 do
1632
        swait()
1633
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
1634
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
1635
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
1636
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1637
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
1638
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
1639
      end
1640
	CreateSound("138097048", ra, 3, .8)
1641
      HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
1642
      for i = 0, 1.2, 0.1 do
1643
        swait()
1644
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
1645
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1646
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1)
1647
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1648
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
1649
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
1650
      end
1651
		Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03)
1652
		Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
1653
		HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
1654
	for i = 0, 1.2, 0.1 do
1655
        swait()
1656
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
1657
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1658
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1)
1659
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1660
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
1661
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
1662
      end
1663
      combo = 1
1664
    end
1665
    hum.WalkSpeed = 8
1666
    wait2 = false
1667
    attack = false
1668
	end
1669
end)
1670
function LunarSpin()
1671
	attack = true
1672
	hum.WalkSpeed = 0
1673
	for i = 0,17,0.05 do
1674
		CameraEnshaking(1, 5)
1675
	        MagniDamage(tors, 47, 2, 5, 0, "Normal")
1676
	        Effects.Spiral.Create(BrickC("Teal"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03)
1677
		Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1678
		swait()
1679
		PixelBlock(1.5,14,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-360,360)),math.rad(math.random(-50,50))),3,3,3,0.3,maincolor,0)
1680
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
1681
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1682
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1683
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1684
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
1685
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1)
1686
	end
1687
	hum.WalkSpeed = 8
1688
	attack = false
1689
end
1690
function Decapitate()
1691
	local target = nil
1692
	local targettorso = nil
1693
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
1694
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
1695
			target = mouse.Target.Parent.Humanoid
1696
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
1697
			targethead = mouse.Target.Parent:FindFirstChild("Head")
1698
		end
1699
	end
1700
	if target ~= nil then
1701
		targettorso.Anchored = true
1702
		attack = true
1703
		hum.WalkSpeed = 0
1704
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
1705
		for i = 0,4.2,0.1 do
1706
			swait()
1707
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
1708
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
1709
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
1710
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
1711
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1)
1712
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
1713
		end
1714
		local ModelHead01 = New("Model", char, "", {})
1715
        local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
1716
        local Head01 = targethead:Clone()
1717
        targethead.Transparency = 1
1718
        Head01.Parent = ModelHead01
1719
        local weldHead01 = Instance.new("Weld")
1720
        weldHead01.Parent = Head01
1721
        weldHead01.Part0 = targethead
1722
        weldHead01.Part1 = Head01
1723
        weldHead01.C1 = CFrame.new(0, 0, 0)
1724
		targethead.face:Remove()
1725
		weldHead01.Part0 = ra
1726
        weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
1727
		targettorso:BreakJoints()
1728
		CreateSound("314390675", targettorso, 5, .7)
1729
		for i = 0,3.2,0.1 do
1730
			swait()
1731
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
1732
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1733
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1734
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15)
1735
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1)
1736
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
1737
		end
1738
		for i = 0,4.2,0.1 do
1739
			swait()
1740
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
1741
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
1742
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1743
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
1744
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
1745
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
1746
		end
1747
		CreateSound("541909763", targettorso, 5, .8)
1748
		weldHead01:Destroy()
1749
        Head01.CanCollide = true
1750
        local bodyVelocity2 = Create("BodyVelocity")({
1751
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
1752
          P = 5000,
1753
          maxForce = Vector3.new(8000, 8000, 8000),
1754
          Parent = Head01
1755
        })
1756
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
1757
		for i = 0,6.2,0.1 do
1758
			swait()
1759
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
1760
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
1761
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1762
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
1763
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1)
1764
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
1765
		end
1766
		targettorso.Anchored = false
1767
		attack = false
1768
		hum.WalkSpeed = 8
1769
		root.CFrame = targettorso.CFrame * CF(0,0,3.4)
1770
	end
1771
end
1772
function Laugh()
1773
	attack = true
1774
	hum.WalkSpeed = 0
1775
	CreateSound("300208779", hed, 10, 1)
1776
	for i = 0,9,0.1 do
1777
		swait()
1778
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15)
1779
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
1780
		if Mrandom(1,15) == 1 then
1781
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
1782
		end
1783
		RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15)
1784
		LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15)
1785
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1)
1786
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1)
1787
	end
1788
	attack = false
1789
	hum.WalkSpeed = 10
1790
end
1791
function Flying_Kick()
1792
	attack = true
1793
	hum.WalkSpeed = 0
1794
	for i = 0,2.7,0.1 do
1795
		swait()
1796
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
1797
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
1798
	RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1799
	LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15)
1800
	RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(15)), 0.1)
1801
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(-15)), 0.1)
1802
	end
1803
	local bodyVelocity = Create("BodyVelocity")({
1804
          velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250,
1805
          P = 5000,
1806
          maxForce = Vector3.new(9e99, 9e99, 9e99),
1807
          Parent = root
1808
        })
1809
      game:GetService("Debris"):AddItem(bodyVelocity, 0.05)
1810
CreateSound("138097048", rl, 3, 1)
1811
	for i = 0,2.1,0.1 do
1812
		swait()
1813
		HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
1814
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15)
1815
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1816
	RH.C0 = clerp(RH.C0, CF(.4, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-125), Rad(0), Rad(0)), 0.15)
1817
	LH.C0 = clerp(LH.C0, CF(-1.3, -1.3 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(35), Rad(0), Rad(0)), 0.15)
1818
	RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
1819
	LW.C0 = clerp(LW.C0, CF(-1.9, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-215)), 0.1)
1820
	end
1821
	attack = false
1822
	hum.WalkSpeed = 8
1823
end
1824
function UpperCut()
1825
	attack = true
1826
	hum.WalkSpeed = 0
1827
	for i = 0,2.3,0.1 do
1828
		swait()
1829
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
1830
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1831
	RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1832
	LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15)
1833
	RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 30), -.8 + 0.025 * Cos(sine / 20)) * angles(Rad(165), Rad(0), Rad(0)), 0.1)
1834
	LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), -1 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(75)), 0.1)
1835
	end
1836
	CreateSound("138097048", ra, 3, .8)
1837
	HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
1838
	for i = 0,2.8,0.1 do
1839
		swait()
1840
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15)
1841
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
1842
	RH.C0 = clerp(RH.C0, CF(1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-55)), 0.15)
1843
	LH.C0 = clerp(LH.C0, CF(-1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
1844
	RW.C0 = clerp(RW.C0, CF(1.3, .8 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(125), Rad(0), Rad(0)), 0.1)
1845
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-10)), 0.1)
1846
	end
1847
	attack = false
1848
	hum.WalkSpeed = 8
1849
end
1850
1851
function LAZER()
1852
	attack = true
1853
	hum.WalkSpeed = 0.03
1854
	for i = 0,4,0.1 do
1855
		swait()
1856
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
1857
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
1858
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
1859
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
1860
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
1861
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
1862
	end
1863
        LAZOR:Play()
1864
local GYRO = IT("BodyGyro",root)
1865
GYRO.D = 100
1866
GYRO.P = 2000
1867
GYRO.MaxTorque = VT(0,4000000,0)
1868
GYRO.cframe = CF(root.Position,mouse.Hit.p)
1869
        repeat
1870
        swait(2)
1871
PixelBlock(2,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.3,0.3,0.3,0.4,maincolor,0)
1872
PixelBlock(4,3,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.5,maincolor,0)
1873
        GYRO.cframe = CF(root.Position,mouse.Hit.p)
1874
        LAZOR.Parent = ra
1875
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1876
	HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 1, 5, 0, "Freeze")
1877
	CameraEnshaking(1, 7)
1878
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1879
	HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1880
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1881
	HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1882
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1883
	HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1884
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1885
	HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1886
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1887
	HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1888
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1889
	HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1890
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1891
	HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1892
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1893
	HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1894
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1895
	HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1896
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1897
	HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1898
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1899
	HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1900
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -65, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1901
	HitboxFunction(Handle.CFrame * CF(0, -67, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1902
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -70, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1903
	HitboxFunction(Handle.CFrame * CF(0, -72, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1904
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -75, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
1905
	HitboxFunction(Handle.CFrame * CF(0, -77, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
1906
	until LAZOR.Playing == false
1907
        GYRO:Destroy()
1908
	hum.WalkSpeed = 8
1909
	attack = false
1910
end
1911
1912
function Dangerous_Field()
1913
	attack = true
1914
	hum.WalkSpeed = 0
1915
	for i = 0,10,0.1 do
1916
			swait()
1917
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.2)
1918
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1919
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2), Rad(0), Rad(-2.1)), 0.15)
1920
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
1921
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(90)), 0.2)
1922
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(-90)), 0.2)
1923
	CameraEnshaking(1, 7)
1924
	CreateSound("588734356", Handle, 10, 1.2)
1925
	BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1)
1926
	BlockEffect(BrickC("Fawn Brown"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1)
1927
	HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Normal")
1928
	HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Normal")
1929
        end
1930
	attack = false
1931
	hum.WalkSpeed = 8
1932
end
1933
1934
function Exploit()
1935
	attack = true
1936
        exploitable = false
1937
	CreateSound("907332670", tors, 10, 1.05)
1938
	coroutine.resume(coroutine.create(function() 
1939
	for i = 1,20,0.1 do
1940
        swait()
1941
	BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1)
1942
        end
1943
	CreateSound("12222030", tors, 10, 1.05)
1944
        BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1)
1945
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do
1946
		if v:FindFirstChild("Head") then
1947
                        Eviscerate(v)
1948
                        SoulSteal(v)
1949
		end
1950
	end
1951
        wait(15)
1952
        exploitable = true
1953
		attack = false
1954
        end))
1955
end
1956
1957
function Spinning_Kick()
1958
	attack = true
1959
	hum.WalkSpeed = 3.01
1960
	for i = 0, 1.2, 0.1 do
1961
        swait()
1962
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
1963
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1964
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
1965
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1966
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
1967
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
1968
      end
1969
    for i = 0, 4.6, 0.1 do
1970
        swait()
1971
	CreateSound("138097048", rl, 3, 1)
1972
	HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
1973
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65 + 255.45 * i)), 0.3)
1974
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1975
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1)
1976
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3)
1977
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
1978
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3)
1979
      end
1980
	attack = false
1981
	hum.WalkSpeed = 8
1982
end
1983
1984
function BARK()
1985
	attack = true
1986
	hum.WalkSpeed = 0
1987
	BATAUNT:Play()
1988
	repeat
1989
	BATAUNT.Parent = tors
1990
	swait()
1991
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1)
1992
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
1993
	RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1)
1994
	LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1)
1995
	RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1)
1996
	LH.C0 = clerp(LH.C0, CF(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1)
1997
	until BATAUNT.Playing == false
1998
	attack = false
1999
	hum.WalkSpeed = 8
2000
end
2001
function CreateSound(ID, PARENT, VOLUME, PITCH)
2002
	local NSound = nil
2003
	coroutine.resume(coroutine.create(function()
2004
		NSound = Instance.new("Sound", PARENT)
2005
		NSound.Volume = VOLUME
2006
		NSound.Pitch = PITCH
2007
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
2008
		swait()
2009
		NSound:play()
2010
		game:GetService("Debris"):AddItem(NSound, 10)
2011
	end))
2012
	return NSound
2013
end
2014
2015
function Beam_Of_Light()
2016
	
2017
end
2018
function Blast_Of_God()
2019
	attack = true
2020
	hum.WalkSpeed = 3.01
2021
	for i = 0,6.3,0.1 do
2022
		swait()
2023
		Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2024
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15)
2025
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
2026
		RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
2027
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
2028
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
2029
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
2030
	end
2031
	Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
2032
    Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
2033
	Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
2034
    Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
2035
 	Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
2036
	Effects.Ring.Create(BrickC("New Yeller"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
2037
	CreateSound("142070127", tors, 10, 1)
2038
	MagniDamage(ra, 12, 40, 60, 10, "Normal")
2039
	for i = 0,2.6,0.1 do
2040
		swait()
2041
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15)
2042
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
2043
		RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
2044
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
2045
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1)
2046
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
2047
	end
2048
	attack = false
2049
	hum.WalkSpeed = 8
2050
end
2051
function Diablo_Explosion()
2052
	attack = true
2053
	hum.WalkSpeed = 3.01
2054
	for i = 0,6.3,0.1 do
2055
		swait()
2056
		Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2057
		Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2058
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2059
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2060
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2061
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
2062
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
2063
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
2064
	end
2065
	Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05)
2066
    Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03)
2067
	Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05)
2068
    Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05)
2069
 	Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
2070
	Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
2071
	CreateSound("142070127", tors, 10, 1)
2072
	MagniDamage(tors, 12, 34, 54, 10, "DarkUp")
2073
	for i = 0,4.6,0.1 do
2074
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2075
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2076
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2077
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
2078
		RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
2079
		LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
2080
	end
2081
	wait(.6)
2082
	attack = false
2083
	hum.WalkSpeed = 8
2084
end
2085
2086
function Power_Burst()
2087
	attack = true
2088
	hum.WalkSpeed = 0
2089
	CreateSound("163619849", Handle, 10, 1.35)
2090
	for i = 0,4.3,0.1 do
2091
		swait()
2092
PixelBlock(3,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.2,0.2,0.2,0.01,maincolor,0)
2093
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
2094
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
2095
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2096
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2097
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2098
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2099
	end
2100
	CameraEnshaking(2.5, 20)
2101
	CreateSound("539294959", Handle, 10, .9)
2102
	BlockEffect(maincolor, Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
2103
	BlockEffect(BrickC("Gray"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
2104
	HitboxFunction(root.CFrame * CF(0, 0, -0), 0.01, 1, 1, 1, 19, 30, 75, 35, "Normal")
2105
	for i = 0,3,0.1 do
2106
		swait()
2107
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
2108
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
2109
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2110
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2111
		RW.C0 = clerp(RW.C0, CF(1.5, 0.01 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2112
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2113
	end
2114
	hum.WalkSpeed = 8
2115
	attack = false
2116
end
2117
function BalanceSpin()
2118
    attack = true
2119
    hum.WalkSpeed = 2
2120
    for i = 0,17,0.07 do
2121
        CameraEnshaking(1, 5)
2122
        MagniDamage(tors, 30, 7, 11, 0, "Normal")
2123
        swait()
2124
	Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick")
2125
	Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, BrickColor.new("Black"), 0, "Brick")
2126
	Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick")
2127
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
2128
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2129
        RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2130
        LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2131
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
2132
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1)
2133
    end
2134
    hum.WalkSpeed = 8
2135
    attack = false
2136
end
2137
function Teh_Magic()
2138
	attack = true
2139
	hum.WalkSpeed = 0
2140
local GYRO = IT("BodyGyro",root)
2141
GYRO.D = 100
2142
GYRO.P = 2000
2143
GYRO.MaxTorque = VT(0,4000000,0)
2144
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2145
	for i = 0,3.6,0.1 do
2146
			swait()
2147
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
2148
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2149
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
2150
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
2151
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
2152
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
2153
	end
2154
	CameraEnshaking(1, 6)
2155
        GYRO:Destroy()
2156
	CreateSound("588734356", Handle, 10, 1.05)
2157
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
2158
	BlockEffect(BrickC("Dark Stone Gray"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
2159
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
2160
	for i = 0,2,0.1 do
2161
			swait()
2162
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
2163
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2164
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
2165
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
2166
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2)
2167
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
2168
	end
2169
local GYRO = IT("BodyGyro",root)
2170
GYRO.D = 100
2171
GYRO.P = 2000
2172
GYRO.MaxTorque = VT(0,4000000,0)
2173
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2174
	for i = 0,2.4,0.1 do
2175
			swait()
2176
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
2177
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2178
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
2179
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
2180
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
2181
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
2182
	end
2183
        GYRO:Destroy()
2184
	CameraEnshaking(1, 6)
2185
	CreateSound("588734356", Handle, 10, 1.05)
2186
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
2187
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
2188
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Normal")
2189
	for i = 0,2,0.1 do
2190
			swait()
2191
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
2192
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2193
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
2194
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
2195
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2)
2196
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
2197
	end
2198
local GYRO = IT("BodyGyro",root)
2199
GYRO.D = 100
2200
GYRO.P = 2000
2201
GYRO.MaxTorque = VT(0,4000000,0)
2202
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2203
	for i = 0,2.4,0.1 do
2204
			swait()
2205
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
2206
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2207
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
2208
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
2209
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
2210
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
2211
	end
2212
        GYRO:Destroy()
2213
	CameraEnshaking(1, 6)
2214
	CreateSound("588734356", Handle, 10, 1.05)
2215
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
2216
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
2217
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
2218
	for i = 0,2,0.1 do
2219
			swait()
2220
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
2221
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2222
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
2223
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
2224
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2)
2225
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
2226
	end
2227
	attack = false
2228
	hum.WalkSpeed = 8
2229
end
2230
function Bark_Splosion()
2231
	attack = true
2232
	for i = 0,2,0.05 do
2233
		swait()
2234
		Effects.Block.Create(BrickC("Cool yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2235
		Effects.Block.Create(BrickC("Medium stone grey"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2236
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2237
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2238
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2239
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2240
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2241
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2242
	end
2243
	CreateSound("331666100", tors, 10, 1)
2244
	Effects.Ring.Create(BrickC("Cool yellow"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01)
2245
	MagniDamage(tors, 34, 25, 50, 15, "DarkUp")
2246
	CameraEnshaking(1.5, 10)  
2247
	for i = 1,2,0.1 do
2248
        swait()
2249
	PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
2250
	PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
2251
	PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
2252
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8)
2253
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
2254
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8)
2255
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8)
2256
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75)
2257
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75)
2258
	end
2259
	wait(.6)
2260
	attack = false
2261
end
2262
function Multi_Bombs()
2263
	attack = true
2264
	hum.WalkSpeed = 3.01
2265
	for i = 0,3,0.1 do
2266
		swait()
2267
		Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2268
		Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2269
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2270
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2271
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2272
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
2273
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
2274
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
2275
	end
2276
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
2277
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
2278
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
2279
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
2280
 	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
2281
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
2282
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
2283
	CreateSound("142070127", tors, 10, 1)
2284
	MagniDamage(tors, 17, 15, 35, 10, "Normal")
2285
	for i = 0,1,0.1 do
2286
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2287
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2288
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2289
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
2290
		RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
2291
		LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
2292
	end
2293
	for i = 0,2,0.1 do
2294
		swait()
2295
		Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2296
		Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2297
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2298
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2299
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2300
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
2301
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
2302
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
2303
	end
2304
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
2305
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
2306
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
2307
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
2308
 	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
2309
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
2310
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
2311
	CreateSound("142070127", tors, 10, 1)
2312
	MagniDamage(tors, 17, 15, 35, 10, "Normal")
2313
	for i = 0,1,0.1 do
2314
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2315
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2316
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2317
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
2318
		RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
2319
		LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
2320
	end
2321
	for i = 0,2,0.1 do
2322
		swait()
2323
		Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2324
		Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2325
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2326
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2327
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2328
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
2329
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
2330
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
2331
	end
2332
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
2333
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
2334
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
2335
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
2336
 	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
2337
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
2338
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
2339
	CreateSound("142070127", tors, 10, 1)
2340
	MagniDamage(tors, 17, 15, 35, 10, "Normal")
2341
	for i = 0,1,0.1 do
2342
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2343
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2344
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2345
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
2346
		RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
2347
		LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
2348
	end
2349
	wait(.6)
2350
	attack = false
2351
	hum.WalkSpeed = 8
2352
end
2353
function BARK()
2354
	attack = true
2355
	hum.WalkSpeed = 0
2356
	BATAUNT:Play()
2357
	repeat
2358
	BATAUNT.Parent = tors
2359
	swait()
2360
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1)
2361
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
2362
	RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1)
2363
	LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1)
2364
	RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1)
2365
	LH.C0 = clerp(LH.C0, CF(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1)
2366
	until BATAUNT.Playing == false
2367
	attack = false
2368
	hum.WalkSpeed = 8
2369
end
2370
2371
2372
function Hell_From_Above()
2373
	local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
2374
	attack = true
2375
	hum.WalkSpeed = 3.01
2376
	for i = 0,6.3,0.1 do
2377
		swait()
2378
		Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2379
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2380
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2381
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2382
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
2383
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
2384
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
2385
	end
2386
	CreateSound("142070127", tors, 10, 1)
2387
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
2388
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
2389
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
2390
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
2391
	for i = 0,3.8,0.1 do
2392
		swait()
2393
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2394
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2395
		RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2396
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
2397
		RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
2398
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
2399
	end
2400
	CreateSound("224339201", tors, 10, 0.5)
2401
	for i = 1, 3 do
2402
	MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp")
2403
	UhhhhThing.CFrame = mouse.Hit
2404
	Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
2405
	Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
2406
	end
2407
	UhhhhThing:Destroy()
2408
	attack = false
2409
	hum.WalkSpeed = 8
2410
end
2411
function Spinning_Below()
2412
	attack = true
2413
	hum.WalkSpeed = 3.01
2414
	CreateSound("649634100", tors, 10, 0.5)
2415
	for i = 0,6.3,0.1 do
2416
		swait()
2417
		Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2418
		Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2419
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15)
2420
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2421
		RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2422
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
2423
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
2424
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
2425
	end
2426
	attack = false
2427
	hum.WalkSpeed = 8
2428
end
2429
function Blizzard()
2430
	attack = true
2431
	hum.WalkSpeed = 2
2432
        hum.JumpPower = 0
2433
	for i = 0,70,0.1 do
2434
	        MagniDamage(tors, 41, 1, 3, 1, "Normal")
2435
	        Effects.Block.Create(BrickC("Institutional white"), tors.CFrame * CF(Mrandom(-40,40),Mrandom(-40,40),Mrandom(-40,40)), 2, 2, 2, 4, 4, 4, 0.03)
2436
		swait()
2437
		Effects.Block.Create(BrickC("Institutional white"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2438
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
2439
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2440
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2441
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2442
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
2443
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1)
2444
	end
2445
	hum.WalkSpeed = 16
2446
        hum.JumpPower = 50
2447
	attack = false
2448
end
2449
2450
2451
function Cryo_Freeze()
2452
	attack = true
2453
	for i = 0,5.2,0.03 do
2454
		swait()
2455
		Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2456
		Effects.Block.Create(BrickC("White"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2457
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2458
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2459
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2460
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2461
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2462
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2463
	end
2464
	CreateSound("331666100", tors, 10, 1)
2465
	Effects.Ring.Create(BrickC("Cyan"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 27, 27, 27, 0.01)
2466
	for i = 1,3,0.1 do
2467
	hum.WalkSpeed = 0.10
2468
	MagniDamage(tors, 400, 1, 10, 0, "Normal")
2469
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2470
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2471
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
2472
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2473
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
2474
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
2475
	end
2476
	for i = 1,10,0.1 do
2477
        swait(10)
2478
	hum.WalkSpeed = 0.10
2479
	MagniDamage(tors, 400, 1, 1, 0, "Normal")
2480
	Effects.Ring.Create(BrickC("Cyan"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 27, 27, 1, 0.02)
2481
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2482
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2483
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
2484
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2485
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
2486
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
2487
	end
2488
	wait(.6)
2489
	attack = false
2490
end
2491
2492
function Power_Burst()
2493
	hum.WalkSpeed = 4
2494
	attack = true
2495
	CreateSound("163619849", Handle, 10, 1.35)
2496
	for i = 0,4.3,0.1 do
2497
		swait()
2498
PixelBlock(3,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.2,0.2,0.2,0.01,maincolor,0)
2499
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
2500
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
2501
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2502
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2503
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2504
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2505
	end
2506
	CameraEnshaking(2.5, 20)
2507
	CreateSound("539294959", Handle, 10, .9)
2508
	BlockEffect(maincolor, Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
2509
	BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
2510
	HitboxFunction(root.CFrame * CF(0, 0, -0), 0.01, 1, 1, 1, 19, 30, 75, 35, "Normal")
2511
	for i = 0,3,0.1 do
2512
		swait()
2513
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
2514
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
2515
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2516
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2517
		RW.C0 = clerp(RW.C0, CF(1.5, 0.01 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2518
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2519
	end
2520
	hum.WalkSpeed = 8
2521
	attack = false
2522
end
2523
2524
function ASCENTION()
2525
	attack = true
2526
	hum.WalkSpeed = 0
2527
	CreateSound("987502413", tors, 10, 1.05)
2528
        local vel2 = Instance.new("BodyVelocity",tors)
2529
        vel2.Velocity = Vector3.new(0,30,0)
2530
        vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
2531
	for i = 0,20,0.1 do
2532
	HitboxFunction(tors.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 7, 10, 20, 20, "Normal")
2533
		swait()
2534
                BlockEffect(maincolor, ra.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
2535
                BlockEffect(maincolor, la.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
2536
		CameraEnshaking(1, 4)
2537
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
2538
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2539
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2540
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2541
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
2542
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
2543
	end
2544
	hum.WalkSpeed = 8
2545
        vel2:Destroy()
2546
	attack = false
2547
end
2548
2549
function Menacing_Aura()
2550
	attack = true
2551
        notmenacing = false
2552
	for i = 0,2,0.1 do
2553
		swait()
2554
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2555
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2556
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2557
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2558
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2559
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2560
	end
2561
	CreateSound("331666100", tors, 10, 1)
2562
	coroutine.resume(coroutine.create(function() 
2563
		for i = 0,25,0.1 do
2564
			swait(10)
2565
	        MagniDamage(tors, 6.5, 1, 2, 0, "Normal")
2566
                Effects.Ring.Create(maincolor, root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.05, 0.05, 0.05, 0.20, 0.20, 0.05, 0.02)
2567
		end
2568
                notmenacing = true
2569
	end))
2570
	wait(.6)
2571
	attack = false
2572
end
2573
local alternatecooldownbecausewhynotdood = false
2574
function Heat_Stroke()--This was NOT MADE BY ME! It's from Ruin II. Credit goes to When_kun, NoobyGames12, Injectioneer and Salvo_Starly!
2575
	attack = true
2576
	alternatecooldownbecausewhynotdood = true
2577
	for i = 0,2,0.1 do
2578
		swait()
2579
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2580
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2581
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2582
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2583
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2584
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2585
	end
2586
Effects.Block.Create(BrickColor.new("Bright red"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 5, 5, 5, 4, 4, 4, .06)
2587
ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),})
2588
      coroutine.resume(coroutine.create(function()
2589
            for i = 1,150,0.1 do
2590
            swait()	
2591
            MagniDamage(ref, 23.3, 3, 9, 0, "Normal")
2592
            Effects.Block.Create(BrickColor.new("Bright red"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05)
2593
            Effects.Block.Create(BrickColor.new("Black"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05)
2594
            Effects.Block.Create(BrickColor.new("Bright red"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05)
2595
            end
2596
            swait(50)
2597
            alternatecooldownbecausewhynotdood = false
2598
            ref:Remove() -- still lazy to use debris
2599
      end))
2600
attack = false	
2601
end
2602
function Eruption()
2603
	attack = true
2604
	hum.WalkSpeed = 2
2605
        hum.JumpPower = 0
2606
	for i = 0,7,0.1 do
2607
	        HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 1, "Normal")
2608
		swait()
2609
		Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2610
		Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2611
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
2612
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2613
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2614
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2615
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
2616
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.1)
2617
	end
2618
	CreateSound("144699494", tors, 10, 1)
2619
	Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 1.6, 1.6, 1.6, 0.02)
2620
	Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 3.6, 3.6, 3.6, 0.02)
2621
	Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 5.6, 5.6, 5.6, 0.02)
2622
	Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 8.6, 8, 8, 0.03)
2623
	MagniDamage(tors, 30, 40, 75, 7, "DarkUp")
2624
	coroutine.resume(coroutine.create(function() 
2625
		for i = 0,1.8,0.1 do
2626
			swait()
2627
			hum.CameraOffset = Vector3.new(Mrandom(-4,4),Mrandom(-4,4),Mrandom(-4,4))
2628
		end
2629
		for i = 0,1.8,0.1 do
2630
			swait()
2631
		hum.CameraOffset = Vector3.new(0,0,0)
2632
		end
2633
	end))
2634
        local vel2 = Instance.new("BodyVelocity",tors)
2635
        vel2.Velocity = Vector3.new(0,55,0)
2636
        vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
2637
	for i = 0,4,0.1 do
2638
	        HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 20, 35, 3, "Normal")
2639
		swait()
2640
		Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2641
		Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2642
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
2643
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2644
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2645
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2646
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
2647
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.1)
2648
	end
2649
	hum.WalkSpeed = 16
2650
        vel2:Destroy()
2651
        hum.JumpPower = 50
2652
	attack = false
2653
end
2654
function Solar_Flare()
2655
	attack = true
2656
	hum.WalkSpeed = 2
2657
        hum.JumpPower = 75
2658
        hum.Jump = true
2659
        wait(0.4)
2660
	CreateSound("144699494", tors, 10, 1)
2661
        hum.JumpPower = 0
2662
	Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, .6, .6, .6, 0.02)
2663
	Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, 1.6, 1.6, 1.6, 0.02)
2664
	Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, 2.6, 2.6, 2.6, 0.02)
2665
	for i = 0,20,0.1 do
2666
                root.Velocity = root.CFrame.lookVector * 60
2667
	        HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 14, 25, 35, 0, "Freeze")
2668
		swait()
2669
		Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05)
2670
		Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05)
2671
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(90), Rad(0), Rad(0-255.45*i)), 0.15)
2672
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2673
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2674
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2675
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
2676
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
2677
	end
2678
	hum.WalkSpeed = 16
2679
        hum.JumpPower = 50
2680
	attack = false
2681
end
2682
function ShadowWarp()
2683
	MagniDamage(tors, 5, 5, 10, 0, "Normal")
2684
	Effects.Ring.Create(BrickC("Dark blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.2, 0.2, 0.2, 0.6, 0.6, 0.6, 0.03)
2685
	Effects.Ring.Create(BrickC("Steel blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.1, 0.1, 0.1, 0.3, 0.3, 0.3, 0.02)
2686
		Effects.Block.Create(BrickC("Steel blue"), tors.CFrame * CF(0, 0, 0), 2, 2, 2, 6, 6, 6, 0.05)
2687
		local pos = root.Position
2688
		root.CFrame = CF(mouse.Hit.p+VT(0,3,0),pos)
2689
		CreateSound("769380905", tors, 10, 1)
2690
	MagniDamage(tors, 5, 15, 20, 0, "DarkUp")
2691
		Effects.Block.Create(BrickC("Dark blue"), tors.CFrame * CF(0, 0, 0), 2, 2, 2, 6, 6, 6, 0.05)
2692
	Effects.Ring.Create(BrickC("Dark blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.2, 0.2, 0.2, 0.6, 0.6, 0.6, 0.03)
2693
	Effects.Ring.Create(BrickC("Steel blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.1, 0.1, 0.1, 0.3, 0.3, 0.3, 0.02)
2694
end
2695
function Shade()
2696
	hum.WalkSpeed = 3
2697
	attack = true
2698
	for i = 0,2,0.1 do
2699
		swait()
2700
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2701
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2702
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2703
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2704
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2705
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2706
	end
2707
	hum.WalkSpeed = 3
2708
	CreateSound("588736969", tors, 10, 1)
2709
	Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05)
2710
	MagniDamage(tors, 27, 12, 24, 2, "Normal")
2711
	for i = 0,3,0.1 do
2712
		swait()
2713
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2714
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2715
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2716
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2717
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2718
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2719
        end
2720
	hum.WalkSpeed = 3
2721
	CreateSound("588736969", tors, 10, 1)
2722
	Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05)
2723
	MagniDamage(tors, 27, 12, 24, 2, "Normal")
2724
	for i = 0,3,0.1 do
2725
		swait()
2726
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2727
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2728
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2729
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2730
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2731
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2732
        end
2733
	CreateSound("588736969", tors, 10, 1)
2734
	Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05)
2735
	MagniDamage(tors, 27, 12, 24, 2, "Normal")
2736
	hum.WalkSpeed = 3
2737
	wait(.6)
2738
	hum.WalkSpeed = 16
2739
	attack = false
2740
end
2741
function Purity_Slam()
2742
	attack = true
2743
	for i = 0,5.2,0.1 do
2744
		swait()
2745
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2746
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2747
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2748
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2749
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2750
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2751
	end
2752
	CreateSound("331666100", tors, 10, 1)
2753
	Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
2754
	Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
2755
	Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
2756
	Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
2757
	MagniDamage(tors, 12, 40, 60, 10, "Normal")
2758
	coroutine.resume(coroutine.create(function() 
2759
		for i = 0,1.8,0.1 do
2760
			swait()
2761
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2762
		end
2763
		for i = 0,1.8,0.1 do
2764
			swait()
2765
		hum.CameraOffset = Vector3.new(0,0,0)
2766
		end
2767
	end))
2768
	for i = 1,4.7,0.1 do
2769
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2770
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2771
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
2772
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2773
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
2774
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
2775
	end
2776
	wait(.6)
2777
	attack = false
2778
end
2779
function BalanceSmash()
2780
	attack = true
2781
	for i = 0,5.2,0.1 do
2782
		swait()
2783
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2784
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2785
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2786
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2787
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2788
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2789
	end
2790
	CreateSound("331666100", tors, 10, 1)
2791
	Effects.Ring.Create(BrickC("White"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
2792
	Effects.Ring.Create(BrickC("Black"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
2793
	Effects.Ring.Create(BrickC("White"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
2794
	Effects.Ring.Create(BrickC("Black"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
2795
	MagniDamage(tors, 12, 40, 60, 10, "DarkUp")
2796
	coroutine.resume(coroutine.create(function() 
2797
		for i = 0,1.8,0.1 do
2798
			swait()
2799
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2800
		end
2801
		for i = 0,1.8,0.1 do
2802
			swait()
2803
		hum.CameraOffset = Vector3.new(0,0,0)
2804
		end
2805
	end))
2806
	for i = 1,4.7,0.1 do
2807
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2808
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2809
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
2810
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2811
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
2812
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
2813
	end
2814
	wait(.6)
2815
	attack = false
2816
end
2817
function Universal_Crush()
2818
	attack = true
2819
	for i = 0,5.2,0.05 do
2820
		swait()
2821
		Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2822
		Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2823
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2824
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2825
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2826
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2827
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2828
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2829
	end
2830
	CreateSound("331666100", tors, 10, 1)
2831
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 16.6, 16.6, 16.6, 0.01)
2832
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 16, 16, 16, 19.6, 19.6, 19.6, 0.01)
2833
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 18, 18, 18, 22.6, 22.6, 22.6, 0.01)
2834
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 20, 20, 20, 25.6, 25, 25, 0.01)
2835
	MagniDamage(tors, 170, 80, 175, 15, "DarkUp")
2836
	coroutine.resume(coroutine.create(function() 
2837
		for i = 0,1.8,0.1 do
2838
			swait()
2839
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2840
		end
2841
		for i = 0,1.8,0.1 do
2842
			swait()
2843
		hum.CameraOffset = Vector3.new(0,0,0)
2844
		end
2845
	end))
2846
	for i = 1,4.7,0.1 do
2847
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2848
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2849
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
2850
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2851
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
2852
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
2853
	end
2854
	wait(.6)
2855
	attack = false
2856
end
2857
2858
function Ascend_Point()
2859
	attack = true
2860
     corrupted = true
2861
	for i = 0,3,0.05 do
2862
		swait()
2863
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8)
2864
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
2865
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8)
2866
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8)
2867
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75)
2868
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75)
2869
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2870
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2871
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2872
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2873
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2874
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2875
	end
2876
        refa = New("Part",m,"refa",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),})
2877
	HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 20, 20, 25, 0, "Normal")
2878
        BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 30, 30, 30, 32, 32, 32, 0.07, 1)
2879
	CreateSound("331666100", refa, 10, 1)
2880
	CameraEnshaking(1.5, 10)  
2881
	coroutine.resume(coroutine.create(function() 
2882
	for i = 1,20,0.1 do
2883
        swait(5)
2884
PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
2885
PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
2886
PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
2887
PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
2888
	CreateSound("331666100", refa, 10, 1)
2889
        BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 22, 22, 22, 25, 25, 25, 0.041, 1)
2890
	HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 21.3, 5, 8, 0, "Normal")
2891
        end
2892
        refa:Destroy()
2893
        corrupted = false
2894
        end))
2895
	for i = 1,2.5,0.1 do
2896
        swait()
2897
rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.4)
2898
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.6)
2899
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.4)
2900
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.4)
2901
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.3)
2902
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.3)
2903
	end
2904
	wait(.3)
2905
	attack = false
2906
end
2907
2908
function Painful_Stomp()
2909
	attack = true
2910
	for i = 0,5.2,0.1 do
2911
		swait()
2912
		tecks2.Rotation = math.random(-20, 20)
2913
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2914
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2915
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2916
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2917
		LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2918
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
2919
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
2920
	end	
2921
	CreateSound("331666100", char, 10, 1)
2922
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2923
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2924
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2925
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2926
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
2927
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
2928
	Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
2929
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
2930
		if v:FindFirstChild("Head") then
2931
			Eviscerate(v)
2932
		end
2933
	end
2934
	coroutine.resume(coroutine.create(function() 
2935
		for i = 0,2.8,0.1 do
2936
			swait()
2937
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2938
		end
2939
		for i = 0,1.8,0.1 do
2940
			swait()
2941
		hum.CameraOffset = Vector3.new(0,0,0)
2942
		end
2943
	end))
2944
	for i = 0,3.7,0.1 do
2945
		tecks2.Rotation = math.random(-20, 20)
2946
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2947
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
2948
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2949
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
2950
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
2951
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2952
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2953
	end
2954
	wait(.6)
2955
	attack = false
2956
end
2957
function Ending()
2958
	local target = nil
2959
	local targettorso = nil
2960
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
2961
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
2962
			targetT  = mouse.Target.Parent
2963
			target = mouse.Target.Parent.Humanoid
2964
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
2965
			targethead = mouse.Target.Parent:FindFirstChild("Head")
2966
		end
2967
	end
2968
	if target ~= nil then
2969
		targettorso.Anchored = true
2970
		attack = true
2971
		hum.WalkSpeed = 0
2972
		local originalpos = root.CFrame
2973
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
2974
		for i = 0,1.8,0.1 do
2975
		tecks2.Rotation = math.random(-20, 20)
2976
			swait()
2977
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2978
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15)
2979
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
2980
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
2981
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
2982
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1)
2983
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
2984
		end
2985
		Eviscerate(targetT)
2986
		CreateSound("331666100", ra, 4, 1)
2987
		CreateSound("180083286", targettorso, 10, 1)
2988
		coroutine.resume(coroutine.create(function() 
2989
		for i = 0,1.8,0.1 do
2990
			swait()
2991
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2992
		end
2993
		for i = 0,1.8,0.1 do
2994
			swait()
2995
		hum.CameraOffset = Vector3.new(0,0,0)
2996
		end
2997
	end))
2998
		for i = 0,4.6,0.1 do
2999
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
3000
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
3001
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3002
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
3003
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
3004
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
3005
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
3006
		end
3007
		wait(.6)
3008
		root.CFrame = originalpos
3009
		attack = false
3010
	hum.WalkSpeed = 8
3011
	end
3012
end
3013
3014
3015
function Ending_Dark()
3016
	local target = nil
3017
	local targettorso = nil
3018
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
3019
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
3020
			targetT  = mouse.Target.Parent
3021
			target = mouse.Target.Parent.Humanoid
3022
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
3023
			targethead = mouse.Target.Parent:FindFirstChild("Head")
3024
		end
3025
	end
3026
	if target ~= nil then
3027
		targettorso.Anchored = true
3028
		attack = true
3029
		hum.WalkSpeed = 0
3030
		local originalpos = root.CFrame
3031
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
3032
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15)
3033
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
3034
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
3035
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
3036
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1)
3037
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
3038
		Eviscerate(targetT)
3039
		SoulSteal(targetT)
3040
		CreateSound("331666100", ra, 4, 1)
3041
		CreateSound("180083286", targettorso, 10, 1)
3042
		coroutine.resume(coroutine.create(function() 
3043
		for i = 0,1.8,0.1 do
3044
			swait()
3045
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
3046
		end
3047
		for i = 0,1.8,0.1 do
3048
			swait()
3049
		hum.CameraOffset = Vector3.new(0,0,0)
3050
		end
3051
	end))
3052
3053
		wait(.6)
3054
		root.CFrame = originalpos
3055
		attack = false
3056
	hum.WalkSpeed = 8
3057
	end
3058
end
3059
--[[I don't take ANY credit for this attack,
3060
	this was all nooby's hard work and the only reason i uhhh "used" it
3061
	is cause I i didn't have attack ideas at the time so yeah,
3062
	100% nooby's credit <3]]
3063
function Ende_der_Weld()
3064
	attack = true
3065
	hum.WalkSpeed = 0
3066
	for i = 0,4.6,0.1 do
3067
			swait()
3068
		tecks2.Rotation = math.random(-20, 20)
3069
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
3070
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
3071
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3072
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
3073
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
3074
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
3075
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
3076
		end
3077
		local a = Instance.new("Part",char)
3078
		a.BrickColor = BrickColor.random()
3079
	a.Name = "Lazer"	
3080
	a.Anchored = true
3081
a.Material = "Neon"
3082
a.Transparency = 1
3083
	a.CanCollide = false
3084
	local hitbox = Instance.new("Part",char)
3085
	hitbox.Size = Vector3.new(5,5,5)
3086
	hitbox.CFrame = mouse.hit
3087
	hitbox.Anchored = true
3088
	hitbox.Transparency = 1
3089
	hitbox.CanCollide = false
3090
	local ray = Ray.new(
3091
	    ra.CFrame.p,                           -- origin
3092
	    (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction
3093
	) 
3094
	local ignore = char
3095
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3096
	if hit then
3097
		local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
3098
	 
3099
		if not humanoid then
3100
			humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
3101
		end
3102
		if humanoid then
3103
			if humanoid.Parent:IsA"Model" then
3104
			end
3105
		end
3106
	end
3107
	a.BottomSurface = 10
3108
	a.TopSurface = 10
3109
	local distance = (ra.CFrame.p - position).magnitude
3110
	a.Size = Vector3.new(0.1, 0.1, 0.1)
3111
	a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0)
3112
	game:GetService("Debris"):AddItem(a, 5)
3113
	game:GetService("Debris"):AddItem(hitbox, 1)
3114
local newmesh = Instance.new("BlockMesh",a)
3115
MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025) 
3116
MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1)
3117
MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2)
3118
MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1)
3119
			 local lbs = Instance.new("Part")
3120
  lbs.Parent = char
3121
CreateSound("929619479", lbs, 10, 1)
3122
   lbs.Material = "Neon"
3123
    lbs.Color = BrickColor.Random().Color
3124
     lbs.CanCollide = false
3125
     lbs.Shape = "Ball"
3126
     lbs.Anchored = true
3127
     lbs.Transparency = 0
3128
     lbs.Size = Vector3.new(20,20,20)
3129
     lbs.CFrame = a.CFrame
3130
     local thing = Instance.new("SpecialMesh",lbs)
3131
     thing.MeshType = "Sphere"
3132
lbs.Anchored = false
3133
  local bvs = Instance.new("BodyVelocity")
3134
  bvs.maxForce = Vector3.new(1e9, 1e9, 1e9)
3135
  bvs.velocity = a.CFrame.lookVector*75
3136
  bvs.Parent = lbs
3137
lbs.Touched:connect(function(hit) 
3138
	MagniDamage(hit, 12, 40, 60, 10, "Normal")
3139
end)
3140
attack = false
3141
game:GetService("Debris"):AddItem(lbs, 10)
3142
for x = 0, 4 do
3143
	local bulletgos = IT("Model",char)
3144
	local bulletgos2 = IT("Model",char)
3145
for z = 0, 24 do
3146
			 local lb = Instance.new("Part")
3147
  lb.Parent = bulletgos
3148
   lb.Material = "Neon"
3149
    lb.Color = BrickColor.Random().Color
3150
     lb.CanCollide = false
3151
     lb.Anchored = true
3152
     lb.Transparency = 0
3153
     lb.Size = Vector3.new(2,2,2)
3154
local thing = Instance.new("SpecialMesh",lb)
3155
     thing.MeshType = "Sphere"
3156
     thing.Scale = Vector3.new(0.5,0.5,1.5)
3157
     lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3158
     lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15
3159
			 local lb2 = Instance.new("Part")
3160
  lb2.Parent = bulletgos2
3161
   lb2.Material = "Neon"
3162
    lb2.Color = lb.Color
3163
     lb2.CanCollide = false
3164
     lb2.Anchored = true
3165
     lb2.Transparency = 0
3166
     lb2.Size = Vector3.new(2,2,2)
3167
     lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3168
     lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15
3169
     local thing2 = Instance.new("SpecialMesh",lb2)
3170
     thing2.MeshType = "Sphere"
3171
     thing2.Scale = Vector3.new(0.5,0.5,1.5)
3172
lb.Touched:connect(function(hit) 
3173
	MagniDamage(hit, 12, 40, 60, 10, "Normal")
3174
end)
3175
lb2.Touched:connect(function(hit) 
3176
	MagniDamage(hit, 12, 40, 60, 10, "Normal")
3177
end)
3178
end
3179
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
3180
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
3181
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
3182
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
3183
CreateSound("925629856", lbs, 5, 1)
3184
game:GetService("Debris"):AddItem(bulletgos, 7)
3185
game:GetService("Debris"):AddItem(bulletgos2, 7)
3186
for i,v in pairs(bulletgos:children()) do
3187
    if v:IsA("Part") then
3188
	v.Anchored = false
3189
	MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) 
3190
  local bv = Instance.new("BodyVelocity")
3191
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3192
  bv.velocity = v.CFrame.lookVector*25
3193
  bv.Parent = v
3194
game:GetService("Debris"):AddItem(v, 5)
3195
    end
3196
end
3197
for i,v in pairs(bulletgos2:children()) do
3198
    if v:IsA("Part") then
3199
	v.Anchored = false
3200
	MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) 
3201
  local bv = Instance.new("BodyVelocity")
3202
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3203
  bv.velocity = v.CFrame.lookVector*-25
3204
  bv.Parent = v
3205
game:GetService("Debris"):AddItem(v, 5)
3206
    end
3207
end
3208
wait(1)
3209
end
3210
attack = false
3211
hum.WalkSpeed = 8
3212
end
3213
-------------------------------------------------------
3214
--End Attacks N Stuff--
3215
-------------------------------------------------------
3216
mouse.KeyDown:connect(function(key)
3217
    if string.byte(key) == 48 then
3218
        Swing = 2
3219
        hum.WalkSpeed = 38.82
3220
	end
3221
end)
3222
mouse.KeyUp:connect(function(key)
3223
    if string.byte(key) == 48 then
3224
        Swing = 1
3225
        hum.WalkSpeed = 8
3226
	end
3227
end)
3228
mouse.KeyDown:connect(function(key)
3229
	if attack == false then
3230
		if key == 'q' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false then
3231
        DTrail5.Enabled = false
3232
        DTrail4.Enabled = false
3233
        DTrail3.Enabled = false
3234
        DTrail2.Enabled = false
3235
        DTrail.Enabled = false
3236
			EdgyMode = true
3237
			tecks2.Text = "Edgy"
3238
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3239
			tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
3240
		for i, v in pairs(ArmourParts) do
3241
        	v.BrickColor = BrickColor.new("Black")
3242
		      		end
3243
		for i, v in pairs(ArmourParts2) do
3244
        	v.BrickColor = BrickColor.new("Really black")
3245
		      		end
3246
    	for i, v in pairs(NeonParts) do
3247
        	v.BrickColor = BrickColor.new("Royal purple")
3248
      				end
3249
	maincolor = BrickColor.new("Royal purple")
3250
                        Music.TimePosition = 0
3251
			Music.SoundId = "rbxassetid://1693948941"
3252
			Music.Parent = tors
3253
			Music:Play()
3254
		elseif key == 'q' and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3255
        DTrail5.Enabled = false
3256
        DTrail4.Enabled = false
3257
        DTrail3.Enabled = false
3258
        DTrail2.Enabled = false
3259
        DTrail.Enabled = false
3260
			EdgyMode = false
3261
			tecks2.Text = "Neutral"
3262
                        tecks2.Rotation = 0
3263
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3264
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3265
			resetmode()
3266
                        Music.TimePosition = 0
3267
			Music.SoundId = "rbxassetid://1117396305"
3268
			Music.Parent = tors
3269
			Music:Play()
3270
		elseif key == 'e' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3271
        DTrail5.Enabled = false
3272
        DTrail4.Enabled = false
3273
        DTrail3.Enabled = false
3274
        DTrail2.Enabled = false
3275
        DTrail.Enabled = false
3276
			Divinity = true
3277
			tecks2.Text = "Divinity"
3278
                        tecks2.Rotation = 0
3279
			tecks2.TextColor3 = Color3.new(1, 1, 1)
3280
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
3281
		for i, v in pairs(ArmourParts) do
3282
        	v.BrickColor = BrickColor.new("Institutional white")
3283
		      		end
3284
		for i, v in pairs(ArmourParts2) do
3285
        	v.BrickColor = BrickColor.new("White")
3286
		      		end
3287
    	for i, v in pairs(NeonParts) do
3288
        	v.BrickColor = BrickColor.new("New Yeller")
3289
      				end
3290
		maincolor = BrickColor.new("New Yeller")
3291
                        Music.TimePosition = 0
3292
			Music.SoundId = "rbxassetid://595800581"
3293
			Music.Parent = tors
3294
			Music:Play()
3295
		elseif key == 'e' and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3296
        DTrail5.Enabled = false
3297
        DTrail4.Enabled = false
3298
        DTrail3.Enabled = false
3299
        DTrail2.Enabled = false
3300
        DTrail.Enabled = false
3301
			Divinity = false
3302
			tecks2.Text = "Neutral"
3303
                        tecks2.Rotation = 0
3304
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3305
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3306
			resetmode()
3307
                        Music.TimePosition = 0
3308
			Music.SoundId = "rbxassetid://1117396305"
3309
			Music.Parent = tors
3310
			Music:Play()
3311
		elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3312
        DTrail5.Enabled = false
3313
        DTrail4.Enabled = false
3314
        DTrail3.Enabled = false
3315
        DTrail2.Enabled = false
3316
        DTrail.Enabled = false
3317
			Fighter = true
3318
			tecks2.Text = "Fighter"
3319
                        tecks2.Rotation = 0
3320
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3321
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
3322
		for i, v in pairs(ArmourParts) do
3323
        	v.BrickColor = BrickColor.new("Black")
3324
		      		end
3325
		for i, v in pairs(ArmourParts2) do
3326
        	v.BrickColor = BrickColor.new("Really black")
3327
		      		end
3328
    	for i, v in pairs(NeonParts) do
3329
        	v.BrickColor = BrickColor.new("Institutional white")
3330
      				end
3331
		maincolor = BrickColor.new("Institutional white")
3332
			Music.SoundId = "rbxassetid://493647101"
3333
			Music.Parent = tors
3334
                        Music.TimePosition = 0
3335
			Music:Play()
3336
		elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3337
        DTrail5.Enabled = false
3338
        DTrail4.Enabled = false
3339
        DTrail3.Enabled = false
3340
        DTrail2.Enabled = false
3341
        DTrail.Enabled = false
3342
			Fighter = false
3343
			tecks2.Text = "Neutral"
3344
                        tecks2.Rotation = 0
3345
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3346
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3347
			resetmode()
3348
                        Music.TimePosition = 0
3349
			Music.SoundId = "rbxassetid://1117396305"
3350
			Music.Parent = tors
3351
			Music:Play()
3352
		elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3353
        DTrail5.Enabled = false
3354
        DTrail4.Enabled = false
3355
        DTrail3.Enabled = false
3356
        DTrail2.Enabled = false
3357
        DTrail.Enabled = false
3358
			Purity = true
3359
			tecks2.Text = "Purity"
3360
                        tecks2.Rotation = 0
3361
			tecks2.TextColor3 = Color3.new(1, 1, 1)
3362
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255)
3363
		for i, v in pairs(ArmourParts) do
3364
        	v.BrickColor = BrickColor.new("Institutional white")
3365
		      		end
3366
		for i, v in pairs(ArmourParts2) do
3367
        	v.BrickColor = BrickColor.new("Institutional white")
3368
		      		end
3369
    	for i, v in pairs(NeonParts) do
3370
        	v.BrickColor = BrickColor.new("Toothpaste")
3371
      				end
3372
		maincolor = BrickColor.new("Toothpaste")
3373
                        Music.TimePosition = 0
3374
			Music.SoundId = "rbxassetid://174212509"
3375
			Music.Parent = tors
3376
			Music:Play()
3377
		elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3378
        DTrail5.Enabled = false
3379
        DTrail4.Enabled = false
3380
        DTrail3.Enabled = false
3381
        DTrail2.Enabled = false
3382
        DTrail.Enabled = false
3383
			Purity = false
3384
			tecks2.Text = "Neutral"
3385
                        tecks2.Rotation = 0
3386
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3387
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3388
			resetmode()
3389
                        Music.TimePosition = 0
3390
			Music.SoundId = "rbxassetid://1117396305"
3391
			Music.Parent = tors
3392
			Music:Play()
3393
		elseif key == 'p' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3394
        DTrail5.Enabled = false
3395
        DTrail4.Enabled = false
3396
        DTrail3.Enabled = false
3397
        DTrail2.Enabled = false
3398
        DTrail.Enabled = false
3399
			Solar = true
3400
			tecks2.Text = "Solar"
3401
                        tecks2.Rotation = 0
3402
			tecks2.TextColor3 = Color3.new(1, 1, 0)
3403
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 170, 0)
3404
		for i, v in pairs(ArmourParts) do
3405
        	v.BrickColor = BrickColor.new("New Yeller")
3406
		      		end
3407
		for i, v in pairs(ArmourParts2) do
3408
        	v.BrickColor = BrickColor.new("Bright yellow")
3409
		      		end
3410
    	for i, v in pairs(NeonParts) do
3411
        	v.BrickColor = BrickColor.new("Deep orange")
3412
      				end
3413
		maincolor = BrickColor.new("Deep orange")
3414
                        Music.TimePosition = 5
3415
			Music.SoundId = "rbxassetid://1167066393"
3416
			Music.Parent = tors
3417
			Music:Play()
3418
		elseif key == 'p' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == true and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3419
        DTrail5.Enabled = false
3420
        DTrail4.Enabled = false
3421
        DTrail3.Enabled = false
3422
        DTrail2.Enabled = false
3423
        DTrail.Enabled = false
3424
			Solar = false
3425
			tecks2.Text = "Neutral"
3426
                        tecks2.Rotation = 0
3427
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3428
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3429
			resetmode()
3430
                        Music.TimePosition = 0
3431
			Music.SoundId = "rbxassetid://1117396305"
3432
			Music.Parent = tors
3433
			Music:Play()
3434
		elseif key == 'g' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3435
        DTrail5.Enabled = false
3436
        DTrail4.Enabled = false
3437
        DTrail3.Enabled = false
3438
        DTrail2.Enabled = false
3439
        DTrail.Enabled = false
3440
			Lunar = true
3441
			tecks2.Text = "Lunar"
3442
                        tecks2.Rotation = 0
3443
			tecks2.TextColor3 = Color3.new(0, 0, 1)
3444
			tecks2.TextStrokeColor3 = Color3.fromRGB(170, 255, 255)
3445
		for i, v in pairs(ArmourParts) do
3446
        	v.BrickColor = BrickColor.new("Dark blue")
3447
		      		end
3448
		for i, v in pairs(ArmourParts2) do
3449
        	v.BrickColor = BrickColor.new("Cyan")
3450
		      		end
3451
    	for i, v in pairs(NeonParts) do
3452
        	v.BrickColor = BrickColor.new("Steel blue")
3453
      				end
3454
		maincolor = BrickColor.new("Steel blue")
3455
                        Music.TimePosition = 0.5
3456
			Music.SoundId = "rbxassetid://1574603917"
3457
			Music.Parent = tors
3458
			Music:Play()
3459
		elseif key == 'g' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3460
        DTrail5.Enabled = false
3461
        DTrail4.Enabled = false
3462
        DTrail3.Enabled = false
3463
        DTrail2.Enabled = false
3464
        DTrail.Enabled = false
3465
			Lunar = false
3466
			tecks2.Text = "Neutral"
3467
                        tecks2.Rotation = 0
3468
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3469
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3470
			resetmode()
3471
                        Music.TimePosition = 0
3472
			Music.SoundId = "rbxassetid://1117396305"
3473
			Music.Parent = tors
3474
			Music:Play()
3475
		elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3476
			Destruction = true
3477
			tecks2.Text = "Destruction"
3478
                        tecks2.Rotation = 0
3479
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3480
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
3481
		for i, v in pairs(ArmourParts) do
3482
        	v.BrickColor = BrickColor.new("Really black")
3483
		      		end
3484
		for i, v in pairs(ArmourParts2) do
3485
        	v.BrickColor = BrickColor.new("Black")
3486
		      		end
3487
    	for i, v in pairs(NeonParts) do
3488
        	v.BrickColor = BrickColor.new("Really red")
3489
      				end
3490
        DTrail5.Enabled = true
3491
        DTrail4.Enabled = true
3492
        DTrail3.Enabled = true
3493
        DTrail2.Enabled = true
3494
        DTrail.Enabled = true
3495
		maincolor = BrickColor.new("Really red")
3496
                        Music.TimePosition = 2
3497
			Music.SoundId = "rbxassetid://1703475948"
3498
			Music.Parent = tors
3499
			Music:Play()
3500
		elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3501
        DTrail5.Enabled = false
3502
        DTrail4.Enabled = false
3503
        DTrail3.Enabled = false
3504
        DTrail2.Enabled = false
3505
        DTrail.Enabled = false
3506
			Destruction = false
3507
			tecks2.Text = "Neutral"
3508
                        tecks2.Rotation = 0
3509
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3510
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3511
			resetmode()
3512
                        Music.TimePosition = 0
3513
			Music.SoundId = "rbxassetid://1117396305"
3514
			Music.Parent = tors
3515
			Music:Play()
3516
		elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3517
			helpme = true
3518
        DTrail5.Enabled = false
3519
        DTrail4.Enabled = false
3520
        DTrail3.Enabled = false
3521
        DTrail2.Enabled = false
3522
        DTrail.Enabled = false
3523
                        Music.TimePosition = 1
3524
			tecks2.Text = "iNsAnItY"
3525
			Music.SoundId = "rbxassetid://943961217"
3526
			Music.Parent = tors
3527
			Music:Play()
3528
		elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3529
        DTrail5.Enabled = false
3530
        DTrail4.Enabled = false
3531
        DTrail3.Enabled = false
3532
        DTrail2.Enabled = false
3533
        DTrail.Enabled = false
3534
			helpme = false
3535
			tecks2.Text = "Neutral"
3536
                        tecks2.Rotation = 0
3537
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3538
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3539
			resetmode()
3540
                        Music.TimePosition = 0
3541
			Music.SoundId = "rbxassetid://1117396305"
3542
			Music.Parent = tors
3543
			Music:Play()
3544
		elseif key == 'h' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3545
			Frost = true
3546
        DTrail5.Enabled = false
3547
        DTrail4.Enabled = false
3548
        DTrail3.Enabled = false
3549
        DTrail2.Enabled = false
3550
        DTrail.Enabled = false
3551
			tecks2.Text = "Frost"
3552
                        tecks2.Rotation = 0
3553
			tecks2.TextColor3 = Color3.new(1, 1, 1)
3554
			tecks2.TextStrokeColor3 = Color3.fromRGB(170, 255, 255)
3555
		for i, v in pairs(ArmourParts) do
3556
        	v.BrickColor = BrickColor.new("Cyan")
3557
		      		end
3558
		for i, v in pairs(ArmourParts2) do
3559
        	v.BrickColor = BrickColor.new("White")
3560
		      		end
3561
    	for i, v in pairs(NeonParts) do
3562
        	v.BrickColor = BrickColor.new("Teal")
3563
      				end
3564
		maincolor = BrickColor.new("Teal")
3565
                        Music.TimePosition = 1
3566
			Music.SoundId = "rbxassetid://1579308042"
3567
			Music.Parent = tors
3568
			Music:Play()
3569
		elseif key == 'h' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == true and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3570
        DTrail5.Enabled = false
3571
        DTrail4.Enabled = false
3572
        DTrail3.Enabled = false
3573
        DTrail2.Enabled = false
3574
        DTrail.Enabled = false
3575
			Frost = false
3576
			tecks2.Text = "Neutral"
3577
                        tecks2.Rotation = 0
3578
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3579
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3580
			resetmode()
3581
                        Music.TimePosition = 0
3582
			Music.SoundId = "rbxassetid://1117396305"
3583
			Music.Parent = tors
3584
			Music:Play()
3585
		elseif key == 'j' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3586
			Ashes = true
3587
        DTrail5.Enabled = false
3588
        DTrail4.Enabled = false
3589
        DTrail3.Enabled = false
3590
        DTrail2.Enabled = false
3591
        DTrail.Enabled = false
3592
			tecks2.Text = "Ash"
3593
                        tecks2.Rotation = 0
3594
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3595
			tecks2.TextStrokeColor3 = Color3.fromRGB(91, 93, 105)
3596
		for i, v in pairs(ArmourParts) do
3597
        	v.BrickColor = BrickColor.new("Smoky grey")
3598
		      		end
3599
		for i, v in pairs(ArmourParts2) do
3600
        	v.BrickColor = BrickColor.new("Black")
3601
		      		end
3602
    	for i, v in pairs(NeonParts) do
3603
        	v.BrickColor = BrickColor.new("Really black")
3604
      				end
3605
		maincolor = BrickColor.new("Really black")
3606
                        Music.TimePosition = 2
3607
			Music.SoundId = "rbxassetid://1514078310"
3608
			Music.Parent = tors
3609
			Music:Play()
3610
		elseif key == 'j' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == true and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3611
        DTrail5.Enabled = false
3612
        DTrail4.Enabled = false
3613
        DTrail3.Enabled = false
3614
        DTrail2.Enabled = false
3615
        DTrail.Enabled = false
3616
			Ashes = false
3617
			tecks2.Text = "Neutral"
3618
                        tecks2.Rotation = 0
3619
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3620
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3621
			resetmode()
3622
                        Music.TimePosition = 0
3623
			Music.SoundId = "rbxassetid://1117396305"
3624
			Music.Parent = tors
3625
			Music:Play()
3626
		elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1  then
3627
			tecks2.TextTransparency = 0
3628
			tecks2.TextStrokeTransparency = 0
3629
		elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0  then
3630
			tecks2.TextTransparency = 1
3631
			tecks2.TextStrokeTransparency = 1
3632
		elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3633
        DTrail5.Enabled = false
3634
        DTrail4.Enabled = false
3635
        DTrail3.Enabled = false
3636
        DTrail2.Enabled = false
3637
        DTrail.Enabled = false
3638
			Planetary = true
3639
			tecks2.Text = "Planetary"
3640
                        tecks2.Rotation = 0
3641
			tecks2.TextColor3 = Color3.fromRGB(61, 21, 133)
3642
			tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133)
3643
		for i, v in pairs(ArmourParts) do
3644
        	v.BrickColor = BrickColor.new("Dark indigo")
3645
		      		end
3646
		for i, v in pairs(ArmourParts2) do
3647
        	v.BrickColor = BrickColor.new("Dark indigo")
3648
		      		end
3649
    	for i, v in pairs(NeonParts) do
3650
        	v.BrickColor = BrickColor.new("Dark indigo")
3651
      				end
3652
		maincolor = BrickColor.new("Dark indigo")
3653
                        Music.TimePosition = 0
3654
			Music.SoundId = "rbxassetid://609934004"
3655
			Music.Parent = tors
3656
			Music:Play()
3657
		elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3658
			Planetary = false
3659
        DTrail5.Enabled = false
3660
        DTrail4.Enabled = false
3661
        DTrail3.Enabled = false
3662
        DTrail2.Enabled = false
3663
        DTrail.Enabled = false
3664
			tecks2.Text = "Neutral"
3665
                        tecks2.Rotation = 0
3666
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3667
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3668
			resetmode()
3669
                        Music.TimePosition = 0
3670
			Music.SoundId = "rbxassetid://1117396305"
3671
			Music.Parent = tors
3672
			Music:Play()
3673
			elseif key == 'k' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3674
			Ascend = true
3675
        DTrail5.Enabled = false
3676
        DTrail4.Enabled = false
3677
        DTrail3.Enabled = false
3678
        DTrail2.Enabled = false
3679
        DTrail.Enabled = false
3680
			tecks2.Text = "Ascend"
3681
                        tecks2.Rotation = 0
3682
			tecks2.TextColor3 = Color3.new(1, 0, 1)
3683
			tecks2.TextStrokeColor3 = Color3.fromRGB(245,245,245)
3684
		for i, v in pairs(ArmourParts) do
3685
        	v.BrickColor = BrickColor.new("Magenta")
3686
		      		end
3687
		for i, v in pairs(ArmourParts2) do
3688
        	v.BrickColor = BrickColor.new("Pink")
3689
		      		end
3690
    	for i, v in pairs(NeonParts) do
3691
        	v.BrickColor = BrickColor.new("White")
3692
      				end
3693
		maincolor = BrickColor.new("White")
3694
                        Music.TimePosition = 1
3695
			Music.SoundId = "rbxassetid://927529620"
3696
			Music.Parent = tors
3697
			Music:Play()
3698
		elseif key == 'k' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == true and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3699
        DTrail5.Enabled = false
3700
        DTrail4.Enabled = false
3701
        DTrail3.Enabled = false
3702
        DTrail2.Enabled = false
3703
        DTrail.Enabled = false
3704
			Ascend = false
3705
			tecks2.Text = "Neutral"
3706
                        tecks2.Rotation = 0
3707
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3708
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3709
			resetmode()
3710
                        Music.TimePosition = 0
3711
			Music.SoundId = "rbxassetid://1117396305"
3712
			Music.Parent = tors
3713
			Music:Play()
3714
	elseif key == 'b' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3715
		Wow = true
3716
        DTrail5.Enabled = false
3717
        DTrail4.Enabled = false
3718
        DTrail3.Enabled = false
3719
        DTrail2.Enabled = false
3720
        DTrail.Enabled = false
3721
			tecks2.Text = "Doge"
3722
                        tecks2.Rotation = 0
3723
			tecks2.TextColor3 = Color3.new(255, 204, 153)
3724
			tecks2.TextStrokeColor3 = Color3.fromRGB(213, 115, 61)
3725
		for i, v in pairs(ArmourParts) do
3726
        	v.BrickColor = BrickColor.new("Buttermilk")
3727
		      		end
3728
		for i, v in pairs(ArmourParts2) do
3729
        	v.BrickColor = BrickColor.new("Pastel brown")
3730
		      		end
3731
    	for i, v in pairs(NeonParts) do
3732
        	v.BrickColor = BrickColor.new("Wheat")
3733
      				end
3734
		maincolor = BrickColor.new("Cool yellow")
3735
                        Music.TimePosition = 1
3736
			Music.SoundId = "rbxassetid://150794704"
3737
			Music.Parent = tors
3738
			Music:Play()
3739
			elseif key == 'b' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == true and Balance == false then
3740
        DTrail5.Enabled = false
3741
        DTrail4.Enabled = false
3742
        DTrail3.Enabled = false
3743
        DTrail2.Enabled = false
3744
        DTrail.Enabled = false
3745
			Wow = false
3746
			tecks2.Text = "Neutral"
3747
                        tecks2.Rotation = 0
3748
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3749
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3750
			resetmode()
3751
                        Music.TimePosition = 0
3752
			Music.SoundId = "rbxassetid://1117396305"
3753
			Music.Parent = tors
3754
			Music:Play()
3755
	elseif key == 'm' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3756
			Overclocked = true
3757
        DTrail5.Enabled = false
3758
        DTrail4.Enabled = false
3759
        DTrail3.Enabled = false
3760
        DTrail2.Enabled = false
3761
        DTrail.Enabled = false
3762
			tecks2.Text = "Overclocked"
3763
                        tecks2.Rotation = 0
3764
			tecks2.TextColor3 = Color3.new(0,0,0)
3765
			tecks2.TextStrokeColor3 = Color3.fromRGB(140,140,0)
3766
		for i, v in pairs(ArmourParts) do
3767
        	v.BrickColor = BrickColor.new("Fawn brown")
3768
		      		end
3769
		for i, v in pairs(ArmourParts2) do
3770
        	v.BrickColor = BrickColor.new("Burnt Sienna")
3771
		      		end
3772
    	for i, v in pairs(NeonParts) do
3773
        	v.BrickColor = BrickColor.new("Really black")
3774
      				end
3775
		maincolor = BrickColor.new("Fawn brown")
3776
                        Music.TimePosition = 1
3777
			Music.SoundId = "rbxassetid://595230126"
3778
			Music.Parent = tors
3779
			Music:Play()
3780
		elseif key == 'm' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == true and Darkness == false and Wow == false and Balance == false then
3781
        DTrail5.Enabled = false
3782
        DTrail4.Enabled = false
3783
        DTrail3.Enabled = false
3784
        DTrail2.Enabled = false
3785
        DTrail.Enabled = false
3786
			Overclocked = false
3787
			tecks2.Text = "Neutral"
3788
                        tecks2.Rotation = 0
3789
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3790
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3791
			resetmode()
3792
                        Music.TimePosition = 0
3793
			Music.SoundId = "rbxassetid://1117396305"
3794
			Music.Parent = tors
3795
			Music:Play()
3796
							elseif key == 'v' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3797
		Darkness = true
3798
        DTrail5.Enabled = false
3799
        DTrail4.Enabled = false
3800
        DTrail3.Enabled = false
3801
        DTrail2.Enabled = false
3802
        DTrail.Enabled = false
3803
			tecks2.Text = "Darkness"
3804
                        tecks2.Rotation = 0
3805
			tecks2.TextColor3 = Color3.new(0,0,0)
3806
			tecks2.TextStrokeColor3 = Color3.fromRGB(80,80,80)
3807
		for i, v in pairs(ArmourParts) do
3808
        	v.BrickColor = BrickColor.new("Mid gray")
3809
		      		end
3810
		for i, v in pairs(ArmourParts2) do
3811
        	v.BrickColor = BrickColor.new("Black")
3812
		      		end
3813
    	for i, v in pairs(NeonParts) do
3814
        	v.BrickColor = BrickColor.new("Dark stone grey")
3815
      				end
3816
		maincolor = BrickColor.new("Really black")
3817
                        Music.TimePosition = 1
3818
			Music.SoundId = "rbxassetid://398987889"
3819
			Music.Parent = tors
3820
			Music:Play()
3821
			elseif key == 'v' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == true and Wow == false and Balance == false then
3822
        DTrail5.Enabled = false
3823
        DTrail4.Enabled = false
3824
        DTrail3.Enabled = false
3825
        DTrail2.Enabled = false
3826
        DTrail.Enabled = false
3827
			Darkness = false
3828
			tecks2.Text = "Neutral"
3829
                        tecks2.Rotation = 0
3830
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3831
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3832
			resetmode()
3833
                        Music.TimePosition = 0
3834
			Music.SoundId = "rbxassetid://1117396305"
3835
			Music.Parent = tors
3836
			Music:Play()
3837
			elseif key == 'c' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == false then
3838
		Balance = true
3839
        DTrail5.Enabled = false
3840
        DTrail4.Enabled = false
3841
        DTrail3.Enabled = false
3842
        DTrail2.Enabled = false
3843
        DTrail.Enabled = false
3844
			tecks2.Text = "Balance"
3845
                        tecks2.Rotation = 0
3846
			tecks2.TextColor3 = Color3.new(255,255,255)
3847
			tecks2.TextStrokeColor3 = Color3.fromRGB(0,0,0)
3848
		for i, v in pairs(ArmourParts) do
3849
        	v.BrickColor = BrickColor.new("Institutional white")
3850
		      		end
3851
		for i, v in pairs(ArmourParts2) do
3852
        	v.BrickColor = BrickColor.new("Really black")
3853
		      		end
3854
    	for i, v in pairs(NeonParts) do
3855
        	v.BrickColor = BrickColor.new("Institutional white")
3856
      				end
3857
		maincolor = BrickColor.new("White")
3858
                        Music.TimePosition = 1
3859
			Music.SoundId = "rbxassetid://933385346"
3860
			Music.Parent = tors
3861
			Music:Play()
3862
			elseif key == 'c' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false and Ascend == false and Overclocked == false and Darkness == false and Wow == false and Balance == true then
3863
        DTrail5.Enabled = false
3864
        DTrail4.Enabled = false
3865
        DTrail3.Enabled = false
3866
        DTrail2.Enabled = false
3867
        DTrail.Enabled = false
3868
			Balance = false
3869
			tecks2.Text = "Neutral"
3870
                        tecks2.Rotation = 0
3871
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3872
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3873
			resetmode()
3874
                        Music.TimePosition = 0
3875
			Music.SoundId = "rbxassetid://1117396305"
3876
			Music.Parent = tors
3877
			Music:Play()			
3878
		end
3879
	end
3880
end)
3881
3882
mouse.KeyDown:connect(function(key)
3883
	if attack == false then
3884
		if EdgyMode == true then
3885
			if key == 'r' then
3886
			Decapitate()
3887
			elseif key == 'e' then
3888
				Laugh()
3889
			end
3890
		end
3891
		if Divinity == true then
3892
			if key == 'r' then
3893
				Beam_Of_Light()
3894
			elseif key == 'f' then
3895
				Blast_Of_God()
3896
			end
3897
		end
3898
		if Fighter == true then
3899
			if key == 'e' then
3900
				Flying_Kick()
3901
			elseif key == 'f' then
3902
				UpperCut()
3903
			elseif key == 't' then
3904
				Spinning_Kick()	
3905
			end
3906
		end
3907
		if Purity == true then
3908
			if key == 'r' then
3909
				Purity_Slam()
3910
			elseif key == 'e' then
3911
				Power_Burst()
3912
			end
3913
		end
3914
		if Solar == true then
3915
			if key == 'r' then
3916
				Eruption()
3917
			elseif key == 't' then
3918
				Solar_Flare()
3919
                        end
3920
		end
3921
		if Frost == true then
3922
			if key == 'r' then
3923
				Blizzard()
3924
			elseif key == 't' then
3925
				Cryo_Freeze()
3926
			end
3927
		end
3928
		if Ashes == true then
3929
			if key == 't' and notmenacing then
3930
				Menacing_Aura()
3931
			elseif key == 'r' and alternatecooldownbecausewhynotdood == false then
3932
				Heat_Stroke()
3933
			end
3934
		end
3935
		if Lunar == true then
3936
			if key == 't' then
3937
				ShadowWarp()
3938
			elseif key == 'r' then
3939
				Shade()
3940
			elseif key == 'f' then
3941
				LunarSpin()
3942
			end
3943
		end
3944
		if Destruction == true then
3945
			if key == 'r' then
3946
				Diablo_Explosion()
3947
			elseif key == 'f' then
3948
				Hell_From_Above()
3949
			elseif key == 't' then
3950
				Spinning_Below()
3951
			end
3952
		end
3953
		if Planetary == true then
3954
			if key == 'r' then
3955
            	Multi_Bombs()
3956
			elseif key == 't' then
3957
				Universal_Crush()
3958
			end
3959
		end
3960
		if helpme == true then
3961
			if key == 'r' then
3962
				Painful_Stomp()
3963
			elseif key == 'f' then
3964
				Ending()
3965
			elseif key == 't' then
3966
				Ende_der_Weld()
3967
			end
3968
		end
3969
		if Ascend == true then
3970
			if key == "f" then
3971
				ASCENTION()
3972
			elseif key == "r" then
3973
	
3974
			end
3975
		end
3976
3977
		if Darkness == true then
3978
			if key == "e" then
3979
				Decapitate()
3980
			elseif key == "r" then
3981
				Ending_Dark()
3982
			elseif key == "f" then
3983
				Power_Burst()
3984
			elseif key == "t" then
3985
				Teh_Magic()		
3986
			end
3987
		end		
3988
		
3989
		if Wow == true then
3990
			if key == "r" then
3991
				Bark_Splosion()
3992
			elseif key == "t" then
3993
				BARK()	
3994
			end
3995
		end		
3996
		
3997
		if Balance == true then
3998
			if key == "r" then
3999
				BalanceSpin()
4000
			elseif key == "t" then
4001
				BalanceSmash()		
4002
			end
4003
		end		
4004
		
4005
		if Overclocked == true then
4006
			if key == "r" then
4007
				Dangerous_Field()
4008
			elseif key == "t" then
4009
				LAZER()
4010
			end
4011
		end
4012
		
4013
		
4014
		
4015
	end
4016
 end)
4017
4018
4019
coroutine.resume(coroutine.create(function()
4020
	while true do
4021
		swait(8)
4022
		if Solar == true then
4023
			sphereMK(5, 0.12, "Add", root.CFrame * CFrame.new(math.random(-6, 6), -10, math.random(-6, 6)) * CFrame.Angles(math.rad(90 + math.random(-15, 15)), math.rad(math.random(-15, 15)), 0), 1, 1, 15, -0.01, maincolor, 0)
4024
		end
4025
	end
4026
end))
4027
coroutine.resume(coroutine.create(function()
4028
	while true do
4029
		swait(4)
4030
		if Frost == true then
4031
		        Effects.Block.Create(BrickC("Institutional white"), tors.CFrame * CF(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)), 2, 2, 2, 0.5, 0.5, 0.5, 0.03)
4032
	                Effects.Ring.Create(BrickC("Teal"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.05, 0.05, 0.05, 0.15, 0.15, 0.15, 0.02)
4033
		end
4034
	end
4035
end))
4036
coroutine.resume(coroutine.create(function()
4037
	while true do
4038
		swait(4)
4039
		if Lunar == true then
4040
		        Effects.Block.Create(BrickC("Dark blue"), tors.CFrame * CF(Mrandom(-4,4),Mrandom(-4,4),Mrandom(-4,4)), 2, 2, 2, 0.5, 0.5, 0.5, 0.03)
4041
		end
4042
	end
4043
end))
4044
4045
4046
4047
-------------------------------------------------------
4048
--Start Animations--
4049
-------------------------------------------------------
4050
local equipped = false
4051
local idle = 0
4052
local change = 1
4053
local val = 0
4054
local toim = 0
4055
local idleanim = 0.4
4056
hum.WalkSpeed = 8
4057
hum.Animator.Parent = nil
4058
while true do
4059
	swait()
4060
	Music.Parent = tors
4061
	if helpme == true then
4062
		for i, v in pairs(ArmourParts) do
4063
       			v.BrickColor = BrickColor.random()
4064
		    end
4065
				for i, v in pairs(ArmourParts2) do
4066
        	v.BrickColor = BrickColor.random()
4067
		 	end
4068
    			for i, v in pairs(NeonParts) do
4069
        	v.BrickColor = BrickColor.random()
4070
      		end
4071
				maincolor = BrickColor.random()
4072
                                tecks2.Text = ""..insanity[math.random(1,#insanity)]
4073
				tecks2.TextColor3 = maincolor.Color
4074
				tecks2.TextStrokeColor3 = maincolor.Color
4075
				tecks2.Rotation = math.random(-11, 11)
4076
			MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-15,15),-3,Mrandom(-15,15)) * angles(Rad(90 + Mrandom(-25, 25)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,Mrandom(1,2))
4077
	end
4078
	if EdgyMode == true then
4079
		tecks2.Rotation = math.random(-2, 2)
4080
	end
4081
	if Planetary == true then
4082
		MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-25,25),-3,Mrandom(-25,25)) * angles(Rad(90 + Mrandom(-15, 15)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,2)
4083
		tecks2.Rotation = math.random(-4, 4)
4084
	end
4085
	sine = sine + change
4086
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
4087
	local velderp = root.Velocity.y
4088
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
4089
	if equipped == true or equipped == false then
4090
		if attack == false then
4091
			idle = idle + 1
4092
		else
4093
			idle = 0
4094
		end
4095
		if 1 < root.Velocity.y and hitfloor == nil then
4096
			Anim = "Jump"
4097
			change = 1
4098
			if attack == false then
4099
				rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
4100
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
4101
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3)
4102
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3)
4103
				LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
4104
				RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
4105
			end
4106
		elseif -1 > root.Velocity.y and hitfloor == nil then
4107
			Anim = "Fall"
4108
			change = 1
4109
			if attack == false then
4110
				rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
4111
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
4112
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3)
4113
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3)
4114
				LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
4115
				RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
4116
			end
4117
		elseif torvel < 1 and hitfloor ~= nil then
4118
			Anim = "Idle"
4119
			change = 1
4120
			if attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then
4121
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
4122
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4123
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
4124
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
4125
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1)
4126
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-5 + 2.5 * Sin(sine / 20))), 0.1)
4127
			elseif attack == false and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Frost == false then
4128
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
4129
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4130
				if Mrandom(1,15) == 1 then
4131
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
4132
				end
4133
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(10)), 0.15)
4134
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
4135
				RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
4136
				LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
4137
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true and Frost == false then
4138
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
4139
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4140
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
4141
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
4142
		RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1)
4143
		LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1)
4144
			elseif attack == false and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then
4145
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
4146
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
4147
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
4148
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
4149
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1)
4150
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
4151
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Frost == false then
4152
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(85)), 0.15)
4153
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3)
4154
				RH.C0 = clerp(RH.C0, CF(.6, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-70), Rad(0), Rad(0)), 0.15)
4155
				LH.C0 = clerp(LH.C0, CF(-1, -0.7 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5), Rad(0), Rad(0)), 0.15)
4156
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
4157
				LW.C0 = clerp(LW.C0, CF(-1, 0.3 + 0.05 * Sin(sine / 20), .4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
4158
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then
4159
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
4160
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4161
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15)
4162
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15)
4163
				RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
4164
				LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
4165
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == true then
4166
                                rootj.C0 = clerp(rootj.C0, RootCF * cn(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1)
4167
                                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
4168
                                RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1)
4169
                                LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1)
4170
                                RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1)
4171
          LH.C0 = clerp(LH.C0, cn(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1)
4172
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == true and Lunar == false and Frost == false then
4173
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
4174
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4175
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15)
4176
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15)
4177
				RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
4178
				LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
4179
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then
4180
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
4181
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3)
4182
				RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
4183
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
4184
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1)
4185
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
4186
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false and Solar == false and Lunar == false and Frost == false then
4187
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
4188
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
4189
				if math.random(1,1) == 1 then
4190
					rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
4191
					tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
4192
					RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
4193
					LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
4194
					RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 +  0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15)
4195
					LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15)
4196
				end
4197
				for i, v in pairs(ArmourParts) do
4198
       			v.BrickColor = BrickColor.random()
4199
		    end
4200
				for i, v in pairs(ArmourParts2) do
4201
        	v.BrickColor = BrickColor.random()
4202
		 	end
4203
    			for i, v in pairs(NeonParts) do
4204
        	v.BrickColor = BrickColor.random()
4205
      		end
4206
				maincolor = BrickColor.random()
4207
				tecks2.TextColor3 = maincolor.Color
4208
				tecks2.TextStrokeColor3 = maincolor.Color
4209
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
4210
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
4211
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
4212
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
4213
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true and Solar == false and Lunar == false and Frost == false then
4214
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
4215
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
4216
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
4217
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
4218
				RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
4219
				LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
4220
			end
4221
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
4222
			Anim = "Walk"
4223
			change = .6
4224
			if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false and Lunar == false then
4225
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
4226
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
4227
				RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4228
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4229
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45)  * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
4230
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45)  * Cos(sine / 7) , Rad(0) ,	Rad(-5) + la.RotVelocity.Y / 75), 0.1)
4231
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true then
4232
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
4233
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
4234
				RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4235
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4236
		RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1)
4237
		LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1)
4238
			elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false and Lunar == false then
4239
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.15)
4240
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
4241
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
4242
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
4243
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
4244
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
4245
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false and Lunar == false then
4246
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15)
4247
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4248
				RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
4249
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
4250
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
4251
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
4252
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false and Lunar == false then
4253
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
4254
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
4255
				if math.random(1,1) == 1 then
4256
					rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
4257
					tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
4258
					RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
4259
					LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
4260
					RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4261
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4262
				end
4263
				for i, v in pairs(ArmourParts) do
4264
       			v.BrickColor = BrickColor.random()
4265
		    end
4266
				for i, v in pairs(ArmourParts2) do
4267
        	v.BrickColor = BrickColor.random()
4268
		 	end
4269
    			for i, v in pairs(NeonParts) do
4270
        	v.BrickColor = BrickColor.random()
4271
      		end
4272
				maincolor = BrickColor.random()
4273
				tecks2.TextColor3 = maincolor.Color
4274
				tecks2.TextStrokeColor3 = maincolor.Color
4275
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
4276
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
4277
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
4278
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
4279
			elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then
4280
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
4281
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4282
				if Mrandom(1,15) == 1 then
4283
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
4284
				end
4285
				RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4286
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4287
				RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
4288
				LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
4289
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true and Lunar == false then
4290
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
4291
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
4292
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
4293
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
4294
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
4295
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
4296
			end
4297
		elseif torvel >= 25 and hitfloor ~= nil then
4298
			Anim = "Sprint"
4299
			change = 1.35
4300
			if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
4301
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
4302
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
4303
				RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4304
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4305
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
4306
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110)  * Cos(sine / 7) , Rad(0) ,	Rad(-13) + la.RotVelocity.Y / 75), 0.15)
4307
			elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
4308
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
4309
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
4310
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-34 + 2.5 * Sin(sine / 20))), 0.15)
4311
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(34 + 2.5 * Sin(sine / 20))), 0.15)
4312
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
4313
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
4314
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
4315
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(0)), 0.15)
4316
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4317
				RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-35 + 3 * Sin(sine / 20))), 0.15)
4318
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5 + 3 * Sin(sine / 20)), Rad(0), Rad(35 + 3 * Sin(sine / 20))), 0.15)
4319
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(-10 * Cos(sine / 20)), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
4320
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(10 * Cos(sine / 20)), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
4321
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
4322
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
4323
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
4324
				if math.random(1,1) == 1 then
4325
					rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
4326
					tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25))), 1)
4327
					RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
4328
					LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
4329
					RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
4330
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
4331
				end
4332
				for i, v in pairs(ArmourParts) do
4333
       			v.BrickColor = BrickColor.random()
4334
		    end
4335
				for i, v in pairs(ArmourParts2) do
4336
        	v.BrickColor = BrickColor.random()
4337
		 	end
4338
    			for i, v in pairs(NeonParts) do
4339
        	v.BrickColor = BrickColor.random()
4340
      		end
4341
				maincolor = BrickColor.random()
4342
				tecks2.TextColor3 = maincolor.Color
4343
				tecks2.TextStrokeColor3 = maincolor.Color
4344
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
4345
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(16)), 0.15)
4346
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(10), Rad(10), Rad(15)), 0.1)
4347
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(-15)), 0.1)
4348
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
4349
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15)
4350
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
4351
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
4352
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
4353
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-15 - 2.5 * Sin(sine / 20))), 0.1)
4354
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
4355
			end
4356
		end
4357
	end
4358
	if 0 < #Effects then
4359
		for e = 1, #Effects do
4360
			if Effects[e] ~= nil then
4361
				local Thing = Effects[e]
4362
				if Thing ~= nil then
4363
					local Part = Thing[1]
4364
					local Mode = Thing[2]
4365
					local Delay = Thing[3]
4366
					local IncX = Thing[4]
4367
					local IncY = Thing[5]
4368
					local IncZ = Thing[6]
4369
					if 1 >= Thing[1].Transparency then
4370
						if Thing[2] == "Block1" then
4371
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
4372
							local Mesh = Thing[1].Mesh
4373
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4374
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4375
						elseif Thing[2] == "Block2" then
4376
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
4377
							local Mesh = Thing[7]
4378
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4379
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4380
						elseif Thing[2] == "Block3" then
4381
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
4382
							local Mesh = Thing[7]
4383
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4384
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4385
						elseif Thing[2] == "Cylinder" then
4386
							local Mesh = Thing[1].Mesh
4387
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4388
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4389
						elseif Thing[2] == "Blood" then
4390
							local Mesh = Thing[7]
4391
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
4392
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4393
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4394
						elseif Thing[2] == "Elec" then
4395
							local Mesh = Thing[1].Mesh
4396
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
4397
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4398
						elseif Thing[2] == "Disappear" then
4399
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4400
						elseif Thing[2] == "Shatter" then
4401
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4402
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
4403
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
4404
							Thing[6] = Thing[6] + Thing[5]
4405
						end
4406
					else
4407
						Part.Parent = nil
4408
						table.remove(Effects, e)
4409
					end
4410
				end
4411
			end
4412
		end
4413
	end
4414
end
4415
-------------------------------------------------------
4416
--End Animations And Script--
4417
-------------------------------------------------------