View difference between Paste ID: TirHkyQn and yzxULmhw
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by iPxter
2
3
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
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
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
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
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
		else
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
62+
	local Player = game:GetService("Players").contentdeleted93726
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
-----------------------
88
--WhAT ANOTHER ONE????????!--
89
-------------------------------------------------------
90
--A script By makhail07
91
92
--This edit by 2003boobear
93
94
--Discord Creterisk#2958 
95
96
97
--https://cdn.discordapp.com/attachments/424766294303309844/424769047436197888/e41a6cbd-23cb-4553-bd39-1338429743a7.png
98
-------------------------------------------------------
99
100
local FavIDs = {
101
	340106355, --Nefl Crystals
102
	927529620, --Dimension
103
	876981900, --Fantasy
104
	398987889, --Ordinary Days
105
	1117396305, --Oh wait, it's you.
106
	885996042, --Action Winter Journey
107
	919231299, --Sprawling Idiot Effigy
108
	743466274, --Good Day Sunshine
109
	727411183, --Knife Fight
110
	1402748531, --The Earth Is Counting On You!
111
	595230126 --Robot Language
112
	}
113
114
115
116
--The reality of my life isn't real but a Universe -makhail07
117
wait()
118
local Player = owner
119
local Character = Player.Character
120
local plr = owner
121
local char = plr.Character
122
local hum = char.Humanoid
123
local ra = char["Right Arm"]
124
local la= char["Left Arm"]
125
local rl= char["Right Leg"]
126
local ll = char["Left Leg"]
127
local hed = char.Head
128
local root = char.HumanoidRootPart
129
local rootj = root.RootJoint
130
local tors = char.Torso
131
local LeftArm = Character["Left Arm"]
132
local RightArm = Character["Right Arm"]
133
local LeftLeg = Character["Left Leg"]
134
local RightLeg = Character["Right Leg"]
135
local Head = Character.Head
136
local Torso = Character.Torso
137
local cam = game.Workspace.CurrentCamera
138
local RootPart = Character.HumanoidRootPart
139
local RootJoint = RootPart.RootJoint
140
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
141
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
142
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
143
local EdgyMode = false
144
local Divinity = false
145
local Fighter = false
146
local Purity = false
147
local Destruction = false
148
local helpme = false
149
local Planetary = false
150
local Solar = false
151
local Lunar = false
152
local Frost = false
153
local Ashes = false
154
local notmenacing = true
155
local maincolor = BrickColor.new("Institutional white")
156
157
--do a die
158
159
-------------------------------------------------------
160
--Start Good Stuff--
161
-------------------------------------------------------
162
CF = CFrame.new
163
VT = Vector3.new
164
angles = CFrame.Angles
165
attack = false
166
Euler = CFrame.fromEulerAnglesXYZ
167
Rad = math.rad
168
IT = Instance.new
169
BrickC = BrickColor.new
170
Cos = math.cos
171
Acos = math.acos
172
Sin = math.sin
173
Asin = math.asin
174
Abs = math.abs
175
Mrandom = math.random
176
Floor = math.floor
177
local cn = CFrame.new
178
local mr = math.rad
179
local angles = CFrame.Angles
180
local ud = UDim2.new
181
local c3 = Color3.new
182
-------------------------------------------------------
183
--End Good Stuff--
184
-------------------------------------------------------
185
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
186
RSH, LSH = nil, nil 
187
RW = Instance.new("Weld") 
188
LW = Instance.new("Weld")
189
RH = tors["Right Hip"]
190
LH = tors["Left Hip"]
191
RSH = tors["Right Shoulder"] 
192
LSH = tors["Left Shoulder"] 
193
RSH.Parent = nil 
194
LSH.Parent = nil 
195
RW.Name = "RW"
196
RW.Part0 = tors 
197
RW.C0 = CF(1.5, 0.5, 0)
198
RW.C1 = CF(0, 0.5, 0) 
199
RW.Part1 = ra
200
RW.Parent = tors 
201
LW.Name = "LW"
202
LW.Part0 = tors 
203
LW.C0 = CF(-1.5, 0.5, 0)
204
LW.C1 = CF(0, 0.5, 0) 
205
LW.Part1 = la
206
LW.Parent = tors
207
Effects = {}
208
209
-------------------------------------------------------
210
--Start HeartBeat--
211
-------------------------------------------------------
212
ArtificialHB = Instance.new("BindableEvent", script)
213
ArtificialHB.Name = "Heartbeat"
214
script:WaitForChild("Heartbeat")
215
216
frame = 1 / 60
217
tf = 0
218
allowframeloss = false
219
tossremainder = false
220
221
222
lastframe = tick()
223
script.Heartbeat:Fire()
224
225
226
game:GetService("RunService").Heartbeat:connect(function(s, p)
227
	tf = tf + s
228
	if tf >= frame then
229
		if allowframeloss then
230
			script.Heartbeat:Fire()
231
			lastframe = tick()
232
		else
233
			for i = 1, math.floor(tf / frame) do
234
				script.Heartbeat:Fire()
235
			end
236
			lastframe = tick()
237
		end
238
		if tossremainder then
239
			tf = 0
240
		else
241
			tf = tf - frame * math.floor(tf / frame)
242
		end
243
	end
244
end)
245
246
-------------------------------------------------------
247
--End HeartBeat--
248
-------------------------------------------------------
249
250
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
251
252
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
253
254
local insanityface={"843367143","280233855","148988280","859779193","163713156","313921371","304942859","315792941","1684367763","335761015"} 
255
256
-------------------------------------------------------
257
--Start Important Functions--
258
-------------------------------------------------------
259
function swait(num)
260
	if num == 0 or num == nil then
261
		game:service("RunService").Stepped:wait(0)
262
	else
263
		for i = 0, num do
264
			game:service("RunService").Stepped:wait(0)
265
		end
266
	end
267
end
268
function thread(f)
269
	coroutine.resume(coroutine.create(f))
270
end
271
function clerp(a, b, t)
272
	local qa = {
273
		QuaternionFromCFrame(a)
274
	}
275
	local qb = {
276
		QuaternionFromCFrame(b)
277
	}
278
	local ax, ay, az = a.x, a.y, a.z
279
	local bx, by, bz = b.x, b.y, b.z
280
	local _t = 1 - t
281
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
282
end
283
function QuaternionFromCFrame(cf)
284
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
285
	local trace = m00 + m11 + m22
286
	if trace > 0 then
287
		local s = math.sqrt(1 + trace)
288
		local recip = 0.5 / s
289
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
290
	else
291
		local i = 0
292
		if m00 < m11 then
293
			i = 1
294
		end
295
		if m22 > (i == 0 and m00 or m11) then
296
			i = 2
297
		end
298
		if i == 0 then
299
			local s = math.sqrt(m00 - m11 - m22 + 1)
300
			local recip = 0.5 / s
301
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
302
		elseif i == 1 then
303
			local s = math.sqrt(m11 - m22 - m00 + 1)
304
			local recip = 0.5 / s
305
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
306
		elseif i == 2 then
307
			local s = math.sqrt(m22 - m00 - m11 + 1)
308
			local recip = 0.5 / s
309
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
310
		end
311
	end
312
end
313
function QuaternionToCFrame(px, py, pz, x, y, z, w)
314
	local xs, ys, zs = x + x, y + y, z + z
315
	local wx, wy, wz = w * xs, w * ys, w * zs
316
	local xx = x * xs
317
	local xy = x * ys
318
	local xz = x * zs
319
	local yy = y * ys
320
	local yz = y * zs
321
	local zz = z * zs
322
	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))
323
end
324
function QuaternionSlerp(a, b, t)
325
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
326
	local startInterp, finishInterp
327
	if cosTheta >= 1.0E-4 then
328
		if 1 - cosTheta > 1.0E-4 then
329
			local theta = math.acos(cosTheta)
330
			local invSinTheta = 1 / Sin(theta)
331
			startInterp = Sin((1 - t) * theta) * invSinTheta
332
			finishInterp = Sin(t * theta) * invSinTheta
333
		else
334
			startInterp = 1 - t
335
			finishInterp = t
336
		end
337
	elseif 1 + cosTheta > 1.0E-4 then
338
		local theta = math.acos(-cosTheta)
339
		local invSinTheta = 1 / Sin(theta)
340
		startInterp = Sin((t - 1) * theta) * invSinTheta
341
		finishInterp = Sin(t * theta) * invSinTheta
342
	else
343
		startInterp = t - 1
344
		finishInterp = t
345
	end
346
	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
347
end
348
function rayCast(Position, Direction, Range, Ignore)
349
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
350
end
351
local RbxUtility = LoadLibrary("RbxUtility")
352
local Create = RbxUtility.Create
353
354
warn("I'ma just call dis WhAT ANOTHER ONE V1.5")
355
356
warn("Please support the original creator, makhail07.")
357
358
warn("Also, 2003boobear made this edit.")
359
360
        shirt = Instance.new("Shirt", char)
361
        shirt.Name = "Shirt"
362
        pants = Instance.new("Pants", char)
363
        pants.Name = "Pants"
364
        char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276792537"
365
        char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=276792689"
366
367
local BC = char["Body Colors"]
368
	BC.HeadColor = BrickColor.new("Fossil")
369
	BC.LeftArmColor = BrickColor.new("Fossil")
370
	BC.LeftLegColor = BrickColor.new("Fossil")
371
	BC.RightArmColor = BrickColor.new("Smoky grey")
372
	BC.RightLegColor = BrickColor.new("Fossil")
373
	BC.TorsoColor = BrickColor.new("Fossil")
374
-------------------------------------------------------
375
--Start Damage Function--
376
-------------------------------------------------------
377
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
378
	if hit.Parent == nil then
379
		return
380
	end
381
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
382
	for _, v in pairs(hit.Parent:children()) do
383
		if v:IsA("Humanoid") then
384
			h = v
385
		end
386
	end
387
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
388
	
389
         hit.Parent:FindFirstChild("Head"):BreakJoints()
390
         end
391
392
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
393
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
394
			if hit.Parent.DebounceHit.Value == true then
395
				return
396
			end
397
		end
398
         if insta == true then
399
         hit.Parent:FindFirstChild("Head"):BreakJoints()
400
         end
401
		local c = Create("ObjectValue"){
402
			Name = "creator",
403-
			Value = game:service("Players").LocalPlayer,
403+
			Value = game:service("Players").contentdeleted93726,
404
			Parent = h,
405
		}
406
		game:GetService("Debris"):AddItem(c, .5)
407
		if HitSound ~= nil and HitPitch ~= nil then
408
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
409
		end
410
		local Damage = math.random(minim, maxim)
411-
		local blocked = false
411+
		local blocked = fals
412
		local block = hit.Parent:findFirstChild("Block")
413
		if block ~= nil then
414
			if block.className == "IntValue" then
415
				if block.Value > 0 then
416
					blocked = true
417
					block.Value = block.Value - 1
418
					print(block.Value)
419
				end
420
			end
421
		end
422
		if blocked == false then
423
			h.Health = h.Health - Damage
424
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
425
		else
426
			h.Health = h.Health - (Damage / 2)
427
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
428
		end
429
		if Type == "Knockdown" then
430
			local hum = hit.Parent.Humanoid
431
			hum.PlatformStand = true
432
			coroutine.resume(coroutine.create(function(HHumanoid)
433
				swait(1)
434
				HHumanoid.PlatformStand = false
435
			end), hum)
436
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
437
			local bodvol = Create("BodyVelocity"){
438
				velocity = angle * knockback,
439
				P = 5000,
440
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
441
				Parent = hit,
442
			}
443
			local rl = Create("BodyAngularVelocity"){
444
				P = 3000,
445
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
446
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
447
				Parent = hit,
448
			}
449
			game:GetService("Debris"):AddItem(bodvol, .5)
450
			game:GetService("Debris"):AddItem(rl, .5)
451
		elseif Type == "Normal" then
452
			local vp = Create("BodyVelocity"){
453
				P = 500,
454
				maxForce = Vector3.new(math.huge, 0, math.huge),
455
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
456
			}
457
			if knockback > 0 then
458
				vp.Parent = hit.Parent.Torso
459
			end
460
			game:GetService("Debris"):AddItem(vp, .5)
461
		elseif Type == "Up" then
462
			local bodyVelocity = Create("BodyVelocity"){
463
				velocity = Vector3.new(0, 20, 0),
464
				P = 5000,
465
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
466
				Parent = hit,
467
			}
468
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
469
		elseif Type == "DarkUp" then
470
			coroutine.resume(coroutine.create(function()
471
				for i = 0, 1, 0.1 do
472
					swait()
473
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
474
				end
475
			end))
476
			local bodyVelocity = Create("BodyVelocity"){
477
				velocity = Vector3.new(0, 20, 0),
478
				P = 5000,
479
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
480
				Parent = hit,
481
			}
482
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
483
		elseif Type == "Snare" then
484
			local bp = Create("BodyPosition"){
485
				P = 2000,
486
				D = 100,
487
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
488
				position = hit.Parent.Torso.Position,
489
				Parent = hit.Parent.Torso,
490
			}
491
			game:GetService("Debris"):AddItem(bp, 1)
492
		elseif Type == "Freeze" then
493
			local BodPos = Create("BodyPosition"){
494
				P = 50000,
495
				D = 1000,
496
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
497
				position = hit.Parent.Torso.Position,
498
				Parent = hit.Parent.Torso,
499
			}
500
			local BodGy = Create("BodyGyro") {
501
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
502
				P = 20e+003,
503
				Parent = hit.Parent.Torso,
504
				cframe = hit.Parent.Torso.CFrame,
505
			}
506
			hit.Parent.Torso.Anchored = true
507
			coroutine.resume(coroutine.create(function(Part) 
508
				swait(1.5)
509
				Part.Anchored = false
510
			end), hit.Parent.Torso)
511
			game:GetService("Debris"):AddItem(BodPos, 3)
512
			game:GetService("Debris"):AddItem(BodGy, 3)
513
		end
514
		local debounce = Create("BoolValue"){
515
			Name = "DebounceHit",
516
			Parent = hit.Parent,
517
			Value = true,
518
		}
519
		game:GetService("Debris"):AddItem(debounce, Delay)
520
		c = Create("ObjectValue"){
521
			Name = "creator",
522
			Value = Player,
523
			Parent = h,
524
		}
525
		game:GetService("Debris"):AddItem(c, .5)
526
	end
527
end
528
-------------------------------------------------------
529
--End Damage Function--
530
-------------------------------------------------------
531
local DColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,0,0)),
532
ColorSequenceKeypoint.new(0.16, Color3.new(1,0,0)),
533
ColorSequenceKeypoint.new(0.32, Color3.new(1,0,0)),
534
ColorSequenceKeypoint.new(0.48, Color3.new(1,0,0)),
535
ColorSequenceKeypoint.new(0.64, Color3.new(1,0,0)),
536
ColorSequenceKeypoint.new(0.80, Color3.new(0,0,0)),
537
ColorSequenceKeypoint.new(0.96, Color3.new(0,0,0)),
538
ColorSequenceKeypoint.new(1, Color3.new(0,0,0))}
539
local DAtch3 = Instance.new("Attachment",ll)DAtch3.Position = Vector3.new(0,1.1,0)
540
local DAtch4 = Instance.new("Attachment",ll)DAtch4.Position = Vector3.new(0,-0.6,0)
541
local DTrail2 = Instance.new("Trail",ll)DTrail2.Attachment0 = DAtch3 DTrail2.Attachment1 = DAtch4
542
DTrail2.Texture = "rbxassetid://22636887" DTrail2.Lifetime = 0.2 DTrail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
543
DTrail2.Color = ColorSequence.new(DColorsArray) DTrail2.LightEmission = 1 
544
DTrail2.Enabled = false
545
local DAtch5 = Instance.new("Attachment",rl)DAtch5.Position = Vector3.new(0,1.1,0)
546
local DAtch6 = Instance.new("Attachment",rl)DAtch6.Position = Vector3.new(0,-0.6,0)
547
local DTrail3 = Instance.new("Trail",rl)DTrail3.Attachment0 = DAtch5 DTrail3.Attachment1 = DAtch6
548
DTrail3.Texture = "rbxassetid://22636887" DTrail3.Lifetime = 0.2 DTrail3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
549
DTrail3.Color = ColorSequence.new(DColorsArray) DTrail3.LightEmission = 1 
550
DTrail3.Enabled = false
551
local DAtch7 = Instance.new("Attachment",ra)DAtch7.Position = Vector3.new(0,1.1,0)
552
local DAtch8 = Instance.new("Attachment",ra)DAtch8.Position = Vector3.new(0,-0.6,0)
553
local DTrail4 = Instance.new("Trail",ra)DTrail4.Attachment0 = DAtch7 DTrail4.Attachment1 = DAtch8
554
DTrail4.Texture = "rbxassetid://22636887" DTrail4.Lifetime = 0.2 DTrail4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
555
DTrail4.Color = ColorSequence.new(DColorsArray) DTrail4.LightEmission = 1 
556
DTrail4.Enabled = false
557
local DAtch9 = Instance.new("Attachment",la)DAtch9.Position = Vector3.new(0,1.1,0)
558
local DAtch10 = Instance.new("Attachment",la)DAtch10.Position = Vector3.new(0,-0.6,0)
559
local DTrail5 = Instance.new("Trail",la)DTrail5.Attachment0 = DAtch9 DTrail5.Attachment1 = DAtch10
560
DTrail5.Texture = "rbxassetid://22636887" DTrail5.Lifetime = 0.2 DTrail5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
561
DTrail5.Color = ColorSequence.new(DColorsArray) DTrail5.LightEmission = 1 
562
DTrail5.Enabled = false
563
local DAtch1 = Instance.new("Attachment",Torso)DAtch1.Position = Vector3.new(0,1.1,0)
564
local DAtch2 = Instance.new("Attachment",Torso)DAtch2.Position = Vector3.new(0,-2.5,0)
565
local DTrail = Instance.new("Trail",Torso)DTrail.Attachment0 = DAtch1 DTrail.Attachment1 = DAtch2
566
DTrail.Texture = "rbxassetid://22636887" DTrail.Lifetime = 0.2 DTrail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
567
DTrail.Color = ColorSequence.new(DColorsArray) DTrail.LightEmission = 1 
568
DTrail.Enabled = false
569
-------------------------------------------------------
570
--Start Damage Function Customization--
571
-------------------------------------------------------
572
function ShowDamage(Pos, Text, Time, Color)
573
	local Rate = (1 / 30)
574
	local Pos = (Pos or Vector3.new(0, 0, 0))
575
	local Text = (Text or "")
576
	local Time = (Time or 2)
577
	local Color = (Color or Color3.new(1, 0, 1))
578
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
579
	EffectPart.Anchored = true
580
	local BillboardGui = Create("BillboardGui"){
581
		Size = UDim2.new(3, 0, 3, 0),
582
		Adornee = EffectPart,
583
		Parent = EffectPart,
584
	}
585
	local TextLabel = Create("TextLabel"){
586
		BackgroundTransparency = 1,
587
		Size = UDim2.new(1, 0, 1, 0),
588
		Text = Text,
589
		Font = "Highway",
590
		TextColor3 = Color,
591
		TextScaled = true,
592
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
593
		Parent = BillboardGui,
594
	}
595
	game.Debris:AddItem(EffectPart, (Time))
596
	EffectPart.Parent = game:GetService("Workspace")
597
	delay(0, function()
598
		local Frames = (Time / Rate)
599
		for Frame = 1, Frames do
600
			wait(Rate)
601
			local Percent = (Frame / Frames)
602
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
603
			TextLabel.TextTransparency = Percent
604
		end
605
		if EffectPart and EffectPart.Parent then
606
			EffectPart:Destroy()
607
		end
608
	end)
609
end
610
-------------------------------------------------------
611
--End Damage Function Customization--
612
-------------------------------------------------------
613
614
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
615
  for _, c in pairs(workspace:children()) do
616
    local hum = c:findFirstChild("Humanoid")
617
    if hum ~= nil then
618
      local head = c:findFirstChild("Head")
619
      if head ~= nil then
620
        local targ = head.Position - Part.Position
621
        local mag = targ.magnitude
622
        if magni >= mag and c.Name ~= plr.Name then
623
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
624
        end
625
      end
626
    end
627
  end
628
end
629
630
function PlayAnimationFromTable(table, speed, bool) --i didn't make this you fattie
631
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
632
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
633
	RW.C0 = clerp(RW.C0, table[3], speed) 
634
	LW.C0 = clerp(LW.C0, table[4], speed) 
635
	RH.C0 = clerp(RH.C0, table[5], speed) 
636
	LH.C0 = clerp(LH.C0, table[6], speed) 
637
	if bool == true then
638
		if resetc1 == false then
639
			resetc1 = true
640
			RootJoint.C1 = RootJoint.C1
641
			Torso.Neck.C1 = Torso.Neck.C1
642
			RW.C1 = rarmc1
643
			LW.C1 = larmc1
644
			RH.C1 = rlegc1
645
			LH.C1 = llegc1
646
		end
647
	end
648
end
649
650
CFuncs = {
651
	Part = {
652
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
653
			local Part = Create("Part")({
654
				Parent = Parent,
655
				Reflectance = Reflectance,
656
				Transparency = Transparency,
657
				CanCollide = false,
658
				Locked = true,
659
				BrickColor = BrickColor.new(tostring(BColor)),
660
				Name = Name,
661
				Size = Size,
662
				Material = Material
663
			})
664
			RemoveOutlines(Part)
665
			return Part
666
		end
667
	},
668
	Mesh = {
669
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
670
			local Msh = Create(Mesh)({
671
				Parent = Part,
672
				Offset = OffSet,
673
				Scale = Scale
674
			})
675
			if Mesh == "SpecialMesh" then
676
				Msh.MeshType = MeshType
677
				Msh.MeshId = MeshId
678
			end
679
			return Msh
680
		end
681
	},
682
	Mesh = {
683
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
684
			local Msh = Create(Mesh)({
685
				Parent = Part,
686
				Offset = OffSet,
687
				Scale = Scale
688
			})
689
			if Mesh == "SpecialMesh" then
690
				Msh.MeshType = MeshType
691
				Msh.MeshId = MeshId
692
			end
693
			return Msh
694
		end
695
	},
696
	Weld = {
697
		Create = function(Parent, Part0, Part1, C0, C1)
698
			local Weld = Create("Weld")({
699
				Parent = Parent,
700
				Part0 = Part0,
701
				Part1 = Part1,
702
				C0 = C0,
703
				C1 = C1
704
			})
705
			return Weld
706
		end
707
	},
708
	Sound = {
709
		Create = function(id, par, vol, pit)
710
			coroutine.resume(coroutine.create(function()
711
				local S = Create("Sound")({
712
					Volume = vol,
713
					Pitch = pit or 1,
714
					SoundId = id,
715
					Parent = par or workspace
716
				})
717
				wait()
718
				S:play()
719
				game:GetService("Debris"):AddItem(S, 6)
720
			end))
721
		end
722
	},
723
	ParticleEmitter = {
724
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
725
			local fp = Create("ParticleEmitter")({
726
				Parent = Parent,
727
				Color = ColorSequence.new(Color1, Color2),
728
				LightEmission = LightEmission,
729
				Size = Size,
730
				Texture = Texture,
731
				Transparency = Transparency,
732
				ZOffset = ZOffset,
733
				Acceleration = Accel,
734
				Drag = Drag,
735
				LockedToPart = LockedToPart,
736
				VelocityInheritance = VelocityInheritance,
737
				EmissionDirection = EmissionDirection,
738
				Enabled = Enabled,
739
				Lifetime = LifeTime,
740
				Rate = Rate,
741
				Rotation = Rotation,
742
				RotSpeed = RotSpeed,
743
				Speed = Speed,
744
				VelocitySpread = VelocitySpread
745
			})
746
			return fp
747
		end
748
	}
749
}
750
function RemoveOutlines(part)
751
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
752
end
753
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
754
	local Part = Create("Part")({
755
		formFactor = FormFactor,
756
		Parent = Parent,
757
		Reflectance = Reflectance,
758
		Transparency = Transparency,
759
		CanCollide = false,
760
		Locked = true,
761
		BrickColor = BrickColor.new(tostring(BColor)),
762
		Name = Name,
763
		Size = Size,
764
		Material = Material
765
	})
766
	RemoveOutlines(Part)
767
	return Part
768
end
769
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
770
	local Msh = Create(Mesh)({
771
		Parent = Part,
772
		Offset = OffSet,
773
		Scale = Scale
774
	})
775
	if Mesh == "SpecialMesh" then
776
		Msh.MeshType = MeshType
777
		Msh.MeshId = MeshId
778
	end
779
	return Msh
780
end
781
function CreateWeld(Parent, Part0, Part1, C0, C1)
782
	local Weld = Create("Weld")({
783
		Parent = Parent,
784
		Part0 = Part0,
785
		Part1 = Part1,
786
		C0 = C0,
787
		C1 = C1
788
	})
789
	return Weld
790
end
791
792
793
-------------------------------------------------------
794
--Start Effect Function--
795
-------------------------------------------------------
796
EffectModel = Instance.new("Model", char)
797
Effects = {
798
  Block = {
799
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
800
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
801
      prt.Anchored = true
802
      prt.CFrame = cframe
803
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
804
      game:GetService("Debris"):AddItem(prt, 10)
805
      if Type == 1 or Type == nil then
806
        table.insert(Effects, {
807
          prt,
808
          "Block1",
809
          delay,
810
          x3,
811
          y3,
812
          z3,
813
          msh
814
        })
815
      elseif Type == 2 then
816
        table.insert(Effects, {
817
          prt,
818
          "Block2",
819
          delay,
820
          x3,
821
          y3,
822
          z3,
823
          msh
824
        })
825
      else
826
        table.insert(Effects, {
827
          prt,
828
          "Block3",
829
          delay,
830
          x3,
831
          y3,
832
          z3,
833
          msh
834
        })
835
      end
836
    end
837
  },
838
  Sphere = {
839
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
840
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
841
      prt.Anchored = true
842
      prt.CFrame = cframe
843
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
844
      game:GetService("Debris"):AddItem(prt, 10)
845
      table.insert(Effects, {
846
        prt,
847
        "Cylinder",
848
        delay,
849
        x3,
850
        y3,
851
        z3,
852
        msh
853
      })
854
    end
855
  },
856
  Cylinder = {
857
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
858
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
859
      prt.Anchored = true
860
      prt.CFrame = cframe
861
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
862
      game:GetService("Debris"):AddItem(prt, 10)
863
      table.insert(Effects, {
864
        prt,
865
        "Cylinder",
866
        delay,
867
        x3,
868
        y3,
869
        z3,
870
        msh
871
      })
872
    end
873
  },
874
  Wave = {
875
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
876
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
877
      prt.Anchored = true
878
      prt.CFrame = cframe
879
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
880
      game:GetService("Debris"):AddItem(prt, 10)
881
      table.insert(Effects, {
882
        prt,
883
        "Cylinder",
884
        delay,
885
        x3 / 60,
886
        y3 / 60,
887
        z3 / 60,
888
        msh
889
      })
890
    end
891
  },
892
  Ring = {
893
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
894
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
895
      prt.Anchored = true
896
      prt.CFrame = cframe
897
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
898
      game:GetService("Debris"):AddItem(prt, 10)
899
      table.insert(Effects, {
900
        prt,
901
        "Cylinder",
902
        delay,
903
        x3,
904
        y3,
905
        z3,
906
        msh
907
      })
908
    end
909
  },
910
  Break = {
911
    Create = function(brickcolor, cframe, x1, y1, z1)
912
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
913
      prt.Anchored = true
914
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
915
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
916
      local num = math.random(10, 50) / 1000
917
      game:GetService("Debris"):AddItem(prt, 10)
918
      table.insert(Effects, {
919
        prt,
920
        "Shatter",
921
        num,
922
        prt.CFrame,
923
        math.random() - math.random(),
924
        0,
925
        math.random(50, 100) / 100
926
      })
927
    end
928
  },
929
Spiral = {
930
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
931
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
932
      prt.Anchored = true
933
      prt.CFrame = cframe
934
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
935
      game:GetService("Debris"):AddItem(prt, 10)
936
      table.insert(Effects, {
937
        prt,
938
        "Cylinder",
939
        delay,
940
        x3,
941
        y3,
942
        z3,
943
        msh
944
      })
945
    end
946
  },
947
Push = {
948
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
949
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
950
      prt.Anchored = true
951
      prt.CFrame = cframe
952
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
953
      game:GetService("Debris"):AddItem(prt, 10)
954
      table.insert(Effects, {
955
        prt,
956
        "Cylinder",
957
        delay,
958
        x3,
959
        y3,
960
        z3,
961
        msh
962
      })
963
    end
964
  }
965
}
966
-------------------------------------------------------
967
--End Effect Function--
968
-------------------------------------------------------
969
970
function CreateSound(ID, PARENT, VOLUME, PITCH)
971
	local NSound = nil
972
	coroutine.resume(coroutine.create(function()
973
		NSound = Instance.new("Sound", PARENT)
974
		NSound.Volume = VOLUME
975
		NSound.Pitch = PITCH
976
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
977
		swait()
978
		NSound:play()
979
		game:GetService("Debris"):AddItem(NSound, 10)
980
	end))
981
	return NSound
982
end
983
984
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
985
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
986
  prt.Anchored = true
987
  prt.CFrame = cframe
988
  local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
989
  game:GetService("Debris"):AddItem(prt, 10)
990
  if Type == 1 or Type == nil then
991
    table.insert(Effects, {
992
      prt,
993
      "Block1",
994
      delay,
995
      x3,
996
      y3,
997
      z3,
998
      msh
999
    })
1000
  elseif Type == 2 then
1001
    table.insert(Effects, {
1002
      prt,
1003
      "Block2",
1004
      delay,
1005
      x3,
1006
      y3,
1007
      z3,
1008
      msh
1009
    })
1010
  elseif Type == 3 then
1011
    table.insert(Effects, {
1012
      prt,
1013
      "Block3",
1014
      delay,
1015
      x3,
1016
      y3,
1017
      z3,
1018
      msh
1019
    })
1020
  end
1021
end
1022
1023
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
1024
local fp=Instance.new("Part")
1025
fp.formFactor=formfactor 
1026
fp.Parent=parent
1027
fp.Reflectance=reflectance
1028
fp.Transparency=transparency
1029
fp.CanCollide=false 
1030
fp.Locked=true
1031
fp.BrickColor=brickcolor
1032
fp.Name=name
1033
fp.Size=size
1034
fp.Position=tors.Position 
1035
RemoveOutlines(fp)
1036
fp.Material="SmoothPlastic"
1037
fp:BreakJoints()
1038
return fp 
1039
end 
1040
 
1041
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1042
local mesh=Instance.new(Mesh) 
1043
mesh.Parent=part
1044
if Mesh=="SpecialMesh" then
1045
mesh.MeshType=meshtype
1046
if meshid~="nil" then
1047
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
1048
end
1049
end
1050
mesh.Offset=offset
1051
mesh.Scale=scale
1052
return mesh
1053
end
1054
1055
function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
1056
	local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1057
	prt.Anchored = true
1058
	prt.Material = "Neon"
1059
	prt.CFrame = cframe
1060
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1061
	game:GetService("Debris"):AddItem(prt, 5)
1062
	coroutine.resume(coroutine.create(function(Part, Mesh)
1063
		local rtype = rottype
1064
		for i = 0, 1, delay do
1065
			swait()
1066
			if rtype == 1 then
1067
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1068
			elseif rtype == 2 then
1069
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1070
			end
1071
			prt.Transparency = i
1072
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1073
		end
1074
		Part.Parent = nil
1075
	end), prt, msh)
1076
end
1077
1078
1079
function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1080
	local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1081
	prt.Anchored = true
1082
	prt.Material = "Neon"
1083
	prt.CFrame = cframe
1084
	prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1085
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1086
	game:GetService("Debris"):AddItem(prt, 5)
1087
	coroutine.resume(coroutine.create(function(Part, Mesh)
1088
		for i = 0, 1, delay do
1089
			swait()
1090
			Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1091
			Part.Transparency = i
1092
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1093
		end
1094
		Part.Parent = nil
1095
	end), prt, msh)
1096
end
1097
1098
1099
function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
1100
	local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1101
	prt.Anchored = true
1102
	prt.Material = "Neon"
1103
	prt.CFrame = cframe
1104
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
1105
	game:GetService("Debris"):AddItem(prt, 5)
1106
	coroutine.resume(coroutine.create(function(Part, Mesh)
1107
		local rtype = rottype
1108
		for i = 0, 1, delay do
1109
			swait()
1110
			if rtype == 1 then
1111
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1112
			elseif rtype == 2 then
1113
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1114
			end
1115
			prt.Transparency = i
1116
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0)
1117
		end
1118
		Part.Parent = nil
1119
	end), prt, msh)
1120
end
1121
1122
function Eviscerate(dude)
1123
	if dude.Name ~= char then
1124
		local bgf = IT("BodyGyro", dude.Head)
1125
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1126
		local val = IT("BoolValue", dude)
1127
		val.Name = "IsHit"
1128
		local ds = coroutine.wrap(function()
1129
			dude:WaitForChild("Head"):BreakJoints()
1130
			wait(0.5)
1131
			target = nil
1132
			coroutine.resume(coroutine.create(function()
1133
				for i, v in pairs(dude:GetChildren()) do
1134
					if v:IsA("Accessory") then
1135
						v:Destroy()
1136
					end
1137
					if v:IsA("Humanoid") then
1138
						v:Destroy()
1139
					end
1140
					if v:IsA("CharacterMesh") then
1141
						v:Destroy()
1142
					end
1143
					if v:IsA("Model") then
1144
						v:Destroy()
1145
					end
1146
					if v:IsA("Part") or v:IsA("MeshPart") then
1147
						for x, o in pairs(v:GetChildren()) do
1148
							if o:IsA("Decal") then
1149
								o:Destroy()
1150
							end
1151
						end
1152
						coroutine.resume(coroutine.create(function()
1153
							v.Material = "Neon"
1154
							v.CanCollide = false
1155
							local PartEmmit1 = IT("ParticleEmitter", v)
1156
							PartEmmit1.LightEmission = 1
1157
							PartEmmit1.Texture = "rbxassetid://284205403"
1158
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1159
							PartEmmit1.Rate = 150
1160
							PartEmmit1.Lifetime = NumberRange.new(1)
1161
							PartEmmit1.Size = NumberSequence.new({
1162
								NumberSequenceKeypoint.new(0, 0.75, 0),
1163
								NumberSequenceKeypoint.new(1, 0, 0)
1164
							})
1165
							PartEmmit1.Transparency = NumberSequence.new({
1166
								NumberSequenceKeypoint.new(0, 0, 0),
1167
								NumberSequenceKeypoint.new(1, 1, 0)
1168
							})
1169
							PartEmmit1.Speed = NumberRange.new(0, 0)
1170
							PartEmmit1.VelocitySpread = 30000
1171
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1172
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1173
							local BodPoss = IT("BodyPosition", v)
1174
							BodPoss.P = 3000
1175
							BodPoss.D = 1000
1176
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1177
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1178
							v.Color = maincolor.Color
1179
							coroutine.resume(coroutine.create(function()
1180
								for i = 0, 49 do
1181
									swait(1)
1182
									v.Transparency = v.Transparency + 0.08
1183
								end
1184
								wait(0.5)
1185
								PartEmmit1.Enabled = false
1186
								wait(3)
1187
								v:Destroy()
1188
								dude:Destroy()
1189
							end))
1190
						end))
1191
					end
1192
				end
1193
			end))
1194
		end)
1195
		ds()
1196
	end
1197
end
1198
function FindNearestHead(Position, Distance, SinglePlayer)
1199
	if SinglePlayer then
1200
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1201
	end
1202
	local List = {}
1203
	for i, v in pairs(workspace:GetChildren()) do
1204
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1205
			table.insert(List, v)
1206
		end
1207
	end
1208
	return List
1209
end
1210
function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
1211
	local type = type
1212
	local rng = Instance.new("Part", char)
1213
	rng.Anchored = true
1214
	rng.BrickColor = color
1215
	rng.CanCollide = false
1216
	rng.FormFactor = 3
1217
	rng.Name = "Ring"
1218
	rng.Material = "Neon"
1219
	rng.Size = Vector3.new(1, 1, 1)
1220
	rng.Transparency = 0
1221
	rng.TopSurface = 0
1222
	rng.BottomSurface = 0
1223
	rng.CFrame = pos
1224
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1225
	local rngm = Instance.new("SpecialMesh", rng)
1226
	rngm.MeshType = "Sphere"
1227
	rngm.Scale = Vector3.new(x1, y1, z1)
1228
	local scaler2 = 1
1229
	local speeder = FastSpeed
1230
	if type == "Add" then
1231
		scaler2 = 1 * value
1232
	elseif type == "Divide" then
1233
		scaler2 = 1 / value
1234
	end
1235
	coroutine.resume(coroutine.create(function()
1236
		for i = 0, 10 / bonuspeed, 0.1 do
1237
			swait()
1238
			if type == "Add" then
1239
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1240
			elseif type == "Divide" then
1241
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1242
			end
1243
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1244
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1245
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1246
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1247
		end
1248
		rng:Destroy()
1249
	end))
1250
end
1251
-------------------------------------------------------
1252
--End Important Functions--
1253
-------------------------------------------------------
1254
1255
--[[
1256
		Thanks for using Build-To-Lua by jarredbcv.
1257
]]--
1258
1259
New = function(Object, Parent, Name, Data)
1260
	local Object = Instance.new(Object)
1261
	for Index, Value in pairs(Data or {}) do
1262
		Object[Index] = Value
1263
	end
1264
	Object.Parent = Parent
1265
	Object.Name = Name
1266
	return Object
1267
end
1268
1269
NewInstance = function(instance,parent,properties)
1270
	local inst = Instance.new(instance,parent)
1271
	if(properties)then
1272
		for i,v in next, properties do
1273
			pcall(function() inst[i] = v end)
1274
		end
1275
	end
1276
	return inst;
1277
end
1278
	
1279
Gunty = New("Model",char,"Gunty",{})
1280
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),})
1281
Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1282
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),})
1283
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1.14999998, 0.699999988, 1.04999995),})
1284
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),})
1285
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),})
1286
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1287
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),})
1288
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),})
1289
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1290
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),})
1291
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),})
1292
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1293
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),})
1294
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),})
1295
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1296
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),})
1297
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),})
1298
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1299
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),})
1300
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),})
1301
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1302
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),})
1303
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),})
1304
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1305
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),})
1306
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),})
1307
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1308
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),})
1309
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),})
1310
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1311
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),})
1312
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),})
1313
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
1314
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),})
1315
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),})
1316
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
1317
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),})
1318
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),})
1319
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
1320
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),})
1321
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),})
1322
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1323
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),})
1324
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),})
1325
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1326
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),})
1327
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),})
1328
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1329
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),})
1330
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),})
1331
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),})
1332
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),})
1333
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),})
1334
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),})
1335
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),})
1336
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),})
1337
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),})
1338
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),})
1339
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
1340
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),})
1341
1342
local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(-.1,-.51,0)})
1343
1344
for _,v in next, Gunty:children() do
1345
	v.CanCollide = false
1346
end
1347
1348
local all, last = {}, nil
1349
ArmourParts = {}
1350
ArmourParts2 = {}
1351
NeonParts = {}
1352
function scan(p)
1353
  for _, v in pairs(p:GetChildren()) do
1354
    if v:IsA("BasePart") then
1355
      if v.BrickColor == BrickColor.new("Smoky grey") then
1356
        table.insert(ArmourParts, v)
1357
      end
1358
	if v.BrickColor == BrickColor.new("Fossil") then
1359
		table.insert(ArmourParts2, v)
1360
	end
1361
      if v.BrickColor == BrickColor.new("Institutional white") then
1362
        table.insert(NeonParts, v)
1363
      end
1364
      if last then
1365
        local w = Instance.new("Weld")
1366
        w.Part0, w.Part1 = last, v
1367
        w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
1368
        w.Parent = last
1369
      end
1370
      table.insert(all, v)
1371
      last = v
1372
    end
1373
    scan(v)
1374
  end
1375
end
1376
scan(Gunty)
1377
for _, v in pairs(all) do
1378
  v.Anchored = false
1379
  v.CanCollide = false
1380
end
1381
function resetmode()
1382
  for i, v in pairs(ArmourParts) do
1383
    v.BrickColor = BrickColor.new("Smoky grey")
1384
  end
1385
	for i, v in pairs(ArmourParts2) do
1386
    v.BrickColor = BrickColor.new("Fossil")
1387
  end
1388
  for i, v in pairs(NeonParts) do
1389
    v.BrickColor = BrickColor.new("Institutional white")
1390
  end
1391
	maincolor = BrickColor.new("Institutional white")
1392
char.Head.face.Texture = "http://www.roblox.com/asset/?id=843367143"
1393
end
1394
-------------------------------------------------------
1395
--Start Music Option--
1396
-------------------------------------------------------
1397
local Music = Instance.new("Sound",tors)
1398
Music.Volume = 7.5
1399
Music.SoundId = "rbxassetid://1117396305"
1400
Music.Looped = true
1401
Music.Pitch = 1 --Pitcher
1402
Music:Play()
1403
-------------------------------------------------------
1404
--End Music Option--
1405
-------------------------------------------------------
1406
1407
local naeeym2 = Instance.new("BillboardGui",char)
1408
naeeym2.AlwaysOnTop = true
1409
naeeym2.Size = UDim2.new(5,35,2,35)
1410
naeeym2.StudsOffset = Vector3.new(0,2,0)
1411
naeeym2.Adornee = hed
1412
naeeym2.Name = "Name"
1413
1414
local tecks2 = Instance.new("TextLabel",naeeym2)
1415
tecks2.BackgroundTransparency = 1
1416
tecks2.TextScaled = true
1417
tecks2.BorderSizePixel = 0
1418
tecks2.Text = "Neutral"
1419
tecks2.Font = "Code"
1420
tecks2.TextSize = 30
1421
tecks2.TextStrokeTransparency = 0
1422
tecks2.TextColor3 = Color3.new(0,0,0)
1423
tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
1424
tecks2.Size = UDim2.new(1,0,0.5,0)
1425
tecks2.Rotation = 0
1426
tecks2.Parent = naeeym2
1427
1428
-------------------------------------------------------
1429
--Start Attacks N Stuff--
1430
-------------------------------------------------------
1431
local sine=0
1432
function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
1433
  local Hitboxpart = Instance.new("Part", EffectModel)
1434
  RemoveOutlines(Hitboxpart)
1435
  Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
1436
  Hitboxpart.CanCollide = false
1437
  Hitboxpart.Transparency = 1
1438
  Hitboxpart.Anchored = true
1439
  Hitboxpart.CFrame = Pose
1440
  game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
1441
  MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
1442
end
1443
wait2 = false
1444
combo = 1
1445
mouse.Button1Down:connect(function(key)
1446
  if attack == false then
1447
    attack = true
1448
    hum.WalkSpeed = 3.01
1449
    if combo == 1 and wait2 == false then
1450
      wait2 = true
1451
		for i = 0, 1.2, 0.1 do
1452
        swait()
1453
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
1454
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
1455
        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)
1456
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1457
        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)
1458
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
1459
		  end
1460
		CreateSound("138097048", ra, 3, .8)
1461
		HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
1462
      for i = 0, 1.2, 0.1 do
1463
        swait()
1464
	BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
1465
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
1466
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1467
        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)
1468
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1469
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
1470
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
1471
      end
1472
      combo = 2
1473
    end
1474
 	if combo == 2 and wait2 == false then
1475
      wait2 = true
1476
   for i = 0, 1.2, 0.1 do
1477
        swait()
1478
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
1479
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1480
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
1481
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1482
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
1483
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
1484
      end
1485
	CreateSound("138097048", rl, 3, 1)
1486
	HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
1487
    for i = 0, 1.6, 0.1 do
1488
        swait()
1489
        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)
1490
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1491
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1)
1492
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3)
1493
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
1494
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3)
1495
      end
1496
      combo = 3
1497
    end
1498
   if combo == 3 and wait2 == false then
1499
    for i = 0, 1.2, 0.1 do
1500
        swait()
1501
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
1502
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
1503
        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)
1504
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1505
        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)
1506
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
1507
      end
1508
	CreateSound("138097048", ra, 3, .8)
1509
      HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
1510
      for i = 0, 1.2, 0.1 do
1511
        swait()
1512
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
1513
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1514
        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)
1515
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1516
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
1517
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
1518
      end
1519
		Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03)
1520
		Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
1521
		HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
1522
	for i = 0, 1.2, 0.1 do
1523
        swait()
1524
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
1525
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1526
        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)
1527
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1528
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
1529
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
1530
      end
1531
      combo = 1
1532
    end
1533
    hum.WalkSpeed = 8
1534
    wait2 = false
1535
    attack = false
1536
	end
1537
end)
1538
function Decapitate()
1539
	local target = nil
1540
	local targettorso = nil
1541
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
1542
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
1543
			target = mouse.Target.Parent.Humanoid
1544
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
1545
			targethead = mouse.Target.Parent:FindFirstChild("Head")
1546
		end
1547
	end
1548
	if target ~= nil then
1549
		targettorso.Anchored = true
1550
		attack = true
1551
		hum.WalkSpeed = 0
1552
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
1553
		for i = 0,4.2,0.1 do
1554
			swait()
1555
		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)
1556
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
1557
		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)
1558
		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)
1559
		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)
1560
		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)
1561
		end
1562
		local ModelHead01 = New("Model", char, "", {})
1563
        local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
1564
        local Head01 = targethead:Clone()
1565
        targethead.Transparency = 1
1566
        Head01.Parent = ModelHead01
1567
        local weldHead01 = Instance.new("Weld")
1568
        weldHead01.Parent = Head01
1569
        weldHead01.Part0 = targethead
1570
        weldHead01.Part1 = Head01
1571
        weldHead01.C1 = CFrame.new(0, 0, 0)
1572
		targethead.face:Remove()
1573
		weldHead01.Part0 = ra
1574
        weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
1575
		targettorso:BreakJoints()
1576
		CreateSound("314390675", targettorso, 5, .7)
1577
		for i = 0,3.2,0.1 do
1578
			swait()
1579
		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)
1580
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1581
		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)
1582
		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)
1583
		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)
1584
		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)
1585
		end
1586
		for i = 0,4.2,0.1 do
1587
			swait()
1588
		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)
1589
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
1590
		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)
1591
		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)
1592
		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)
1593
		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)
1594
		end
1595
		CreateSound("541909763", targettorso, 5, .8)
1596
		weldHead01:Destroy()
1597
        Head01.CanCollide = true
1598
        local bodyVelocity2 = Create("BodyVelocity")({
1599
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
1600
          P = 5000,
1601
          maxForce = Vector3.new(8000, 8000, 8000),
1602
          Parent = Head01
1603
        })
1604
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
1605
		for i = 0,6.2,0.1 do
1606
			swait()
1607
		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)
1608
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
1609
		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)
1610
		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)
1611
		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)
1612
		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)
1613
		end
1614
		targettorso.Anchored = false
1615
		attack = false
1616
		hum.WalkSpeed = 8
1617
		root.CFrame = targettorso.CFrame * CF(0,0,3.4)
1618
	end
1619
end
1620
function Laugh()
1621
	attack = true
1622
	hum.WalkSpeed = 0
1623
	CreateSound("300208779", hed, 10, 1)
1624
	for i = 0,9,0.1 do
1625
		swait()
1626
		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)
1627
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
1628
		if Mrandom(1,15) == 1 then
1629
		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)
1630
		end
1631
		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)
1632
		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)
1633
		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)
1634
		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)
1635
	end
1636
	attack = false
1637
	hum.WalkSpeed = 10
1638
end
1639
function Flying_Kick()
1640
	attack = true
1641
	hum.WalkSpeed = 0
1642
	for i = 0,2.7,0.1 do
1643
		swait()
1644
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
1645
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
1646
	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)
1647
	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)
1648
	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)
1649
	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)
1650
	end
1651
	local bodyVelocity = Create("BodyVelocity")({
1652
          velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250,
1653
          P = 5000,
1654
          maxForce = Vector3.new(9e99, 9e99, 9e99),
1655
          Parent = root
1656
        })
1657
      game:GetService("Debris"):AddItem(bodyVelocity, 0.05)
1658
CreateSound("138097048", rl, 3, 1)
1659
	for i = 0,2.1,0.1 do
1660
		swait()
1661
		HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
1662
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15)
1663
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1664
	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)
1665
	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)
1666
	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)
1667
	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)
1668
	end
1669
	attack = false
1670
	hum.WalkSpeed = 8
1671
end
1672
function UpperCut()
1673
	attack = true
1674
	hum.WalkSpeed = 0
1675
	for i = 0,2.3,0.1 do
1676
		swait()
1677
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
1678
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1679
	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)
1680
	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)
1681
	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)
1682
	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)
1683
	end
1684
	CreateSound("138097048", ra, 3, .8)
1685
	HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
1686
	for i = 0,2.8,0.1 do
1687
		swait()
1688
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15)
1689
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
1690
	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)
1691
	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)
1692
	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)
1693
	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)
1694
	end
1695
	attack = false
1696
	hum.WalkSpeed = 8
1697
end
1698
function Spinning_Kick()
1699
	attack = true
1700
	hum.WalkSpeed = 3.01
1701
	for i = 0, 1.2, 0.1 do
1702
        swait()
1703
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
1704
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1705
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
1706
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1707
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
1708
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
1709
      end
1710
    for i = 0, 4.6, 0.1 do
1711
        swait()
1712
	CreateSound("138097048", rl, 3, 1)
1713
	HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
1714
        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)
1715
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1716
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1)
1717
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3)
1718
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
1719
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3)
1720
      end
1721
	attack = false
1722
	hum.WalkSpeed = 8
1723
end
1724
function Beam_Of_Light()
1725
	
1726
end
1727
function Blast_Of_God()
1728
	attack = true
1729
	hum.WalkSpeed = 3.01
1730
	for i = 0,6.3,0.1 do
1731
		swait()
1732
		Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1733
		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)
1734
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
1735
		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)
1736
		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)
1737
		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)
1738
		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)
1739
	end
1740
	Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
1741
    Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
1742
	Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
1743
    Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
1744
 	Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
1745
	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)
1746
	CreateSound("142070127", tors, 10, 1)
1747
	MagniDamage(ra, 12, 40, 60, 10, "Normal")
1748
	for i = 0,2.6,0.1 do
1749
		swait()
1750
		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)
1751
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
1752
		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)
1753
		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)
1754
		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)
1755
		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)
1756
	end
1757
	attack = false
1758
	hum.WalkSpeed = 8
1759
end
1760
function Diablo_Explosion()
1761
	attack = true
1762
	hum.WalkSpeed = 3.01
1763
	for i = 0,6.3,0.1 do
1764
		swait()
1765
		Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1766
		Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1767
		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)
1768
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1769
		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)
1770
		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)
1771
		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)
1772
		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)
1773
	end
1774
	Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05)
1775
    Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03)
1776
	Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05)
1777
    Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05)
1778
 	Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
1779
	Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
1780
	CreateSound("142070127", tors, 10, 1)
1781
	MagniDamage(tors, 12, 34, 54, 10, "DarkUp")
1782
	for i = 0,4.6,0.1 do
1783
		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)
1784
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1785
		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)
1786
		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)
1787
		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)
1788
		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)
1789
	end
1790
	wait(.6)
1791
	attack = false
1792
	hum.WalkSpeed = 8
1793
end
1794
function Multi_Bombs()
1795
	attack = true
1796
	hum.WalkSpeed = 3.01
1797
	for i = 0,3,0.1 do
1798
		swait()
1799
		Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1800
		Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1801
		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)
1802
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1803
		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)
1804
		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)
1805
		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)
1806
		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)
1807
	end
1808
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
1809
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
1810
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
1811
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
1812
 	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
1813
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
1814
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
1815
	CreateSound("142070127", tors, 10, 1)
1816
	MagniDamage(tors, 17, 15, 35, 10, "Normal")
1817
	for i = 0,1,0.1 do
1818
		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)
1819
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1820
		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)
1821
		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)
1822
		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)
1823
		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)
1824
	end
1825
	for i = 0,2,0.1 do
1826
		swait()
1827
		Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1828
		Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1829
		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)
1830
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1831
		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)
1832
		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)
1833
		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)
1834
		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)
1835
	end
1836
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
1837
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
1838
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
1839
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
1840
 	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
1841
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
1842
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
1843
	CreateSound("142070127", tors, 10, 1)
1844
	MagniDamage(tors, 17, 15, 35, 10, "Normal")
1845
	for i = 0,1,0.1 do
1846
		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)
1847
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1848
		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)
1849
		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)
1850
		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)
1851
		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)
1852
	end
1853
	for i = 0,2,0.1 do
1854
		swait()
1855
		Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1856
		Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1857
		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)
1858
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1859
		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)
1860
		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)
1861
		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)
1862
		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)
1863
	end
1864
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
1865
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
1866
	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
1867
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
1868
 	Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
1869
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
1870
	Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
1871
	CreateSound("142070127", tors, 10, 1)
1872
	MagniDamage(tors, 17, 15, 35, 10, "Normal")
1873
	for i = 0,1,0.1 do
1874
		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)
1875
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1876
		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)
1877
		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)
1878
		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)
1879
		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)
1880
	end
1881
	wait(.6)
1882
	attack = false
1883
	hum.WalkSpeed = 8
1884
end
1885
function Hell_From_Above()
1886
	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,})
1887
	attack = true
1888
	hum.WalkSpeed = 3.01
1889
	for i = 0,6.3,0.1 do
1890
		swait()
1891
		Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1892
		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)
1893
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1894
		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)
1895
		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)
1896
		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)
1897
		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)
1898
	end
1899
	CreateSound("142070127", tors, 10, 1)
1900
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
1901
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
1902
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
1903
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
1904
	for i = 0,3.8,0.1 do
1905
		swait()
1906
		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)
1907
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1908
		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)
1909
		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)
1910
		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)
1911
		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)
1912
	end
1913
	CreateSound("224339201", tors, 10, 0.5)
1914
	for i = 1, 3 do
1915
	MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp")
1916
	UhhhhThing.CFrame = mouse.Hit
1917
	Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
1918
	Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
1919
	end
1920
	UhhhhThing:Destroy()
1921
	attack = false
1922
	hum.WalkSpeed = 8
1923
end
1924
function Spinning_Below()
1925
	attack = true
1926
	hum.WalkSpeed = 3.01
1927
	CreateSound("649634100", tors, 10, 0.5)
1928
	for i = 0,6.3,0.1 do
1929
		swait()
1930
		Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1931
		Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1932
		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)
1933
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1934
		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)
1935
		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)
1936
		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)
1937
		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)
1938
	end
1939
	attack = false
1940
	hum.WalkSpeed = 8
1941
end
1942
function Blizzard()
1943
	attack = true
1944
	hum.WalkSpeed = 2
1945
        hum.JumpPower = 0
1946
	for i = 0,70,0.1 do
1947
	        MagniDamage(tors, 41, 1, 3, 1, "Normal")
1948
	        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)
1949
		swait()
1950
		Effects.Block.Create(BrickC("Institutional white"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1951
		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)
1952
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1953
		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)
1954
		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)
1955
		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)
1956
		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)
1957
	end
1958
	hum.WalkSpeed = 16
1959
        hum.JumpPower = 50
1960
	attack = false
1961
end
1962
1963
function Cryo_Freeze()
1964
	attack = true
1965
	for i = 0,5.2,0.03 do
1966
		swait()
1967
		Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1968
		Effects.Block.Create(BrickC("White"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1969
		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)
1970
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1971
		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)
1972
		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)
1973
		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)
1974
		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)
1975
	end
1976
	CreateSound("331666100", tors, 10, 1)
1977
	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)
1978
	for i = 1,3,0.1 do
1979
	hum.WalkSpeed = 0.10
1980
	MagniDamage(tors, 400, 1, 10, 0, "Normal")
1981
	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)
1982
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
1983
	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)
1984
	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)
1985
	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)
1986
	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)
1987
	end
1988
	for i = 1,10,0.1 do
1989
        swait(10)
1990
	hum.WalkSpeed = 0.10
1991
	MagniDamage(tors, 400, 1, 1, 0, "Normal")
1992
	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)
1993
	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)
1994
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
1995
	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)
1996
	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)
1997
	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)
1998
	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)
1999
	end
2000
	wait(.6)
2001
	attack = false
2002
end
2003
function Menacing_Aura()
2004
	attack = true
2005
        notmenacing = false
2006
	for i = 0,2,0.1 do
2007
		swait()
2008
		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)
2009
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2010
		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)
2011
		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)
2012
		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)
2013
		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)
2014
	end
2015
	CreateSound("331666100", tors, 10, 1)
2016
	coroutine.resume(coroutine.create(function() 
2017
		for i = 0,25,0.1 do
2018
			swait(10)
2019
	        MagniDamage(tors, 6.5, 1, 2, 0, "Normal")
2020
                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)
2021
		end
2022
                notmenacing = true
2023
	end))
2024
	wait(.6)
2025
	attack = false
2026
end
2027
local alternatecooldownbecausewhynotdood = false
2028
function Heat_Stroke()--This was NOT MADE BY ME! It's from Ruin II. Credit goes to When_kun, NoobyGames12, Injectioneer and Salvo_Starly!
2029
	attack = true
2030
	alternatecooldownbecausewhynotdood = true
2031
	for i = 0,2,0.1 do
2032
		swait()
2033
		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)
2034
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2035
		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)
2036
		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)
2037
		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)
2038
		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)
2039
	end
2040
Effects.Block.Create(BrickColor.new("Bright red"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 5, 5, 5, 4, 4, 4, .06)
2041
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),})
2042
      coroutine.resume(coroutine.create(function()
2043
            for i = 1,150,0.1 do
2044
            swait()	
2045
            MagniDamage(ref, 23.3, 3, 9, 0, "Normal")
2046
            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)
2047
            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)
2048
            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)
2049
            end
2050
            swait(50)
2051
            alternatecooldownbecausewhynotdood = false
2052
            ref:Remove() -- still lazy to use debris
2053
      end))
2054
attack = false	
2055
end
2056
function Eruption()
2057
	attack = true
2058
	hum.WalkSpeed = 2
2059
        hum.JumpPower = 0
2060
	for i = 0,7,0.1 do
2061
	        HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 1, "Normal")
2062
		swait()
2063
		Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2064
		Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2065
		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)
2066
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2067
		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)
2068
		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)
2069
		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)
2070
		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)
2071
	end
2072
	CreateSound("144699494", tors, 10, 1)
2073
	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)
2074
	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)
2075
	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)
2076
	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)
2077
	MagniDamage(tors, 30, 40, 75, 7, "DarkUp")
2078
	coroutine.resume(coroutine.create(function() 
2079
		for i = 0,1.8,0.1 do
2080
			swait()
2081
			hum.CameraOffset = Vector3.new(Mrandom(-4,4),Mrandom(-4,4),Mrandom(-4,4))
2082
		end
2083
		for i = 0,1.8,0.1 do
2084
			swait()
2085
		hum.CameraOffset = Vector3.new(0,0,0)
2086
		end
2087
	end))
2088
        local vel2 = Instance.new("BodyVelocity",tors)
2089
        vel2.Velocity = Vector3.new(0,55,0)
2090
        vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
2091
	for i = 0,4,0.1 do
2092
	        HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 20, 35, 3, "Normal")
2093
		swait()
2094
		Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2095
		Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2096
		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)
2097
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2098
		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)
2099
		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)
2100
		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)
2101
		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)
2102
	end
2103
	hum.WalkSpeed = 16
2104
        vel2:Destroy()
2105
        hum.JumpPower = 50
2106
	attack = false
2107
end
2108
function Solar_Flare()
2109
	attack = true
2110
	hum.WalkSpeed = 2
2111
        hum.JumpPower = 75
2112
        hum.Jump = true
2113
        wait(0.4)
2114
	CreateSound("144699494", tors, 10, 1)
2115
        hum.JumpPower = 0
2116
	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)
2117
	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)
2118
	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)
2119
	for i = 0,20,0.1 do
2120
                root.Velocity = root.CFrame.lookVector * 60
2121
	        HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 14, 25, 35, 0, "Freeze")
2122
		swait()
2123
		Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05)
2124
		Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05)
2125
		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)
2126
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2127
		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)
2128
		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)
2129
		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)
2130
		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)
2131
	end
2132
	hum.WalkSpeed = 16
2133
        hum.JumpPower = 50
2134
	attack = false
2135
end
2136
function ShadowWarp()
2137
	MagniDamage(tors, 5, 5, 10, 0, "Normal")
2138
	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)
2139
	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)
2140
		Effects.Block.Create(BrickC("Steel blue"), tors.CFrame * CF(0, 0, 0), 2, 2, 2, 6, 6, 6, 0.05)
2141
		local pos = root.Position
2142
		root.CFrame = CF(mouse.Hit.p+VT(0,3,0),pos)
2143
		CreateSound("769380905", tors, 10, 1)
2144
	MagniDamage(tors, 5, 15, 20, 0, "DarkUp")
2145
		Effects.Block.Create(BrickC("Dark blue"), tors.CFrame * CF(0, 0, 0), 2, 2, 2, 6, 6, 6, 0.05)
2146
	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)
2147
	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)
2148
end
2149
function Shade()
2150
	hum.WalkSpeed = 3
2151
	attack = true
2152
	for i = 0,2,0.1 do
2153
		swait()
2154
		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)
2155
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2156
		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)
2157
		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)
2158
		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)
2159
		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)
2160
	end
2161
	hum.WalkSpeed = 3
2162
	CreateSound("588736969", tors, 10, 1)
2163
	Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05)
2164
	MagniDamage(tors, 27, 12, 24, 2, "Normal")
2165
	for i = 0,3,0.1 do
2166
		swait()
2167
		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)
2168
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2169
		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)
2170
		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)
2171
		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)
2172
		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)
2173
        end
2174
	hum.WalkSpeed = 3
2175
	CreateSound("588736969", tors, 10, 1)
2176
	Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05)
2177
	MagniDamage(tors, 27, 12, 24, 2, "Normal")
2178
	for i = 0,3,0.1 do
2179
		swait()
2180
		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)
2181
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2182
		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)
2183
		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)
2184
		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)
2185
		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)
2186
        end
2187
	CreateSound("588736969", tors, 10, 1)
2188
	Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05)
2189
	MagniDamage(tors, 27, 12, 24, 2, "Normal")
2190
	hum.WalkSpeed = 3
2191
	wait(.6)
2192
	hum.WalkSpeed = 16
2193
	attack = false
2194
end
2195
function Purity_Slam()
2196
	attack = true
2197
	for i = 0,5.2,0.1 do
2198
		swait()
2199
		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)
2200
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2201
		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)
2202
		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)
2203
		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)
2204
		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)
2205
	end
2206
	CreateSound("331666100", tors, 10, 1)
2207
	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)
2208
	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)
2209
	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)
2210
	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)
2211
	MagniDamage(tors, 12, 40, 60, 10, "Normal")
2212
	coroutine.resume(coroutine.create(function() 
2213
		for i = 0,1.8,0.1 do
2214
			swait()
2215
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2216
		end
2217
		for i = 0,1.8,0.1 do
2218
			swait()
2219
		hum.CameraOffset = Vector3.new(0,0,0)
2220
		end
2221
	end))
2222
	for i = 1,4.7,0.1 do
2223
	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)
2224
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2225
	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)
2226
	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)
2227
	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)
2228
	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)
2229
	end
2230
	wait(.6)
2231
	attack = false
2232
end
2233
function Universal_Crush()
2234
	attack = true
2235
	for i = 0,5.2,0.05 do
2236
		swait()
2237
		Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2238
		Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2239
		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)
2240
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2241
		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)
2242
		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)
2243
		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)
2244
		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)
2245
	end
2246
	CreateSound("331666100", tors, 10, 1)
2247
	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)
2248
	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)
2249
	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)
2250
	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)
2251
	MagniDamage(tors, 170, 80, 175, 15, "DarkUp")
2252
	coroutine.resume(coroutine.create(function() 
2253
		for i = 0,1.8,0.1 do
2254
			swait()
2255
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2256
		end
2257
		for i = 0,1.8,0.1 do
2258
			swait()
2259
		hum.CameraOffset = Vector3.new(0,0,0)
2260
		end
2261
	end))
2262
	for i = 1,4.7,0.1 do
2263
	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)
2264
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2265
	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)
2266
	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)
2267
	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)
2268
	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)
2269
	end
2270
	wait(.6)
2271
	attack = false
2272
end
2273
function Painful_Stomp()
2274
	attack = true
2275
	for i = 0,5.2,0.1 do
2276
		swait()
2277
		tecks2.Rotation = math.random(-20, 20)
2278
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2279
		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)
2280
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2281
		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)
2282
		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)
2283
		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)
2284
		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)
2285
	end	
2286
	CreateSound("331666100", char, 10, 1)
2287
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2288
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2289
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2290
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2291
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
2292
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
2293
	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)
2294
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
2295
		if v:FindFirstChild("Head") then
2296
			Eviscerate(v)
2297
		end
2298
	end
2299
	coroutine.resume(coroutine.create(function() 
2300
		for i = 0,2.8,0.1 do
2301
			swait()
2302
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2303
		end
2304
		for i = 0,1.8,0.1 do
2305
			swait()
2306
		hum.CameraOffset = Vector3.new(0,0,0)
2307
		end
2308
	end))
2309
	for i = 0,3.7,0.1 do
2310
		tecks2.Rotation = math.random(-20, 20)
2311
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2312
		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)
2313
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2314
		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)
2315
		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)
2316
		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)
2317
		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)
2318
	end
2319
	wait(.6)
2320
	attack = false
2321
end
2322
function Ending()
2323
	local target = nil
2324
	local targettorso = nil
2325
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
2326
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
2327
			targetT  = mouse.Target.Parent
2328
			target = mouse.Target.Parent.Humanoid
2329
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
2330
			targethead = mouse.Target.Parent:FindFirstChild("Head")
2331
		end
2332
	end
2333
	if target ~= nil then
2334
		targettorso.Anchored = true
2335
		attack = true
2336
		hum.WalkSpeed = 0
2337
		local originalpos = root.CFrame
2338
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
2339
		for i = 0,1.8,0.1 do
2340
		tecks2.Rotation = math.random(-20, 20)
2341
			swait()
2342
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2343
		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)
2344
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
2345
		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)
2346
		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)
2347
		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)
2348
		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)
2349
		end
2350
		Eviscerate(targetT)
2351
		CreateSound("331666100", ra, 4, 1)
2352
		CreateSound("180083286", targettorso, 10, 1)
2353
		coroutine.resume(coroutine.create(function() 
2354
		for i = 0,1.8,0.1 do
2355
			swait()
2356
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2357
		end
2358
		for i = 0,1.8,0.1 do
2359
			swait()
2360
		hum.CameraOffset = Vector3.new(0,0,0)
2361
		end
2362
	end))
2363
		for i = 0,4.6,0.1 do
2364
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2365
		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)
2366
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2367
		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)
2368
		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)
2369
		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)
2370
		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)
2371
		end
2372
		wait(.6)
2373
		root.CFrame = originalpos
2374
		attack = false
2375
	hum.WalkSpeed = 8
2376
	end
2377
end
2378
2379
--[[I don't take ANY credit for this attack,
2380
	this was all nooby's hard work and the only reason i uhhh "used" it
2381
	is cause I i didn't have attack ideas at the time so yeah,
2382
	100% nooby's credit <3]]
2383
function Ende_der_Weld()
2384
	attack = true
2385
	hum.WalkSpeed = 0
2386
	for i = 0,4.6,0.1 do
2387
			swait()
2388
		tecks2.Rotation = math.random(-20, 20)
2389
                tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
2390
		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)
2391
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2392
		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)
2393
		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)
2394
		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)
2395
		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)
2396
		end
2397
		local a = Instance.new("Part",char)
2398
		a.BrickColor = BrickColor.random()
2399
	a.Name = "Lazer"	
2400
	a.Anchored = true
2401
a.Material = "Neon"
2402
a.Transparency = 1
2403
	a.CanCollide = false
2404
	local hitbox = Instance.new("Part",char)
2405
	hitbox.Size = Vector3.new(5,5,5)
2406
	hitbox.CFrame = mouse.hit
2407
	hitbox.Anchored = true
2408
	hitbox.Transparency = 1
2409
	hitbox.CanCollide = false
2410
	local ray = Ray.new(
2411
	    ra.CFrame.p,                           -- origin
2412
	    (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction
2413
	) 
2414
	local ignore = char
2415
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
2416
	if hit then
2417
		local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
2418
	 
2419
		if not humanoid then
2420
			humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
2421
		end
2422
		if humanoid then
2423
			if humanoid.Parent:IsA"Model" then
2424
			end
2425
		end
2426
	end
2427
	a.BottomSurface = 10
2428
	a.TopSurface = 10
2429
	local distance = (ra.CFrame.p - position).magnitude
2430
	a.Size = Vector3.new(0.1, 0.1, 0.1)
2431
	a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0)
2432
	game:GetService("Debris"):AddItem(a, 5)
2433
	game:GetService("Debris"):AddItem(hitbox, 1)
2434
local newmesh = Instance.new("BlockMesh",a)
2435
MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025) 
2436
MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1)
2437
MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2)
2438
MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1)
2439
			 local lbs = Instance.new("Part")
2440
  lbs.Parent = char
2441
CreateSound("929619479", lbs, 10, 1)
2442
   lbs.Material = "Neon"
2443
    lbs.Color = BrickColor.Random().Color
2444
     lbs.CanCollide = false
2445
     lbs.Shape = "Ball"
2446
     lbs.Anchored = true
2447
     lbs.Transparency = 0
2448
     lbs.Size = Vector3.new(20,20,20)
2449
     lbs.CFrame = a.CFrame
2450
     local thing = Instance.new("SpecialMesh",lbs)
2451
     thing.MeshType = "Sphere"
2452
lbs.Anchored = false
2453
  local bvs = Instance.new("BodyVelocity")
2454
  bvs.maxForce = Vector3.new(1e9, 1e9, 1e9)
2455
  bvs.velocity = a.CFrame.lookVector*75
2456
  bvs.Parent = lbs
2457
lbs.Touched:connect(function(hit) 
2458
	MagniDamage(hit, 12, 40, 60, 10, "Normal")
2459
end)
2460
attack = false
2461
game:GetService("Debris"):AddItem(lbs, 10)
2462
for x = 0, 4 do
2463
	local bulletgos = IT("Model",char)
2464
	local bulletgos2 = IT("Model",char)
2465
for z = 0, 24 do
2466
			 local lb = Instance.new("Part")
2467
  lb.Parent = bulletgos
2468
   lb.Material = "Neon"
2469
    lb.Color = BrickColor.Random().Color
2470
     lb.CanCollide = false
2471
     lb.Anchored = true
2472
     lb.Transparency = 0
2473
     lb.Size = Vector3.new(2,2,2)
2474
local thing = Instance.new("SpecialMesh",lb)
2475
     thing.MeshType = "Sphere"
2476
     thing.Scale = Vector3.new(0.5,0.5,1.5)
2477
     lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2478
     lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15
2479
			 local lb2 = Instance.new("Part")
2480
  lb2.Parent = bulletgos2
2481
   lb2.Material = "Neon"
2482
    lb2.Color = lb.Color
2483
     lb2.CanCollide = false
2484
     lb2.Anchored = true
2485
     lb2.Transparency = 0
2486
     lb2.Size = Vector3.new(2,2,2)
2487
     lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2488
     lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15
2489
     local thing2 = Instance.new("SpecialMesh",lb2)
2490
     thing2.MeshType = "Sphere"
2491
     thing2.Scale = Vector3.new(0.5,0.5,1.5)
2492
lb.Touched:connect(function(hit) 
2493
	MagniDamage(hit, 12, 40, 60, 10, "Normal")
2494
end)
2495
lb2.Touched:connect(function(hit) 
2496
	MagniDamage(hit, 12, 40, 60, 10, "Normal")
2497
end)
2498
end
2499
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
2500
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
2501
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
2502
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
2503
CreateSound("925629856", lbs, 5, 1)
2504
game:GetService("Debris"):AddItem(bulletgos, 7)
2505
game:GetService("Debris"):AddItem(bulletgos2, 7)
2506
for i,v in pairs(bulletgos:children()) do
2507
    if v:IsA("Part") then
2508
	v.Anchored = false
2509
	MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) 
2510
  local bv = Instance.new("BodyVelocity")
2511
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2512
  bv.velocity = v.CFrame.lookVector*25
2513
  bv.Parent = v
2514
game:GetService("Debris"):AddItem(v, 5)
2515
    end
2516
end
2517
for i,v in pairs(bulletgos2:children()) do
2518
    if v:IsA("Part") then
2519
	v.Anchored = false
2520
	MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) 
2521
  local bv = Instance.new("BodyVelocity")
2522
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2523
  bv.velocity = v.CFrame.lookVector*-25
2524
  bv.Parent = v
2525
game:GetService("Debris"):AddItem(v, 5)
2526
    end
2527
end
2528
wait(1)
2529
end
2530
attack = false
2531
hum.WalkSpeed = 8
2532
end
2533
-------------------------------------------------------
2534
--End Attacks N Stuff--
2535
-------------------------------------------------------
2536
mouse.KeyDown:connect(function(key)
2537
    if string.byte(key) == 48 then
2538
        Swing = 2
2539
        hum.WalkSpeed = 38.82
2540
	end
2541
end)
2542
mouse.KeyUp:connect(function(key)
2543
    if string.byte(key) == 48 then
2544
        Swing = 1
2545
        hum.WalkSpeed = 8
2546
	end
2547
end)
2548
mouse.KeyDown:connect(function(key)
2549
	if attack == false then
2550
		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 then
2551
        DTrail5.Enabled = false
2552
        DTrail4.Enabled = false
2553
        DTrail3.Enabled = false
2554
        DTrail2.Enabled = false
2555
        DTrail.Enabled = false
2556
			EdgyMode = true
2557
			tecks2.Text = "Edgy"
2558
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2559
			tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
2560
		for i, v in pairs(ArmourParts) do
2561
        	v.BrickColor = BrickColor.new("Black")
2562
		      		end
2563
		for i, v in pairs(ArmourParts2) do
2564
        	v.BrickColor = BrickColor.new("Really black")
2565
		      		end
2566
    	for i, v in pairs(NeonParts) do
2567
        	v.BrickColor = BrickColor.new("Royal purple")
2568
      				end
2569
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=457729356"
2570
	maincolor = BrickColor.new("Royal purple")
2571
	BC.HeadColor = BrickColor.new("Black")
2572
	BC.LeftArmColor = BrickColor.new("Black")
2573
	BC.LeftLegColor = BrickColor.new("Black")
2574
	BC.RightArmColor = BrickColor.new("Royal purple")
2575
	BC.RightLegColor = BrickColor.new("Black")
2576
	BC.TorsoColor = BrickColor.new("Black")
2577
                        Music.TimePosition = 0
2578
			Music.SoundId = "rbxassetid://1693948941"
2579
			Music.Parent = tors
2580
			Music:Play()
2581
		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 then
2582
        DTrail5.Enabled = false
2583
        DTrail4.Enabled = false
2584
        DTrail3.Enabled = false
2585
        DTrail2.Enabled = false
2586
        DTrail.Enabled = false
2587
			EdgyMode = false
2588
			tecks2.Text = "Neutral"
2589
                        tecks2.Rotation = 0
2590
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2591
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2592
			resetmode()
2593
                        Music.TimePosition = 0
2594
			Music.SoundId = "rbxassetid://1117396305"
2595
			Music.Parent = tors
2596
			Music:Play()
2597
	BC.HeadColor = BrickColor.new("Fossil")
2598
	BC.LeftArmColor = BrickColor.new("Fossil")
2599
	BC.LeftLegColor = BrickColor.new("Fossil")
2600
	BC.RightArmColor = BrickColor.new("Smoky grey")
2601
	BC.RightLegColor = BrickColor.new("Fossil")
2602
	BC.TorsoColor = BrickColor.new("Fossil")
2603
		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 then
2604
        DTrail5.Enabled = false
2605
        DTrail4.Enabled = false
2606
        DTrail3.Enabled = false
2607
        DTrail2.Enabled = false
2608
        DTrail.Enabled = false
2609
			Divinity = true
2610
			tecks2.Text = "Divinity"
2611
                        tecks2.Rotation = 0
2612
			tecks2.TextColor3 = Color3.new(1, 1, 1)
2613
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
2614
		for i, v in pairs(ArmourParts) do
2615
        	v.BrickColor = BrickColor.new("Institutional white")
2616
		      		end
2617
		for i, v in pairs(ArmourParts2) do
2618
        	v.BrickColor = BrickColor.new("White")
2619
		      		end
2620
    	for i, v in pairs(NeonParts) do
2621
        	v.BrickColor = BrickColor.new("New Yeller")
2622
      				end
2623
		maincolor = BrickColor.new("New Yeller")
2624
	BC.HeadColor = BrickColor.new("White")
2625
	BC.LeftArmColor = BrickColor.new("White")
2626
	BC.LeftLegColor = BrickColor.new("White")
2627
	BC.RightArmColor = BrickColor.new("New Yeller")
2628
	BC.RightLegColor = BrickColor.new("White")
2629
	BC.TorsoColor = BrickColor.new("White")
2630
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=329945268"
2631
                        Music.TimePosition = 0
2632
			Music.SoundId = "rbxassetid://595800581"
2633
			Music.Parent = tors
2634
			Music:Play()
2635
		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 then
2636
        DTrail5.Enabled = false
2637
        DTrail4.Enabled = false
2638
        DTrail3.Enabled = false
2639
        DTrail2.Enabled = false
2640
        DTrail.Enabled = false
2641
			Divinity = false
2642
			tecks2.Text = "Neutral"
2643
                        tecks2.Rotation = 0
2644
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2645
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2646
			resetmode()
2647
	BC.HeadColor = BrickColor.new("Fossil")
2648
	BC.LeftArmColor = BrickColor.new("Fossil")
2649
	BC.LeftLegColor = BrickColor.new("Fossil")
2650
	BC.RightArmColor = BrickColor.new("Smoky grey")
2651
	BC.RightLegColor = BrickColor.new("Fossil")
2652
	BC.TorsoColor = BrickColor.new("Fossil")
2653
                        Music.TimePosition = 0
2654
			Music.SoundId = "rbxassetid://1117396305"
2655
			Music.Parent = tors
2656
			Music:Play()
2657
		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 then
2658
        DTrail5.Enabled = false
2659
        DTrail4.Enabled = false
2660
        DTrail3.Enabled = false
2661
        DTrail2.Enabled = false
2662
        DTrail.Enabled = false
2663
			Fighter = true
2664
			tecks2.Text = "Fighter"
2665
                        tecks2.Rotation = 0
2666
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2667
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
2668
		for i, v in pairs(ArmourParts) do
2669
        	v.BrickColor = BrickColor.new("Black")
2670
		      		end
2671
		for i, v in pairs(ArmourParts2) do
2672
        	v.BrickColor = BrickColor.new("Really black")
2673
		      		end
2674
    	for i, v in pairs(NeonParts) do
2675
        	v.BrickColor = BrickColor.new("Institutional white")
2676
      				end
2677
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=300139178"
2678
		maincolor = BrickColor.new("Institutional white")
2679
	BC.HeadColor = BrickColor.new("Really black")
2680
	BC.LeftArmColor = BrickColor.new("Really black")
2681
	BC.LeftLegColor = BrickColor.new("Really black")
2682
	BC.RightArmColor = BrickColor.new("Institutional white")
2683
	BC.RightLegColor = BrickColor.new("Really black")
2684
	BC.TorsoColor = BrickColor.new("Really black")
2685
			Music.SoundId = "rbxassetid://207375545"
2686
			Music.Parent = tors
2687
                        Music.TimePosition = 8.3
2688
			Music:Play()
2689
		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 then
2690
        DTrail5.Enabled = false
2691
        DTrail4.Enabled = false
2692
        DTrail3.Enabled = false
2693
        DTrail2.Enabled = false
2694
        DTrail.Enabled = false
2695
			Fighter = false
2696
			tecks2.Text = "Neutral"
2697
                        tecks2.Rotation = 0
2698
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2699
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2700
			resetmode()
2701
	BC.HeadColor = BrickColor.new("Fossil")
2702
	BC.LeftArmColor = BrickColor.new("Fossil")
2703
	BC.LeftLegColor = BrickColor.new("Fossil")
2704
	BC.RightArmColor = BrickColor.new("Smoky grey")
2705
	BC.RightLegColor = BrickColor.new("Fossil")
2706
	BC.TorsoColor = BrickColor.new("Fossil")
2707
                        Music.TimePosition = 0
2708
			Music.SoundId = "rbxassetid://1117396305"
2709
			Music.Parent = tors
2710
			Music:Play()
2711
		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 then
2712
        DTrail5.Enabled = false
2713
        DTrail4.Enabled = false
2714
        DTrail3.Enabled = false
2715
        DTrail2.Enabled = false
2716
        DTrail.Enabled = false
2717
			Purity = true
2718
			tecks2.Text = "Purity"
2719
                        tecks2.Rotation = 0
2720
			tecks2.TextColor3 = Color3.new(1, 1, 1)
2721
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255)
2722
		for i, v in pairs(ArmourParts) do
2723
        	v.BrickColor = BrickColor.new("Institutional white")
2724
		      		end
2725
		for i, v in pairs(ArmourParts2) do
2726
        	v.BrickColor = BrickColor.new("Institutional white")
2727
		      		end
2728
    	for i, v in pairs(NeonParts) do
2729
        	v.BrickColor = BrickColor.new("Toothpaste")
2730
      				end
2731
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=155195214"
2732
		maincolor = BrickColor.new("Toothpaste")
2733
	BC.HeadColor = BrickColor.new("Institutional white")
2734
	BC.LeftArmColor = BrickColor.new("Institutional white")
2735
	BC.LeftLegColor = BrickColor.new("Institutional white")
2736
	BC.RightArmColor = BrickColor.new("Toothpaste")
2737
	BC.RightLegColor = BrickColor.new("Institutional white")
2738
	BC.TorsoColor = BrickColor.new("Institutional white")
2739
                        Music.TimePosition = 0
2740
			Music.SoundId = "rbxassetid://174212509"
2741
			Music.Parent = tors
2742
			Music:Play()
2743
		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 then
2744
        DTrail5.Enabled = false
2745
        DTrail4.Enabled = false
2746
        DTrail3.Enabled = false
2747
        DTrail2.Enabled = false
2748
        DTrail.Enabled = false
2749
			Purity = false
2750
			tecks2.Text = "Neutral"
2751
                        tecks2.Rotation = 0
2752
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2753
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2754
			resetmode()
2755
                        Music.TimePosition = 0
2756
			Music.SoundId = "rbxassetid://1117396305"
2757
			Music.Parent = tors
2758
			Music:Play()
2759
	BC.HeadColor = BrickColor.new("Fossil")
2760
	BC.LeftArmColor = BrickColor.new("Fossil")
2761
	BC.LeftLegColor = BrickColor.new("Fossil")
2762
	BC.RightArmColor = BrickColor.new("Smoky grey")
2763
	BC.RightLegColor = BrickColor.new("Fossil")
2764
	BC.TorsoColor = BrickColor.new("Fossil")
2765
		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 then
2766
        DTrail5.Enabled = false
2767
        DTrail4.Enabled = false
2768
        DTrail3.Enabled = false
2769
        DTrail2.Enabled = false
2770
        DTrail.Enabled = false
2771
			Solar = true
2772
			tecks2.Text = "Solar"
2773
                        tecks2.Rotation = 0
2774
			tecks2.TextColor3 = Color3.new(1, 1, 0)
2775
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 170, 0)
2776
		for i, v in pairs(ArmourParts) do
2777
        	v.BrickColor = BrickColor.new("New Yeller")
2778
		      		end
2779
		for i, v in pairs(ArmourParts2) do
2780
        	v.BrickColor = BrickColor.new("Bright yellow")
2781
		      		end
2782
    	for i, v in pairs(NeonParts) do
2783
        	v.BrickColor = BrickColor.new("Deep orange")
2784
      				end
2785
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=246991049"
2786
		maincolor = BrickColor.new("Deep orange")
2787
	BC.HeadColor = BrickColor.new("New Yeller")
2788
	BC.LeftArmColor = BrickColor.new("New Yeller")
2789
	BC.LeftLegColor = BrickColor.new("New Yeller")
2790
	BC.RightArmColor = BrickColor.new("Deep orange")
2791
	BC.RightLegColor = BrickColor.new("New Yeller")
2792
	BC.TorsoColor = BrickColor.new("New Yeller")
2793
                        Music.TimePosition = 5
2794
			Music.SoundId = "rbxassetid://1167066393"
2795
			Music.Parent = tors
2796
			Music:Play()
2797
		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 then
2798
        DTrail5.Enabled = false
2799
        DTrail4.Enabled = false
2800
        DTrail3.Enabled = false
2801
        DTrail2.Enabled = false
2802
        DTrail.Enabled = false
2803
			Solar = false
2804
			tecks2.Text = "Neutral"
2805
                        tecks2.Rotation = 0
2806
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2807
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2808
			resetmode()
2809
                        Music.TimePosition = 0
2810
			Music.SoundId = "rbxassetid://1117396305"
2811
			Music.Parent = tors
2812
			Music:Play()
2813
	BC.HeadColor = BrickColor.new("Fossil")
2814
	BC.LeftArmColor = BrickColor.new("Fossil")
2815
	BC.LeftLegColor = BrickColor.new("Fossil")
2816
	BC.RightArmColor = BrickColor.new("Smoky grey")
2817
	BC.RightLegColor = BrickColor.new("Fossil")
2818
	BC.TorsoColor = BrickColor.new("Fossil")
2819
		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 then
2820
        DTrail5.Enabled = false
2821
        DTrail4.Enabled = false
2822
        DTrail3.Enabled = false
2823
        DTrail2.Enabled = false
2824
        DTrail.Enabled = false
2825
			Lunar = true
2826
			tecks2.Text = "Lunar"
2827
                        tecks2.Rotation = 0
2828
			tecks2.TextColor3 = Color3.new(0, 0, 1)
2829
			tecks2.TextStrokeColor3 = Color3.fromRGB(170, 255, 255)
2830
		for i, v in pairs(ArmourParts) do
2831
        	v.BrickColor = BrickColor.new("Dark blue")
2832
		      		end
2833
		for i, v in pairs(ArmourParts2) do
2834
        	v.BrickColor = BrickColor.new("Cyan")
2835
		      		end
2836
    	for i, v in pairs(NeonParts) do
2837
        	v.BrickColor = BrickColor.new("Steel blue")
2838
      				end
2839
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=231432333"
2840
		maincolor = BrickColor.new("Steel blue")
2841
	BC.HeadColor = BrickColor.new("Dark blue")
2842
	BC.LeftArmColor = BrickColor.new("Dark blue")
2843
	BC.LeftLegColor = BrickColor.new("Dark blue")
2844
	BC.RightArmColor = BrickColor.new("Steel blue")
2845
	BC.RightLegColor = BrickColor.new("Dark blue")
2846
	BC.TorsoColor = BrickColor.new("Dark blue")
2847
                        Music.TimePosition = 0.5
2848
			Music.SoundId = "rbxassetid://1574603917"
2849
			Music.Parent = tors
2850
			Music:Play()
2851
		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 then
2852
        DTrail5.Enabled = false
2853
        DTrail4.Enabled = false
2854
        DTrail3.Enabled = false
2855
        DTrail2.Enabled = false
2856
        DTrail.Enabled = false
2857
			Lunar = false
2858
			tecks2.Text = "Neutral"
2859
                        tecks2.Rotation = 0
2860
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2861
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2862
			resetmode()
2863
                        Music.TimePosition = 0
2864
			Music.SoundId = "rbxassetid://1117396305"
2865
			Music.Parent = tors
2866
			Music:Play()
2867
	BC.HeadColor = BrickColor.new("Fossil")
2868
	BC.LeftArmColor = BrickColor.new("Fossil")
2869
	BC.LeftLegColor = BrickColor.new("Fossil")
2870
	BC.RightArmColor = BrickColor.new("Smoky grey")
2871
	BC.RightLegColor = BrickColor.new("Fossil")
2872
	BC.TorsoColor = BrickColor.new("Fossil")
2873
		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 then
2874
			Destruction = true
2875
			tecks2.Text = "Destruction"
2876
                        tecks2.Rotation = 0
2877
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2878
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
2879
		for i, v in pairs(ArmourParts) do
2880
        	v.BrickColor = BrickColor.new("Really black")
2881
		      		end
2882
		for i, v in pairs(ArmourParts2) do
2883
        	v.BrickColor = BrickColor.new("Black")
2884
		      		end
2885
    	for i, v in pairs(NeonParts) do
2886
        	v.BrickColor = BrickColor.new("Really red")
2887
      				end
2888
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=201400785"
2889
        DTrail5.Enabled = true
2890
        DTrail4.Enabled = true
2891
        DTrail3.Enabled = true
2892
        DTrail2.Enabled = true
2893
        DTrail.Enabled = true
2894
		maincolor = BrickColor.new("Really red")
2895
	BC.HeadColor = BrickColor.new("Black")
2896
	BC.LeftArmColor = BrickColor.new("Black")
2897
	BC.LeftLegColor = BrickColor.new("Black")
2898
	BC.RightArmColor = BrickColor.new("Really red")
2899
	BC.RightLegColor = BrickColor.new("Black")
2900
	BC.TorsoColor = BrickColor.new("Black")
2901
                        Music.TimePosition = 2
2902
			Music.SoundId = "rbxassetid://1703475948"
2903
			Music.Parent = tors
2904
			Music:Play()
2905
		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 then
2906
        DTrail5.Enabled = false
2907
        DTrail4.Enabled = false
2908
        DTrail3.Enabled = false
2909
        DTrail2.Enabled = false
2910
        DTrail.Enabled = false
2911
			Destruction = false
2912
			tecks2.Text = "Neutral"
2913
                        tecks2.Rotation = 0
2914
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2915
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2916
			resetmode()
2917
                        Music.TimePosition = 0
2918
			Music.SoundId = "rbxassetid://1117396305"
2919
			Music.Parent = tors
2920
			Music:Play()
2921
	BC.HeadColor = BrickColor.new("Fossil")
2922
	BC.LeftArmColor = BrickColor.new("Fossil")
2923
	BC.LeftLegColor = BrickColor.new("Fossil")
2924
	BC.RightArmColor = BrickColor.new("Smoky grey")
2925
	BC.RightLegColor = BrickColor.new("Fossil")
2926
	BC.TorsoColor = BrickColor.new("Fossil")
2927
		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 then
2928
			helpme = true
2929
        DTrail5.Enabled = false
2930
        DTrail4.Enabled = false
2931
        DTrail3.Enabled = false
2932
        DTrail2.Enabled = false
2933
        DTrail.Enabled = false
2934
                        Music.TimePosition = 1
2935
			tecks2.Text = "iNsAnItY"
2936
			Music.SoundId = "rbxassetid://943961217"
2937
			Music.Parent = tors
2938
			Music:Play()
2939
	BC.HeadColor = BrickColor.random()
2940
	BC.LeftArmColor = BrickColor.random()
2941
	BC.LeftLegColor = BrickColor.random()
2942
	BC.RightArmColor = BrickColor.random()
2943
	BC.RightLegColor = BrickColor.random()
2944
	BC.TorsoColor = BrickColor.random()
2945
		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 then
2946
        DTrail5.Enabled = false
2947
        DTrail4.Enabled = false
2948
        DTrail3.Enabled = false
2949
        DTrail2.Enabled = false
2950
        DTrail.Enabled = false
2951
			helpme = false
2952
			tecks2.Text = "Neutral"
2953
                        tecks2.Rotation = 0
2954
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2955
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2956
			resetmode()
2957
                        Music.TimePosition = 0
2958
			Music.SoundId = "rbxassetid://1117396305"
2959
			Music.Parent = tors
2960
			Music:Play()
2961
	BC.HeadColor = BrickColor.new("Fossil")
2962
	BC.LeftArmColor = BrickColor.new("Fossil")
2963
	BC.LeftLegColor = BrickColor.new("Fossil")
2964
	BC.RightArmColor = BrickColor.new("Smoky grey")
2965
	BC.RightLegColor = BrickColor.new("Fossil")
2966
	BC.TorsoColor = BrickColor.new("Fossil")
2967
		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 then
2968
			Frost = true
2969
        DTrail5.Enabled = false
2970
        DTrail4.Enabled = false
2971
        DTrail3.Enabled = false
2972
        DTrail2.Enabled = false
2973
        DTrail.Enabled = false
2974
			tecks2.Text = "Frost"
2975
                        tecks2.Rotation = 0
2976
			tecks2.TextColor3 = Color3.new(1, 1, 1)
2977
			tecks2.TextStrokeColor3 = Color3.fromRGB(170, 255, 255)
2978
		for i, v in pairs(ArmourParts) do
2979
        	v.BrickColor = BrickColor.new("Cyan")
2980
		      		end
2981
		for i, v in pairs(ArmourParts2) do
2982
        	v.BrickColor = BrickColor.new("White")
2983
		      		end
2984
    	for i, v in pairs(NeonParts) do
2985
        	v.BrickColor = BrickColor.new("Teal")
2986
      				end
2987
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=111523405"
2988
		maincolor = BrickColor.new("Teal")
2989
	BC.HeadColor = BrickColor.new("Cyan")
2990
	BC.LeftArmColor = BrickColor.new("Cyan")
2991
	BC.LeftLegColor = BrickColor.new("Cyan")
2992
	BC.RightArmColor = BrickColor.new("Teal")
2993
	BC.RightLegColor = BrickColor.new("Cyan")
2994
	BC.TorsoColor = BrickColor.new("Cyan")
2995
                        Music.TimePosition = 1
2996
			Music.SoundId = "rbxassetid://1579308042"
2997
			Music.Parent = tors
2998
			Music:Play()
2999
		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 then
3000
        DTrail5.Enabled = false
3001
        DTrail4.Enabled = false
3002
        DTrail3.Enabled = false
3003
        DTrail2.Enabled = false
3004
        DTrail.Enabled = false
3005
			Frost = false
3006
			tecks2.Text = "Neutral"
3007
                        tecks2.Rotation = 0
3008
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3009
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3010
			resetmode()
3011
                        Music.TimePosition = 0
3012
			Music.SoundId = "rbxassetid://1117396305"
3013
			Music.Parent = tors
3014
			Music:Play()
3015
	BC.HeadColor = BrickColor.new("Fossil")
3016
	BC.LeftArmColor = BrickColor.new("Fossil")
3017
	BC.LeftLegColor = BrickColor.new("Fossil")
3018
	BC.RightArmColor = BrickColor.new("Smoky grey")
3019
	BC.RightLegColor = BrickColor.new("Fossil")
3020
	BC.TorsoColor = BrickColor.new("Fossil")
3021
		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 then
3022
			Ashes = true
3023
        DTrail5.Enabled = false
3024
        DTrail4.Enabled = false
3025
        DTrail3.Enabled = false
3026
        DTrail2.Enabled = false
3027
        DTrail.Enabled = false
3028
			tecks2.Text = "Ash"
3029
                        tecks2.Rotation = 0
3030
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3031
			tecks2.TextStrokeColor3 = Color3.fromRGB(91, 93, 105)
3032
		for i, v in pairs(ArmourParts) do
3033
        	v.BrickColor = BrickColor.new("Smoky grey")
3034
		      		end
3035
		for i, v in pairs(ArmourParts2) do
3036
        	v.BrickColor = BrickColor.new("Black")
3037
		      		end
3038
    	for i, v in pairs(NeonParts) do
3039
        	v.BrickColor = BrickColor.new("Really black")
3040
      				end
3041
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=300139178"
3042
		maincolor = BrickColor.new("Really black")
3043
	BC.HeadColor = BrickColor.new("Smoky grey")
3044
	BC.LeftArmColor = BrickColor.new("Smoky grey")
3045
	BC.LeftLegColor = BrickColor.new("Smoky grey")
3046
	BC.RightArmColor = BrickColor.new("Really black")
3047
	BC.RightLegColor = BrickColor.new("Smoky grey")
3048
	BC.TorsoColor = BrickColor.new("Smoky grey")
3049
                        Music.TimePosition = 2
3050
			Music.SoundId = "rbxassetid://1514078310"
3051
			Music.Parent = tors
3052
			Music:Play()
3053
		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 then
3054
        DTrail5.Enabled = false
3055
        DTrail4.Enabled = false
3056
        DTrail3.Enabled = false
3057
        DTrail2.Enabled = false
3058
        DTrail.Enabled = false
3059
			Ashes = false
3060
			tecks2.Text = "Neutral"
3061
                        tecks2.Rotation = 0
3062
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3063
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3064
			resetmode()
3065
                        Music.TimePosition = 0
3066
			Music.SoundId = "rbxassetid://1117396305"
3067
			Music.Parent = tors
3068
			Music:Play()
3069
	BC.HeadColor = BrickColor.new("Fossil")
3070
	BC.LeftArmColor = BrickColor.new("Fossil")
3071
	BC.LeftLegColor = BrickColor.new("Fossil")
3072
	BC.RightArmColor = BrickColor.new("Smoky grey")
3073
	BC.RightLegColor = BrickColor.new("Fossil")
3074
	BC.TorsoColor = BrickColor.new("Fossil")
3075
		elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1  then
3076
			tecks2.TextTransparency = 0
3077
			tecks2.TextStrokeTransparency = 0
3078
		elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0  then
3079
			tecks2.TextTransparency = 1
3080
			tecks2.TextStrokeTransparency = 1
3081
		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 then
3082
        DTrail5.Enabled = false
3083
        DTrail4.Enabled = false
3084
        DTrail3.Enabled = false
3085
        DTrail2.Enabled = false
3086
        DTrail.Enabled = false
3087
			Planetary = true
3088
			tecks2.Text = "Planetary"
3089
                        tecks2.Rotation = 0
3090
			tecks2.TextColor3 = Color3.fromRGB(61, 21, 133)
3091
			tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133)
3092
		for i, v in pairs(ArmourParts) do
3093
        	v.BrickColor = BrickColor.new("Dark indigo")
3094
		      		end
3095
		for i, v in pairs(ArmourParts2) do
3096
        	v.BrickColor = BrickColor.new("Dark indigo")
3097
		      		end
3098
    	for i, v in pairs(NeonParts) do
3099
        	v.BrickColor = BrickColor.new("Dark indigo")
3100
      				end
3101
        char.Head.face.Texture = "http://www.roblox.com/asset/?id=148988280"
3102
		maincolor = BrickColor.new("Dark indigo")
3103
	BC.HeadColor = BrickColor.new("Dark indigo")
3104
	BC.LeftArmColor = BrickColor.new("Dark indigo")
3105
	BC.LeftLegColor = BrickColor.new("Dark indigo")
3106
	BC.RightArmColor = BrickColor.new("Dark indigo")
3107
	BC.RightLegColor = BrickColor.new("Dark indigo")
3108
	BC.TorsoColor = BrickColor.new("Dark indigo")
3109
                        Music.TimePosition = 0
3110
			Music.SoundId = "rbxassetid://609934004"
3111
			Music.Parent = tors
3112
			Music:Play()
3113
		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 then
3114
			Planetary = false
3115
        DTrail5.Enabled = false
3116
        DTrail4.Enabled = false
3117
        DTrail3.Enabled = false
3118
        DTrail2.Enabled = false
3119
        DTrail.Enabled = false
3120
			tecks2.Text = "Neutral"
3121
                        tecks2.Rotation = 0
3122
			tecks2.TextColor3 = Color3.new(0, 0, 0)
3123
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
3124
			resetmode()
3125
                        Music.TimePosition = 0
3126
			Music.SoundId = "rbxassetid://1117396305"
3127
			Music.Parent = tors
3128
			Music:Play()
3129
	                BC.HeadColor = BrickColor.new("Fossil")
3130
	                BC.LeftArmColor = BrickColor.new("Fossil")
3131
	                BC.LeftLegColor = BrickColor.new("Fossil")
3132
	                BC.RightArmColor = BrickColor.new("Smoky grey")
3133
	                BC.RightLegColor = BrickColor.new("Fossil")
3134
	                BC.TorsoColor = BrickColor.new("Fossil")
3135
		end
3136
	end
3137
end)
3138
mouse.KeyDown:connect(function(key)
3139
	if attack == false then
3140
		if EdgyMode == true then
3141
			if key == 'r' then
3142
			Decapitate()
3143
			elseif key == 'e' then
3144
				Laugh()
3145
			end
3146
		end
3147
		if Divinity == true then
3148
			if key == 'r' then
3149
				Beam_Of_Light()
3150
			elseif key == 'f' then
3151
				Blast_Of_God()
3152
			end
3153
		end
3154
		if Fighter == true then
3155
			if key == 'e' then
3156
				Flying_Kick()
3157
			elseif key == 'f' then
3158
				UpperCut()
3159
			elseif key == 't' then
3160
				Spinning_Kick()
3161
			end
3162
		end
3163
		if Purity == true then
3164
			if key == 'r' then
3165
				Purity_Slam()
3166
			end
3167
		end
3168
		if Solar == true then
3169
			if key == 'r' then
3170
				Eruption()
3171
			elseif key == 't' then
3172
				Solar_Flare()
3173
                        end
3174
		end
3175
		if Frost == true then
3176
			if key == 'r' then
3177
				Blizzard()
3178
			elseif key == 't' then
3179
				Cryo_Freeze()
3180
			end
3181
		end
3182
		if Ashes == true then
3183
			if key == 't' and notmenacing then
3184
				Menacing_Aura()
3185
			elseif key == 'r' and alternatecooldownbecausewhynotdood == false then
3186
				Heat_Stroke()
3187
			end
3188
		end
3189
		if Lunar == true then
3190
			if key == 't' then
3191
				ShadowWarp()
3192
			elseif key == 'r' then
3193
				Shade()
3194
			end
3195
		end
3196
		if Destruction == true then
3197
			if key == 'r' then
3198
				Diablo_Explosion()
3199
			elseif key == 'f' then
3200
				Hell_From_Above()
3201
			elseif key == 't' then
3202
				Spinning_Below()
3203
			end
3204
		end
3205
		if Planetary == true then
3206
			if key == 'r' then
3207
                                Multi_Bombs()
3208
			elseif key == 't' then
3209
				Universal_Crush()
3210
			end
3211
		end
3212
		if helpme == true then
3213
			if key == 'r' then
3214
				Painful_Stomp()
3215
			elseif key == 'f' then
3216
				Ending()
3217
			elseif key == 't' then
3218
				Ende_der_Weld()
3219
			end
3220
		end
3221
	end
3222
 end)
3223
3224
3225
coroutine.resume(coroutine.create(function()
3226
	while true do
3227
		swait(8)
3228
		if Solar == true then
3229
			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)
3230
		end
3231
	end
3232
end))
3233
coroutine.resume(coroutine.create(function()
3234
	while true do
3235
		swait(4)
3236
		if Frost == true then
3237
		        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)
3238
	                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)
3239
		end
3240
	end
3241
end))
3242
coroutine.resume(coroutine.create(function()
3243
	while true do
3244
		swait(4)
3245
		if Lunar == true then
3246
		        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)
3247
		end
3248
	end
3249
end))
3250
3251
3252
3253
-------------------------------------------------------
3254
--Start Animations--
3255
-------------------------------------------------------
3256
local equipped = false
3257
local idle = 0
3258
local change = 1
3259
local val = 0
3260
local toim = 0
3261
local idleanim = 0.4
3262
hum.WalkSpeed = 8
3263
hum.Animator.Parent = nil
3264
while true do
3265
	swait()
3266
	Music.Parent = tors
3267
	if helpme == true then
3268
		for i, v in pairs(ArmourParts) do
3269
       			v.BrickColor = BrickColor.random()
3270
		    end
3271
				for i, v in pairs(ArmourParts2) do
3272
        	v.BrickColor = BrickColor.random()
3273
		 	end
3274
    			for i, v in pairs(NeonParts) do
3275
        	v.BrickColor = BrickColor.random()
3276
      		end
3277
				maincolor = BrickColor.random()
3278
                                char.Head.face.Texture = "http://www.roblox.com/asset/?id="..insanityface[math.random(1,#insanityface)]
3279
                                tecks2.Text = ""..insanity[math.random(1,#insanity)]
3280
				tecks2.TextColor3 = maincolor.Color
3281
				tecks2.TextStrokeColor3 = maincolor.Color
3282
				tecks2.Rotation = math.random(-11, 11)
3283
	                        BC.HeadColor = BrickColor.random()
3284
	                        BC.LeftArmColor = BrickColor.random()
3285
	                        BC.LeftLegColor = BrickColor.random()
3286
	                        BC.RightArmColor = BrickColor.random()
3287
	                        BC.RightLegColor = BrickColor.random()
3288
	                        BC.TorsoColor = BrickColor.random()
3289
			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))
3290
	end
3291
	if EdgyMode == true then
3292
		tecks2.Rotation = math.random(-2, 2)
3293
	end
3294
	if Planetary == true then
3295
		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)
3296
		tecks2.Rotation = math.random(-4, 4)
3297
	end
3298
	sine = sine + change
3299
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
3300
	local velderp = root.Velocity.y
3301
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
3302
	if equipped == true or equipped == false then
3303
		if attack == false then
3304
			idle = idle + 1
3305
		else
3306
			idle = 0
3307
		end
3308
		if 1 < root.Velocity.y and hitfloor == nil then
3309
			Anim = "Jump"
3310
			change = 1
3311
			if attack == false then
3312
				rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
3313
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
3314
				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)
3315
				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)
3316
				LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
3317
				RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
3318
			end
3319
		elseif -1 > root.Velocity.y and hitfloor == nil then
3320
			Anim = "Fall"
3321
			change = 1
3322
			if attack == false then
3323
				rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
3324
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
3325
				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)
3326
				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)
3327
				LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
3328
				RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
3329
			end
3330
		elseif torvel < 1 and hitfloor ~= nil then
3331
			Anim = "Idle"
3332
			change = 1
3333
			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
3334
				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)
3335
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3336
				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)
3337
				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)
3338
				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)
3339
				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)
3340
			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
3341
				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)
3342
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3343
				if Mrandom(1,15) == 1 then
3344
				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)
3345
				end
3346
				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)
3347
				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)
3348
				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)
3349
				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)
3350
			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
3351
				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)
3352
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3353
				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)
3354
				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)
3355
		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)
3356
		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)
3357
			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
3358
				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)
3359
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
3360
				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)
3361
				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)
3362
				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)
3363
				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)
3364
			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
3365
				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)
3366
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3)
3367
				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)
3368
				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)
3369
				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)
3370
				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)
3371
			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
3372
				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)
3373
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3374
				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)
3375
				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)
3376
				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)
3377
				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)
3378
			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
3379
                                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)
3380
                                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
3381
                                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)
3382
                                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)
3383
                                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)
3384
          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)
3385
			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
3386
				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)
3387
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3388
				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)
3389
				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)
3390
				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)
3391
				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)
3392
			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
3393
				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)
3394
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3)
3395
				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)
3396
				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)
3397
				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)
3398
				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)
3399
			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
3400
				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)
3401
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
3402
				if math.random(1,1) == 1 then
3403
					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)
3404
					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)
3405
					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)
3406
					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)
3407
					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)
3408
					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)
3409
				end
3410
				for i, v in pairs(ArmourParts) do
3411
       			v.BrickColor = BrickColor.random()
3412
		    end
3413
				for i, v in pairs(ArmourParts2) do
3414
        	v.BrickColor = BrickColor.random()
3415
		 	end
3416
    			for i, v in pairs(NeonParts) do
3417
        	v.BrickColor = BrickColor.random()
3418
      		end
3419
				maincolor = BrickColor.random()
3420
				tecks2.TextColor3 = maincolor.Color
3421
				tecks2.TextStrokeColor3 = maincolor.Color
3422
				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)
3423
				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)
3424
				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)
3425
				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)
3426
			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
3427
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
3428
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
3429
				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)
3430
				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)
3431
				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)
3432
				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)
3433
			end
3434
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
3435
			Anim = "Walk"
3436
			change = .6
3437
			if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false and Lunar == false then
3438
				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)
3439
				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)
3440
				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)
3441
         		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)
3442
				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)
3443
				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)
3444
			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
3445
				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)
3446
				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)
3447
				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)
3448
         		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)
3449
		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)
3450
		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)
3451
			elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false and Lunar == false then
3452
				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)
3453
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
3454
				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)
3455
				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)
3456
				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)
3457
				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)
3458
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false and Lunar == false then
3459
				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)
3460
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3461
				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)
3462
				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)
3463
				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)
3464
				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)
3465
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false and Lunar == false then
3466
				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)
3467
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
3468
				if math.random(1,1) == 1 then
3469
					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)
3470
					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)
3471
					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)
3472
					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)
3473
					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)
3474
         		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)
3475
				end
3476
				for i, v in pairs(ArmourParts) do
3477
       			v.BrickColor = BrickColor.random()
3478
		    end
3479
				for i, v in pairs(ArmourParts2) do
3480
        	v.BrickColor = BrickColor.random()
3481
		 	end
3482
    			for i, v in pairs(NeonParts) do
3483
        	v.BrickColor = BrickColor.random()
3484
      		end
3485
				maincolor = BrickColor.random()
3486
				tecks2.TextColor3 = maincolor.Color
3487
				tecks2.TextStrokeColor3 = maincolor.Color
3488
				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)
3489
				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)
3490
				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)
3491
				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)
3492
			elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then
3493
				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)
3494
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3495
				if Mrandom(1,15) == 1 then
3496
				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)
3497
				end
3498
				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)
3499
         		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)
3500
				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)
3501
				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)
3502
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true and Lunar == false then
3503
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
3504
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
3505
				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)
3506
				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)
3507
				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)
3508
				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)
3509
			end
3510
		elseif torvel >= 25 and hitfloor ~= nil then
3511
			Anim = "Sprint"
3512
			change = 1.35
3513
			if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
3514
				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)
3515
				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)
3516
				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)
3517
         		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)
3518
				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)
3519
				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)
3520
			elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
3521
				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)
3522
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
3523
				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)
3524
				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)
3525
				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)
3526
				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)
3527
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
3528
				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)
3529
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3530
				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)
3531
				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)
3532
				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)
3533
				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)
3534
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
3535
				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)
3536
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
3537
				if math.random(1,1) == 1 then
3538
					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)
3539
					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)
3540
					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)
3541
					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)
3542
					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)
3543
				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)
3544
				end
3545
				for i, v in pairs(ArmourParts) do
3546
       			v.BrickColor = BrickColor.random()
3547
		    end
3548
				for i, v in pairs(ArmourParts2) do
3549
        	v.BrickColor = BrickColor.random()
3550
		 	end
3551
    			for i, v in pairs(NeonParts) do
3552
        	v.BrickColor = BrickColor.random()
3553
      		end
3554
				maincolor = BrickColor.random()
3555
				tecks2.TextColor3 = maincolor.Color
3556
				tecks2.TextStrokeColor3 = maincolor.Color
3557
				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)
3558
				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)
3559
				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)
3560
				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)
3561
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
3562
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15)
3563
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
3564
				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)
3565
				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)
3566
				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)
3567
				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)
3568
			end
3569
		end
3570
	end
3571
	if 0 < #Effects then
3572
		for e = 1, #Effects do
3573
			if Effects[e] ~= nil then
3574
				local Thing = Effects[e]
3575
				if Thing ~= nil then
3576
					local Part = Thing[1]
3577
					local Mode = Thing[2]
3578
					local Delay = Thing[3]
3579
					local IncX = Thing[4]
3580
					local IncY = Thing[5]
3581
					local IncZ = Thing[6]
3582
					if 1 >= Thing[1].Transparency then
3583
						if Thing[2] == "Block1" then
3584
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3585
							local Mesh = Thing[1].Mesh
3586
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3587
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3588
						elseif Thing[2] == "Block2" then
3589
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
3590
							local Mesh = Thing[7]
3591
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3592
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3593
						elseif Thing[2] == "Block3" then
3594
							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)
3595
							local Mesh = Thing[7]
3596
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3597
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3598
						elseif Thing[2] == "Cylinder" then
3599
							local Mesh = Thing[1].Mesh
3600
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3601
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3602
						elseif Thing[2] == "Blood" then
3603
							local Mesh = Thing[7]
3604
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
3605
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3606
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3607
						elseif Thing[2] == "Elec" then
3608
							local Mesh = Thing[1].Mesh
3609
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
3610
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3611
						elseif Thing[2] == "Disappear" then
3612
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3613
						elseif Thing[2] == "Shatter" then
3614
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3615
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
3616
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
3617
							Thing[6] = Thing[6] + Thing[5]
3618
						end
3619
					else
3620
						Part.Parent = nil
3621
						table.remove(Effects, e)
3622
					end
3623
				end
3624
			end
3625
		end
3626
	end
3627
end
3628
-------------------------------------------------------
3629
--End Animations And Script--
3630
-------------------------------------------------------