View difference between Paste ID: MC4ttSPq and hgSrkMZt
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,game,owner = owner,game
3
local RealPlayer = Player
4
do
5
	print("FE Compatibility code by Mokiros")
6
	local rp = RealPlayer
7
	script.Parent = rp.Character
8
	
9
	--RemoteEvent for communicating
10
	local Event = Instance.new("RemoteEvent")
11
	Event.Name = "UserInput_Event"
12
13
	--Fake event to make stuff like Mouse.KeyDown work
14
	local function fakeEvent()
15
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
16
		t.connect = t.Connect
17
		return t
18
	end
19
20
	--Creating fake input objects with fake variables
21
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
22
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
23
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25
	end}
26
	--Merged 2 functions into one by checking amount of arguments
27
	CAS.UnbindAction = CAS.BindAction
28
29
	--This function will trigger the events that have been :Connect()'ed
30
	local function te(self,ev,...)
31
		local t = m[ev]
32
		if t and t._fakeEvent then
33
			for _,f in pairs(t.Functions) do
34
				f(...)
35
			end
36
		end
37
	end
38
	m.TrigEvent = te
39
	UIS.TrigEvent = te
40
41
	Event.OnServerEvent:Connect(function(plr,io)
42
	    if plr~=rp then return end
43
		m.Target = io.Target
44
		m.Hit = io.Hit
45
		if not io.isMouse then
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local Mouse = Player:GetMouse()
66
	local UIS = game:GetService("UserInputService")
67
	local input = function(io,a)
68
		if a then return end
69
		--Since InputObject is a client-side instance, we create and pass table instead
70
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
71
	end
72
	UIS.InputBegan:Connect(input)
73
	UIS.InputEnded:Connect(input)
74
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
85
	----Sandboxed game object that allows the usage of client-side methods and services
86
	--Real game object
87
	local _rg = game
88
89
	--Metatable for fake service
90
	local fsmt = {
91
		__index = function(self,k)
92
			local s = rawget(self,"_RealService")
93
			if s then return s[k] end
94
		end,
95
		__newindex = function(self,k,v)
96
			local s = rawget(self,"_RealService")
97
			if s then s[k]=v end
98
		end,
99
		__call = function(self,...)
100
			local s = rawget(self,"_RealService")
101
			if s then return s(...) end
102
		end
103
	}
104
	local function FakeService(t,RealService)
105
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
106
		return setmetatable(t,fsmt)
107
	end
108
109
	--Fake game object
110
	local g = {
111
		GetService = function(self,s)
112
			return self[s]
113
		end,
114
		Players = FakeService({
115
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
116
		},"Players"),
117
		UserInputService = FakeService(UIS,"UserInputService"),
118
		ContextActionService = FakeService(CAS,"ContextActionService"),
119
	}
120
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
121
	g.service = g.GetService
122
	
123
	g.RunService = FakeService({
124
		RenderStepped = _rg:GetService("RunService").Heartbeat,
125
		BindToRenderStep = function(self,name,_,fun)
126
127
		end,
128
		UnbindFromRenderStep = function(self,name)
129
			self._btrs[name]:Disconnect()
130
		end,
131
	},"RunService")
132
133
	setmetatable(g,{
134
		__index=function(self,s)
135
			return _rg:GetService(s) or typeof(_rg[s])=="function"
136
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
137
		end,
138
		__newindex = fsmt.__newindex,
139
		__call = fsmt.__call
140
	})
141
	--Changing owner to fake player object to support owner:GetMouse()
142
	game,owner = g,g.Players.LocalPlayer
143
end
144
145
-----------------------
146
--[[ Name : RUIN VI]]--
147
-------------------------------------------------------
148
--A script By makhail07, 2003boobear and XXUNORIBOASXX.
149
150
--Discord Creterisk#2958 <- makhail07's discord
151
152
--NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
153
--IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
154
--DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
155
--YOU FUCKING SKIDS,
156
--For Those who log/decompile this, If you sell or trade this,
157
--and I find out who you are, i will take massive action.
158
--:b:
159
-------------------------------------------------------
160
161
local FavIDs = {
162
	340106355, --Nefl Crystals
163
	927529620, --Dimension
164
	876981900, --Fantasy
165
	398987889, --Ordinary Days
166
	1117396305, --Oh wait, it's you.
167
	885996042, --Action Winter Journey
168
	919231299, --Sprawling Idiot Effigy
169
	743466274, --Good Day Sunshine
170
	727411183, --Knife Fight
171
	1402748531, --The Earth Is Counting On You!
172
	595230126 --Robot Language
173
	}
174
175
vt = Vector3.new
176
177
178
--The reality of my life isn't real but a Universe -Creterisk
179
--All people can be nice, Even if you don't think so. -2003boobear
180
--The past can be horrible, but the future will be better, so forget the past and move-onward. -XXUNORIBOASXX
181
wait()
182
local plr = owner
183
local char = plr.Character
184
local hum = char.Humanoid
185
local hed = char.Head
186
local root = char.HumanoidRootPart
187
local rootj = root.RootJoint
188
local tors = char.Torso
189
local ra = char["Right Arm"]
190
local la = char["Left Arm"]
191
local rl = char["Right Leg"]
192
local ll = char["Left Leg"]
193
local neck = tors["Neck"]
194
local mouse = plr:GetMouse()
195
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
196
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
197
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
198
local maincolor = BrickColor.new("White")
199
local maincolor2 = Color3.new(255, 255, 255)
200
exploitable = true
201
-------------------------------------------------------
202
--Start Whitelist and Invincibility--
203
-------------------------------------------------------	
204
ff = Instance.new("ForceField",char)
205
ff.Visible = false
206
hum.Name = "Base"
207
hum.MaxHealth = 1.0E298
208
hum.Health = 1.0E298
209
game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
210
  if hum.Health > 0.1 and hum.Health < 1.0E298 then
211
    hum.MaxHealth = 1.0E298
212
    hum.Health = 1.0E298
213
  end
214
end)
215
-------------------------------------------------------
216
--End Whitelist and Invincibility--
217
-------------------------------------------------------	
218
219
warn("Credit to makhail07, 2003boobear and XXUNORIBOASXX and to saba1520 for making this changes")
220
221
-------------------------------------------------------
222
--Start Good Stuff--
223
-------------------------------------------------------
224
cam = game.Workspace.CurrentCamera
225
CF = CFrame.new
226
VT = Vector3.new
227
angles = CFrame.Angles
228
attack = false
229
Euler = CFrame.fromEulerAnglesXYZ
230
Rad = math.rad
231
IT = Instance.new
232
BrickC = BrickColor.new
233
Cos = math.cos
234
Acos = math.acos
235
Sin = math.sin
236
Asin = math.asin
237
Abs = math.abs
238
Mrandom = math.random
239
Floor = math.floor
240
-------------------------------------------------------
241
--End Good Stuff--
242
-------------------------------------------------------
243
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
244
RSH, LSH = nil, nil 
245
RW = Instance.new("Weld") 
246
LW = Instance.new("Weld")
247
RH = tors["Right Hip"]
248
LH = tors["Left Hip"]
249
RSH = tors["Right Shoulder"] 
250
LSH = tors["Left Shoulder"] 
251
RSH.Parent = nil 
252
LSH.Parent = nil 
253
RW.Name = "RW"
254
RW.Part0 = tors 
255
RW.C0 = CF(1.5, 0.5, 0)
256
RW.C1 = CF(0, 0.5, 0) 
257
RW.Part1 = ra
258
RW.Parent = tors 
259
LW.Name = "LW"
260
LW.Part0 = tors 
261
LW.C0 = CF(-1.5, 0.5, 0)
262
LW.C1 = CF(0, 0.5, 0) 
263
LW.Part1 = la
264
LW.Parent = tors
265
Effects = {}
266
-------------------------------------------------------
267
--Start HeartBeat--
268
-------------------------------------------------------
269
ArtificialHB = Instance.new("BindableEvent", script)
270
ArtificialHB.Name = "Heartbeat"
271
script:WaitForChild("Heartbeat")
272
273
frame = 1 / 60
274
tf = 0
275
allowframeloss = false
276
tossremainder = false
277
278
279
lastframe = tick()
280
script.Heartbeat:Fire()
281
282
283
game:GetService("RunService").Heartbeat:connect(function(s, p)
284
	tf = tf + s
285
	if tf >= frame then
286
		if allowframeloss then
287
			script.Heartbeat:Fire()
288
			lastframe = tick()
289
		else
290
			for i = 1, math.floor(tf / frame) do
291
				script.Heartbeat:Fire()
292
			end
293
			lastframe = tick()
294
		end
295
		if tossremainder then
296
			tf = 0
297
		else
298
			tf = tf - frame * math.floor(tf / frame)
299
		end
300
	end
301
end)
302
-------------------------------------------------------
303
--End HeartBeat--
304
-------------------------------------------------------
305
306
TAUNT = Instance.new("Sound", tors)
307
TAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994137"
308
TAUNT.Volume = 10
309
TAUNT.Pitch = 1
310
TAUNT.Looped = false
311
TAUNT.TimePosition = 0.12
312
313
BTAUNT = Instance.new("Sound", tors)
314
BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1535995263"
315
BTAUNT.Volume = 10
316
BTAUNT.Pitch = 1
317
BTAUNT.Looped = false
318
BTAUNT.TimePosition = 0.2
319
320
ITAUNT = Instance.new("Sound", tors)
321
ITAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994669"
322
ITAUNT.Volume = 10
323
ITAUNT.Pitch = 1
324
ITAUNT.Looped = false
325
ITAUNT.TimePosition = 0
326
327
BATAUNT = Instance.new("Sound", tors)
328
BATAUNT.SoundId = "http://www.roblox.com/asset/?id=132514715"
329
BATAUNT.Volume = 10
330
BATAUNT.Pitch = 1
331
BATAUNT.Looped = false
332
BATAUNT.TimePosition = 0
333
334
STAUNT2 = Instance.new("Sound", tors)
335
STAUNT2.SoundId = "http://www.roblox.com/asset/?id=132392118"
336
STAUNT2.Volume = 10
337
STAUNT2.Pitch = 0.8
338
STAUNT2.Looped = false
339
STAUNT2.TimePosition = 0.05
340
341
STAUNT = Instance.new("Sound", tors)
342
STAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994940"
343
STAUNT.Volume = 10
344
STAUNT.Pitch = 1
345
STAUNT.Looped = false
346
STAUNT.TimePosition = 0.05
347
348
DTAUNT = Instance.new("Sound", tors)
349
DTAUNT.SoundId = "http://www.roblox.com/asset/?id=907333294"
350
DTAUNT.Volume = 10
351
DTAUNT.Pitch = 1
352
DTAUNT.Looped = false
353
DTAUNT.TimePosition = 0
354
355
LAZOR = Instance.new("Sound", ra)
356
LAZOR.SoundId = "http://www.roblox.com/asset/?id=201858045"
357
LAZOR.Volume = 10
358
LAZOR.Pitch = 0.7
359
LAZOR.Looped = false
360
LAZOR.TimePosition = 0
361
362
-------------------------------------------------------
363
--Start Important Functions--
364
-------------------------------------------------------
365
function swait(num)
366
	if num == 0 or num == nil then
367
		game:service("RunService").Stepped:wait(0)
368
	else
369
		for i = 0, num do
370
			game:service("RunService").Stepped:wait(0)
371
		end
372
	end
373
end
374
function thread(f)
375
	coroutine.resume(coroutine.create(f))
376
end
377
function clerp(a, b, t)
378
	local qa = {
379
		QuaternionFromCFrame(a)
380
	}
381
	local qb = {
382
		QuaternionFromCFrame(b)
383
	}
384
	local ax, ay, az = a.x, a.y, a.z
385
	local bx, by, bz = b.x, b.y, b.z
386
	local _t = 1 - t
387
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
388
end
389
function ShockWave(Part, cframe1, cframe2, Damage, Size)
390
	coroutine.resume(coroutine.create(function() 
391
		local wave = CreatePart(workspace, "Neon", 0, 0, Neoncolor, "Effect", Vector3.new(1, 1, 5))
392
		wave.Anchored = true 
393
		wave.CFrame = Part.CFrame * cframe1
394
		local Msh = Create("SpecialMesh"){
395
			Parent = wave,
396
			MeshType = "Sphere"
397
		}
398
		Cso("http://roblox.com/asset/?id=300916105", wave, 1, 1.3)
399
		for i = 0, 1, 0.2 do
400
			wait()
401
			local dir = wave.CFrame.lookVector * -1
402
			local pos = rayCast(wave.Position, dir, 5, Character)
403
			wave.CFrame = wave.CFrame * cframe2
404
                        table.insert(Effects, {
405
                                wave,
406
                                "Sphere",
407
                                0.01,
408
                                .03,
409
                                .03,
410
                                .03,
411
                        })
412
		end
413
	end))
414
end
415
416
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
417
local type = type
418
local rng = Instance.new("Part", char)
419
        rng.Anchored = true
420
        rng.BrickColor = color
421
        rng.CanCollide = false
422
        rng.FormFactor = 3
423
        rng.Name = "Ring"
424
        rng.Material = "Neon"
425
        rng.Size = Vector3.new(1, 1, 1)
426
        rng.Transparency = 0
427
        rng.TopSurface = 0
428
        rng.BottomSurface = 0
429
        rng.CFrame = pos
430
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
431
        local rngm = Instance.new("SpecialMesh", rng)
432
        rngm.MeshType = "Brick"
433
rngm.Scale = VT(x1,y1,z1)
434
if rainbowmode == true then
435
rng.Color = Color3.new(r/255,g/255,b/255)
436
end
437
local scaler2 = 1
438
local speeder = FastSpeed/10
439
if type == "Add" then
440
scaler2 = 1*value
441
elseif type == "Divide" then
442
scaler2 = 1/value
443
end
444
coroutine.resume(coroutine.create(function()
445
for i = 0,10/bonuspeed,0.1 do
446
swait()
447
if type == "Add" then
448
scaler2 = scaler2 - 0.01*value/bonuspeed
449
elseif type == "Divide" then
450
scaler2 = scaler2 - 0.01/value*bonuspeed
451
end
452
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
453
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
454
rng.Transparency = rng.Transparency + 0.01*bonuspeed
455
end
456
rng:Destroy()
457
end))
458
end
459
New = function(Object, Parent, Name, Data)
460
	local Object = Instance.new(Object)
461
	for Index, Value in pairs(Data or {}) do
462
		Object[Index] = Value
463
	end
464
	Object.Parent = Parent
465
	Object.Name = Name
466
	return Object
467
end
468
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
469
local type = type
470
local rotenable = rotatingop
471
local rng = Instance.new("Part", char)
472
        rng.Anchored = true
473
        rng.BrickColor = color
474
        rng.CanCollide = false
475
        rng.FormFactor = 3
476
        rng.Name = "Ring"
477
        rng.Material = "Neon"
478
        rng.Size = Vector3.new(1, 1, 1)
479
        rng.Transparency = 0
480
if typeoftrans == "In" then
481
rng.Transparency = 1
482
end
483
        rng.TopSurface = 0
484
        rng.BottomSurface = 0
485
        rng.CFrame = pos
486
        local rngm = Instance.new("SpecialMesh", rng)
487
        rngm.MeshType = "FileMesh"
488
if typeofshape == "Normal" then
489
rngm.MeshId = "rbxassetid://662586858"
490
elseif typeofshape == "Round" then
491
rngm.MeshId = "rbxassetid://662585058"
492
end
493
rngm.Scale = scale
494
local scaler2 = 1/10
495
if type == "Add" then
496
scaler2 = 1*value/10
497
elseif type == "Divide" then
498
scaler2 = 1/value/10
499
end
500
local randomrot = math.random(1,2)
501
coroutine.resume(coroutine.create(function()
502
for i = 0,10/bonuspeed,0.1 do
503
swait()
504
if type == "Add" then
505
scaler2 = scaler2 - 0.01*value/bonuspeed/10
506
elseif type == "Divide" then
507
scaler2 = scaler2 - 0.01/value*bonuspeed/10
508
end
509
if rotenable == true then
510
if randomrot == 1 then
511
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
512
elseif randomrot == 2 then
513
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
514
end
515
end
516
if typeoftrans == "Out" then
517
rng.Transparency = rng.Transparency + 0.01*bonuspeed
518
elseif typeoftrans == "In" then
519
rng.Transparency = rng.Transparency - 0.01*bonuspeed
520
end
521
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
522
end
523
rng:Destroy()
524
end))
525
end
526
function QuaternionFromCFrame(cf)
527
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
528
	local trace = m00 + m11 + m22
529
	if trace > 0 then
530
		local s = math.sqrt(1 + trace)
531
		local recip = 0.5 / s
532
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
533
	else
534
		local i = 0
535
		if m00 < m11 then
536
			i = 1
537
		end
538
		if m22 > (i == 0 and m00 or m11) then
539
			i = 2
540
		end
541
		if i == 0 then
542
			local s = math.sqrt(m00 - m11 - m22 + 1)
543
			local recip = 0.5 / s
544
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
545
		elseif i == 1 then
546
			local s = math.sqrt(m11 - m22 - m00 + 1)
547
			local recip = 0.5 / s
548
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
549
		elseif i == 2 then
550
			local s = math.sqrt(m22 - m00 - m11 + 1)
551
			local recip = 0.5 / s
552
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
553
		end
554
	end
555
end
556
function QuaternionToCFrame(px, py, pz, x, y, z, w)
557
	local xs, ys, zs = x + x, y + y, z + z
558
	local wx, wy, wz = w * xs, w * ys, w * zs
559
	local xx = x * xs
560
	local xy = x * ys
561
	local xz = x * zs
562
	local yy = y * ys
563
	local yz = y * zs
564
	local zz = z * zs
565
	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))
566
end
567
function QuaternionSlerp(a, b, t)
568
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
569
	local startInterp, finishInterp
570
	if cosTheta >= 1.0E-4 then
571
		if 1 - cosTheta > 1.0E-4 then
572
			local theta = math.acos(cosTheta)
573
			local invSinTheta = 1 / Sin(theta)
574
			startInterp = Sin((1 - t) * theta) * invSinTheta
575
			finishInterp = Sin(t * theta) * invSinTheta
576
		else
577
			startInterp = 1 - t
578
			finishInterp = t
579
		end
580
	elseif 1 + cosTheta > 1.0E-4 then
581
		local theta = math.acos(-cosTheta)
582
		local invSinTheta = 1 / Sin(theta)
583
		startInterp = Sin((t - 1) * theta) * invSinTheta
584
		finishInterp = Sin(t * theta) * invSinTheta
585
	else
586
		startInterp = t - 1
587
		finishInterp = t
588
	end
589
	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
590
end
591
function rayCast(Position, Direction, Range, Ignore)
592
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
593
end
594
local RbxUtility = LoadLibrary("RbxUtility")
595
local Create = RbxUtility.Create
596
597
-------------------------------------------------------
598
--Start Damage Function--
599
-------------------------------------------------------
600
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
601
    if hit.Parent == nil then
602
        return
603
    end
604
    local h = hit.Parent:FindFirstChildOfClass("Humanoid")
605
    for _, v in pairs(hit.Parent:children()) do
606
        if v:IsA("Humanoid") then
607
            h = v
608
        end
609
    end
610
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
611
   
612
         hit.Parent:FindFirstChild("Head"):BreakJoints()
613
         end
614
 
615
    if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
616
        if hit.Parent:findFirstChild("DebounceHit") ~= nil then
617
            if hit.Parent.DebounceHit.Value == true then
618
                return
619
            end
620
        end
621
         if insta == true then
622
         hit.Parent:FindFirstChild("Head"):BreakJoints()
623
         end
624
        local c = Create("ObjectValue"){
625
            Name = "creator",
626
            Value = owner,
627
            Parent = h,
628
        }
629
        game:GetService("Debris"):AddItem(c, .5)
630
        if HitSound ~= nil and HitPitch ~= nil then
631
            CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
632
        end
633
        local Damage = math.random(minim, maxim)
634
        local blocked = false
635
        local block = hit.Parent:findFirstChild("Block")
636
        if block ~= nil then
637
            if block.className == "IntValue" then
638
                if block.Value > 0 then
639
                    blocked = true
640
                    block.Value = block.Value - 1
641
                    print(block.Value)
642
                end
643
            end
644
        end
645
        if blocked == false then
646
            h.Health = h.Health - Damage
647
            ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
648
        else
649
            h.Health = h.Health - (Damage / 2)
650
            ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
651
        end
652
        if Type == "Knockdown" then
653
            local hum = hit.Parent.Humanoid
654
            hum.PlatformStand = true
655
            coroutine.resume(coroutine.create(function(HHumanoid)
656
                swait(1)
657
                HHumanoid.PlatformStand = false
658
            end), hum)
659
            local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
660
            local bodvol = Create("BodyVelocity"){
661
                velocity = angle * knockback,
662
                P = 5000,
663
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
664
                Parent = hit,
665
            }
666
            local rl = Create("BodyAngularVelocity"){
667
                P = 3000,
668
                maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
669
                angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
670
                Parent = hit,
671
            }
672
            game:GetService("Debris"):AddItem(bodvol, .5)
673
            game:GetService("Debris"):AddItem(rl, .5)
674
        elseif Type == "Random Guy" then
675
            local vp = Create("BodyVelocity"){
676
                P = 500,
677
                maxForce = Vector3.new(math.huge, 0, math.huge),
678
                velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
679
            }
680
            if knockback > 0 then
681
                vp.Parent = hit.Parent.Torso
682
            end
683
            game:GetService("Debris"):AddItem(vp, .5)
684
        elseif Type == "Up" then
685
            local bodyVelocity = Create("BodyVelocity"){
686
                velocity = Vector3.new(0, 20, 0),
687
                P = 5000,
688
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
689
                Parent = hit,
690
            }
691
            game:GetService("Debris"):AddItem(bodyVelocity, .5)
692
        elseif Type == "DarkUp" then
693
            coroutine.resume(coroutine.create(function()
694
                for i = 0, 1, 0.1 do
695
                    swait()
696
                    Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
697
                end
698
            end))
699
            local bodyVelocity = Create("BodyVelocity"){
700
                velocity = Vector3.new(0, 20, 0),
701
                P = 5000,
702
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
703
                Parent = hit,
704
            }
705
            game:GetService("Debris"):AddItem(bodyVelocity, 1)
706
        elseif Type == "Snare" then
707
            local bp = Create("BodyPosition"){
708
                P = 2000,
709
                D = 100,
710
                maxForce = Vector3.new(math.huge, math.huge, math.huge),
711
                position = hit.Parent.Torso.Position,
712
                Parent = hit.Parent.Torso,
713
            }
714
            game:GetService("Debris"):AddItem(bp, 1)
715
        elseif Type == "Freeze" then
716
            local BodPos = Create("BodyPosition"){
717
                P = 50000,
718
                D = 1000,
719
                maxForce = Vector3.new(math.huge, math.huge, math.huge),
720
                position = hit.Parent.Torso.Position,
721
                Parent = hit.Parent.Torso,
722
            }
723
            local BodGy = Create("BodyGyro") {
724
                maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
725
                P = 20e+003,
726
                Parent = hit.Parent.Torso,
727
                cframe = hit.Parent.Torso.CFrame,
728
            }
729
            hit.Parent.Torso.Anchored = true
730
            coroutine.resume(coroutine.create(function(Part)
731
                swait(1.5)
732
                Part.Anchored = false
733
            end), hit.Parent.Torso)
734
            game:GetService("Debris"):AddItem(BodPos, 3)
735
            game:GetService("Debris"):AddItem(BodGy, 3)
736
        end
737
        local debounce = Create("BoolValue"){
738
            Name = "DebounceHit",
739
            Parent = hit.Parent,
740
            Value = true,
741
        }
742
        game:GetService("Debris"):AddItem(debounce, Delay)
743
        c = Create("ObjectValue"){
744
            Name = "creator",
745
            Value = Player,
746
            Parent = h,
747
        }
748
        game:GetService("Debris"):AddItem(c, .5)
749
    end
750
end
751
-------------------------------------------------------
752
--End Damage Function--
753
-------------------------------------------------------
754
local DColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,0,0)),
755
ColorSequenceKeypoint.new(0.16, Color3.new(1,0,0)),
756
ColorSequenceKeypoint.new(0.32, Color3.new(1,0,0)),
757
ColorSequenceKeypoint.new(0.48, Color3.new(1,0,0)),
758
ColorSequenceKeypoint.new(0.64, Color3.new(1,0,0)),
759
ColorSequenceKeypoint.new(0.80, Color3.new(0,0,0)),
760
ColorSequenceKeypoint.new(0.96, Color3.new(0,0,0)),
761
ColorSequenceKeypoint.new(1, Color3.new(0,0,0))}
762
local DAtch3 = Instance.new("Attachment",ll)DAtch3.Position = Vector3.new(0,1.1,0)
763
local DAtch4 = Instance.new("Attachment",ll)DAtch4.Position = Vector3.new(0,-0.6,0)
764
local DTrail2 = Instance.new("Trail",ll)DTrail2.Attachment0 = DAtch3 DTrail2.Attachment1 = DAtch4
765
DTrail2.Texture = "rbxassetid://22636887" DTrail2.Lifetime = 0.2 DTrail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
766
DTrail2.Color = ColorSequence.new(DColorsArray) DTrail2.LightEmission = 1
767
DTrail2.Enabled = false
768
local DAtch5 = Instance.new("Attachment",rl)DAtch5.Position = Vector3.new(0,1.1,0)
769
local DAtch6 = Instance.new("Attachment",rl)DAtch6.Position = Vector3.new(0,-0.6,0)
770
local DTrail3 = Instance.new("Trail",rl)DTrail3.Attachment0 = DAtch5 DTrail3.Attachment1 = DAtch6
771
DTrail3.Texture = "rbxassetid://22636887" DTrail3.Lifetime = 0.2 DTrail3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
772
DTrail3.Color = ColorSequence.new(DColorsArray) DTrail3.LightEmission = 1
773
DTrail3.Enabled = false
774
local DAtch7 = Instance.new("Attachment",ra)DAtch7.Position = Vector3.new(0,1.1,0)
775
local DAtch8 = Instance.new("Attachment",ra)DAtch8.Position = Vector3.new(0,-0.6,0)
776
local DTrail4 = Instance.new("Trail",ra)DTrail4.Attachment0 = DAtch7 DTrail4.Attachment1 = DAtch8
777
DTrail4.Texture = "rbxassetid://22636887" DTrail4.Lifetime = 0.2 DTrail4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
778
DTrail4.Color = ColorSequence.new(DColorsArray) DTrail4.LightEmission = 1
779
DTrail4.Enabled = false
780
local DAtch9 = Instance.new("Attachment",la)DAtch9.Position = Vector3.new(0,1.1,0)
781
local DAtch10 = Instance.new("Attachment",la)DAtch10.Position = Vector3.new(0,-0.6,0)
782
local DTrail5 = Instance.new("Trail",la)DTrail5.Attachment0 = DAtch9 DTrail5.Attachment1 = DAtch10
783
DTrail5.Texture = "rbxassetid://22636887" DTrail5.Lifetime = 0.2 DTrail5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
784
DTrail5.Color = ColorSequence.new(DColorsArray) DTrail5.LightEmission = 1
785
DTrail5.Enabled = false
786
local DAtch1 = Instance.new("Attachment",Torso)DAtch1.Position = Vector3.new(0,1.1,0)
787
local DAtch2 = Instance.new("Attachment",Torso)DAtch2.Position = Vector3.new(0,-2.5,0)
788
local DTrail = Instance.new("Trail",Torso)DTrail.Attachment0 = DAtch1 DTrail.Attachment1 = DAtch2
789
DTrail.Texture = "rbxassetid://22636887" DTrail.Lifetime = 0.2 DTrail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
790
DTrail.Color = ColorSequence.new(DColorsArray) DTrail.LightEmission = 1
791
DTrail.Enabled = false
792
-------------------------------------------------------
793
--Start Damage Function Customization--
794
-------------------------------------------------------
795
function ShowDamage(Pos, Text, Time, Color)
796
	local Rate = (1 / 30)
797
	local Pos = (Pos or Vector3.new(0, 0, 0))
798
	local Text = (Text or "")
799
	local Time = (Time or 2)
800
	local Color = (Color or Color3.new(1, 0, 1))
801
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
802
	EffectPart.Anchored = true
803
	local BillboardGui = Create("BillboardGui"){
804
		Size = UDim2.new(3, 0, 3, 0),
805
		Adornee = EffectPart,
806
		Parent = EffectPart,
807
	}
808
	local TextLabel = Create("TextLabel"){
809
		BackgroundTransparency = 1,
810
		Size = UDim2.new(1, 0, 1, 0),
811
		Text = Text,
812
		Font = "Bodoni",
813
		TextColor3 = Color,
814
		TextScaled = true,
815
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
816
		Parent = BillboardGui,
817
	}
818
	game.Debris:AddItem(EffectPart, (Time))
819
	EffectPart.Parent = game:GetService("Workspace")
820
	delay(0, function()
821
		local Frames = (Time / Rate)
822
		for Frame = 1, Frames do
823
			wait(Rate)
824
			local Percent = (Frame / Frames)
825
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
826
			TextLabel.TextTransparency = Percent
827
		end
828
		if EffectPart and EffectPart.Parent then
829
			EffectPart:Destroy()
830
		end
831
	end)
832
end
833
-------------------------------------------------------
834
--End Damage Function Customization--
835
-------------------------------------------------------
836
837
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
838
  for _, c in pairs(workspace:children()) do
839
    local hum = c:findFirstChild("Humanoid")
840
    if hum ~= nil then
841
      local head = c:findFirstChild("Head")
842
      if head ~= nil then
843
        local targ = head.Position - Part.Position
844
        local mag = targ.magnitude
845
        if magni >= mag and c.Name ~= Player.Name then
846
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
847
        end
848
      end
849
    end
850
  end
851
end
852
853
854
CFuncs = {
855
	Part = {
856
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
857
			local Part = Create("Part")({
858
				Parent = Parent,
859
				Reflectance = Reflectance,
860
				Transparency = Transparency,
861
				CanCollide = false,
862
				Locked = true,
863
				BrickColor = BrickColor.new(tostring(BColor)),
864
				Name = Name,
865
				Size = Size,
866
				Material = Material
867
			})
868
			RemoveOutlines(Part)
869
			return Part
870
		end
871
	},
872
	Mesh = {
873
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
874
			local Msh = Create(Mesh)({
875
				Parent = Part,
876
				Offset = OffSet,
877
				Scale = Scale
878
			})
879
			if Mesh == "SpecialMesh" then
880
				Msh.MeshType = MeshType
881
				Msh.MeshId = MeshId
882
			end
883
			return Msh
884
		end
885
	},
886
	Mesh = {
887
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
888
			local Msh = Create(Mesh)({
889
				Parent = Part,
890
				Offset = OffSet,
891
				Scale = Scale
892
			})
893
			if Mesh == "SpecialMesh" then
894
				Msh.MeshType = MeshType
895
				Msh.MeshId = MeshId
896
			end
897
			return Msh
898
		end
899
	},
900
	Weld = {
901
		Create = function(Parent, Part0, Part1, C0, C1)
902
			local Weld = Create("Weld")({
903
				Parent = Parent,
904
				Part0 = Part0,
905
				Part1 = Part1,
906
				C0 = C0,
907
				C1 = C1
908
			})
909
			return Weld
910
		end
911
	},
912
	Sound = {
913
		Create = function(id, par, vol, pit)
914
			coroutine.resume(coroutine.create(function()
915
				local S = Create("Sound")({
916
					Volume = vol,
917
					Pitch = pit or 1,
918
					SoundId = id,
919
					Parent = par or workspace
920
				})
921
				wait()
922
				S:play()
923
				game:GetService("Debris"):AddItem(S, 6)
924
			end))
925
		end
926
	},
927
	ParticleEmitter = {
928
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
929
			local fp = Create("ParticleEmitter")({
930
				Parent = Parent,
931
				Color = ColorSequence.new(Color1, Color2),
932
				LightEmission = LightEmission,
933
				Size = Size,
934
				Texture = Texture,
935
				Transparency = Transparency,
936
				ZOffset = ZOffset,
937
				Acceleration = Accel,
938
				Drag = Drag,
939
				LockedToPart = LockedToPart,
940
				VelocityInheritance = VelocityInheritance,
941
				EmissionDirection = EmissionDirection,
942
				Enabled = Enabled,
943
				Lifetime = LifeTime,
944
				Rate = Rate,
945
				Rotation = Rotation,
946
				RotSpeed = RotSpeed,
947
				Speed = Speed,
948
				VelocitySpread = VelocitySpread
949
			})
950
			return fp
951
		end
952
	}
953
}
954
function RemoveOutlines(part)
955
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
956
end
957
function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
958
	local Part = Create("Part")({
959
		formFactor = FormFactor,
960
		Parent = Parent,
961
		Reflectance = Reflectance,
962
		Transparency = Transparency,
963
		CanCollide = false,
964
		Locked = true,
965
		BrickColor = BrickColor.new(tostring(BColor)),
966
		Name = Name,
967
		Size = Size,
968
		Material = Material
969
	})
970
	RemoveOutlines(Part)
971
	return Part
972
end
973
function CreateMesh1(Mesh, Part, MeshType, MeshId, OffSet, Scale)
974
	local Msh = Create(Mesh)({
975
		Parent = Part,
976
		Offset = OffSet,
977
		Scale = Scale
978
	})
979
	if Mesh == "SpecialMesh" then
980
		Msh.MeshType = MeshType
981
		Msh.MeshId = MeshId
982
	end
983
	return Msh
984
end
985
function CreateWeld(Parent, Part0, Part1, C0, C1)
986
	local Weld = Create("Weld")({
987
		Parent = Parent,
988
		Part0 = Part0,
989
		Part1 = Part1,
990
		C0 = C0,
991
		C1 = C1
992
	})
993
	return Weld
994
end
995
996
997
-------------------------------------------------------
998
--Start Effect Function--
999
-------------------------------------------------------
1000
EffectModel = Instance.new("Model", char)
1001
Effects = {
1002
  Block = {
1003
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1004
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1005
      prt.Anchored = true
1006
      prt.CFrame = cframe
1007
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1008
      game:GetService("Debris"):AddItem(prt, 10)
1009
      if Type == 1 or Type == nil then
1010
        table.insert(Effects, {
1011
          prt,
1012
          "Block1",
1013
          delay,
1014
          x3,
1015
          y3,
1016
          z3,
1017
          msh
1018
        })
1019
      elseif Type == 2 then
1020
        table.insert(Effects, {
1021
          prt,
1022
          "Block2",
1023
          delay,
1024
          x3,
1025
          y3,
1026
          z3,
1027
          msh
1028
        })
1029
      else
1030
        table.insert(Effects, {
1031
          prt,
1032
          "Block3",
1033
          delay,
1034
          x3,
1035
          y3,
1036
          z3,
1037
          msh
1038
        })
1039
      end
1040
    end
1041
  },
1042
  Sphere = {
1043
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1044
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1045
      prt.Anchored = true
1046
      prt.CFrame = cframe
1047
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1048
      game:GetService("Debris"):AddItem(prt, 10)
1049
      table.insert(Effects, {
1050
        prt,
1051
        "Cylinder",
1052
        delay,
1053
        x3,
1054
        y3,
1055
        z3,
1056
        msh
1057
      })
1058
    end
1059
  },
1060
  Cylinder = {
1061
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1062
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1063
      prt.Anchored = true
1064
      prt.CFrame = cframe
1065
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1066
      game:GetService("Debris"):AddItem(prt, 10)
1067
      table.insert(Effects, {
1068
        prt,
1069
        "Cylinder",
1070
        delay,
1071
        x3,
1072
        y3,
1073
        z3,
1074
        msh
1075
      })
1076
    end
1077
  },
1078
  Wave = {
1079
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1080
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1081
      prt.Anchored = true
1082
      prt.CFrame = cframe
1083
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
1084
      game:GetService("Debris"):AddItem(prt, 10)
1085
      table.insert(Effects, {
1086
        prt,
1087
        "Cylinder",
1088
        delay,
1089
        x3 / 60,
1090
        y3 / 60,
1091
        z3 / 60,
1092
        msh
1093
      })
1094
    end
1095
  },
1096
  Ring = {
1097
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1098
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1099
      prt.Anchored = true
1100
      prt.CFrame = cframe
1101
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1102
      game:GetService("Debris"):AddItem(prt, 10)
1103
      table.insert(Effects, {
1104
        prt,
1105
        "Cylinder",
1106
        delay,
1107
        x3,
1108
        y3,
1109
        z3,
1110
        msh
1111
      })
1112
    end
1113
  },
1114
  Break = {
1115
    Create = function(brickcolor, cframe, x1, y1, z1)
1116
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1117
      prt.Anchored = true
1118
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1119
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1120
      local num = math.random(10, 50) / 1000
1121
      game:GetService("Debris"):AddItem(prt, 10)
1122
      table.insert(Effects, {
1123
        prt,
1124
        "Shatter",
1125
        num,
1126
        prt.CFrame,
1127
        math.random() - math.random(),
1128
        0,
1129
        math.random(50, 100) / 100
1130
      })
1131
    end
1132
  },
1133
Spiral = {
1134
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1135
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1136
      prt.Anchored = true
1137
      prt.CFrame = cframe
1138
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1139
      game:GetService("Debris"):AddItem(prt, 10)
1140
      table.insert(Effects, {
1141
        prt,
1142
        "Cylinder",
1143
        delay,
1144
        x3,
1145
        y3,
1146
        z3,
1147
        msh
1148
      })
1149
    end
1150
  },
1151
Push = {
1152
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1153
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1154
      prt.Anchored = true
1155
      prt.CFrame = cframe
1156
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1157
      game:GetService("Debris"):AddItem(prt, 10)
1158
      table.insert(Effects, {
1159
        prt,
1160
        "Cylinder",
1161
        delay,
1162
        x3,
1163
        y3,
1164
        z3,
1165
        msh
1166
      })
1167
    end
1168
  }
1169
}
1170
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
1171
	local fp = IT("Part")
1172
	fp.formFactor = formfactor 
1173
	fp.Parent = parent
1174
	fp.Reflectance = reflectance
1175
	fp.Transparency = transparency
1176
	fp.CanCollide = false 
1177
	fp.Locked = true
1178
	fp.BrickColor = brickcolor
1179
	fp.Name = name
1180
	fp.Size = size
1181
	fp.Position = tors.Position 
1182
	RemoveOutlines(fp)
1183
	fp.Material = "SmoothPlastic"
1184
	fp:BreakJoints()
1185
	return fp 
1186
end 
1187
 
1188
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1189
	local mesh = IT(Mesh) 
1190
	mesh.Parent = part
1191
	if Mesh == "SpecialMesh" then
1192
		mesh.MeshType = meshtype
1193
	if meshid ~= "nil" then
1194
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
1195
		end
1196
	end
1197
	mesh.Offset = offset
1198
	mesh.Scale = scale
1199
	return mesh
1200
end
1201
1202
function MagicCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1203
	local type = type
1204
	local rng = Instance.new("Part", char)
1205
	rng.Anchored = true
1206
	rng.BrickColor = color
1207
	rng.CanCollide = false
1208
	rng.FormFactor = 3
1209
	rng.Name = "Ring"
1210
	rng.Material = "Neon"
1211
	rng.Size = Vector3.new(1, 1, 1)
1212
	rng.Transparency = 1
1213
	rng.TopSurface = 0
1214
	rng.BottomSurface = 0
1215
	rng.CFrame = pos
1216
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1217
	local rngm = Instance.new("SpecialMesh", rng)
1218
	rngm.MeshType = MType
1219
	rngm.Scale = Vector3.new(x1, y1, z1)
1220
	local scaler2 = 1
1221
	local speeder = FastSpeed
1222
	if type == "Add" then
1223
		scaler2 = 1 * value
1224
	elseif type == "Divide" then
1225
		scaler2 = 1 / value
1226
	end
1227
	coroutine.resume(coroutine.create(function()
1228
		for i = 0, 10 / bonuspeed, 0.1 do
1229
			swait()
1230
			if type == "Add" then
1231
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1232
			elseif type == "Divide" then
1233
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1234
			end
1235
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1236
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1237
			rng.Transparency = rng.Transparency - 0.01 * bonuspeed
1238
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1239
		end
1240
		rng:Destroy()
1241
	end))
1242
end
1243
1244
function Magic(bonuspeed, type, pos, scale, value, color, MType)
1245
	local type = type
1246
	local rng = Instance.new("Part", char)
1247
	rng.Anchored = true
1248
	rng.BrickColor = color
1249
	rng.CanCollide = false
1250
	rng.FormFactor = 3
1251
	rng.Name = "Ring"
1252
	rng.Material = "Neon"
1253
	rng.Size = Vector3.new(1, 1, 1)
1254
	rng.Transparency = 0
1255
	rng.TopSurface = 0
1256
	rng.BottomSurface = 0
1257
	rng.CFrame = pos
1258
	local rngm = Instance.new("SpecialMesh", rng)
1259
	rngm.MeshType = MType
1260
	rngm.Scale = scale
1261
	local scaler2 = 1
1262
	if type == "Add" then
1263
		scaler2 = 1 * value
1264
	elseif type == "Divide" then
1265
		scaler2 = 1 / value
1266
	end
1267
	coroutine.resume(coroutine.create(function()
1268
		for i = 0, 10 / bonuspeed, 0.1 do
1269
			swait()
1270
			if type == "Add" then
1271
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1272
			elseif type == "Divide" then
1273
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1274
			end
1275
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1276
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
1277
		end
1278
		rng:Destroy()
1279
	end))
1280
end
1281
1282
function Eviscerate(dude)
1283
	if dude.Name ~= char then
1284
		local bgf = IT("BodyGyro", dude.Head)
1285
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1286
		local val = IT("BoolValue", dude)
1287
		val.Name = "IsHit"
1288
		local ds = coroutine.wrap(function()
1289
			dude:WaitForChild("Head"):BreakJoints()
1290
			wait(0.5)
1291
			target = nil
1292
			coroutine.resume(coroutine.create(function()
1293
				for i, v in pairs(dude:GetChildren()) do
1294
					if v:IsA("Accessory") then
1295
						v:Destroy()
1296
					end
1297
					if v:IsA("Humanoid") then
1298
						v:Destroy()
1299
					end
1300
					if v:IsA("CharacterMesh") then
1301
						v:Destroy()
1302
					end
1303
					if v:IsA("Model") then
1304
						v:Destroy()
1305
					end
1306
					if v:IsA("Part") or v:IsA("MeshPart") then
1307
						for x, o in pairs(v:GetChildren()) do
1308
							if o:IsA("Decal") then
1309
								o:Destroy()
1310
							end
1311
						end
1312
						coroutine.resume(coroutine.create(function()
1313
							v.Material = "Neon"
1314
							v.CanCollide = false
1315
							local PartEmmit1 = IT("ParticleEmitter", v)
1316
							PartEmmit1.LightEmission = 1
1317
							PartEmmit1.Texture = "rbxassetid://284205403"
1318
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1319
							PartEmmit1.Rate = 150
1320
							PartEmmit1.Lifetime = NumberRange.new(1)
1321
							PartEmmit1.Size = NumberSequence.new({
1322
								NumberSequenceKeypoint.new(0, 0.75, 0),
1323
								NumberSequenceKeypoint.new(1, 0, 0)
1324
							})
1325
							PartEmmit1.Transparency = NumberSequence.new({
1326
								NumberSequenceKeypoint.new(0, 0, 0),
1327
								NumberSequenceKeypoint.new(1, 1, 0)
1328
							})
1329
							PartEmmit1.Speed = NumberRange.new(0, 0)
1330
							PartEmmit1.VelocitySpread = 30000
1331
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1332
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1333
							local BodPoss = IT("BodyPosition", v)
1334
							BodPoss.P = 3000
1335
							BodPoss.D = 1000
1336
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1337
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1338
							v.Color = maincolor.Color
1339
							coroutine.resume(coroutine.create(function()
1340
								for i = 0, 49 do
1341
									swait(1)
1342
									v.Transparency = v.Transparency + 0.08
1343
								end
1344
								wait(0.5)
1345
								PartEmmit1.Enabled = false
1346
								wait(3)
1347
								v:Destroy()
1348
								dude:Destroy()
1349
							end))
1350
						end))
1351
					end
1352
				end
1353
			end))
1354
		end)
1355
		ds()
1356
	end
1357
end
1358
1359
function FindNearestHead(Position, Distance, SinglePlayer)
1360
	if SinglePlayer then
1361
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1362
	end
1363
	local List = {}
1364
	for i, v in pairs(workspace:GetChildren()) do
1365
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1366
			table.insert(List, v)
1367
		end
1368
	end
1369
	return List
1370
end
1371
1372
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1373
	local type = type
1374
	local rng = Instance.new("Part", char)
1375
	rng.Anchored = true
1376
	rng.BrickColor = color
1377
	rng.CanCollide = false
1378
	rng.FormFactor = 3
1379
	rng.Name = "Ring"
1380
	rng.Material = "Neon"
1381
	rng.Size = Vector3.new(1, 1, 1)
1382
	rng.Transparency = 0
1383
	rng.TopSurface = 0
1384
	rng.BottomSurface = 0
1385
	rng.CFrame = pos
1386
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1387
	local rngm = Instance.new("SpecialMesh", rng)
1388
	rngm.MeshType = MType
1389
	rngm.Scale = Vector3.new(x1, y1, z1)
1390
	local scaler2 = 1
1391
	local speeder = FastSpeed
1392
	if type == "Add" then
1393
		scaler2 = 1 * value
1394
	elseif type == "Divide" then
1395
		scaler2 = 1 / value
1396
	end
1397
	coroutine.resume(coroutine.create(function()
1398
		for i = 0, 10 / bonuspeed, 0.1 do
1399
			swait()
1400
			if type == "Add" then
1401
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1402
			elseif type == "Divide" then
1403
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1404
			end
1405
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1406
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1407
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1408
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1409
		end
1410
		rng:Destroy()
1411
	end))
1412
end
1413
1414
function SoulSteal(dude)
1415
if dude.Name ~= char then
1416
local bgf = IT("BodyGyro", dude.Head)
1417
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1418
local val = IT("BoolValue", dude)
1419
val.Name = "IsHit"
1420
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1421
local soulst = coroutine.wrap(function()
1422
local soul = Instance.new("Part",dude)
1423
soul.Size = Vector3.new(1,1,1)
1424
soul.CanCollide = false
1425
soul.Anchored = false
1426
soul.Position = torso.Position
1427
soul.Transparency = 1
1428
local PartEmmit1 = IT("ParticleEmitter", soul)
1429
PartEmmit1.LightEmission = 1
1430
PartEmmit1.Texture = "rbxassetid://569507414"
1431
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1432
PartEmmit1.Rate = 250
1433
PartEmmit1.Lifetime = NumberRange.new(1.6)
1434
PartEmmit1.Size = NumberSequence.new({
1435
	NumberSequenceKeypoint.new(0, 1, 0),
1436
	NumberSequenceKeypoint.new(1, 0, 0)
1437
})
1438
PartEmmit1.Transparency = NumberSequence.new({
1439
	NumberSequenceKeypoint.new(0, 0, 0),
1440
	NumberSequenceKeypoint.new(1, 1, 0)
1441
})
1442
PartEmmit1.Speed = NumberRange.new(0, 0)
1443
PartEmmit1.VelocitySpread = 30000
1444
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1445
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1446
local BodPoss = IT("BodyPosition", soul)
1447
BodPoss.P = 3000
1448
BodPoss.D = 1000
1449
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1450
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1451
wait(1.6)
1452
soul.Touched:connect(function(hit)
1453
	if hit.Parent == char then
1454
	soul:Destroy()
1455
	end
1456
end)
1457
wait(1.2)
1458
while soul do
1459
	swait()
1460
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1461
	BodPoss.Position = tors.Position
1462
end
1463
end)
1464
	soulst()
1465
	end
1466
end
1467
function FaceMouse()
1468
local	Cam = workspace.CurrentCamera
1469
	return {
1470
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1471
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1472
	}
1473
end
1474
-------------------------------------------------------
1475
--End Effect Function--
1476
-------------------------------------------------------
1477
function Cso(ID, PARENT, VOLUME, PITCH)
1478
	local NSound = nil
1479
	coroutine.resume(coroutine.create(function()
1480
		NSound = IT("Sound", PARENT)
1481
		NSound.Volume = VOLUME
1482
		NSound.Pitch = PITCH
1483
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1484
		swait()
1485
		NSound:play()
1486
		game:GetService("Debris"):AddItem(NSound, 10)
1487
	end))
1488
	return NSound
1489
end
1490
function CameraEnshaking(Length, Intensity)
1491
	coroutine.resume(coroutine.create(function()
1492
		local intensity = 1 * Intensity
1493
		local rotM = 0.01 * Intensity
1494
		for i = 0, Length, 0.1 do
1495
			swait()
1496
			intensity = intensity - 0.05 * Intensity / Length
1497
			rotM = rotM - 5.0E-4 * Intensity / Length
1498
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1499
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
1500
		end
1501
		hum.CameraOffset = Vector3.new(0, 0, 0)
1502
	end))
1503
end
1504
function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
1505
local Hitboxpart = Instance.new("Part", EffectModel)
1506
  RemoveOutlines(Hitboxpart)
1507
  Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
1508
  Hitboxpart.CanCollide = false
1509
  Hitboxpart.Transparency = 1
1510
  Hitboxpart.Anchored = true
1511
  Hitboxpart.CFrame = Pose
1512
  game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
1513
  MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
1514
end
1515
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1516
  local prt = CreatePart1(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1517
  prt.Anchored = true
1518
  prt.CFrame = cframe
1519
  local msh = CreateMesh1("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1520
  game:GetService("Debris"):AddItem(prt, 10)
1521
  if Type == 1 or Type == nil then
1522
    table.insert(Effects, {
1523
      prt,
1524
      "Block1",
1525
      delay,
1526
      x3,
1527
      y3,
1528
      z3,
1529
      msh
1530
    })
1531
  elseif Type == 2 then
1532
    table.insert(Effects, {
1533
      prt,
1534
      "Block2",
1535
      delay,
1536
      x3,
1537
      y3,
1538
      z3,
1539
      msh
1540
    })
1541
  elseif Type == 3 then
1542
    table.insert(Effects, {
1543
      prt,
1544
      "Block3",
1545
      delay,
1546
      x3,
1547
      y3,
1548
      z3,
1549
      msh
1550
    })
1551
  end
1552
end
1553
1554
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1555
	local Part = Create("Part"){
1556
		Parent = Parent,
1557
		Reflectance = Reflectance,
1558
		Transparency = Transparency,
1559
		CanCollide = false,
1560
		Locked = true,
1561
		BrickColor = BrickColor.new(tostring(BColor)),
1562
		Name = Name,
1563
		Size = Size,
1564
		Material = Material,
1565
	}
1566
	RemoveOutlines(Part)
1567
	return Part
1568
end
1569
	
1570
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1571
	local Msh = Create(Mesh){
1572
		Parent = Part,
1573
		Offset = OffSet,
1574
		Scale = Scale,
1575
	}
1576
	if Mesh == "SpecialMesh" then
1577
		Msh.MeshType = MeshType
1578
		Msh.MeshId = MeshId
1579
	end
1580
	return Msh
1581
end
1582
1583
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1584
local prt = CreatePart(workspace,"Neon",0,0,brickcolor,"Effect", Vector3.new(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1585
prt.Anchored = true
1586
prt.CFrame = cframe
1587
local msh = CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
1588
game:GetService("Debris"):AddItem(prt,2)
1589
coroutine.resume(coroutine.create(function(Part,Mesh,num) 
1590
for i=0,1,delay do
1591
swait()
1592
Part.Transparency=i
1593
Mesh.Scale=Mesh.Scale + Vector3.new(x3,y3,z3)
1594
end
1595
Part.Parent=nil
1596
end),prt,msh,(math.random(0,1)+math.random())/5)
1597
end
1598
-------------------------------------------------------
1599
--End Important Functions--
1600
-------------------------------------------------------
1601
1602
1603
1604
--[[
1605
		Thanks for using Build-To-Lua by jarredbcv.
1606
]]--
1607
1608
New = function(Object, Parent, Name, Data)
1609
	local Object = Instance.new(Object)
1610
	for Index, Value in pairs(Data or {}) do
1611
		Object[Index] = Value
1612
	end
1613
	Object.Parent = Parent
1614
	Object.Name = Name
1615
	return Object
1616
end
1617
	
1618
Player = game:GetService("Players").LocalPlayer
1619
PlayerGui = Player.PlayerGui
1620
Cam = workspace.CurrentCamera
1621
Backpack = Player.Backpack
1622
Character = Player.Character
1623
Mouse = Player:GetMouse()
1624
RootPart = Character["HumanoidRootPart"]
1625
Torso = Character["Torso"]
1626
Head = Character["Head"]
1627
RightArm = Character["Right Arm"]
1628
LeftArm = Character["Left Arm"]
1629
RightLeg = Character["Right Leg"]
1630
LeftLeg = Character["Left Leg"]
1631
RootJoint = RootPart["RootJoint"]
1632
Neck = Torso["Neck"]
1633
1634
IT = Instance.new
1635
CF = CFrame.new
1636
VT = Vector3.new
1637
RAD = math.rad
1638
C3 = Color3.new
1639
UD2 = UDim2.new
1640
BRICKC = BrickColor.new
1641
ANGLES = CFrame.Angles
1642
EULER = CFrame.fromEulerAnglesXYZ
1643
COS = math.cos
1644
ACOS = math.acos
1645
SIN = math.sin
1646
ASIN = math.asin
1647
ABS = math.abs
1648
MRANDOM = math.random
1649
FLOOR = math.floor
1650
1651
local WEAPONGUI = IT("ScreenGui", PlayerGui)
1652
WEAPONGUI.Name = "Weapon GUI"
1653
1654
function CreatePart3(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
1655
    local NEWPART = IT("Part")
1656
    NEWPART.formFactor = FORMFACTOR
1657
    NEWPART.Reflectance = REFLECTANCE
1658
    NEWPART.Transparency = TRANSPARENCY
1659
    NEWPART.CanCollide = false
1660
    NEWPART.Locked = true
1661
    NEWPART.Anchored = true
1662
    if ANCHOR == false then
1663
        NEWPART.Anchored = false
1664
    end
1665
    NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
1666
    NEWPART.Name = NAME
1667
    NEWPART.Size = SIZE
1668
    NEWPART.Position = Torso.Position
1669
    NEWPART.Material = MATERIAL
1670
    NEWPART:BreakJoints()
1671
    NEWPART.Parent = PARENT
1672
    return NEWPART
1673
end
1674
1675
function NoOutlines(PART)
1676
    PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
1677
end
1678
 
1679
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
1680
    local NEWWELD = IT(TYPE)
1681
    NEWWELD.Part0 = PART0
1682
    NEWWELD.Part1 = PART1
1683
    NEWWELD.C0 = C0
1684
    NEWWELD.C1 = C1
1685
    NEWWELD.Parent = PARENT
1686
    return NEWWELD
1687
end
1688
1689
function MakeForm(PART,TYPE)
1690
    if TYPE == "Cyl" then
1691
        local MSH = IT("CylinderMesh",PART)
1692
    elseif TYPE == "Ball" then
1693
        local MSH = IT("SpecialMesh",PART)
1694
        MSH.MeshType = "Sphere"
1695
    elseif TYPE == "Wedge" then
1696
        local MSH = IT("SpecialMesh",PART)
1697
        MSH.MeshType = "Wedge"
1698
    end
1699
end
1700
1701
1702
--GAUGNETS AND STUFF--
1703
1704
local cn = CFrame.new
1705
NeonColorParts100 = {}
1706
NeonColorParts1000 = {}
1707
local BC = Character["Body Colors"]
1708
1709
local aa35 = Instance.new("Part")
1710
aa35.Parent = char
1711
aa35.Size = Vector3.new(0.2, 0.2, 0.2)
1712
aa35.Archivable = true
1713
aa35.Transparency = 0
1714
aa35.Shape = "Ball"
1715
aa35.BrickColor = BrickColor.new("White")
1716
aa35.Material = "Neon"
1717
aa35.CanCollide = false
1718
local mesh = Instance.new("SpecialMesh", aa35)
1719
mesh.MeshType = "Cylinder"
1720
mesh.Scale = Vector3.new(0.50, 5.70, 15)
1721
local weld1en = Instance.new("Weld")
1722
weld1en.Parent = hed
1723
weld1en.Part0 = hed
1724
weld1en.Part1 = aa35
1725
weld1en.C1 = CFrame.new(-0.22, 0, -0.065)
1726
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
1727
1728
local aa34 = Instance.new("Part")
1729
aa34.Parent = char
1730
aa34.Size = Vector3.new(0.2, 0.2, 0.2)
1731
aa34.Archivable = true
1732
aa34.Transparency = 0
1733
aa34.Shape = "Ball"
1734
aa34.BrickColor = BrickColor.new("Dark stone grey")
1735
aa34.Material = "Metal"
1736
aa34.CanCollide = false
1737
local mesh = Instance.new("SpecialMesh", aa34)
1738
mesh.MeshType = "Cylinder"
1739
mesh.Scale = Vector3.new(1, 5.70, 15)
1740
local weld1en = Instance.new("Weld")
1741
weld1en.Parent = hed
1742
weld1en.Part0 = hed
1743
weld1en.Part1 = aa34
1744
weld1en.C1 = CFrame.new(-0.22, 0, -0.06)
1745
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
1746
1747
local aa33 = Instance.new("Part")
1748
aa33.Parent = char
1749
aa33.Size = Vector3.new(0.2, 0.2, 0.2)
1750
aa33.Archivable = true
1751
aa33.Transparency = 0
1752
aa33.Shape = "Ball"
1753
aa33.BrickColor = BrickColor.new("White")
1754
aa33.Material = "Neon"
1755
aa33.CanCollide = false
1756
local mesh = Instance.new("SpecialMesh", aa33)
1757
mesh.MeshType = "Cylinder"
1758
mesh.Scale = Vector3.new(0.50, 5.70, 15)
1759
local weld1en = Instance.new("Weld")
1760
weld1en.Parent = hed
1761
weld1en.Part0 = hed
1762
weld1en.Part1 = aa33
1763
weld1en.C1 = CFrame.new(0, 0, -0.065)
1764
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
1765
1766
local aa32 = Instance.new("Part")
1767
aa32.Parent = char
1768
aa32.Size = Vector3.new(0.2, 0.2, 0.2)
1769
aa32.Archivable = true
1770
aa32.Transparency = 0
1771
aa32.Shape = "Ball"
1772
aa32.BrickColor = BrickColor.new("Dark stone grey")
1773
aa32.Material = "Metal"
1774
aa32.CanCollide = false
1775
local mesh = Instance.new("SpecialMesh", aa32)
1776
mesh.MeshType = "Cylinder"
1777
mesh.Scale = Vector3.new(1, 5.70, 15)
1778
local weld1en = Instance.new("Weld")
1779
weld1en.Parent = hed
1780
weld1en.Part0 = hed
1781
weld1en.Part1 = aa32
1782
weld1en.C1 = CFrame.new(0, 0, -0.06)
1783
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
1784
1785
local aa31 = Instance.new("Part")
1786
aa31.Parent = char
1787
aa31.Size = Vector3.new(0.2, 0.2, 0.2)
1788
aa31.Archivable = true
1789
aa31.Transparency = 0
1790
aa31.Shape = "Ball"
1791
aa31.BrickColor = BrickColor.new("White")
1792
aa31.Material = "Neon"
1793
aa31.CanCollide = false
1794
local mesh = Instance.new("SpecialMesh", aa31)
1795
mesh.MeshType = "Cylinder"
1796
mesh.Scale = Vector3.new(0.50, 5.70, 15)
1797
local weld1en = Instance.new("Weld")
1798
weld1en.Parent = hed
1799
weld1en.Part0 = hed
1800
weld1en.Part1 = aa31
1801
weld1en.C1 = CFrame.new(0.22, 0, -0.065)
1802
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
1803
1804
local aa30  = Instance.new("Part")
1805
aa30.Parent = char
1806
aa30.Size = Vector3.new(0.2, 0.2, 0.2)
1807
aa30.Archivable = true
1808
aa30.Transparency = 0
1809
aa30.Shape = "Ball"
1810
aa30.BrickColor = BrickColor.new("Dark stone grey")
1811
aa30.Material = "Metal"
1812
aa30.CanCollide = false
1813
local mesh = Instance.new("SpecialMesh", aa30)
1814
mesh.MeshType = "Cylinder"
1815
mesh.Scale = Vector3.new(1, 5.70, 15)
1816
local weld1en = Instance.new("Weld")
1817
weld1en.Parent = hed
1818
weld1en.Part0 = hed
1819
weld1en.Part1 = aa30
1820
weld1en.C1 = CFrame.new(0.22, 0, -0.06)
1821
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
1822
1823
local aa28 = Instance.new("Part")
1824
aa28.Parent = char
1825
aa28.Size = Vector3.new(0.2, 0.2, 0.2)
1826
aa28.Archivable = true
1827
aa28.Transparency = 0
1828
aa28.Shape = "Ball"
1829
aa28.BrickColor = BrickColor.new("White")
1830
aa28.Material = "Neon"
1831
aa28.CanCollide = false
1832
local mesh = Instance.new("SpecialMesh", aa28)
1833
mesh.MeshType = "Cylinder"
1834
mesh.Scale = Vector3.new(0.50, 5.70, 15)
1835
local weld1en = Instance.new("Weld")
1836
weld1en.Parent = hed
1837
weld1en.Part0 = hed
1838
weld1en.Part1 = aa28
1839
weld1en.C1 = CFrame.new(0.22, 0, 0.065)
1840
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
1841
1842
local aa27 = Instance.new("Part")
1843
aa27.Parent = char
1844
aa27.Size = Vector3.new(0.2, 0.2, 0.2)
1845
aa27.Archivable = true
1846
aa27.Transparency = 0
1847
aa27.Shape = "Ball"
1848
aa27.BrickColor = BrickColor.new("Dark stone grey")
1849
aa27.Material = "Metal"
1850
aa27.CanCollide = false
1851
local mesh = Instance.new("SpecialMesh", aa27)
1852
mesh.MeshType = "Cylinder"
1853
mesh.Scale = Vector3.new(1, 5.70, 15)
1854
local weld1en = Instance.new("Weld")
1855
weld1en.Parent = hed
1856
weld1en.Part0 = hed
1857
weld1en.Part1 = aa27
1858
weld1en.C1 = CFrame.new(0.22, 0, 0.06)
1859
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
1860
1861
local aa26 = Instance.new("Part")
1862
aa26.Parent = char
1863
aa26.Size = Vector3.new(0.2, 0.2, 0.2)
1864
aa26.Archivable = true
1865
aa26.Transparency = 0
1866
aa26.Shape = "Ball"
1867
aa26.BrickColor = BrickColor.new("White")
1868
aa26.Material = "Neon"
1869
aa26.CanCollide = false
1870
local mesh = Instance.new("SpecialMesh", aa26)
1871
mesh.MeshType = "Cylinder"
1872
mesh.Scale = Vector3.new(0.50, 5.70, 15)
1873
local weld1en = Instance.new("Weld")
1874
weld1en.Parent = hed
1875
weld1en.Part0 = hed
1876
weld1en.Part1 = aa26
1877
weld1en.C1 = CFrame.new(0, 0, 0.065)
1878
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
1879
1880
local aa25 = Instance.new("Part")
1881
aa25.Parent = char
1882
aa25.Size = Vector3.new(0.2, 0.2, 0.2)
1883
aa25.Archivable = true
1884
aa25.Transparency = 0
1885
aa25.Shape = "Ball"
1886
aa25.BrickColor = BrickColor.new("Dark stone grey")
1887
aa25.Material = "Metal"
1888
aa25.CanCollide = false
1889
local mesh = Instance.new("SpecialMesh", aa25)
1890
mesh.MeshType = "Cylinder"
1891
mesh.Scale = Vector3.new(1, 5.70, 15)
1892
local weld1en = Instance.new("Weld")
1893
weld1en.Parent = hed
1894
weld1en.Part0 = hed
1895
weld1en.Part1 = aa25
1896
weld1en.C1 = CFrame.new(0, 0, 0.06)
1897
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
1898
1899
local aa24 = Instance.new("Part")
1900
aa24.Parent = char
1901
aa24.Size = Vector3.new(0.2, 0.2, 0.2)
1902
aa24.Archivable = true
1903
aa24.Transparency = 0
1904
aa24.Shape = "Ball"
1905
aa24.BrickColor = BrickColor.new("White")
1906
aa24.Material = "Neon"
1907
aa24.CanCollide = false
1908
local mesh = Instance.new("SpecialMesh", aa24)
1909
mesh.MeshType = "Cylinder"
1910
mesh.Scale = Vector3.new(0.50, 5.70, 15)
1911
local weld1en = Instance.new("Weld")
1912
weld1en.Parent = hed
1913
weld1en.Part0 = hed
1914
weld1en.Part1 = aa24
1915
weld1en.C1 = CFrame.new(-0.22, 0, 0.065)
1916
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
1917
1918
local aa23 = Instance.new("Part")
1919
aa23.Parent = char
1920
aa23.Size = Vector3.new(0.2, 0.2, 0.2)
1921
aa23.Archivable = true
1922
aa23.Transparency = 0
1923
aa23.Shape = "Ball"
1924
aa23.BrickColor = BrickColor.new("Dark stone grey")
1925
aa23.Material = "Metal"
1926
aa23.CanCollide = false
1927
local mesh = Instance.new("SpecialMesh", aa23)
1928
mesh.MeshType = "Cylinder"
1929
mesh.Scale = Vector3.new(1, 5.70, 15)
1930
local weld1en = Instance.new("Weld")
1931
weld1en.Parent = hed
1932
weld1en.Part0 = hed
1933
weld1en.Part1 = aa23
1934
weld1en.C1 = CFrame.new(-0.22, 0, 0.06)
1935
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
1936
1937
local aa11 = Instance.new("Part")
1938
aa11.Parent = char
1939
aa11.Size = Vector3.new(0.2, 0.2, 0.2)
1940
aa11.Archivable = true
1941
aa11.Transparency = 0
1942
aa11.Shape = "Ball"
1943
aa11.BrickColor = BrickColor.new("Dark green")
1944
aa11.Material = "Neon"
1945
aa11.CanCollide = false
1946
local mesh = Instance.new("SpecialMesh", aa11)
1947
mesh.MeshType = "Cylinder"
1948
mesh.Scale = Vector3.new(2.90, 2.90, 2.90)
1949
local weld1en = Instance.new("Weld")
1950
weld1en.Parent = ra
1951
weld1en.Part0 = ra
1952
weld1en.Part1 = aa11
1953
weld1en.C1 = CFrame.new(-0.40, 0.40, 0)
1954
1955
local aa10 = Instance.new("Part")
1956
aa10.Parent = char
1957
aa10.Size = Vector3.new(0.2, 0.2, 0.2)
1958
aa10.Archivable = true
1959
aa10.Transparency = 0
1960
aa10.Shape = "Ball"
1961
aa10.BrickColor = BrickColor.new("Dark stone grey")
1962
aa10.Material = "Metal"
1963
aa10.CanCollide = false
1964
local mesh = Instance.new("SpecialMesh", aa10)
1965
mesh.MeshType = "Cylinder"
1966
mesh.Scale = Vector3.new(3, 3, 3)
1967
local weld1en = Instance.new("Weld")
1968
weld1en.Parent = ra
1969
weld1en.Part0 = ra
1970
weld1en.Part1 = aa10
1971
weld1en.C1 = CFrame.new(-0.35, 0.40, 0)
1972
1973
local aa9 = Instance.new("Part")
1974
aa9.Parent = char
1975
aa9.Size = Vector3.new(0.2, 0.2, 0.2)
1976
aa9.Archivable = true
1977
aa9.Transparency = 0
1978
aa9.Shape = "Ball"
1979
aa9.BrickColor = BrickColor.new("White")
1980
aa9.Material = "Metal"
1981
aa9.CanCollide = false
1982
local mesh = Instance.new("SpecialMesh", aa9)
1983
mesh.MeshType = "Brick"
1984
mesh.Scale = Vector3.new(5.70, 1, 5.70)
1985
local weld1en = Instance.new("Weld")
1986
weld1en.Parent = ra
1987
weld1en.Part0 = ra
1988
weld1en.Part1 = aa9
1989
weld1en.C1 = CFrame.new(0, -1, 0)
1990
1991
local aa21 = Instance.new("Part")
1992
aa21.Parent = char
1993
aa21.Size = Vector3.new(0.2, 0.2, 0.2)
1994
aa21.Archivable = true
1995
aa21.Transparency = 0
1996
aa21.Shape = "Ball"
1997
aa21.BrickColor = BrickColor.new("White")
1998
aa21.Material = "Metal"
1999
aa21.CanCollide = false
2000
local mesh = Instance.new("SpecialMesh", aa21)
2001
mesh.MeshType = "Brick"
2002
mesh.Scale = Vector3.new(5.90, 0.50, 5.90)
2003
local weld1en = Instance.new("Weld")
2004
weld1en.Parent = ra
2005
weld1en.Part0 = ra
2006
weld1en.Part1 = aa21
2007
weld1en.C1 = CFrame.new(0, 0.95, 0)
2008
2009
local aa20 = Instance.new("Part")
2010
aa20.Parent = char
2011
aa20.Size = Vector3.new(0.2, 0.2, 0.2)
2012
aa20.Archivable = true
2013
aa20.Transparency = 0
2014
aa20.Shape = "Ball"
2015
aa20.BrickColor = BrickColor.new("White")
2016
aa20.Material = "Metal"
2017
aa20.CanCollide = false
2018
local mesh = Instance.new("SpecialMesh", aa20)
2019
mesh.MeshType = "Brick"
2020
mesh.Scale = Vector3.new(5.90, 0.50, 5.90)
2021
local weld1en = Instance.new("Weld")
2022
weld1en.Parent = ra
2023
weld1en.Part0 = ra
2024
weld1en.Part1 = aa20
2025
weld1en.C1 = CFrame.new(0, -0.95, 0)
2026
2027
2028
local aa8 = Instance.new("Part")
2029
aa8.Parent = char
2030
aa8.Size = Vector3.new(0.2, 0.2, 0.2)
2031
aa8.Archivable = true
2032
aa8.Transparency = 0
2033
aa8.Shape = "Ball"
2034
aa8.BrickColor = BrickColor.new("Dark green")
2035
aa8.Material = "Neon"
2036
aa8.CanCollide = false
2037
local mesh = Instance.new("SpecialMesh", aa8)
2038
mesh.MeshType = "Cylinder"
2039
mesh.Scale = Vector3.new(2.90, 2.90, 2.90)
2040
local weld1en = Instance.new("Weld")
2041
weld1en.Parent = ra
2042
weld1en.Part0 = ra
2043
weld1en.Part1 = aa8
2044
weld1en.C1 = CFrame.new(-0.40, -0.40, 0)
2045
2046
local aa7 = Instance.new("Part")
2047
aa7.Parent = char
2048
aa7.Size = Vector3.new(0.2, 0.2, 0.2)
2049
aa7.Archivable = true
2050
aa7.Transparency = 0
2051
aa7.Shape = "Ball"
2052
aa7.BrickColor = BrickColor.new("Dark stone grey")
2053
aa7.Material = "Metal"
2054
aa7.CanCollide = false
2055
local mesh = Instance.new("SpecialMesh", aa7)
2056
mesh.MeshType = "Cylinder"
2057
mesh.Scale = Vector3.new(3, 3, 3)
2058
local weld1en = Instance.new("Weld")
2059
weld1en.Parent = ra
2060
weld1en.Part0 = ra
2061
weld1en.Part1 = aa7
2062
weld1en.C1 = CFrame.new(-0.35, -0.40, 0)
2063
2064
local aa13 = Instance.new("Part")
2065
aa13.Parent = char
2066
aa13.Size = Vector3.new(0.2, 0.2, 0.2)
2067
aa13.Archivable = true
2068
aa13.Transparency = 0
2069
aa13.Shape = "Ball"
2070
aa13.BrickColor = BrickColor.new("White")
2071
aa13.Material = "Neon"
2072
aa13.CanCollide = false
2073
local mesh = Instance.new("SpecialMesh", aa13)
2074
mesh.MeshType = "Brick"
2075
mesh.Scale = Vector3.new(5.30, 0.70, 5.40)
2076
local weld1en = Instance.new("Weld")
2077
weld1en.Parent = ra
2078
weld1en.Part0 = ra
2079
weld1en.Part1 = aa13
2080
weld1en.C1 = CFrame.new(0, -1.05, 0)
2081
2082
local aa12 = Instance.new("Part")
2083
aa12.Parent = char
2084
aa12.Size = Vector3.new(0.2, 0.2, 0.2)
2085
aa12.Archivable = true
2086
aa12.Transparency = 0
2087
aa12.Shape = "Ball"
2088
aa12.BrickColor = BrickColor.new("White")
2089
aa12.Material = "Neon"
2090
aa12.CanCollide = false
2091
local mesh = Instance.new("SpecialMesh", aa12)
2092
mesh.MeshType = "Brick"
2093
mesh.Scale = Vector3.new(5.30, 0.70, 5.40)
2094
local weld1en = Instance.new("Weld")
2095
weld1en.Parent = ra
2096
weld1en.Part0 = ra
2097
weld1en.Part1 = aa12
2098
weld1en.C1 = CFrame.new(0, 1.05, 0)
2099
2100
local aa6 = Instance.new("Part")
2101
aa6.Parent = char
2102
aa6.Size = Vector3.new(0.2, 0.2, 0.2)
2103
aa6.Archivable = true
2104
aa6.Transparency = 0
2105
aa6.Shape = "Ball"
2106
aa6.BrickColor = BrickColor.new("White")
2107
aa6.Material = "Metal"
2108
aa6.CanCollide = false
2109
local mesh = Instance.new("SpecialMesh", aa6)
2110
mesh.MeshType = "Brick"
2111
mesh.Scale = Vector3.new(5.70, 1, 5.70)
2112
local weld1en = Instance.new("Weld")
2113
weld1en.Parent = ra
2114
weld1en.Part0 = ra
2115
weld1en.Part1 = aa6
2116
weld1en.C1 = CFrame.new(0, 1, 0)
2117
2118
local aa4 = Instance.new("Part")
2119
aa4.Parent = char
2120
aa4.Size = Vector3.new(0.2, 0.2, 0.2)
2121
aa4.Archivable = true
2122
aa4.Transparency = 0
2123
aa4.Shape = "Ball"
2124
aa4.BrickColor = maincolor
2125
aa4.Material = "Neon"
2126
aa4.CanCollide = false
2127
local mesh = Instance.new("SpecialMesh", aa4)
2128
mesh.MeshType = "Brick"
2129
mesh.Scale = Vector3.new(1, 10.55, 5.60)
2130
local weld1en = Instance.new("Weld")
2131
weld1en.Parent = ra
2132
weld1en.Part0 = ra
2133
weld1en.Part1 = aa4
2134
weld1en.C1 = CFrame.new(0, 0, 0)
2135
2136
local aa5 = Instance.new("Part")
2137
aa5.Parent = char
2138
aa5.Size = Vector3.new(0.2, 0.2, 0.2)
2139
aa5.Archivable = true
2140
aa5.Transparency = 0
2141
aa5.Shape = "Ball"
2142
aa5.BrickColor = maincolor
2143
aa5.Material = "Neon"
2144
aa5.CanCollide = false
2145
local mesh = Instance.new("SpecialMesh", aa5)
2146
mesh.MeshType = "Brick"
2147
mesh.Scale = Vector3.new(5.60, 10.55, 1)
2148
local weld1en = Instance.new("Weld")
2149
weld1en.Parent = ra
2150
weld1en.Part0 = ra
2151
weld1en.Part1 = aa5
2152
weld1en.C1 = CFrame.new(0, 0, 0)
2153
2154
local aa = Instance.new("Part")
2155
aa.Parent = char
2156
aa.Size = Vector3.new(0.2, 10, 20)
2157
aa.Archivable = true
2158
aa.Transparency = 0
2159
aa.Shape = "Ball"
2160
aa.BrickColor = BrickColor.new("Dark stone grey")
2161
aa.Material = "Metal"
2162
aa.CanCollide = false
2163
local mesh = Instance.new("SpecialMesh", aa)
2164
mesh.MeshType = "Brick"
2165
mesh.Scale = Vector3.new(5.50, 10.50, 5.50)
2166
local weld1en = Instance.new("Weld")
2167
weld1en.Parent = ra
2168
weld1en.Part0 = ra
2169
weld1en.Part1 = aa
2170
weld1en.C1 = CFrame.new(0, 0, 0)
2171
2172
local Core2 = Instance.new("Part")
2173
Core2.Parent = char
2174
Core2.Size = Vector3.new(0.2, 0.2, 0.2)
2175
Core2.Archivable = true
2176
Core2.Transparency = 0
2177
Core2.Shape = "Ball"
2178
Core2.BrickColor = maincolor
2179
Core2.Material = "Neon"
2180
Core2.CanCollide = false
2181
local mesh = Instance.new("SpecialMesh", Core2)
2182
mesh.MeshType = "Brick"
2183
mesh.Scale = Vector3.new(7.80, 1.70, 5.25)
2184
local weld1en = Instance.new("Weld")
2185
weld1en.Parent = tors
2186
weld1en.Part0 = tors
2187
weld1en.Part1 = Core2
2188
weld1en.C1 = CFrame.new(0, -0.01, 0)
2189
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2190
2191
local CoreInner2 = Instance.new("Part")
2192
CoreInner2.Parent = char
2193
CoreInner2.Size = Vector3.new(0.2, 0.2, 0.2)
2194
CoreInner2.Archivable = true
2195
CoreInner2.Transparency = 0
2196
CoreInner2.Shape = "Ball"
2197
CoreInner2.BrickColor = BrickColor.new("Really black")
2198
CoreInner2.Material = "Metal"
2199
CoreInner2.CanCollide = false
2200
local mesh = Instance.new("SpecialMesh", CoreInner2)
2201
mesh.MeshType = "Brick"
2202
mesh.Scale = Vector3.new(8, 2, 5.10)
2203
local weld1en = Instance.new("Weld")
2204
weld1en.Parent = tors
2205
weld1en.Part0 = tors
2206
weld1en.Part1 = CoreInner2
2207
weld1en.C1 = CFrame.new(0, -0.01, 0)
2208
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2209
2210
local Core = Instance.new("Part")
2211
Core.Parent = char
2212
Core.Size = Vector3.new(0.2, 0.2, 0.2)
2213
Core.Archivable = true
2214
Core.Transparency = 0
2215
Core.Shape = "Ball"
2216
Core.BrickColor = maincolor
2217
Core.Material = "Neon"
2218
Core.CanCollide = false
2219
local mesh = Instance.new("SpecialMesh", Core)
2220
mesh.MeshType = "Brick"
2221
mesh.Scale = Vector3.new(7.80, 1.70, 5.20)
2222
local weld1en = Instance.new("Weld")
2223
weld1en.Parent = tors
2224
weld1en.Part0 = tors
2225
weld1en.Part1 = Core
2226
weld1en.C1 = CFrame.new(0, -.1, 0)
2227
2228
local CoreInner = Instance.new("Part")
2229
CoreInner.Parent = char
2230
CoreInner.Size = Vector3.new(0.2, 0.2, 0.2)
2231
CoreInner.Archivable = true
2232
CoreInner.Transparency = 0
2233
CoreInner.Shape = "Ball"
2234
CoreInner.BrickColor = BrickColor.new("Really black")
2235
CoreInner.Material = "Metal"
2236
CoreInner.CanCollide = false
2237
local mesh = Instance.new("SpecialMesh", CoreInner)
2238
mesh.MeshType = "Brick"
2239
mesh.Scale = Vector3.new(8, 2, 5.10)
2240
local weld1en = Instance.new("Weld")
2241
weld1en.Parent = tors
2242
weld1en.Part0 = tors
2243
weld1en.Part1 = CoreInner
2244
weld1en.C1 = CFrame.new(0, -.1, 0)
2245
--END OF GAUGNETS AND STUFF--
2246
2247
local NewInstance = function(instance,parent,properties)
2248
	local inst = Instance.new(instance,parent)
2249
	if(properties)then
2250
		for i,v in next, properties do
2251
			pcall(function() inst[i] = v end)
2252
		end
2253
	end
2254
	return inst;
2255
end
2256
2257
2258
ArmorColorParts = {}
2259
ArmorColorParts2 = {}
2260
NeonColorParts = {}
2261
local all, last = {}, nil
2262
local all2, last2 = {}, nil
2263
local all3, last3 = {}, nil
2264
local all4, last4 = {}, nil
2265
local all, last = {}, nil
2266
-------------------------------------------------------
2267
--Start Customization--
2268
-------------------------------------------------------
2269
local Player_Size = 1
2270
if Player_Size ~= 1 then
2271
root.Size = root.Size * Player_Size
2272
tors.Size = tors.Size * Player_Size
2273
hed.Size = hed.Size * Player_Size
2274
ra.Size = ra.Size * Player_Size
2275
la.Size = la.Size * Player_Size
2276
rl.Size = rl.Size * Player_Size
2277
ll.Size = ll.Size * Player_Size
2278
----------------------------------------------------------------------------------
2279
rootj.Parent = root
2280
neck.Parent = tors
2281
RW.Parent = tors
2282
LW.Parent = tors
2283
RH.Parent = tors
2284
LH.Parent = tors
2285
----------------------------------------------------------------------------------
2286
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2287
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2288
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
2289
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
2290
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
2291
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
2292
----------------------------------------------------------------------------------
2293
RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2294
LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2295
RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2296
LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2297
--hat.Parent = Character
2298
end
2299
----------------------------------------------------------------------------------
2300
local SONG = 1005328332
2301
local SONG2 = 0
2302
local Music = Instance.new("Sound",tors)
2303
Music.Volume = 2.5
2304
Music.Looped = true
2305
Music.Pitch = 1 --Pitcher
2306
----------------------------------------------------------------------------------
2307
local equipped = false
2308
local idle = 0
2309
local change = 1
2310
local val = 0
2311
local toim = 0
2312
local idleanim = 0.4
2313
local sine = 0
2314
local Mode = 1
2315
----------------------------------------------------------------------------------
2316
hum.WalkSpeed = 8
2317
hum.JumpPower = 57
2318
hum.Animator.Parent = nil
2319
-------------------------------------------------------
2320
--End Customization--
2321
-------------------------------------------------------
2322
2323
2324
-------------------------------------------------------
2325
--Start Attacks N Stuff--
2326
-------------------------------------------------------
2327
it = Instance.new
2328
gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
2329
  local gui = IT(GuiType)
2330
  gui.Parent = parent
2331
  gui.Text = text
2332
  gui.BackgroundTransparency = backtrans
2333
  gui.BackgroundColor3 = backcol
2334
  gui.SizeConstraint = "RelativeXY"
2335
  gui.TextXAlignment = "Center"
2336
  gui.TextYAlignment = "Center"
2337
  gui.Position = pos
2338
  gui.Size = size
2339
  gui.Font = "SourceSans"
2340
  gui.FontSize = "Size14"
2341
  gui.TextWrapped = false
2342
  gui.TextStrokeTransparency = 0
2343
  gui.TextColor = BrickColor.new("White")
2344
  return gui
2345
end
2346
local basgui = it("GuiMain")
2347
basgui.Parent = plr.PlayerGui
2348
basgui.Name = "VISgui"
2349
local fullscreenz = it("Frame")
2350
fullscreenz.Parent = basgui
2351
fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
2352
fullscreenz.BackgroundTransparency = 1
2353
fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
2354
fullscreenz.Size = UDim2.new(1, 0, 1, 0)
2355
fullscreenz.Position = UDim2.new(0, 0, 0, 0)
2356
local imgl2 = Instance.new("ImageLabel",fullscreenz)
2357
imgl2.BackgroundTransparency = 1
2358
imgl2.BorderSizePixel = 0
2359
imgl2.ImageTransparency = 0.5
2360
imgl2.ImageColor3 = BrickColor.new("White").Color
2361
imgl2.Position = UDim2.new(0.86,0,0.78,0)
2362
imgl2.Size = UDim2.new(0,270,0,270)
2363
imgl2.Image = "rbxassetid://320731120"
2364
local techc = imgl2:Clone()
2365
techc.Parent = fullscreenz
2366
techc.ImageTransparency = 0.5
2367
techc.Size = UDim2.new(0,700,0,700)
2368
techc.Position = UDim2.new(0.75,-50,0.55,-50)
2369
techc.ImageColor3 = BrickColor.new("White").Color
2370
techc.Image = "rbxassetid://521073910"
2371
local ned = Instance.new("TextLabel",fullscreenz)
2372
ned.ZIndex = 2
2373
ned.Font = "SciFi"
2374
ned.BackgroundTransparency = 1
2375
ned.BorderSizePixel = 0.65
2376
ned.Size = UDim2.new(0.4,0,0.2,0)
2377
ned.Position = UDim2.new(0.2,0,0.2,0)
2378
ned.TextColor3 = BrickColor.new("White").Color
2379
ned.TextStrokeColor3 = BrickColor.new("Really black").Color
2380
ned.TextScaled = true
2381
ned.TextStrokeTransparency = 0
2382
ned.Text = "Neutral"
2383
ned.TextSize = 24
2384
ned.Rotation = 1
2385
--ned.TextXAlignment = "Right"
2386
ned.TextYAlignment = "Bottom"
2387
-----------
2388
local GUIFrame = IT("Frame")
2389
GUIFrame.Parent = Base
2390
GUIFrame.BackgroundColor3 = Color3.new(255, 255, 255)
2391
GUIFrame.BackgroundTransparency = 1
2392
GUIFrame.BorderColor3 = Color3.new(17, 17, 17)
2393
GUIFrame.Size = UDim2.new(1, 0, 1, 0)
2394
GUIFrame.Position = UDim2.new(0, 0, 0, 0)
2395
---------------------
2396
-----------------------------
2397
function resetmode()
2398
	Mode = 1
2399
        SONG = 1005328332
2400
for i, v in pairs(NeonColorParts1000) do
2401
  v.BrickColor = BrickC("White")
2402
end
2403
        Core.BrickColor = BrickColor.new("White")
2404
        Core2.BrickColor = BrickColor.new("White")
2405
        imgl2.ImageColor3 = BrickC("White").Color
2406
        techc.ImageColor3 = BrickC("White").Color
2407
        ned.Text = "Neutral"
2408
        ned.TextColor3 = BrickC("White").Color
2409
        ned.TextStrokeColor3 = BrickC("Really black").Color
2410
end
2411
function Taunt()
2412
    attack = true
2413
    hum.WalkSpeed = 0
2414
        TAUNT:Play()
2415
	repeat
2416
        swait()
2417
        TAUNT.Parent = tors
2418
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
2419
        tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-3 - 1.5 * Cos(sine / 7)), Rad(0), Rad(-25)), 0.3)
2420
        RH.C0 = clerp(RH.C0, CF(.8* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, .2* Player_Size) * angles(Rad(0), Rad(45), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
2421
        LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
2422
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-20), Rad(25)), 0.1)
2423
        LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(78 + 3.5 * Cos(sine / 20)), Rad(-25), Rad(-20)), 0.1)
2424
	until TAUNT.Playing == false
2425
	attack = false
2426
	hum.WalkSpeed = 8
2427
end
2428
function attackone()
2429
	attack = true
2430
	hum.WalkSpeed = 3.01
2431
	for i = 0, 1.7, 0.1 do
2432
		swait()
2433
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(-40)), 0.3)
2434
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
2435
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-7)), 0.3)
2436
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
2437
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .3* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(45)), 0.3)
2438
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
2439
	end
2440
	Cso("203426541", ra, 10, 1)
2441
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
2442
		if v:FindFirstChild("Head") then
2443
                        Eviscerate(v)
2444
                        SoulSteal(v)
2445
		end
2446
	end
2447
	for i = 0, 1.4, 0.1 do
2448
		swait()
2449
		BlockEffect(maincolor, ra.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
2450
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3)
2451
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
2452
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.3)
2453
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.3)
2454
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.3)
2455
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
2456
	end
2457
	hum.WalkSpeed = 8
2458
	attack = false
2459
end
2460
function attacktwo()
2461
	attack = true
2462
	hum.WalkSpeed = 3.01
2463
	for i = 0, 1.7, 0.1 do
2464
		swait()
2465
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
2466
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
2467
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.3)
2468
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
2469
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
2470
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
2471
	end
2472
	Cso("203426541", rl, 10, 1)
2473
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
2474
		if v:FindFirstChild("Head") then
2475
                        Eviscerate(v)
2476
                        SoulSteal(v)
2477
		end
2478
	end	
2479
	for i = 0, 1.4, 0.1 do
2480
		swait()
2481
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
2482
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
2483
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.3)
2484
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.3)
2485
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
2486
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
2487
	end
2488
	hum.WalkSpeed = 8
2489
	attack = false
2490
end
2491
function attackthree()
2492
	attack = true
2493
	hum.WalkSpeed = 3.01
2494
	for i = 0, 1.4, 0.1 do
2495
		swait()
2496
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
2497
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2498
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.3)
2499
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.3)
2500
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
2501
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
2502
	end
2503
	Cso("203426541", hed, 10, 1)
2504
	for i = 0, 1.7, 0.1 do
2505
		swait()
2506
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
2507
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2508
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.3)
2509
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.3)
2510
		RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
2511
		LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
2512
	end
2513
	Cso("260435136", hed, 10, .9)
2514
	BlockEffect(maincolor, ra.CFrame * CF(0, -2, 0), 11, 11, 11, 10, 10, 10, 0.04, 1)
2515
	BlockEffect(BrickC("Really black"), ra.CFrame * CF(0, -2, 0), 6, 6, 6, 5, 5, 5, 0.04, 1)
2516
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
2517
		if v:FindFirstChild("Head") then
2518
                        Eviscerate(v)
2519
                        SoulSteal(v)
2520
		end
2521
	end
2522
	for i = 0, 1.8, 0.1 do
2523
		swait()
2524
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.2)
2525
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.2)
2526
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.2)
2527
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.2)
2528
		RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.2)
2529
		LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.2)
2530
	end
2531
	hum.WalkSpeed = 8
2532
	attack = false
2533
end
2534
function Power_Burst()
2535
	hum.WalkSpeed = 4
2536
	attack = true
2537
	Cso("163619849", ra, 10, 1.35)
2538
	for i = 0,4.3,0.1 do
2539
		swait()
2540
PixelBlock(3,1,"Add",ra.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.2,0.2,0.2,0.01,maincolor,0)
2541
		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)
2542
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
2543
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2544
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2545
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2546
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2547
	end
2548
	CameraEnshaking(2.5, 20)
2549
	Cso("539294959", ra, 10, .9)
2550
	BlockEffect(maincolor, ra.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
2551
	BlockEffect(BrickC("Really black"), ra.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
2552
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 15)) do
2553
		if v:FindFirstChild("Head") then
2554
                        Eviscerate(v)
2555
                        SoulSteal(v)
2556
		end
2557
	end
2558
	for i = 0,3,0.1 do
2559
		swait()
2560
		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)
2561
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
2562
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2563
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2564
		RW.C0 = clerp(RW.C0, CF(1.5, 0.01 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2565
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2566
	end
2567
	hum.WalkSpeed = 8
2568
	attack = false
2569
end
2570
function Magic_Bombs()
2571
	attack = true
2572
	hum.WalkSpeed = 0
2573
local GYRO = IT("BodyGyro",root)
2574
GYRO.D = 100
2575
GYRO.P = 2000
2576
GYRO.MaxTorque = VT(0,4000000,0)
2577
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2578
	for i = 0,3.6,0.1 do
2579
			swait()
2580
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
2581
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2582
		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)
2583
		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)
2584
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
2585
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
2586
	end
2587
	CameraEnshaking(1, 6)
2588
        GYRO:Destroy()
2589
	Cso("588734356", Handle, 10, 1.05)
2590
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
2591
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
2592
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
2593
	for i = 0,2,0.1 do
2594
			swait()
2595
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
2596
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2597
		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)
2598
		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)
2599
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2)
2600
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
2601
	end
2602
local GYRO = IT("BodyGyro",root)
2603
GYRO.D = 100
2604
GYRO.P = 2000
2605
GYRO.MaxTorque = VT(0,4000000,0)
2606
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2607
	for i = 0,2.4,0.1 do
2608
			swait()
2609
		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)
2610
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2611
		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)
2612
		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)
2613
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
2614
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
2615
	end
2616
        GYRO:Destroy()
2617
	CameraEnshaking(1, 6)
2618
	Cso("588734356", Handle, 10, 1.05)
2619
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
2620
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
2621
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Normal")
2622
	for i = 0,2,0.1 do
2623
			swait()
2624
		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)
2625
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2626
		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)
2627
		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)
2628
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2)
2629
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
2630
	end
2631
local GYRO = IT("BodyGyro",root)
2632
GYRO.D = 100
2633
GYRO.P = 2000
2634
GYRO.MaxTorque = VT(0,4000000,0)
2635
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2636
	for i = 0,2.4,0.1 do
2637
			swait()
2638
		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)
2639
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2640
		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)
2641
		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)
2642
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
2643
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
2644
	end
2645
        GYRO:Destroy()
2646
	CameraEnshaking(1, 6)
2647
	Cso("588734356", Handle, 10, 1.05)
2648
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
2649
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
2650
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
2651
	for i = 0,2,0.1 do
2652
			swait()
2653
		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)
2654
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2655
		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)
2656
		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)
2657
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2)
2658
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
2659
	end
2660
	attack = false
2661
	hum.WalkSpeed = 8
2662
end
2663
function Dangerous_Field()
2664
	attack = true
2665
	hum.WalkSpeed = 0
2666
	for i = 0,10,0.1 do
2667
			swait()
2668
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.2)
2669
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2670
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2), Rad(0), Rad(-2.1)), 0.15)
2671
		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)
2672
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(90)), 0.2)
2673
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(-90)), 0.2)
2674
	CameraEnshaking(1, 7)
2675
	Cso("588734356", Handle, 10, 1.2)
2676
	BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1)
2677
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1)
2678
	HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Normal")
2679
	HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Normal")
2680
        end
2681
	attack = false
2682
	hum.WalkSpeed = 8
2683
end
2684
2685
2686
function NUCLEAR()
2687
	attack = true
2688
	local orb = Instance.new("Part", char)
2689
	orb.Anchored = true
2690
	orb.BrickColor = BrickC("Lime green")
2691
	orb.CanCollide = false
2692
	orb.FormFactor = 3
2693
	orb.Name = "Ring"
2694
	orb.Material = "Neon"
2695
	orb.Size = Vector3.new(1, 1, 1)
2696
	orb.Transparency = 0
2697
	orb.TopSurface = 0
2698
	orb.BottomSurface = 0
2699
	local orbm = Instance.new("SpecialMesh", orb)
2700
	orbm.MeshType = "Sphere"
2701
	orbm.Name = "SizeMesh"
2702
	orbm.Scale = Vector3.new(0, 0, 0)
2703
	local scaled = 0.1
2704
	local posid = 0
2705
	Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Lime green"), 0, "Sphere")
2706
	Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Lime green"), 0, "Sphere")
2707
	for i = 0, 12, 0.1 do
2708
		swait()
2709
		scaled = scaled + 0.001
2710
		posid = posid - scaled
2711
		orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
2712
		orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
2713
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.08)
2714
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(15)), 0.08)
2715
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
2716
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
2717
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(170), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
2718
                LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-12 - 5 * Sin(sine / 30))), 0.08)
2719
	end
2720
	for i = 0, 2, 0.1 do
2721
		swait()
2722
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.08)
2723
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(15)), 0.08)
2724
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
2725
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
2726
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
2727
                LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-12 - 5 * Sin(sine / 30))), 0.08)
2728
	end
2729
	coroutine.resume(coroutine.create(function()
2730
		orb.Anchored = false
2731
		CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
2732
		local a = Instance.new("Part", workspace)
2733
		a.Name = "Direction"
2734
		a.Anchored = true
2735
		a.BrickColor = BrickC("Lime green")
2736
		a.Material = "Neon"
2737
		a.Transparency = 1
2738
		a.CanCollide = false
2739
		local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
2740
		local ignore = orb
2741
		local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
2742
		a.BottomSurface = 10
2743
		a.TopSurface = 10
2744
		local distance = (orb.CFrame.p - position).magnitude
2745
		a.Size = Vector3.new(0.1, 0.1, 0.1)
2746
		a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
2747
		orb.CFrame = a.CFrame
2748
		a:Destroy()
2749
		local bv = Instance.new("BodyVelocity")
2750
		bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2751
		bv.velocity = orb.CFrame.lookVector * 125
2752
		bv.Parent = orb
2753
		local hitted = false
2754
		game:GetService("Debris"):AddItem(orb, 15)
2755
		swait()
2756
		local hit = orb.Touched:connect(function(hit)
2757
			if hitted == false then
2758
				hitted = true
2759
				CameraEnshaking(10, 2.5)
2760
				CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
2761
				for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do
2762
					if v:FindFirstChild("Head") then
2763
						Eviscerate(v)
2764
					end
2765
				end
2766
				Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Lime green"), "Sphere")
2767
				Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Lime green"), "Sphere")
2768
				for i = 0, 9 do
2769
					Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Lime green"), 0, "Sphere")
2770
					Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Lime green"), 0, "Sphere")
2771
				end
2772
				orb.Anchored = true
2773
				orb.Transparency = 1
2774
				wait(8)
2775
				orb:Destroy()
2776
			end
2777
		end)
2778
	end))
2779
	for i = 0, 1, 0.1 do
2780
		swait()
2781
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.08)
2782
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(15)), 0.08)
2783
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
2784
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
2785
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3)
2786
                LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-12 - 5 * Sin(sine / 30))), 0.08)
2787
	end
2788
	attack = false
2789
end
2790
function Shockwave()
2791
	attack = true
2792
	hum.WalkSpeed = 0
2793
	for i = 0,4,0.1 do
2794
		swait()
2795
		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)
2796
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2797
		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)
2798
		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)
2799
		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)
2800
		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)
2801
	end
2802
	coroutine.resume(coroutine.create(function() 
2803
        BlockEffect(maincolor, rl.CFrame * CF(-1, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
2804
        BlockEffect(maincolor, rl.CFrame * CF(-3, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
2805
        BlockEffect(maincolor, rl.CFrame * CF(2, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
2806
	HitboxFunction(rl.CFrame * CF(-1, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
2807
	HitboxFunction(rl.CFrame * CF(-3, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
2808
	HitboxFunction(rl.CFrame * CF(2, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
2809
	CameraEnshaking(1, 7)
2810
        wait(0.05)
2811
        BlockEffect(maincolor, rl.CFrame * CF(-0.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
2812
        BlockEffect(maincolor, rl.CFrame * CF(-2.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
2813
        BlockEffect(maincolor, rl.CFrame * CF(1.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
2814
	HitboxFunction(rl.CFrame * CF(-0.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 20, 10, "Snare")
2815
	HitboxFunction(rl.CFrame * CF(-2.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2816
	HitboxFunction(rl.CFrame * CF(1.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2817
	CameraEnshaking(1, 7)
2818
        wait(0.05)
2819
        BlockEffect(maincolor, rl.CFrame * CF(-0.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
2820
        BlockEffect(maincolor, rl.CFrame * CF(-2.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
2821
        BlockEffect(maincolor, rl.CFrame * CF(1.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
2822
	HitboxFunction(rl.CFrame * CF(-0.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2823
	HitboxFunction(rl.CFrame * CF(-2.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2824
	HitboxFunction(rl.CFrame * CF(1.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2825
	CameraEnshaking(1, 7)
2826
        wait(0.05)
2827
        BlockEffect(maincolor, rl.CFrame * CF(-0.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
2828
        BlockEffect(maincolor, rl.CFrame * CF(-2.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
2829
        BlockEffect(maincolor, rl.CFrame * CF(1.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
2830
	HitboxFunction(rl.CFrame * CF(-0.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2831
	HitboxFunction(rl.CFrame * CF(-2.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2832
	HitboxFunction(rl.CFrame * CF(1.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2833
	CameraEnshaking(1, 7)
2834
        wait(0.05)
2835
        BlockEffect(maincolor, rl.CFrame * CF(-0.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
2836
        BlockEffect(maincolor, rl.CFrame * CF(-2.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
2837
        BlockEffect(maincolor, rl.CFrame * CF(1.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
2838
	HitboxFunction(rl.CFrame * CF(-0.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2839
	HitboxFunction(rl.CFrame * CF(-2.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2840
	HitboxFunction(rl.CFrame * CF(1.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2841
	CameraEnshaking(1, 7)
2842
        wait(0.05)
2843
        BlockEffect(maincolor, rl.CFrame * CF(-0, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
2844
        BlockEffect(maincolor, rl.CFrame * CF(-2, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
2845
        BlockEffect(maincolor, rl.CFrame * CF(1, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
2846
	HitboxFunction(rl.CFrame * CF(-0, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2847
	HitboxFunction(rl.CFrame * CF(-2, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2848
	HitboxFunction(rl.CFrame * CF(1, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2849
	CameraEnshaking(1, 7)
2850
	end))
2851
	Cso("440145223", Handle, 10, 1.05)
2852
	for i = 1,7,0.1 do
2853
	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)
2854
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2855
	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)
2856
	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)
2857
	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)
2858
	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)
2859
	end
2860
	wait(.6)
2861
	hum.WalkSpeed = 8
2862
	attack = false
2863
end
2864
function Pulse()
2865
	attack = true
2866
	hum.WalkSpeed = 0
2867
local GYRO = IT("BodyGyro",root)
2868
GYRO.D = 100
2869
GYRO.P = 2000
2870
GYRO.MaxTorque = VT(0,4000000,0)
2871
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2872
	for i = 0,4,0.1 do
2873
		swait()
2874
		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)
2875
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
2876
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2877
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2878
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
2879
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2880
	end
2881
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2882
	HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 30, 40, 0, "Freeze")
2883
	CameraEnshaking(1, 25)
2884
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2885
	HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2886
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2887
	HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2888
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2889
	HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2890
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2891
	HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2892
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2893
	HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2894
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2895
	HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2896
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2897
	HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2898
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2899
	HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2900
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2901
	HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2902
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2903
	HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2904
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2905
	HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2906
	Cso("440145223", Handle, 10, 1.05)
2907
        GYRO:Destroy()
2908
	for i = 1,2,0.1 do
2909
		swait()
2910
PixelBlock(2,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.04,0.04,0.04,0.06,maincolor,0)
2911
		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)
2912
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
2913
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2914
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2915
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
2916
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2917
	end
2918
	hum.WalkSpeed = 8
2919
	attack = false
2920
end
2921
function LAZER()
2922
    attack = true
2923
local GYRO = IT("BodyGyro",root)
2924
GYRO.D = 100
2925
GYRO.P = 2000
2926
GYRO.MaxTorque = Vector3.new(0,4000000,0)
2927
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2928
 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(0,0,0),})
2929
    for i = 0,5,0.1 do
2930
        swait()
2931
                GYRO.cframe = CF(root.Position,mouse.Hit.p)
2932
        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)
2933
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
2934
        RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2935
        LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2936
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
2937
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2938
        end
2939
    local beam = Instance.new("Part", workspace)
2940
    beam.BrickColor = BrickColor.new("Deep orange")
2941
    beam.FormFactor = "Custom"
2942
    beam.Material = "Glass"
2943
    beam.Transparency = 0.5
2944
    beam.Anchored = true
2945
    beam.Locked = true
2946
    beam.CanCollide = false
2947
    local distance = (aa12.CFrame.p - mouse.Hit.p).magnitude
2948
    beam.Size = Vector3.new(1.05, 1.05, distance)
2949
    beam.CFrame = CFrame.new(aa12.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
2950
    game:GetService("Debris"):AddItem(beam, 0.14)
2951
	BlockEffect(BrickC("Deep orange"), ref.CFrame * CF(0, 0, 0), 25, 25, 25, 15, 15, 15, 0.04, 1)
2952
	BlockEffect(BrickC("Deep orange"), ref.CFrame * CF(0, 0, 0), 19, 19, 19, 10, 10, 10, 0.04, 1)
2953
        GYRO:Destroy()
2954
    for i, v in pairs(FindNearestHead(ref.CFrame.p, 2)) do
2955
        if v:FindFirstChild("Torso") then
2956
            Eviscerate(v)
2957
        end
2958
    end
2959
    attack = false
2960
end
2961
function Spirit_Beam()
2962
        attack = true
2963
	hum.WalkSpeed = 0
2964
local GYRO = IT("BodyGyro",root)
2965
GYRO.D = 100
2966
GYRO.P = 2000
2967
GYRO.MaxTorque = VT(0,4000000,0)
2968
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2969
	for i = 0,5,0.1 do
2970
		swait()
2971
                GYRO.cframe = CF(root.Position,mouse.Hit.p)
2972
		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)
2973
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2974
		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)
2975
		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)
2976
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
2977
		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(-0 + 2.5 * Sin(sine / 20))), 0.1)
2978
        end
2979
        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),})
2980
	HitboxFunction(ref.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 4, 25, 50, 1, "Normal")
2981
        BlockEffect(maincolor, ref.CFrame * CF(-0, -0, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
2982
	local beam = Instance.new("Part", workspace)
2983
	beam.BrickColor = BrickColor.new("Fog")
2984
	beam.FormFactor = "Custom"
2985
	beam.Material = "Glass"
2986
	beam.Transparency = 0.5
2987
	beam.Anchored = true
2988
	beam.Locked = true
2989
	beam.CanCollide = false
2990
	local distance = (Handle.CFrame.p - mouse.Hit.p).magnitude
2991
	beam.Size = Vector3.new(1.05, 1.05, distance)
2992
	beam.CFrame = CFrame.new(Handle.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
2993
	game:GetService("Debris"):AddItem(beam, 0.14)
2994
	local sound = Instance.new('Sound',Handle)
2995
	sound.SoundId = 'rbxassetid://588697948'
2996
	sound.Volume = 7
2997
	sound.EmitterSize = 40
2998
	sound.MaxDistance = 450
2999
	sound:Play()
3000
	game:GetService("Debris"):AddItem(beam, sound.TimeLength)
3001
        GYRO:Destroy()
3002
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
3003
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
3004
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
3005
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
3006
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
3007
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
3008
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
3009
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
3010
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
3011
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
3012
        wait(0.3)
3013
        attack = false
3014
	hum.WalkSpeed = 8
3015
        ref:Destroy()
3016
end
3017
function Distort()
3018
	attack = true
3019
	hum.WalkSpeed = 0
3020
		local pos = root.Position
3021
		root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
3022
	Cso("261227592", tors, 10, 0.85)
3023
	for i = 1,2.5,0.1 do
3024
        swait()
3025
        rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
3026
        end
3027
	attack = false
3028
	hum.WalkSpeed = 8
3029
end
3030
function Ancient_Rage()
3031
	attack = true
3032
	hum.WalkSpeed = 4
3033
	Cso("907329532", tors, 10, 1.05)
3034
	for i = 1,14,0.1 do
3035
        swait()
3036
                rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
3037
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
3038
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
3039
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
3040
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
3041
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
3042
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 7)) do
3043
		if v:FindFirstChild("Head") then
3044
                        Eviscerate(v)
3045
		end
3046
	end
3047
        end
3048
	attack = false
3049
	hum.WalkSpeed = 8
3050
end
3051
function TTTTTTTTTTTaunt()
3052
	attack = true
3053
	hum.WalkSpeed = 0
3054
        DTAUNT:Play()
3055
        repeat
3056
        swait()
3057
        DTAUNT.Parent = tors
3058
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
3059
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
3060
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
3061
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
3062
		RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
3063
		LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
3064
	until DTAUNT.Playing == false
3065
	attack = false
3066
	hum.WalkSpeed = 8
3067
end
3068
function HAAH()
3069
	attack = true
3070
	hum.WalkSpeed = 0
3071
	Cso("300208779", hed, 10, 1)
3072
	for i = 0,9,0.1 do
3073
		swait()
3074
		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)
3075
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
3076
		if Mrandom(1,15) == 1 then
3077
		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)
3078
		end
3079
		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)
3080
		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)
3081
		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)
3082
		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)
3083
	end
3084
	attack = false
3085
	hum.WalkSpeed = 10
3086
end
3087
function again()
3088
        attack = true
3089
	hum.WalkSpeed = 0
3090
        ITAUNT:Play()
3091
        repeat
3092
        swait()
3093
        ITAUNT.Parent = tors
3094
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08)
3095
	tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
3096
	RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08)
3097
	LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
3098
	RW.C0 = clerp(RW.C0, CF(1.5, 0.8 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(120 - 2.5 * Sin(sine / 20))), 0.1)
3099
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1)
3100
	until ITAUNT.Playing == false
3101
        attack = false
3102
	hum.WalkSpeed = 8
3103
end
3104
function LunarSpin()
3105
	attack = true
3106
	hum.WalkSpeed = 0
3107
	for i = 0,17,0.05 do
3108
		CameraEnshaking(1, 5)
3109
	        MagniDamage(tors, 47, 2, 5, 0, "Normal")
3110
	        Effects.Spiral.Create(BrickC("Teal"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03)
3111
		Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
3112
		swait()
3113
		PixelBlock(1.5,14,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-360,360)),math.rad(math.random(-50,50))),3,3,3,0.3,maincolor,0)
3114
		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)
3115
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3116
		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)
3117
		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)
3118
		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)
3119
		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)
3120
	end
3121
	hum.WalkSpeed = 8
3122
	attack = false
3123
end
3124
function Decapitate()
3125
	local target = nil
3126
	local targettorso = nil
3127
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
3128
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
3129
			target = mouse.Target.Parent.Humanoid
3130
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
3131
			targethead = mouse.Target.Parent:FindFirstChild("Head")
3132
		end
3133
	end
3134
	if target ~= nil then
3135
		targettorso.Anchored = true
3136
		attack = true
3137
		hum.WalkSpeed = 0
3138
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
3139
		for i = 0,4.2,0.1 do
3140
			swait()
3141
		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)
3142
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
3143
		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)
3144
		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)
3145
		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)
3146
		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)
3147
		end
3148
		local ModelHead01 = New("Model", char, "", {})
3149
        local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
3150
        local Head01 = targethead:Clone()
3151
        targethead.Transparency = 1
3152
        Head01.Parent = ModelHead01
3153
        local weldHead01 = Instance.new("Weld")
3154
        weldHead01.Parent = Head01
3155
        weldHead01.Part0 = targethead
3156
        weldHead01.Part1 = Head01
3157
        weldHead01.C1 = CFrame.new(0, 0, 0)
3158
		targethead.face:Remove()
3159
		weldHead01.Part0 = ra
3160
        weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
3161
		targettorso:BreakJoints()
3162
		CreateSound("314390675", targettorso, 5, .7)
3163
		for i = 0,3.2,0.1 do
3164
			swait()
3165
		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)
3166
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3167
		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)
3168
		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)
3169
		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)
3170
		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)
3171
		end
3172
		for i = 0,4.2,0.1 do
3173
			swait()
3174
		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)
3175
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
3176
		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)
3177
		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)
3178
		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)
3179
		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)
3180
		end
3181
		CreateSound("541909763", targettorso, 5, .8)
3182
		weldHead01:Destroy()
3183
        Head01.CanCollide = true
3184
        local bodyVelocity2 = Create("BodyVelocity")({
3185
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
3186
          P = 5000,
3187
          maxForce = Vector3.new(8000, 8000, 8000),
3188
          Parent = Head01
3189
        })
3190
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
3191
		for i = 0,6.2,0.1 do
3192
			swait()
3193
		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)
3194
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
3195
		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)
3196
		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)
3197
		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)
3198
		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)
3199
		end
3200
		targettorso.Anchored = false
3201
		attack = false
3202
		hum.WalkSpeed = 8
3203
		root.CFrame = targettorso.CFrame * CF(0,0,3.4)
3204
	end
3205
end
3206
function BalanceSpin()
3207
    attack = true
3208
    hum.WalkSpeed = 2
3209
    for i = 0,17,0.07 do
3210
        CameraEnshaking(1, 5)
3211
        MagniDamage(tors, 30, 7, 11, 0, "Normal")
3212
        swait()
3213
	Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick")
3214
	Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, BrickColor.new("Black"), 0, "Brick")
3215
	Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick")
3216
        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)
3217
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3218
        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)
3219
        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)
3220
        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)
3221
        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)
3222
    end
3223
    hum.WalkSpeed = 8
3224
    attack = false
3225
end
3226
3227
function BARK()
3228
	attack = true
3229
	hum.WalkSpeed = 0
3230
	BATAUNT:Play()
3231
	repeat
3232
	BATAUNT.Parent = tors
3233
	swait()
3234
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1)
3235
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
3236
	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)
3237
	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)
3238
	RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1)
3239
	LH.C0 = clerp(LH.C0, CF(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1)
3240
	until BATAUNT.Playing == false
3241
	attack = false
3242
	hum.WalkSpeed = 8
3243
end
3244
function CreateSound(ID, PARENT, VOLUME, PITCH)
3245
	local NSound = nil
3246
	coroutine.resume(coroutine.create(function()
3247
		NSound = Instance.new("Sound", PARENT)
3248
		NSound.Volume = VOLUME
3249
		NSound.Pitch = PITCH
3250
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
3251
		swait()
3252
		NSound:play()
3253
		game:GetService("Debris"):AddItem(NSound, 10)
3254
	end))
3255
	return NSound
3256
end
3257
function Bark_Splosion()
3258
	attack = true
3259
	for i = 0,2,0.05 do
3260
		swait()
3261
		Effects.Block.Create(BrickC("Cool yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
3262
		Effects.Block.Create(BrickC("Medium stone grey"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
3263
		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)
3264
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3265
		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)
3266
		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)
3267
		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)
3268
		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)
3269
	end
3270
	CreateSound("331666100", tors, 10, 1)
3271
	Effects.Ring.Create(BrickC("Cool yellow"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01)
3272
	MagniDamage(tors, 34, 25, 50, 15, "DarkUp")
3273
	CameraEnshaking(1.5, 10)  
3274
	for i = 1,2,0.1 do
3275
        swait()
3276
	PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
3277
	PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
3278
	PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
3279
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8)
3280
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
3281
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8)
3282
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8)
3283
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75)
3284
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75)
3285
	end
3286
	wait(.6)
3287
	attack = false
3288
end
3289
corrupted = false
3290
function Pixel_Corrupt()
3291
	attack = true
3292
        corrupted = true
3293
	for i = 0,3,0.05 do
3294
		swait()
3295
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8)
3296
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
3297
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8)
3298
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8)
3299
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75)
3300
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75)
3301
		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)
3302
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3303
		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)
3304
		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)
3305
		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)
3306
		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)
3307
	end
3308
        refa = New("Part",m,"refa",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),})
3309
	HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 20, 20, 25, 0, "Normal")
3310
        BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 30, 30, 30, 32, 32, 32, 0.07, 1)
3311
	CreateSound("331666100", refa, 10, 1)
3312
	CameraEnshaking(1.5, 10)  
3313
	coroutine.resume(coroutine.create(function() 
3314
	for i = 1,20,0.1 do
3315
        swait(5)
3316
PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
3317
PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
3318
PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
3319
PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
3320
	CreateSound("331666100", refa, 10, 1)
3321
        BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 22, 22, 22, 25, 25, 25, 0.041, 1)
3322
	HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 21.3, 5, 8, 0, "Normal")
3323
        end
3324
        refa:Destroy()
3325
        corrupted = false
3326
        end))
3327
	for i = 1,2.5,0.1 do
3328
        swait()
3329
rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.4)
3330
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.6)
3331
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.4)
3332
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.4)
3333
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.3)
3334
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.3)
3335
	end
3336
	wait(.3)
3337
	attack = false
3338
end
3339
MERKIO = Instance.new("Sound", tors) --why
3340
MERKIO.SoundId = "http://www.roblox.com/asset/?id=791374350"
3341
MERKIO.Volume = 10
3342
MERKIO.Pitch = 1
3343
MERKIO.Looped = false
3344
MERKIO.TimePosition = 0
3345
function URA()
3346
    attack = true
3347
        MERKIO:Play()
3348
        repeat
3349
    for i = 0,0.7,0.2 do
3350
        swait()
3351
                MERKIO.Parent = tors
3352
    for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
3353
        if v:FindFirstChild("Torso") then
3354
            Eviscerate(v)
3355
        end
3356
    end
3357
    for i, v in pairs(FindNearestHead(la.CFrame.p, 10)) do
3358
        if v:FindFirstChild("Torso") then
3359
            Eviscerate(v)
3360
        end
3361
    end
3362
        Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 45, 45, 45, 0.1, 0.1, 0.1, 0.03)
3363
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(10)), 0.8)
3364
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.9)
3365
        RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3366
        LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3367
        RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 1) * angles(Rad(90), Rad(0), Rad(-10)), 0.77)
3368
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), -1) * angles(Rad(90), Rad(0), Rad(10)), 0.67)
3369
    end
3370
        for i = 0,0.7,0.2 do
3371
                swait()
3372
                MERKIO.Parent = tors
3373
    for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
3374
        if v:FindFirstChild("Torso") then
3375
            Eviscerate(v)
3376
        end
3377
    end
3378
    for i, v in pairs(FindNearestHead(la.CFrame.p, 10)) do
3379
        if v:FindFirstChild("Torso") then
3380
            Eviscerate(v)
3381
        end
3382
    end
3383
        Effects.Sphere.Create(maincolor, la.CFrame * CFrame.new(0,-2,0) , 45, 45, 45, 0.1, 0.1, 0.1, 0.03)
3384
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(-10)), 0.8)
3385
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.9)
3386
        RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3387
        LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3388
        RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), -1) * angles(Rad(90), Rad(0), Rad(-10)), 0.77)
3389
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 1) * angles(Rad(90), Rad(0), Rad(10)), 0.67)
3390
        end
3391
        until MERKIO.Playing == false
3392
        MERKIO:Stop()
3393
    attack = false
3394
    hum.WalkSpeed = 16
3395
end
3396
function un_fun()
3397
        attack = true
3398
	hum.WalkSpeed = 0
3399
        BTAUNT:Play()
3400
        repeat
3401
        swait()
3402
        BTAUNT.Parent = tors
3403
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08)
3404
	tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08)
3405
	RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08)
3406
	LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08)
3407
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(210)), 0.08)
3408
	LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
3409
	until BTAUNT.Playing == false
3410
        attack = false
3411
	hum.WalkSpeed = 8
3412
end
3413
function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
3414
    local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
3415
    prt.Anchored = true
3416
    prt.Material = "Neon"
3417
    prt.CFrame = cframe
3418
    prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3419
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
3420
    game:GetService("Debris"):AddItem(prt, 5)
3421
    coroutine.resume(coroutine.create(function(Part, Mesh)
3422
        for i = 0, 1, delay do
3423
            swait()
3424
            Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3425
            Part.Transparency = i
3426
            Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
3427
        end
3428
        Part.Parent = nil
3429
    end), prt, msh)
3430
end
3431
function Ende_der_Weld()
3432
    attack = true
3433
    for i = 0,7,0.1 do
3434
        swait()
3435
	BlockEffect(BrickC("Royal purple"), ll.CFrame * CF(0, -1.5, 0), 5, 5, 5, 3, 3, 3, 0.04, 1)
3436
        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)
3437
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3438
        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)
3439
        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)
3440
        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)
3441
        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)
3442
    end
3443
    Cso("438666141", char, 10, 1)
3444
    Effects.Sphere.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.80, 0), 5, 2, 5, 150.6, .4, 150.6, 0.05)
3445
    Effects.Wave.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.80, 0), 1500, 1500, 1500, 250.6, .6, 250.6, 0.05)
3446
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
3447
        if v:FindFirstChild("Head") then
3448
            Eviscerate(v)
3449
        end
3450
    end
3451
    coroutine.resume(coroutine.create(function()
3452
        for i = 0,2.8,0.1 do
3453
            swait()
3454
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
3455
        end
3456
        for i = 0,1.8,0.1 do
3457
            swait()
3458
        hum.CameraOffset = Vector3.new(0,0,0)
3459
        end
3460
    end))
3461
    for i = 0,3.7,0.1 do
3462
        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)
3463
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3464
        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)
3465
        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)
3466
        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)
3467
        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)
3468
    end
3469
    attack = false
3470
end
3471
function thisisit2()
3472
        attack = true
3473
	hum.WalkSpeed = 0
3474
        STAUNT2:Play()
3475
        repeat
3476
        swait()
3477
        STAUNT2.Parent = tors
3478
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.2* Player_Size * Cos(sine / 26)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
3479
	tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
3480
        RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3481
        LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3482
	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(5)), 0.1)
3483
        LW.C0 = clerp(LW.C0, CF(-0.75, 0.35 + 0.05 * Sin(sine / 12), -0.6) * angles(Rad(0), Rad(0), Rad(92)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
3484
	until STAUNT2.Playing == false
3485
        attack = false
3486
	hum.WalkSpeed = 8
3487
end
3488
function thisisit()
3489
        attack = true
3490
    hum.WalkSpeed = 0
3491
        STAUNT:Play()
3492
        repeat
3493
        swait()
3494
        STAUNT.Parent = tors
3495
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.5* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
3496
	tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
3497
 	RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3498
	LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3499
        RW.C0 = clerp(RW.C0, CF(1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(130)), 0.1)
3500
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-130)), 0.1)
3501
    until STAUNT.Playing == false
3502
        attack = false
3503
    hum.WalkSpeed = 8
3504
end
3505
function Exploit()
3506
        exploitable = false
3507
	coroutine.resume(coroutine.create(function() 
3508
	for i = 1,20,0.1 do
3509
        swait()
3510
	BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1)
3511
        end
3512
	Cso("12222030", tors, 10, 1.05)
3513
        BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1)
3514
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do
3515
		if v:FindFirstChild("Head") then
3516
                        Eviscerate(v)
3517
                        SoulSteal(v)
3518
		end
3519
	end
3520
        wait(15)
3521
        exploitable = true
3522
        end))
3523
end
3524
  DTrail5.Enabled = true
3525
        DTrail4.Enabled = true
3526
        DTrail3.Enabled = true
3527
        DTrail2.Enabled = true
3528
        DTrail.Enabled = true
3529
function ASCENTION()
3530
	attack = true
3531
	hum.WalkSpeed = 0
3532
	Cso("987502413", tors, 10, 1.05)
3533
        local vel2 = Instance.new("BodyVelocity",tors)
3534
        vel2.Velocity = Vector3.new(0,30,0)
3535
        vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
3536
	for i = 0,20,0.1 do
3537
	HitboxFunction(tors.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 7, 10, 20, 20, "Normal")
3538
		swait()
3539
                BlockEffect(maincolor, ra.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
3540
                BlockEffect(maincolor, la.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
3541
		CameraEnshaking(1, 4)
3542
		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)
3543
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3544
		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)
3545
		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)
3546
		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)
3547
		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)
3548
	end
3549
	hum.WalkSpeed = 8
3550
        vel2:Destroy()
3551
	attack = false
3552
end
3553
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3554
local type = type
3555
local rng = Instance.new("Part", char)
3556
        rng.Anchored = true
3557
        rng.Color = color
3558
        rng.CanCollide = false
3559
        rng.FormFactor = 3
3560
        rng.Name = "Ring"
3561
        rng.Material = "Neon"
3562
        rng.Size = Vector3.new(1, 1, 1)
3563
        rng.Transparency = 0
3564
        rng.TopSurface = 0
3565
        rng.BottomSurface = 0
3566
        rng.CFrame = pos
3567
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3568
        local rngm = Instance.new("SpecialMesh", rng)
3569
        rngm.MeshType = "Sphere"
3570
rngm.Scale = vt(x1,y1,z1)
3571
if rainbowmode == true then
3572
rng.Color = Color3.new(r/255,g/255,b/255)
3573
end
3574
local scaler2 = 1
3575
local speeder = FastSpeed
3576
if type == "Add" then
3577
scaler2 = 1*value
3578
elseif type == "Divide" then
3579
scaler2 = 1/value
3580
end
3581
coroutine.resume(coroutine.create(function()
3582
for i = 0,10/bonuspeed,0.1 do
3583
swait()
3584
if rainbowmode == true then
3585
rng.Color = Color3.new(r/255,g/255,b/255)
3586
end
3587
if type == "Add" then
3588
scaler2 = scaler2 - 0.01*value/bonuspeed
3589
elseif type == "Divide" then
3590
scaler2 = scaler2 - 0.01/value*bonuspeed
3591
end
3592
if chaosmode == true then
3593
rng.BrickColor = BrickColor.random()
3594
end
3595
        if glitchymode then
3596
            local val = math.random(1,255)
3597
            local color = Color3.fromRGB(val,val,val)
3598
            rng.Color = color
3599
        end
3600
speeder = speeder - 0.01*FastSpeed*bonuspeed
3601
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3602
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3603
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
3604
end
3605
rng:Destroy()
3606
end))
3607
end
3608
3609
function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
3610
    local type = type
3611
    local rng = Instance.new("Part", char)
3612
    rng.Anchored = true
3613
    rng.BrickColor = color
3614
    rng.CanCollide = false
3615
    rng.FormFactor = 3
3616
    rng.Name = "Ring"
3617
    rng.Material = "Neon"
3618
    rng.Size = Vector3.new(1, 1, 1)
3619
    rng.Transparency = 0
3620
    rng.TopSurface = 0
3621
    rng.BottomSurface = 0
3622
    rng.CFrame = pos
3623
    rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
3624
    local rngm = Instance.new("SpecialMesh", rng)
3625
    rngm.MeshType = "Sphere"
3626
    rngm.Scale = Vector3.new(x1, y1, z1)
3627
    local scaler2 = 1
3628
    local speeder = FastSpeed
3629
    if type == "Add" then
3630
        scaler2 = 1 * value
3631
    elseif type == "Divide" then
3632
        scaler2 = 1 / value
3633
    end
3634
    coroutine.resume(coroutine.create(function()
3635
        for i = 0, 10 / bonuspeed, 0.1 do
3636
            swait()
3637
            if type == "Add" then
3638
                scaler2 = scaler2 - 0.01 * value / bonuspeed
3639
            elseif type == "Divide" then
3640
                scaler2 = scaler2 - 0.01 / value * bonuspeed
3641
            end
3642
                        rng.BrickColor = BrickColor.random()
3643
            speeder = speeder - 0.01 * FastSpeed * bonuspeed
3644
            rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
3645
            rng.Transparency = rng.Transparency + 0.01 * bonuspeed
3646
            rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
3647
        end
3648
        rng:Destroy()
3649
    end))
3650
end
3651
3652
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3)
3653
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
3654
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.3)
3655
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.3)
3656
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.3)
3657
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
3658
3659
function aaa()
3660
    attack = true
3661
    maincolor = BrickColor.Random()
3662
	for i = 0,20,0.1 do
3663
        swait()
3664
		Effects.Block.Create(BrickColor.Random(), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
3665
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30))), 0.3)
3666
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30)), Rad(-55 + Mrandom(-30,30))), 0.3)
3667
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0 + Mrandom(-30,30)), Rad(87 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30))) * angles(Rad(-30), Rad(0), Rad(15)), 0.3)
3668
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0 + Mrandom(-30,30)), Rad(-87 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30))) * angles(Rad(-5), Rad(0), Rad(9)), 0.3)
3669
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90 + Mrandom(-30,30)), Rad(-7.5 + Mrandom(-30,30)), Rad(35 + Mrandom(-30,30))), 0.3)
3670
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25 + Mrandom(-30,30)), Rad(7.5 + Mrandom(-30,30)), Rad(-25 + Mrandom(-30,30))), 0.3)
3671
    end
3672
    Magic(5, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(10, 10, 10), 1, maincolor, "Sphere")
3673
    Magic(3, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(20, 20, 20), 1, maincolor, "Sphere")
3674
    Magic(1, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(30, 30, 30), 1, maincolor, "Sphere")
3675
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
3676
        if v:FindFirstChild("Head") then
3677
            Eviscerate(v)
3678
        end
3679
    end
3680
    maincolor = BrickColor.new("White")
3681
    attack = false
3682
end
3683
3684
function stomp()
3685
    attack = true
3686
    CreateSound("331666100", char, 10, 1)
3687
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3688
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3689
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3690
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3691
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
3692
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
3693
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
3694
        if v:FindFirstChild("Head") then
3695
            Eviscerate(v)
3696
            SoulSteal(v)
3697
        end
3698
    end
3699
    coroutine.resume(coroutine.create(function()
3700
        for i = 0,2.8,0.1 do
3701
            swait()
3702
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
3703
        end
3704
        for i = 0,1.8,0.1 do
3705
            swait()
3706
        hum.CameraOffset = Vector3.new(0,0,0)
3707
        end
3708
    end))
3709
    wait(.6)
3710
    attack = false
3711
end
3712
function Painful_Stomp()
3713
    attack = true
3714
    CreateSound("331666100", char, 10, 1)
3715
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3716
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3717
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3718
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3719
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
3720
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
3721
    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)
3722
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
3723
        if v:FindFirstChild("Head") then
3724
            Eviscerate(v)
3725
        end
3726
    end
3727
    coroutine.resume(coroutine.create(function()
3728
        for i = 0,2.8,0.1 do
3729
            swait()
3730
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
3731
        end
3732
        for i = 0,1.8,0.1 do
3733
            swait()
3734
        hum.CameraOffset = Vector3.new(0,0,0)
3735
        end
3736
    end))
3737
    attack = false
3738
end
3739
3740
local Hair = Instance.new("Part", char)
3741
Hair.Name = "Hair"
3742
Hair.CanCollide = false
3743
Hair.BrickColor = BrickColor.new("Institutional white")
3744
Hair.Transparency = 0
3745
Hair.Material = "Plastic"
3746
Hair.Size = Vector3.new(1, 1, 2)
3747
Hair.TopSurface = Enum.SurfaceType.Smooth
3748
Hair.BottomSurface = Enum.SurfaceType.Smooth
3749
 
3750
local Weld = Instance.new("Weld", Hair)
3751
Weld.Part0 = hed
3752
Weld.Part1 = Hair
3753
Weld.C1 = CFrame.new(0, -.6, 0)
3754
Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
3755
 
3756
local M2 = Instance.new("SpecialMesh")
3757
M2.Parent = Hair
3758
M2.MeshId = "http://www.roblox.com/asset/?id=13640868"
3759
M2.TextureId = "http://www.roblox.com/asset/?id=18987684"
3760
M2.Scale = Vector3.new(1, 1, 1)
3761
3762
for i,v in pairs(char:children()) do
3763
if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
3764
v:Remove()
3765
end
3766
end
3767
shirt = Instance.new("Shirt", char)
3768
shirt.Name = "Shirt"
3769
pants = Instance.new("Pants", char)
3770
pants.Name = "Pants"
3771-
char.Shirt.ShirtTemplate = "rbxassetid://676428254"
3771+
char.Shirt.ShirtTemplate = "rbxassetid://0"
3772-
char.Pants.PantsTemplate = "rbxassetid://676428351"
3772+
char.Pants.PantsTemplate = "rbxassetid://0"
3773
3774
char.Head.face.Texture = "rbxassetid://0"
3775
char.Torso.roblox.Texture = "rbxassetid://0"
3776
3777-
char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
3777+
3778-
char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
3778+
3779-
char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
3779+
3780-
char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
3780+
3781-
char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
3781+
3782
3783
spawn(function()
3784
    while true do
3785
        for i=0,255,rate do
3786
            g2 = i
3787
            wait()
3788
        end
3789
        for i=255,0,-rate do
3790
            r2 = i
3791
            wait()
3792
        end
3793
        for i=0,255,rate do
3794
            b2 = i
3795
            wait()
3796
        end
3797
        for i=255,0,-rate do
3798
            g2 = i
3799
            wait()
3800
        end
3801
        for i=0,255,rate do
3802
            r2 = i
3803
            wait()
3804
        end
3805
        for i=255,0,-rate do
3806
            b2 = i
3807
            wait()
3808
        end
3809
    end
3810
end)
3811
------
3812
3813
local r,g,b=255,0,0
3814
3815
local rate = 1000--more is faster!
3816
3817
spawn(function()
3818
    while true do
3819
        for i=0,255,rate do
3820
            g = i
3821
            wait()
3822
        end
3823
        for i=255,0,-rate do
3824
            r = i
3825
            wait()
3826
        end
3827
        for i=0,255,rate do
3828
            b = i
3829
            wait()
3830
        end
3831
        for i=255,0,-rate do
3832
            g = i
3833
            wait()
3834
        end
3835
        for i=0,255,rate do
3836
            r = i
3837
            wait()
3838
        end
3839
        for i=255,0,-rate do
3840
            b = i
3841
            wait()
3842
        end
3843
    end
3844
end)
3845
3846
function ByeBye()
3847
    local target = nil
3848
    local targettorso = nil
3849
    if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
3850
        if mouse.Target.Parent.Humanoid.PlatformStand == false then
3851
            target = mouse.Target.Parent.Humanoid
3852
            targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
3853
            targethead = mouse.Target.Parent:FindFirstChild("Head")
3854
        end
3855
    end
3856
    if target ~= nil then
3857
        targettorso.Anchored = true
3858
        attack = true
3859
        hum.WalkSpeed = 0
3860
        root.CFrame = targettorso.CFrame * CF(0,0,2)
3861
        for i = 0,4.2,0.1 do
3862
            swait()
3863
        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)
3864
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3865
        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)
3866
        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)
3867
        RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
3868
        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(-25)), 0.1)
3869
        end
3870
        local bloody = Instance.new("ParticleEmitter",targettorso)
3871
        bloody.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
3872
        bloody.LightEmission = .1
3873
        bloody.Size = NumberSequence.new(0.5, 0)
3874
        bloody.Texture = "http://www.roblox.com/asset/?ID=602578593"
3875
        aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
3876
        bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
3877
        bloody.Transparency = bbb
3878
        bloody.Size = aaa
3879
        bloody.ZOffset = -.9
3880
        bloody.Acceleration = Vector3.new(0, -5, 0)
3881
        bloody.LockedToPart = false
3882
        bloody.Lifetime = NumberRange.new(0.8)
3883
        bloody.Rate = 255
3884
        bloody.Rotation = NumberRange.new(-100, 100)
3885
        bloody.RotSpeed = NumberRange.new(-100, 100)
3886
        bloody.Speed = NumberRange.new(6)
3887
        bloody.VelocitySpread = 0
3888
        bloody.Enabled=true
3889
        targethead:Remove()
3890
        CreateSound("429400881", targettorso, 5, .8)
3891
        CreateSound("1093102664", targettorso, 10, 1)
3892
        for i = 0,6.2,0.1 do
3893
            swait()
3894
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.15)
3895
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-110)), 0.3)
3896
        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)
3897
        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)
3898
        RW.C0 = clerp(RW.C0, CF(1.3, 0.7 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(100), Rad(0), Rad(-15)), 0.1)
3899
        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(-5)), 0.1)
3900
        end
3901
        targettorso.Anchored = false
3902
        attack = false
3903
        hum.WalkSpeed = 16
3904
        root.CFrame = targettorso.CFrame * CF(0,0,3)
3905
    end
3906
end
3907
3908
local Blood1 = Create("ParticleEmitter")({
3909
  Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
3910
  Transparency = NumberSequence.new(0.1, 1),
3911
  Size = NumberSequence.new(0.5, 0),
3912
  Texture = "rbxassetid://602578593",
3913
  Lifetime = NumberRange.new(0.8),
3914
  Rate = 255,
3915
  VelocitySpread = 40,
3916
  Rotation = NumberRange.new(100),
3917
  Speed = NumberRange.new(5),
3918
  LightEmission = 0,
3919
  LockedToPart = false,
3920
  Acceleration = Vector3.new(0, -10, 0),
3921
  EmissionDirection = "Bottom"
3922
})
3923
3924
function Sayonara()
3925
    local target = nil
3926
    local targettorso = nil
3927
    if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
3928
        if mouse.Target.Parent.Humanoid.PlatformStand == false then
3929
            target = mouse.Target.Parent.Humanoid
3930
            targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
3931
            targethead = mouse.Target.Parent:FindFirstChild("Head")
3932
            targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
3933
            targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
3934
        end
3935
    end
3936
    if target ~= nil then
3937
        targettorso.Anchored = true
3938
        attack = true
3939
        hum.WalkSpeed = 0
3940
        root.CFrame = targettorso.CFrame * CF(0,0,2.4)
3941
        for i = 0,6.2,0.1 do
3942
            swait()
3943
        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)
3944
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
3945
        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)
3946
        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(-10)), 0.15)
3947
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
3948
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-10)), 0.1)
3949
        end
3950
        do
3951
        CreateSound("429400881", targettorso, 5, 1)
3952
        local ModelArm02 = New("Model", char, "Arm", {})
3953
        local ModelArm03 = New("Model", char, "Arm", {})
3954
        local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
3955
        local Humanoid03 = New("Humanoid", ModelArm03, "Humanoid", {})
3956
        local Arm02 = targetleftarm:Clone()
3957
        local Arm03 = targetrightarm:Clone()
3958
        targetleftarm.Transparency = 1
3959
        targetrightarm.Transparency = 1
3960
        Arm02.Parent = ModelArm02
3961
        Arm03.Parent = ModelArm03
3962
        for i, v in pairs(Arm02:GetChildren()) do
3963
          v:Destroy()
3964
        end
3965
        for i, v in pairs(Arm03:GetChildren()) do
3966
          v:Destroy()
3967
        end
3968
        local weldArm02 = Instance.new("Weld")
3969
        weldArm02.Parent = Arm02
3970
        weldArm02.Part0 = targetleftarm
3971
        weldArm02.Part1 = Arm02
3972
        weldArm02.C1 = CFrame.new(0, 0, 0)
3973
        local weldArm03 = Instance.new("Weld")
3974
        weldArm03.Parent = Arm03
3975
        weldArm03.Part0 = targetrightarm
3976
        weldArm03.Part1 = Arm03
3977
        weldArm03.C1 = CFrame.new(0, 0, 0)
3978
        for i, v in pairs(target:GetChildren()) do
3979
          if v:IsA("Shirt") then
3980
            v:clone().Parent = ModelArm02
3981
          end
3982
        end
3983
        for i, v in pairs(target:GetChildren()) do
3984
          if v:IsA("Shirt") then
3985
            v:clone().Parent = ModelArm03
3986
          end
3987
        end
3988
        weldArm02.Part0 = la
3989
        weldArm02.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
3990
        weldArm03.Part0 = ra
3991
        weldArm03.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
3992
        local BE1 = Blood1:Clone()
3993
        BE1.Parent = targetleftarm
3994
        game:GetService("Debris"):AddItem(BE1, 3)
3995
        BE1.Rate = 255
3996
        local BE2 = Blood1:Clone()
3997
        BE2.Parent = targetrightarm
3998
        game:GetService("Debris"):AddItem(BE2, 3)
3999
        BE2.Rate = 255
4000
        for i = 0,6.2,0.1 do
4001
            swait()
4002
        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)
4003
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4004
        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)
4005
        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(10)), 0.15)
4006
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
4007
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
4008
        end
4009
        for i = 0,6.2,0.1 do
4010
            swait()
4011
        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)
4012
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4013
        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(-20)), 0.15)
4014
        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(20)), 0.15)
4015
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(15)), 0.1)
4016
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(-15)), 0.1)
4017
        end
4018
        CreateSound("541909763", targettorso, 5, .8)
4019
        weldArm02:Destroy()
4020
        Arm02.CanCollide = true
4021
        weldArm03:Destroy()
4022
        Arm03.CanCollide = true
4023
        local bodyVelocity2 = Create("BodyVelocity")({
4024
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
4025
          P = 5000,
4026
          maxForce = Vector3.new(8000, 8000, 8000),
4027
          Parent = Arm02
4028
        })
4029
        local bodyVelocity3 = Create("BodyVelocity")({
4030
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
4031
          P = 5000,
4032
          maxForce = Vector3.new(8000, 8000, 8000),
4033
          Parent = Arm03
4034
        })
4035
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
4036
        game:GetService("Debris"):AddItem(bodyVelocity3, 0.05)
4037
        for i = 0,6.2,0.1 do
4038
            swait()
4039
        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)
4040
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4041
        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(35)), 0.15)
4042
        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(-20)), 0.15)
4043
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(15)), 0.1)
4044
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(-15)), 0.1)
4045
        end
4046
        end
4047
        targettorso.Anchored = false
4048
        attack = false
4049
        hum.WalkSpeed = 16
4050
        root.CFrame = targettorso.CFrame * CF(0,0,3.4)
4051
    end
4052
end
4053
4054
function dash()
4055
dashing = true
4056
attack = true
4057
  local bv = Instance.new("BodyVelocity")
4058
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4059
  bv.velocity = root.CFrame.lookVector*200
4060
  bv.Parent = root
4061
for i = 0,1,0.1 do
4062
		swait()
4063
bv.velocity = root.CFrame.lookVector*200
4064
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*CF(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(0)),0.5)
4065
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
4066
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(50)), 0.5)
4067
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(-50)), 0.5)
4068
RH.C0=clerp(RH.C0,CF(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
4069
LH.C0=clerp(LH.C0,CF(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
4070
	end
4071
bv:Destroy()
4072
attack = false
4073
dashing = false
4074
end
4075
4076
function Multi_Bombs()
4077
    attack = true
4078
    hum.WalkSpeed = 3.01
4079
    for i = 0,3,0.1 do
4080
        swait()
4081
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4082
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4083
        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)
4084
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4085
        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)
4086
        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)
4087
        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)
4088
        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)
4089
    end
4090
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
4091
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
4092
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
4093
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
4094
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
4095
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
4096
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
4097
    CreateSound("142070127", tors, 10, 1)
4098
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
4099
        if v:FindFirstChild("Head") then
4100
            Eviscerate(v)
4101
        end
4102
    end 
4103
    for i = 0,1,0.1 do
4104
        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)
4105
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4106
        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)
4107
        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)
4108
        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)
4109
        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)
4110
    end
4111
    for i = 0,2,0.1 do
4112
        swait()
4113
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4114
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4115
        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)
4116
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4117
        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)
4118
        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)
4119
        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)
4120
        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)
4121
    end
4122
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
4123
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
4124
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
4125
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
4126
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
4127
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
4128
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
4129
    CreateSound("142070127", tors, 10, 1)
4130
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
4131
        if v:FindFirstChild("Head") then
4132
            Eviscerate(v)
4133
        end
4134
    end 
4135
    for i = 0,1,0.1 do
4136
        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)
4137
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4138
        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)
4139
        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)
4140
        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)
4141
        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)
4142
    end
4143
    for i = 0,2,0.1 do
4144
        swait()
4145
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4146
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4147
        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)
4148
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4149
        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)
4150
        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)
4151
        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)
4152
        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)
4153
    end
4154
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
4155
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
4156
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
4157
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
4158
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
4159
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
4160
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
4161
    CreateSound("142070127", tors, 10, 1)
4162
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
4163
        if v:FindFirstChild("Head") then
4164
            Eviscerate(v)
4165
        end
4166
    end 
4167
   for i = 0,1,0.1 do
4168
        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)
4169
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4170
        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)
4171
        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)
4172
        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)
4173
        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)
4174
    end
4175
    wait(.6)
4176
    attack = false
4177
    hum.WalkSpeed = 8
4178
end
4179
function Universal_Crush()
4180
    attack = true
4181
    for i = 0,5.2,0.05 do
4182
        swait()
4183
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4184
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4185
        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)
4186
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4187
        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)
4188
        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)
4189
        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)
4190
        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)
4191
    end
4192
    CreateSound("331666100", tors, 10, 1)
4193
    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)
4194
    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)
4195
    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)
4196
    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)
4197
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 500)) do
4198
        if v:FindFirstChild("Head") then
4199
            Eviscerate(v)
4200
        end
4201
    end
4202
    coroutine.resume(coroutine.create(function()
4203
        for i = 0,1.8,0.1 do
4204
            swait()
4205
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
4206
        end
4207
        for i = 0,1.8,0.1 do
4208
            swait()
4209
        hum.CameraOffset = Vector3.new(0,0,0)
4210
        end
4211
    end))
4212
    for i = 1,4.7,0.1 do
4213
    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)
4214
    tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
4215
    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)
4216
    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)
4217
    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)
4218
    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)
4219
    end
4220
    wait(.6)
4221
    attack = false
4222
end
4223
-------------------------------------------------------
4224
--End Attacks N Stuff--
4225
-------------------------------------------------------
4226
Sprinting = false
4227
mouse.KeyDown:connect(function(key)
4228
    if string.byte(key) == 48 and attack == false and Mode ~= 10 then
4229
        Swing = 2
4230
        hum.WalkSpeed = 38.82
4231
        Sprinting = true
4232
	end
4233
end)
4234
mouse.KeyUp:connect(function(key)
4235
    if string.byte(key) == 48 and attack == false then
4236
        Swing = 1
4237
        Sprinting = false
4238
        hum.WalkSpeed = 8
4239
	end
4240
end)
4241
mouse.KeyDown:connect(function(key)
4242
	if attack == false then
4243
		if key == 'q' and Mode == 1 then
4244
                        Power_Burst()
4245
		elseif key == '1' and Mode ~= 2 then
4246
			Mode = 2
4247
			SONG = 2145635015
4248
		elseif key == '1' and Mode == 2 then
4249
			resetmode()
4250
		elseif key == 't' and Mode == 1 then
4251
                        Taunt()
4252
		elseif key == 'q' and Mode == 2 then
4253
                        Magic_Bombs()
4254
		elseif key == 'e' and Mode == 2 then
4255
                        Dangerous_Field()
4256
        elseif key == 'c' and Mode == 2 then
4257
            dash()
4258
		elseif key == 't' and Mode == 2 then
4259
                        HAAH()
4260
		end
4261
	---------------------------------------------------------------------
4262
    if key == 'm' and Mode == 6 and Mode ~= 10 and Sprinting == false then
4263
        Mode = 10
4264
        SONG = 1138145518
4265
        elseif key == 'm' and Mode == 10 then
4266
            resetmode()
4267
        elseif key == 'q' and Mode == 10 then
4268
            Decapitate()
4269
        elseif key == 'e' and Mode == 10 then
4270
            stomp()
4271
        elseif key == 'r' and Mode == 10 then
4272
            Painful_Stomp()
4273
        elseif key == 'c' and Mode == 10 then
4274
            dash()
4275
        elseif key == 't' and Mode == 10 then
4276
            aaa()
4277
    end
4278
	---------------------------------------------------------------------
4279
    if key == 'g' and Mode ~= 3 then
4280
        Mode = 3
4281
        SONG = 0
4282
        Core.BrickColor = BrickColor.new("Really red")
4283
        Core2.BrickColor = BrickColor.new("Really red")
4284
        imgl2.ImageColor3 = BrickC("Really red").Color
4285
        techc.ImageColor3 = BrickC("Really red").Color
4286
        ned.Text = "Rainbow"
4287
for i, v in pairs(NeonColorParts1000) do
4288
  v.BrickColor = BrickC("Really red")
4289
end
4290
        ned.TextColor3 = BrickC("Really red").Color
4291
        ned.TextStrokeColor3 = BrickC("Really black").Color
4292
        elseif key == 'c' and Mode == 3 then
4293
            dash()
4294
        elseif key == 'g' and Mode == 3 then
4295
            resetmode()
4296
    end
4297
	---------------------------------------------------------------------
4298
    if key == 'f' and Mode ~= 6 then
4299
        Mode = 6
4300
        SONG = 339568749
4301
        Core.BrickColor = BrickColor.new("Really red")
4302
        Core2.BrickColor = BrickColor.new("Really red")
4303
        imgl2.ImageColor3 = BrickC("Really red").Color
4304
        techc.ImageColor3 = BrickC("Really red").Color
4305
        ned.Text = "Murder"
4306
        ned.TextColor3 = BrickC("Really red").Color
4307
        ned.TextStrokeColor3 = BrickC("Really black").Color
4308
        elseif key == 'f' and Mode == 6 then
4309
            resetmode()
4310
        elseif key == 'z' and Mode == 6 then
4311
            Decapitate()
4312
        elseif key == 'x' and Mode == 6 then
4313
            Sayonara()
4314
        elseif key == 't' and Mode == 6 then
4315
            TTTTTTTTTTTaunt()        
4316
        elseif key == 'e' and Mode == 6 then
4317
            dash()
4318
        elseif key == 'c' and Mode == 6 then
4319
            ByeBye()
4320
    end
4321
	---------------------------------------------------------------------
4322
    if key == 'b' and Mode == 3 then
4323
        Mode = 9990
4324
        SONG = 485554606
4325
        Core.BrickColor = BrickColor.new("Lime green")
4326
        Core2.BrickColor = BrickColor.new("Lime green")
4327
        imgl2.ImageColor3 = BrickC("Really black").Color
4328
        techc.ImageColor3 = BrickC("Lime green").Color
4329
        ned.Text = "Nuclear"
4330
        ned.TextColor3 = BrickC("Really black").Color
4331
        ned.TextStrokeColor3 = BrickC("Lime green").Color
4332
      
4333
        elseif key == 'z' and Mode == 9990 then
4334
            NUCLEAR()
4335
                elseif key == 'c' and Mode == 9990 then
4336
            dash()
4337
      elseif key == 'b' and Mode == 9990 then
4338
            resetmode()
4339
    end
4340
	---------------------------------------------------------------------
4341
    if key == 'b' and Mode == 99 then
4342
        Mode = 122
4343
        SONG = 285256659
4344
        Core.BrickColor = BrickColor.new("White")
4345
        Core2.BrickColor = BrickColor.new("Really black")
4346
        imgl2.ImageColor3 = BrickC("White").Color
4347
        techc.ImageColor3 = BrickC("Really black").Color
4348
        ned.Text = "Fighter"
4349
for i, v in pairs(NeonColorParts1000) do
4350
  v.BrickColor = BrickC("Really black")
4351
end
4352
        ned.TextColor3 = BrickC("Really black").Color
4353
        ned.TextStrokeColor3 = BrickC("White").Color
4354
        elseif key == 'z' and Mode == 122 then
4355
            URA()
4356
        elseif key == 'c' and Mode == 122 then
4357
            dash()
4358
        elseif key == 'b' and Mode == 122 then
4359
            resetmode()
4360
    end
4361
	---------------------------------------------------------------------
4362
    if key == 'j' and Mode ~= 8 then
4363
        Mode = 8
4364
        SONG = 3086889338
4365
        Core.BrickColor = BrickColor.new("Dark indigo")
4366
        Core2.BrickColor = BrickColor.new("Dark indigo")
4367
        imgl2.ImageColor3 = BrickC("Dark indigo").Color
4368
        techc.ImageColor3 = BrickC("Dark indigo").Color
4369
        ned.Text = "Planetary"
4370
        ned.TextColor3 = BrickC("Dark indigo").Color
4371
        ned.TextStrokeColor3 = BrickC("Dark indigo").Color
4372
        elseif key == 'z' and Mode == 8 then
4373
            Multi_Bombs()       
4374
        elseif key == 'x' and Mode == 8 then
4375
            Universal_Crush()
4376
        elseif key == 't' and Mode == 8 then
4377
            thisisit()
4378
        elseif key == 'c' and Mode == 8 then
4379
            dash()
4380
        elseif key == 'j' and Mode == 8 then
4381
            resetmode()
4382
    end
4383
	---------------------------------------------------------------------
4384
    if key == 'm' and Mode == 8 then
4385
        Mode = 10000
4386
        SONG = 346191865
4387
        Core.BrickColor = BrickColor.new("Royal purple")
4388
        Core2.BrickColor = BrickColor.new("Royal purple")
4389
        imgl2.ImageColor3 = BrickC("Really black").Color
4390
        techc.ImageColor3 = BrickC("Royal purple").Color
4391
        ned.Text = "Void"
4392
        ned.TextColor3 = BrickC("Really black").Color
4393
        ned.TextStrokeColor3 = BrickC("Royal purple").Color
4394
        elseif key == 'z' and Mode == 10000 then
4395
            Ende_der_Weld()
4396
        elseif key == 'c' and Mode == 10000 then
4397
            dash()
4398
        elseif key == 'm' and Mode == 10000 then
4399
            resetmode()
4400
    end
4401
	---------------------------------------------------------------------
4402
    if key == 'h' and Mode ~= 99 then
4403
        Mode = 99
4404
        SONG = 3210544464
4405
        Core.BrickColor = BrickColor.new("Deep orange")
4406
        imgl2.ImageColor3 = BrickC("Deep orange").Color
4407
        Core2.BrickColor = BrickColor.new("Deep orange")
4408
        techc.ImageColor3 = BrickC("Deep orange").Color
4409
        ned.Text = "Infused"
4410
        ned.TextColor3 = BrickC("Deep orange").Color
4411
        ned.TextStrokeColor3 = BrickC("Deep orange").Color
4412
        elseif key == 'z' and Mode == 99 then
4413
            LAZER()
4414
        elseif key == 't' and Mode == 99 then
4415
            again()
4416
        elseif key == 'c' and Mode == 99 then
4417
            dash()
4418
        elseif key == 'h' and Mode == 99 then
4419
            resetmode()
4420
    end
4421
	---------------------------------------------------------------------
4422
    if key == 'm' and Mode == 1 then
4423
		Mode = oof
4424
		SONG = 3274989179
4425
        ned.Text = ""
4426
        Core.BrickColor = BrickColor.new("Cyan")
4427
        Core2.BrickColor = BrickColor.new("Cyan")
4428
        techc.ImageColor3 = BrickC("Cyan").Color
4429
        ned.TextColor3 = BrickC("Cyan").Color
4430
        imgl2.ImageColor3 = BrickC("Cyan").Color
4431
        ned.TextStrokeColor3 = BrickC("White").Color
4432
for i, v in pairs(NeonColorParts1000) do
4433
  v.BrickColor = BrickC("Cyan")
4434
end
4435
	elseif key == 'm' and Mode == oof then
4436
		resetmode()
4437
	elseif key == 'z' and Mode == oof and exploitable == true then
4438
		Exploit()
4439
	elseif key == 't' and Mode == oof then
4440
		thisisit2()
4441
        elseif key == 'c' and Mode == oof then
4442
            dash()
4443
	elseif key == 'x' and Mode == oof then
4444
		LunarSpin()
4445
	end
4446
	end
4447
end)
4448
local Combo = 1
4449
mouse.Button1Down:connect(function(key)
4450
	if attack == false then
4451
		if Combo == 1 then
4452
			Combo = 2
4453
			attackone()
4454
		elseif Combo == 2 then
4455
			Combo = 3
4456
			attacktwo()
4457
		elseif Combo == 3 then
4458
			Combo = 1
4459
			attackthree()
4460
		end
4461
	end
4462
end)
4463
4464
4465
4466
 function newTheme(ID,timepos,pitch,vol)
4467
local kanz = Music
4468
--kanz:Stop()
4469
kanz.Volume = vol
4470
--kanz.TimePosition = timepos
4471
kanz.PlaybackSpeed = pitch
4472
kanz.Pitch = pitch
4473
kanz.SoundId = ID
4474
kanz.Name = "wrecked"
4475
kanz.Looped = true
4476
currentThemePlaying = kanz.SoundId
4477
currentVol = kanz.Volume
4478
currentPitch = kanz.Pitch
4479
--kanz:Play()
4480
--coroutine.resume(coroutine.create(function()
4481
--wait(0.05)
4482
--end))
4483
end
4484
4485
4486
function newThemeCust(ID,timepos,pitch,vol)
4487
local kanz = Music
4488
kanz:Stop()
4489
kanz.Volume = vol
4490
kanz.TimePosition = timepos
4491
kanz.PlaybackSpeed = pitch
4492
kanz.Pitch = pitch
4493
kanz.SoundId = ID
4494
kanz.Name = "wrecked"
4495
kanz.Looped = true
4496
currentThemePlaying = kanz.SoundId
4497
currentVol = kanz.Volume
4498
currentPitch = kanz.Pitch
4499
kanz:Play()
4500
coroutine.resume(coroutine.create(function()
4501
wait(0.05)
4502
end))
4503
end
4504
4505
plr.Chatted:connect(function(message)
4506
if Mode == 3 then
4507
if message:sub(1,5) == "play/" then
4508
OVMID = message:sub(6)
4509
newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4510
elseif message:sub(1,6) == "pitch/" then
4511
OVMPIT = message:sub(7)
4512
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4513
elseif message:sub(1,4) == "vol/" then
4514
OVMVOL = message:sub(5)
4515
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4516
elseif message:sub(1,7) == "skipto/" then
4517
chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(Music.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4518
newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
4519
elseif message:sub(1,9) == "telltime/" then
4520
chatfunc("Current time pos: "..math.floor(Music.TimePosition).." out of "..math.floor(Music.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4521
end
4522
end
4523
end)
4524
4525
Music.Name = "musicname"
4526
4527
Character = plr.Character
4528
Character.ChildRemoved:connect(function(removed) if removed.Name == "musicname" then Music = instanse.new("Sound") end end)
4529
4530
4531
-------------------------------------------------------
4532
--Start Animations--
4533
-------------------------------------------------------
4534
while true do
4535
	swait()
4536
	sine = sine + change
4537
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
4538
	local velderp = root.Velocity.y
4539
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
4540
	if equipped == true or equipped == false then
4541
		if attack == false then
4542
			idle = idle + 1
4543
		else
4544
			idle = 0
4545
		end
4546
        if Mode == 10 then
4547
        maincolor = BrickColor.random()
4548
        imgl2.ImageColor3 = Color3.fromRGB(r,g,b)
4549
        techc.ImageColor3 = Color3.fromRGB(r,g,b)
4550
        ned.Text = "InSanE"
4551
        Core.BrickColor = BrickColor.random()
4552
        Core2.BrickColor = BrickColor.random()
4553
        ned.TextColor3 = Color3.fromRGB(r,g,b)
4554
        ned.TextStrokeColor3 = Color3.fromRGB(r,g,b)
4555
aa24.BrickColor = BrickColor.random()
4556
aa28.BrickColor = BrickColor.random()
4557
aa26.BrickColor = BrickColor.random()
4558
aa35.BrickColor = BrickColor.random()
4559
aa33.BrickColor = BrickColor.random()
4560
aa31.BrickColor = BrickColor.random()
4561
        imgl2.Rotation = math.random(-9, 9)
4562
        techc.Rotation = math.random(-9, 9)
4563
        ned.Rotation = 0 - 2 * math.cos(sine / 1)
4564
        ned.Position = UDim2.new(0.55,0 - 10 * math.cos(sine / 1),0.79,0 - 10 * math.cos(sine / 1))
4565
hum.WalkSpeed = 8
4566
aa.BrickColor = BrickColor.new("Dark stone grey")
4567
aa4.BrickColor = BrickColor.random()
4568
aa5.BrickColor = BrickColor.random()
4569
aa8.BrickColor = BrickColor.random()
4570
aa11.BrickColor = BrickColor.random()
4571
aa12.BrickColor = BrickColor.random()
4572
aa13.BrickColor = BrickColor.random()
4573
        end
4574
        if Mode == 3 then
4575
        maincolor = BrickColor.new("Dark red")
4576
        imgl2.ImageColor3 = Color3.fromRGB(r2,g2,b2)
4577
        techc.ImageColor3 = Color3.fromRGB(r2,g2,b2)
4578
        ned.Text = "Rainbow"
4579
        Core.Color = Color3.fromRGB(r2,g2,b2)
4580
        Core2.Color = Color3.fromRGB(r2,g2,b2)
4581
        ned.TextColor3 = Color3.fromRGB(r2,g2,b2)
4582
        ned.TextStrokeColor3 = Color3.fromRGB(r2,g2,b2)
4583
aa35.Color = Color3.fromRGB(r2,g2,b2)
4584
aa33.Color = Color3.fromRGB(r2,g2,b2)
4585
aa31.Color = Color3.fromRGB(r2,g2,b2)
4586
hum.WalkSpeed = 8
4587
aa28.Color = Color3.fromRGB(r2,g2,b2)
4588
aa26.Color = Color3.fromRGB(r2,g2,b2)
4589
4590
aa.BrickColor = BrickColor.new("Dark stone grey")
4591
aa24.Color = Color3.fromRGB(r2,g2,b2)
4592
aa4.Color = Color3.fromRGB(r2,g2,b2)
4593
aa5.Color = Color3.fromRGB(r2,g2,b2)
4594-
char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
4594+
4595-
char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
4595+
4596-
char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
4596+
4597-
char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
4597+
4598-
char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
4598+
4599-
char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
4599+
4600
maincolor = BrickColor.new("Cyan")
4601
hum.WalkSpeed = 8
4602
4603
aa.BrickColor = BrickColor.new("Dark stone grey")
4604
aa24.BrickColor = BrickColor.new("Cyan")
4605
aa4.BrickColor = BrickColor.new("Cyan")
4606
aa5.BrickColor = BrickColor.new("Cyan")
4607
aa8.BrickColor = BrickColor.new("Cyan")
4608
aa11.BrickColor = BrickColor.new("Cyan")
4609
aa12.BrickColor = BrickColor.new("Cyan")
4610
aa13.BrickColor = BrickColor.new("Cyan")
4611
aa26.BrickColor = BrickColor.new("Cyan")
4612-
char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
4612+
4613-
char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
4613+
4614-
char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
4614+
4615-
char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
4615+
4616-
char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
4616+
4617-
char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
4617+
4618
maincolor = BrickColor.new("Lime green")
4619
hum.WalkSpeed = 8
4620
4621
aa.BrickColor = BrickColor.new("Dark stone grey")
4622
aa4.BrickColor = BrickColor.new("Lime green")
4623
aa5.BrickColor = BrickColor.new("Lime green")
4624
aa8.BrickColor = BrickColor.new("Lime green")
4625
aa11.BrickColor = BrickColor.new("Lime green")
4626
aa12.BrickColor = BrickColor.new("Lime green")
4627
aa13.BrickColor = BrickColor.new("Lime green")
4628
aa24.BrickColor = BrickColor.new("Lime green")
4629
aa26.BrickColor = BrickColor.new("Lime green")
4630
aa28.BrickColor = BrickColor.new("Lime green")
4631
aa35.BrickColor = BrickColor.new("Lime green")
4632
aa33.BrickColor = BrickColor.new("Lime green")
4633
aa31.BrickColor = BrickColor.new("Lime green")
4634
                MagicCharge(7, 0, "Add", la.CFrame * CF(0, -1.3, 0) * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 1.5 * math.random(-1.8, 2), -0.005, maincolor, 0, "Sphere")
4635-
char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
4635+
4636-
char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
4636+
4637-
char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
4637+
4638-
char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
4638+
4639-
char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
4639+
4640-
char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
4640+
4641
end
4642
end
4643
if Mode == 6 then
4644
maincolor = BrickColor.new("Really red")
4645
hum.WalkSpeed = 8
4646
4647
aa.BrickColor = BrickColor.new("Dark stone grey")
4648
aa4.BrickColor = BrickColor.new("Really red")
4649
aa5.BrickColor = BrickColor.new("Really red")
4650
aa8.BrickColor = BrickColor.new("Really red")
4651
aa11.BrickColor = BrickColor.new("Really red")
4652
aa12.BrickColor = BrickColor.new("Really red")
4653
aa13.BrickColor = BrickColor.new("Really red")
4654
aa24.BrickColor = BrickColor.new("Really red")
4655
aa26.BrickColor = BrickColor.new("Really red")
4656
aa28.BrickColor = BrickColor.new("Really red")
4657
aa35.BrickColor = BrickColor.new("Really red")
4658
aa33.BrickColor = BrickColor.new("Really red")
4659
aa31.BrickColor = BrickColor.new("Really red")
4660
        local A = math.random(1,15)
4661
        if A == 1 then
4662
    Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere")
4663
        if A == 2 then
4664
    Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick")
4665
end
4666-
char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
4666+
4667-
char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
4667+
4668-
char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
4668+
4669-
char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
4669+
4670-
char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
4670+
4671-
char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
4671+
4672
aa.BrickColor = BrickColor.new("Dark stone grey")
4673
aa4.BrickColor = BrickColor.new("Dark indigo")
4674
aa5.BrickColor = BrickColor.new("Dark indigo")
4675
aa8.BrickColor = BrickColor.new("Dark indigo")
4676
aa11.BrickColor = BrickColor.new("Dark indigo")
4677
aa12.BrickColor = BrickColor.new("Dark indigo")
4678
aa13.BrickColor = BrickColor.new("Dark indigo")
4679
aa24.BrickColor = BrickColor.new("Dark indigo")
4680
aa26.BrickColor = BrickColor.new("Dark indigo")
4681
aa28.BrickColor = BrickColor.new("Dark indigo")
4682
aa35.BrickColor = BrickColor.new("Dark indigo")
4683
aa33.BrickColor = BrickColor.new("Dark indigo")
4684
aa31.BrickColor = BrickColor.new("Dark indigo")
4685
Effects.Wave.Create(BrickColor.new("Dark indigo"), root.CFrame * CF(0, -2.90, 0), 15, 15, 15, 10.6, .1, 10.6, 0.05)
4686
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),VT(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("Dark indigo"))
4687
end
4688
if Mode == 122 then
4689
hum.WalkSpeed = 8
4690
maincolor = BrickColor.new("White")
4691
4692
aa.BrickColor = BrickColor.new("Dark stone grey")
4693
aa4.BrickColor = BrickColor.new("White")
4694
aa5.BrickColor = BrickColor.new("Really black")
4695
aa8.BrickColor = BrickColor.new("Really black")
4696-
char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
4696+
4697-
char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
4697+
4698-
char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
4698+
4699-
char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
4699+
4700-
char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
4700+
4701-
char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
4701+
4702
aa35.BrickColor = BrickColor.new("Really black")
4703
aa33.BrickColor = BrickColor.new("White")
4704
aa31.BrickColor = BrickColor.new("Really black")
4705
end
4706
if Mode == 10000 then
4707
hum.WalkSpeed = 8
4708
maincolor = BrickColor.new("Royal purple")
4709
4710
aa.BrickColor = BrickColor.new("Dark stone grey")
4711
aa4.BrickColor = BrickColor.new("Royal purple")
4712
aa5.BrickColor = BrickColor.new("Royal purple")
4713
aa8.BrickColor = BrickColor.new("Royal purple")
4714
aa11.BrickColor = BrickColor.new("Royal purple")
4715
aa12.BrickColor = BrickColor.new("Royal purple")
4716
aa13.BrickColor = BrickColor.new("Royal purple")
4717
aa24.BrickColor = BrickColor.new("Royal purple")
4718
aa26.BrickColor = BrickColor.new("Royal purple")
4719
aa28.BrickColor = BrickColor.new("Royal purple")
4720
aa35.BrickColor = BrickColor.new("Royal purple")
4721-
char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
4721+
4722-
char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
4722+
4723-
char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
4723+
4724-
char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
4724+
4725-
char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
4725+
4726-
char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
4726+
4727
4728
aa.BrickColor = BrickColor.new("Dark stone grey")
4729
aa4.BrickColor = BrickColor.new("White")
4730
aa5.BrickColor = BrickColor.new("White")
4731
aa8.BrickColor = BrickColor.new("White")
4732
aa11.BrickColor = BrickColor.new("White")
4733
aa12.BrickColor = BrickColor.new("White")
4734
aa13.BrickColor = BrickColor.new("White")
4735
aa24.BrickColor = BrickColor.new("White")
4736
aa26.BrickColor = BrickColor.new("White")
4737
aa28.BrickColor = BrickColor.new("White")
4738
aa35.BrickColor = BrickColor.new("White")
4739
aa33.BrickColor = BrickColor.new("White")
4740
aa31.BrickColor = BrickColor.new("White")
4741
end
4742
if Mode == 99 then
4743
hum.WalkSpeed = 100
4744-
char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
4744+
4745-
char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
4745+
4746-
char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
4746+
4747-
char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
4747+
4748-
char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
4748+
4749-
char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
4749+
4750
aa12.BrickColor = BrickColor.new("Deep orange")
4751
aa13.BrickColor = BrickColor.new("Deep orange")
4752
aa24.BrickColor = BrickColor.new("Deep orange")
4753
aa26.BrickColor = BrickColor.new("Deep orange")
4754
aa28.BrickColor = BrickColor.new("Deep orange")
4755
aa35.BrickColor = BrickColor.new("Deep orange")
4756
aa33.BrickColor = BrickColor.new("Deep orange")
4757
aa31.BrickColor = BrickColor.new("Deep orange")
4758
end
4759
                imgl2.Rotation = techc.Rotation + 0.2
4760
                techc.Rotation = techc.Rotation + 0.2
4761
                ned.Rotation = 0 - 2 * math.cos(sine / 24)
4762
                ned.Position = UDim2.new(0.55,0 - 10 * math.cos(sine / 32),0.79,0 - 10 * math.cos(sine / 45))
4763
		if 1 < root.Velocity.y and hitfloor == nil then
4764
			Anim = "Jump"
4765
			if attack == false then
4766
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.08)
4767-
char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
4767+
4768-
char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
4768+
4769-
char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
4769+
4770-
char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
4770+
4771-
char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
4771+
4772-
char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
4772+
4773
		elseif -1 > root.Velocity.y and hitfloor == nil then
4774
			Anim = "Fall"
4775
			if attack == false then
4776
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.08)
4777
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
4778
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08)
4779
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08)
4780
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.08)
4781
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.08)
4782
			end
4783
		elseif torvel < 1 and hitfloor ~= nil then
4784
			Anim = "Idle"
4785
			change = 1
4786
			if attack == false then
4787
				if Mode == 1 then --Normal
4788
                                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4789
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
4790-
char["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
4790+
4791-
char["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
4791+
4792-
char["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
4792+
4793-
char["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
4793+
4794-
char["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
4794+
4795-
char["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
4795+
4796
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3)
4797
                RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
4798
                LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
4799
                RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1)
4800
                LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1)
4801
				elseif Mode == oof then --PIXELATED
4802
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.2* Player_Size * Cos(sine / 26)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4803
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4804
                                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
4805
                                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
4806
                                RW.C0 = clerp(RW.C0, CF(0.75, 0.5 + 0.05 * Sin(sine / 12), -0.7) * angles(Rad(0), Rad(0), Rad(-95)) * angles(Rad(5), Rad(0), Rad(0)), 0.1)
4807
                                LW.C0 = clerp(LW.C0, CF(-0.75, 0.35 + 0.05 * Sin(sine / 12), -0.6) * angles(Rad(0), Rad(0), Rad(92)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
4808
				elseif Mode == 0 then
4809
			      rootj.C0 = clerp(rootj.C0,RootCF* CF(0, 0, -1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
4810
			      neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(25 + Mrandom(-5,5) - 4 * Cos(sine / 12)), Rad(Mrandom(-5,5)), Rad(0)), 1)
4811
			if Mrandom(1,30) == 1 then
4812
				neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(0 + Mrandom(-25,25) - 4 * Cos(sine / 12)), Rad(Mrandom(-25,25)), Rad(0)), 0.5)
4813
			end
4814
                              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)
4815
		              LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-12)), 0.15)
4816
                              RH.C0 = clerp(RH.C0, CF(1, -0.5, -0.5) * angles(Rad(25), Rad(90), Rad(0)) * angles(Rad(-8), Rad(0), Rad(0)), 0.5)
4817
                              LH.C0 = clerp(LH.C0, CF(-1, -1, -0.01) * angles(Rad(-45), Rad(-90), Rad(0)) * angles(Rad(-8), Rad(0), Rad(0)), 0.5)
4818
			elseif Mode == 2 then --Machinery
4819
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.08)
4820
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(-20 - 4.5 * Sin(sine / .5))), 0.08)
4821
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08)
4822
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08)
4823
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(155), Rad(0), Rad(-45)), 0.08)
4824
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25)), 0.08)
4825
			elseif Mode == 3 then --ICE
4826
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2* Player_Size) * angles(Rad(-30), Rad(0), Rad(0)), 0.1)
4827
			neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
4828
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(90), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
4829
			LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-90), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
4830
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(0), Rad(0)), 0.1)
4831
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(0), Rad(0)), 0.1)
4832
			elseif Mode == 99 then --Infused
4833
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08)
4834
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
4835
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08)
4836
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
4837
				RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.35* Player_Size) * angles(Rad(90 - 2.5 * Cos(sine / 20)), Rad(0), Rad(-50)), 0.08)
4838
				LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.15* Player_Size) * angles(Rad(70 - 2.5 * Cos(sine / 20)), Rad(0), Rad(70)), 0.08)
4839
			elseif Mode == 5 then --Cybernetic
4840
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4841
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
4842
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08)
4843
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08)
4844
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08)
4845
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08)
4846
			elseif Mode == 25 then --Spiritual
4847
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4848
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
4849
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08)
4850
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08)
4851
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08)
4852
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08)
4853
			elseif Mode == 6 then --Controlled Beyond Recognition
4854
                           rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4855
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
4856
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08)
4857
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08)
4858
                RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08)
4859
                LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08)
4860
			elseif Mode == 10000 then
4861
                               rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4862
                               tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(-10 - 2.5 * Sin(sine/ 20)), Rad(20 * Cos(sine / 20))), 0.3)
4863
                               RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
4864
                                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
4865
				RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
4866
				LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
4867
            elseif Mode == 9990 then 
4868
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.08)
4869
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(15)), 0.08)
4870
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
4871
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
4872
                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)
4873
                LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-12 - 5 * Sin(sine / 30))), 0.08)
4874
			elseif Mode == 7 or Mode == 9 then --Sucho Wowo --Mr.Balancia
4875
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08)
4876
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08)
4877
				RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08)
4878
				LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08)
4879
				RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
4880
				LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
4881
			elseif Mode == 100 then
4882
                                rootj.C0 = clerp(rootj.C0,RootCF*CF(0 - 0.05 * Cos(sine / 44),0 + 0.03 * Cos(sine / 34),-0.05 + 0.05 * Cos(sine / 28))*angles(Rad(0 - 3 * Cos(sine / 34)),Rad(0 - 5 * Cos(sine / 44)),Rad(-5)), .1)
4883
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
4884
                                RH.C0=clerp(RH.C0,CF(1,-1 - 0.05 * Cos(sine / 28) + 0.05 * Cos(sine / 44),0)*angles(Rad(0),Rad(90),Rad(0))*angles(Rad(7 - 5 * Cos(sine / 44)),Rad(0),Rad(-6 - 3 * Cos(sine / 34))), .1)
4885
                                LH.C0=clerp(LH.C0,CF(-1,-1 - 0.05 * Cos(sine / 28) - 0.05 * Cos(sine / 44),0)*angles(Rad(0),Rad(-90),Rad(0))*angles(Rad(3 + 5 * Cos(sine / 44)),Rad(0),Rad(0 + 3 * Cos(sine / 34))), .1)
4886
                                RW.C0 = clerp(RW.C0,CF(1,0.5 + 0.1 * Cos(sine / 28),-0.45)*angles(Rad(22 - 3 * Cos(sine / 53)),Rad(0),Rad(-37 + 2 * Cos(sine / 37))), .1)
4887
                                LW.C0 = clerp(LW.C0,CF(-1,0.5 + 0.1 * Cos(sine / 28),-0.45)*angles(Rad(23 - 2 * Cos(sine / 58)),Rad(0),Rad(38 - 3 * Cos(sine / 57) )), .1)
4888
			elseif Mode == 8 then --Lunarist
4889
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.5* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4890
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
4891
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
4892
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
4893
                                RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-76)), 0.1)
4894
                                LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(56)), 0.1)
4895
			elseif Mode == 10 then --INSANITY
4896
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
4897
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 18)), Rad(0), Rad(0)), 0.3)
4898
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
4899
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
4900
                RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(25 + Mrandom(-35,35)), Rad(0 + Mrandom(-35,35)), Rad(5 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
4901
                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)
4902
			end
4903
			end
4904
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
4905
			Anim = "Walk"
4906
			change = 1.1
4907
			if attack == false then
4908
			      if Mode == 6 then 
4909
				  rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
4910
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
4911
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15)
4912
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15)
4913
                RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1)
4914
                LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1)
4915
		       elseif Mode == oof then --PIXELATED
4916
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.2* Player_Size * Cos(sine / 26)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
4917
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4918
                                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
4919
                                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
4920
                                RW.C0 = clerp(RW.C0, CF(0.75, 0.5 + 0.05 * Sin(sine / 12), -0.7) * angles(Rad(0), Rad(0), Rad(-95)) * angles(Rad(5), Rad(0), Rad(0)), 0.1)
4921
                                LW.C0 = clerp(LW.C0, CF(-0.75, 0.35 + 0.05 * Sin(sine / 12), -0.6) * angles(Rad(0), Rad(0), Rad(92)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
4922
			elseif Mode == 5 then
4923
                                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4924
                                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4925
                                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
4926
                                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
4927
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1)
4928
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1)
4929
			elseif Mode == 25 then
4930
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
4931
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
4932
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15)
4933
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15)
4934
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1)
4935
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1)
4936
			elseif Mode == 100 then 
4937
				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)
4938
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4939
				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)
4940
				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)
4941
				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)
4942
				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)
4943
			elseif Mode == 0 then
4944
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
4945
			      neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(25 + Mrandom(-5,5) - 4 * Cos(sine / 12)), Rad(Mrandom(-5,5)), Rad(0)), 0.5)
4946
			if Mrandom(1,30) == 1 then
4947
				neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(0 + Mrandom(-25,25) - 4 * Cos(sine / 12)), Rad(Mrandom(-25,25)), Rad(0)), 0.5)
4948
			end
4949
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4950
	         		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4951
                               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)
4952
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37)  * Cos(sine / 7) , Rad(0) ,	Rad(-5) + la.RotVelocity.Y / 75), 0.1)
4953
			elseif Mode == 10 then
4954
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
4955
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
4956
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-5 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3)
4957
                    LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3)
4958
                RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 + 15 * Cos(sine / 7)), Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
4959
                LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 - 15 * Cos(sine / 7)), Rad(0), Rad(-5) + la.RotVelocity.Y / 75), 0.1)
4960
			elseif Mode == 8 then
4961
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
4962
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-23 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
4963
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.08)
4964
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.08)
4965
                                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)
4966
                                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)
4967
			elseif Mode ~= 6 or Mode ~= 5 or Mode ~= 8 then
4968
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
4969
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
4970
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4971
	         		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
4972
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37)  * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
4973
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37)  * Cos(sine / 7) , Rad(0) ,	Rad(-5) + la.RotVelocity.Y / 75), 0.1)
4974
			end
4975
			end
4976
		elseif torvel >= 25 and hitfloor ~= nil then
4977
			Anim = "Sprint"
4978
			change = 1.35
4979
			if attack == false then
4980
		if Mode == 5 then
4981
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
4982
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
4983
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15)
4984
			LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15)
4985
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1)
4986
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1)
4987
		elseif Mode == 99 then
4988
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
4989
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
4990
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * 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)
4991
         	LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * 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)
4992
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1)
4993
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1)
4994
		elseif Mode == oof then
4995
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
4996
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
4997
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15)
4998
			LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15)
4999
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1)
5000
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1)
5001
		elseif Mode ~= 5 then
5002
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
5003
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
5004
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * 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)
5005
         		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * 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)
5006
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(125)  * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.15)
5007
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-125)  * Cos(sine / 7) , Rad(0) ,	Rad(-5) + la.RotVelocity.Y / 75), 0.15)
5008
			end
5009
			end
5010
		end
5011
	end
5012
	Music.SoundId = "rbxassetid://"..SONG
5013
	Music.Looped = true
5014
	Music.Pitch = 1
5015
	Music.Volume = 5
5016
	Music:Resume()
5017
if Music.Parent ~= tors then
5018
Music = Instance.new("Sound",tors)
5019
end
5020
	if 0 < #Effects then
5021
		for e = 1, #Effects do
5022
			if Effects[e] ~= nil then
5023
				local Thing = Effects[e]
5024
				if Thing ~= nil then
5025
					local Part = Thing[1]
5026
					local Mode = Thing[2]
5027
					local Delay = Thing[3]
5028
					local IncX = Thing[4]
5029
					local IncY = Thing[5]
5030
					local IncZ = Thing[6]
5031
					if 1 >= Thing[1].Transparency then
5032
						if Thing[2] == "Block1" then
5033
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
5034
							local Mesh = Thing[1].Mesh
5035
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5036
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5037
						elseif Thing[2] == "Block2" then
5038
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
5039
							local Mesh = Thing[7]
5040
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5041
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5042
						elseif Thing[2] == "Block3" then
5043
							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)
5044
							local Mesh = Thing[7]
5045
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5046
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5047
						elseif Thing[2] == "Cylinder" then
5048
							local Mesh = Thing[1].Mesh
5049
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5050
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5051
						elseif Thing[2] == "Blood" then
5052
							local Mesh = Thing[7]
5053
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
5054
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5055
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5056
						elseif Thing[2] == "Elec" then							local Mesh = Thing[1].Mesh
5057
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
5058
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5059
						elseif Thing[2] == "Disappear" then
5060
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5061
						elseif Thing[2] == "Shatter" then
5062
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5063
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
5064
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
5065
							Thing[6] = Thing[6] + Thing[5]
5066
						end
5067
					else
5068
						Part.Parent = nil
5069
						table.remove(Effects, e)
5070
					end
5071
				end
5072
			end
5073
		end
5074
	end
5075
end
5076
-------------------------------------------------------
5077
--End Animations And Script--