View difference between Paste ID: Awmy4G11 and MC4ttSPq
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")
2172+
2173-
Core2.Parent = char
2173+
2174-
Core2.Size = Vector3.new(0.2, 0.2, 0.2)
2174+
2175-
Core2.Archivable = true
2175+
2176-
Core2.Transparency = 0
2176+
2177-
Core2.Shape = "Ball"
2177+
2178-
Core2.BrickColor = maincolor
2178+
2179-
Core2.Material = "Neon"
2179+
2180-
Core2.CanCollide = false
2180+
2181-
local mesh = Instance.new("SpecialMesh", Core2)
2181+
2182
	return inst;
2183-
mesh.Scale = Vector3.new(7.80, 1.70, 5.25)
2183+
2184
2185-
weld1en.Parent = tors
2185+
2186-
weld1en.Part0 = tors
2186+
2187-
weld1en.Part1 = Core2
2187+
2188-
weld1en.C1 = CFrame.new(0, -0.01, 0)
2188+
2189
local all, last = {}, nil
2190
local all2, last2 = {}, nil
2191-
local CoreInner2 = Instance.new("Part")
2191+
2192-
CoreInner2.Parent = char
2192+
2193-
CoreInner2.Size = Vector3.new(0.2, 0.2, 0.2)
2193+
2194-
CoreInner2.Archivable = true
2194+
2195-
CoreInner2.Transparency = 0
2195+
2196-
CoreInner2.Shape = "Ball"
2196+
2197-
CoreInner2.BrickColor = BrickColor.new("Really black")
2197+
2198-
CoreInner2.Material = "Metal"
2198+
2199-
CoreInner2.CanCollide = false
2199+
2200-
local mesh = Instance.new("SpecialMesh", CoreInner2)
2200+
2201
hed.Size = hed.Size * Player_Size
2202-
mesh.Scale = Vector3.new(8, 2, 5.10)
2202+
2203
la.Size = la.Size * Player_Size
2204-
weld1en.Parent = tors
2204+
2205-
weld1en.Part0 = tors
2205+
2206-
weld1en.Part1 = CoreInner2
2206+
2207-
weld1en.C1 = CFrame.new(0, -0.01, 0)
2207+
2208
neck.Parent = tors
2209
RW.Parent = tors
2210-
local Core = Instance.new("Part")
2210+
2211-
Core.Parent = char
2211+
2212-
Core.Size = Vector3.new(0.2, 0.2, 0.2)
2212+
2213-
Core.Archivable = true
2213+
2214-
Core.Transparency = 0
2214+
2215-
Core.Shape = "Ball"
2215+
2216-
Core.BrickColor = maincolor
2216+
2217-
Core.Material = "Neon"
2217+
2218-
Core.CanCollide = false
2218+
2219-
local mesh = Instance.new("SpecialMesh", Core)
2219+
2220
----------------------------------------------------------------------------------
2221-
mesh.Scale = Vector3.new(7.80, 1.70, 5.20)
2221+
2222
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))
2223-
weld1en.Parent = tors
2223+
2224-
weld1en.Part0 = tors
2224+
2225-
weld1en.Part1 = Core
2225+
2226-
weld1en.C1 = CFrame.new(0, -.1, 0)
2226+
2227
----------------------------------------------------------------------------------
2228-
local CoreInner = Instance.new("Part")
2228+
2229-
CoreInner.Parent = char
2229+
2230-
CoreInner.Size = Vector3.new(0.2, 0.2, 0.2)
2230+
2231-
CoreInner.Archivable = true
2231+
2232-
CoreInner.Transparency = 0
2232+
2233-
CoreInner.Shape = "Ball"
2233+
2234-
CoreInner.BrickColor = BrickColor.new("Really black")
2234+
2235-
CoreInner.Material = "Metal"
2235+
2236-
CoreInner.CanCollide = false
2236+
2237-
local mesh = Instance.new("SpecialMesh", CoreInner)
2237+
2238
local val = 0
2239-
mesh.Scale = Vector3.new(8, 2, 5.10)
2239+
2240
local idleanim = 0.4
2241-
weld1en.Parent = tors
2241+
2242-
weld1en.Part0 = tors
2242+
2243-
weld1en.Part1 = CoreInner
2243+
2244-
weld1en.C1 = CFrame.new(0, -.1, 0)
2244+
2245
hum.JumpPower = 57
2246
hum.Animator.Parent = nil
2247
-------------------------------------------------------
2248
--End Customization--
2249
-------------------------------------------------------
2250
2251
2252
-------------------------------------------------------
2253
--Start Attacks N Stuff--
2254
-------------------------------------------------------
2255
it = Instance.new
2256
gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
2257
  local gui = IT(GuiType)
2258
  gui.Parent = parent
2259
  gui.Text = text
2260
  gui.BackgroundTransparency = backtrans
2261
  gui.BackgroundColor3 = backcol
2262
  gui.SizeConstraint = "RelativeXY"
2263
  gui.TextXAlignment = "Center"
2264
  gui.TextYAlignment = "Center"
2265
  gui.Position = pos
2266
  gui.Size = size
2267
  gui.Font = "SourceSans"
2268
  gui.FontSize = "Size14"
2269
  gui.TextWrapped = false
2270
  gui.TextStrokeTransparency = 0
2271
  gui.TextColor = BrickColor.new("White")
2272
  return gui
2273
end
2274
local basgui = it("GuiMain")
2275
basgui.Parent = plr.PlayerGui
2276
basgui.Name = "VISgui"
2277
local fullscreenz = it("Frame")
2278
fullscreenz.Parent = basgui
2279
fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
2280
fullscreenz.BackgroundTransparency = 1
2281
fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
2282
fullscreenz.Size = UDim2.new(1, 0, 1, 0)
2283
fullscreenz.Position = UDim2.new(0, 0, 0, 0)
2284
local imgl2 = Instance.new("ImageLabel",fullscreenz)
2285
imgl2.BackgroundTransparency = 1
2286
imgl2.BorderSizePixel = 0
2287
imgl2.ImageTransparency = 0.5
2288
imgl2.ImageColor3 = BrickColor.new("White").Color
2289
imgl2.Position = UDim2.new(0.86,0,0.78,0)
2290
imgl2.Size = UDim2.new(0,270,0,270)
2291
imgl2.Image = "rbxassetid://320731120"
2292
local techc = imgl2:Clone()
2293
techc.Parent = fullscreenz
2294
techc.ImageTransparency = 0.5
2295
techc.Size = UDim2.new(0,700,0,700)
2296
techc.Position = UDim2.new(0.75,-50,0.55,-50)
2297
techc.ImageColor3 = BrickColor.new("White").Color
2298
techc.Image = "rbxassetid://521073910"
2299
local ned = Instance.new("TextLabel",fullscreenz)
2300
ned.ZIndex = 2
2301
ned.Font = "SciFi"
2302
ned.BackgroundTransparency = 1
2303
ned.BorderSizePixel = 0.65
2304
ned.Size = UDim2.new(0.4,0,0.2,0)
2305
ned.Position = UDim2.new(0.2,0,0.2,0)
2306
ned.TextColor3 = BrickColor.new("White").Color
2307
ned.TextStrokeColor3 = BrickColor.new("Really black").Color
2308
ned.TextScaled = true
2309
ned.TextStrokeTransparency = 0
2310
ned.Text = "Neutral"
2311
ned.TextSize = 24
2312
ned.Rotation = 1
2313
--ned.TextXAlignment = "Right"
2314
ned.TextYAlignment = "Bottom"
2315
-----------
2316
local GUIFrame = IT("Frame")
2317
GUIFrame.Parent = Base
2318
GUIFrame.BackgroundColor3 = Color3.new(255, 255, 255)
2319
GUIFrame.BackgroundTransparency = 1
2320
GUIFrame.BorderColor3 = Color3.new(17, 17, 17)
2321
GUIFrame.Size = UDim2.new(1, 0, 1, 0)
2322
GUIFrame.Position = UDim2.new(0, 0, 0, 0)
2323
---------------------
2324
-----------------------------
2325
function resetmode()
2326
	Mode = 1
2327
        SONG = 1005328332
2328
for i, v in pairs(NeonColorParts1000) do
2329
  v.BrickColor = BrickC("White")
2330
end
2331
2332
        imgl2.ImageColor3 = BrickC("White").Color
2333
        techc.ImageColor3 = BrickC("White").Color
2334
        ned.Text = "Neutral"
2335
        ned.TextColor3 = BrickC("White").Color
2336
        ned.TextStrokeColor3 = BrickC("Really black").Color
2337
end
2338
function Taunt()
2339
    attack = true
2340
    hum.WalkSpeed = 0
2341
        TAUNT:Play()
2342
	repeat
2343
        swait()
2344
        TAUNT.Parent = tors
2345
        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)
2346
        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)
2347
        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)
2348
        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)
2349
        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)
2350
        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)
2351
	until TAUNT.Playing == false
2352
	attack = false
2353
	hum.WalkSpeed = 8
2354
end
2355
function attackone()
2356
	attack = true
2357
	hum.WalkSpeed = 3.01
2358
	for i = 0, 1.7, 0.1 do
2359
		swait()
2360
		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)
2361
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
2362
		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)
2363
		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)
2364
		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)
2365
		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)
2366
	end
2367
	Cso("203426541", ra, 10, 1)
2368
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
2369
		if v:FindFirstChild("Head") then
2370
                        Eviscerate(v)
2371
                        SoulSteal(v)
2372
		end
2373
	end
2374
	for i = 0, 1.4, 0.1 do
2375
		swait()
2376
		BlockEffect(maincolor, ra.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
2377
		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)
2378
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
2379
		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)
2380
		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)
2381
		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)
2382
		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)
2383
	end
2384
	hum.WalkSpeed = 8
2385
	attack = false
2386
end
2387
function attacktwo()
2388
	attack = true
2389
	hum.WalkSpeed = 3.01
2390
	for i = 0, 1.7, 0.1 do
2391
		swait()
2392
		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)
2393
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
2394
		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)
2395
		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)
2396
		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)
2397
		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)
2398
	end
2399
	Cso("203426541", rl, 10, 1)
2400
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
2401
		if v:FindFirstChild("Head") then
2402
                        Eviscerate(v)
2403-
        Core.BrickColor = BrickColor.new("White")
2403+
2404-
        Core2.BrickColor = BrickColor.new("White")
2404+
2405
	end	
2406
	for i = 0, 1.4, 0.1 do
2407
		swait()
2408
		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)
2409
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
2410
		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)
2411
		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)
2412
		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)
2413
		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)
2414
	end
2415
	hum.WalkSpeed = 8
2416
	attack = false
2417
end
2418
function attackthree()
2419
	attack = true
2420
	hum.WalkSpeed = 3.01
2421
	for i = 0, 1.4, 0.1 do
2422
		swait()
2423
		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)
2424
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2425
		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)
2426
		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)
2427
		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)
2428
		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)
2429
	end
2430
	Cso("203426541", hed, 10, 1)
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(25), Rad(0), Rad(0)), 0.3)
2434
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2435
		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)
2436
		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)
2437
		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)
2438
		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)
2439
	end
2440
	Cso("260435136", hed, 10, .9)
2441
	BlockEffect(maincolor, ra.CFrame * CF(0, -2, 0), 11, 11, 11, 10, 10, 10, 0.04, 1)
2442
	BlockEffect(BrickC("Really black"), ra.CFrame * CF(0, -2, 0), 6, 6, 6, 5, 5, 5, 0.04, 1)
2443
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
2444
		if v:FindFirstChild("Head") then
2445
                        Eviscerate(v)
2446
                        SoulSteal(v)
2447
		end
2448
	end
2449
	for i = 0, 1.8, 0.1 do
2450
		swait()
2451
		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)
2452
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.2)
2453
		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)
2454
		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)
2455
		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)
2456
		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)
2457
	end
2458
	hum.WalkSpeed = 8
2459
	attack = false
2460
end
2461
function Power_Burst()
2462
	hum.WalkSpeed = 4
2463
	attack = true
2464
	Cso("163619849", ra, 10, 1.35)
2465
	for i = 0,4.3,0.1 do
2466
		swait()
2467
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)
2468
		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)
2469
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
2470
		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)
2471
		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)
2472
		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)
2473
		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)
2474
	end
2475
	CameraEnshaking(2.5, 20)
2476
	Cso("539294959", ra, 10, .9)
2477
	BlockEffect(maincolor, ra.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
2478
	BlockEffect(BrickC("Really black"), ra.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
2479
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 15)) do
2480
		if v:FindFirstChild("Head") then
2481
                        Eviscerate(v)
2482
                        SoulSteal(v)
2483
		end
2484
	end
2485
	for i = 0,3,0.1 do
2486
		swait()
2487
		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)
2488
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
2489
		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)
2490
		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)
2491
		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)
2492
		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)
2493
	end
2494
	hum.WalkSpeed = 8
2495
	attack = false
2496
end
2497
function Magic_Bombs()
2498
	attack = true
2499
	hum.WalkSpeed = 0
2500
local GYRO = IT("BodyGyro",root)
2501
GYRO.D = 100
2502
GYRO.P = 2000
2503
GYRO.MaxTorque = VT(0,4000000,0)
2504
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2505
	for i = 0,3.6,0.1 do
2506
			swait()
2507
		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)
2508
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2509
		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)
2510
		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)
2511
		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)
2512
		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)
2513
	end
2514
	CameraEnshaking(1, 6)
2515
        GYRO:Destroy()
2516
	Cso("588734356", Handle, 10, 1.05)
2517
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
2518
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
2519
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
2520
	for i = 0,2,0.1 do
2521
			swait()
2522
		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)
2523
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2524
		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)
2525
		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)
2526
		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)
2527
		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)
2528
	end
2529
local GYRO = IT("BodyGyro",root)
2530
GYRO.D = 100
2531
GYRO.P = 2000
2532
GYRO.MaxTorque = VT(0,4000000,0)
2533
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2534
	for i = 0,2.4,0.1 do
2535
			swait()
2536
		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)
2537
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2538
		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)
2539
		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)
2540
		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)
2541
		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)
2542
	end
2543
        GYRO:Destroy()
2544
	CameraEnshaking(1, 6)
2545
	Cso("588734356", Handle, 10, 1.05)
2546
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
2547
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
2548
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Normal")
2549
	for i = 0,2,0.1 do
2550
			swait()
2551
		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)
2552
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2553
		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)
2554
		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)
2555
		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)
2556
		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)
2557
	end
2558
local GYRO = IT("BodyGyro",root)
2559
GYRO.D = 100
2560
GYRO.P = 2000
2561
GYRO.MaxTorque = VT(0,4000000,0)
2562
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2563
	for i = 0,2.4,0.1 do
2564
			swait()
2565
		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)
2566
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2567
		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)
2568
		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)
2569
		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)
2570
		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)
2571
	end
2572
        GYRO:Destroy()
2573
	CameraEnshaking(1, 6)
2574
	Cso("588734356", Handle, 10, 1.05)
2575
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
2576
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
2577
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
2578
	for i = 0,2,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.15)
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(134)), 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
	attack = false
2588
	hum.WalkSpeed = 8
2589
end
2590
function Dangerous_Field()
2591
	attack = true
2592
	hum.WalkSpeed = 0
2593
	for i = 0,10,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(0-255.45*i)), 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(-2), Rad(0), Rad(-2.1)), 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(2.1), Rad(0), Rad(90)), 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(2.1), Rad(0), Rad(-90)), 0.2)
2601
	CameraEnshaking(1, 7)
2602
	Cso("588734356", Handle, 10, 1.2)
2603
	BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1)
2604
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1)
2605
	HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Normal")
2606
	HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Normal")
2607
        end
2608
	attack = false
2609
	hum.WalkSpeed = 8
2610
end
2611
2612
2613
function NUCLEAR()
2614
	attack = true
2615
	local orb = Instance.new("Part", char)
2616
	orb.Anchored = true
2617
	orb.BrickColor = BrickC("Lime green")
2618
	orb.CanCollide = false
2619
	orb.FormFactor = 3
2620
	orb.Name = "Ring"
2621
	orb.Material = "Neon"
2622
	orb.Size = Vector3.new(1, 1, 1)
2623
	orb.Transparency = 0
2624
	orb.TopSurface = 0
2625
	orb.BottomSurface = 0
2626
	local orbm = Instance.new("SpecialMesh", orb)
2627
	orbm.MeshType = "Sphere"
2628
	orbm.Name = "SizeMesh"
2629
	orbm.Scale = Vector3.new(0, 0, 0)
2630
	local scaled = 0.1
2631
	local posid = 0
2632
	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")
2633
	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")
2634
	for i = 0, 12, 0.1 do
2635
		swait()
2636
		scaled = scaled + 0.001
2637
		posid = posid - scaled
2638
		orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
2639
		orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
2640
                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)
2641
                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)
2642
                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)
2643
                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)
2644
		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)
2645
                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)
2646
	end
2647
	for i = 0, 2, 0.1 do
2648
		swait()
2649
                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)
2650
                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)
2651
                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)
2652
                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)
2653
		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)
2654
                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)
2655
	end
2656
	coroutine.resume(coroutine.create(function()
2657
		orb.Anchored = false
2658
		CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
2659
		local a = Instance.new("Part", workspace)
2660
		a.Name = "Direction"
2661
		a.Anchored = true
2662
		a.BrickColor = BrickC("Lime green")
2663
		a.Material = "Neon"
2664
		a.Transparency = 1
2665
		a.CanCollide = false
2666
		local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
2667
		local ignore = orb
2668
		local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
2669
		a.BottomSurface = 10
2670
		a.TopSurface = 10
2671
		local distance = (orb.CFrame.p - position).magnitude
2672
		a.Size = Vector3.new(0.1, 0.1, 0.1)
2673
		a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
2674
		orb.CFrame = a.CFrame
2675
		a:Destroy()
2676
		local bv = Instance.new("BodyVelocity")
2677
		bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2678
		bv.velocity = orb.CFrame.lookVector * 125
2679
		bv.Parent = orb
2680
		local hitted = false
2681
		game:GetService("Debris"):AddItem(orb, 15)
2682
		swait()
2683
		local hit = orb.Touched:connect(function(hit)
2684
			if hitted == false then
2685
				hitted = true
2686
				CameraEnshaking(10, 2.5)
2687
				CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
2688
				for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do
2689
					if v:FindFirstChild("Head") then
2690
						Eviscerate(v)
2691
					end
2692
				end
2693
				Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Lime green"), "Sphere")
2694
				Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Lime green"), "Sphere")
2695
				for i = 0, 9 do
2696
					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")
2697
					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")
2698
				end
2699
				orb.Anchored = true
2700
				orb.Transparency = 1
2701
				wait(8)
2702
				orb:Destroy()
2703
			end
2704
		end)
2705
	end))
2706
	for i = 0, 1, 0.1 do
2707
		swait()
2708
                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)
2709
                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)
2710
                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)
2711
                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)
2712
		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)
2713
                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)
2714
	end
2715
	attack = false
2716
end
2717
function Shockwave()
2718
	attack = true
2719
	hum.WalkSpeed = 0
2720
	for i = 0,4,0.1 do
2721
		swait()
2722
		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)
2723
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2724
		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)
2725
		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)
2726
		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)
2727
		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)
2728
	end
2729
	coroutine.resume(coroutine.create(function() 
2730
        BlockEffect(maincolor, rl.CFrame * CF(-1, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
2731
        BlockEffect(maincolor, rl.CFrame * CF(-3, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
2732
        BlockEffect(maincolor, rl.CFrame * CF(2, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
2733
	HitboxFunction(rl.CFrame * CF(-1, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
2734
	HitboxFunction(rl.CFrame * CF(-3, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
2735
	HitboxFunction(rl.CFrame * CF(2, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
2736
	CameraEnshaking(1, 7)
2737
        wait(0.05)
2738
        BlockEffect(maincolor, rl.CFrame * CF(-0.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
2739
        BlockEffect(maincolor, rl.CFrame * CF(-2.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
2740
        BlockEffect(maincolor, rl.CFrame * CF(1.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
2741
	HitboxFunction(rl.CFrame * CF(-0.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 20, 10, "Snare")
2742
	HitboxFunction(rl.CFrame * CF(-2.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2743
	HitboxFunction(rl.CFrame * CF(1.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2744
	CameraEnshaking(1, 7)
2745
        wait(0.05)
2746
        BlockEffect(maincolor, rl.CFrame * CF(-0.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
2747
        BlockEffect(maincolor, rl.CFrame * CF(-2.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
2748
        BlockEffect(maincolor, rl.CFrame * CF(1.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
2749
	HitboxFunction(rl.CFrame * CF(-0.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2750
	HitboxFunction(rl.CFrame * CF(-2.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2751
	HitboxFunction(rl.CFrame * CF(1.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2752
	CameraEnshaking(1, 7)
2753
        wait(0.05)
2754
        BlockEffect(maincolor, rl.CFrame * CF(-0.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
2755
        BlockEffect(maincolor, rl.CFrame * CF(-2.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
2756
        BlockEffect(maincolor, rl.CFrame * CF(1.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
2757
	HitboxFunction(rl.CFrame * CF(-0.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2758
	HitboxFunction(rl.CFrame * CF(-2.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2759
	HitboxFunction(rl.CFrame * CF(1.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2760
	CameraEnshaking(1, 7)
2761
        wait(0.05)
2762
        BlockEffect(maincolor, rl.CFrame * CF(-0.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
2763
        BlockEffect(maincolor, rl.CFrame * CF(-2.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
2764
        BlockEffect(maincolor, rl.CFrame * CF(1.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
2765
	HitboxFunction(rl.CFrame * CF(-0.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2766
	HitboxFunction(rl.CFrame * CF(-2.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2767
	HitboxFunction(rl.CFrame * CF(1.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2768
	CameraEnshaking(1, 7)
2769
        wait(0.05)
2770
        BlockEffect(maincolor, rl.CFrame * CF(-0, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
2771
        BlockEffect(maincolor, rl.CFrame * CF(-2, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
2772
        BlockEffect(maincolor, rl.CFrame * CF(1, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
2773
	HitboxFunction(rl.CFrame * CF(-0, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2774
	HitboxFunction(rl.CFrame * CF(-2, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2775
	HitboxFunction(rl.CFrame * CF(1, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2776
	CameraEnshaking(1, 7)
2777
	end))
2778
	Cso("440145223", Handle, 10, 1.05)
2779
	for i = 1,7,0.1 do
2780
	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)
2781
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2782
	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)
2783
	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)
2784
	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)
2785
	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)
2786
	end
2787
	wait(.6)
2788
	hum.WalkSpeed = 8
2789
	attack = false
2790
end
2791
function Pulse()
2792
	attack = true
2793
	hum.WalkSpeed = 0
2794
local GYRO = IT("BodyGyro",root)
2795
GYRO.D = 100
2796
GYRO.P = 2000
2797
GYRO.MaxTorque = VT(0,4000000,0)
2798
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2799
	for i = 0,4,0.1 do
2800
		swait()
2801
		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)
2802
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
2803
		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)
2804
		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)
2805
		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)
2806
		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)
2807
	end
2808
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2809
	HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 30, 40, 0, "Freeze")
2810
	CameraEnshaking(1, 25)
2811
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2812
	HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2813
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2814
	HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2815
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2816
	HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2817
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2818
	HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2819
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2820
	HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2821
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2822
	HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2823
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2824
	HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2825
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2826
	HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2827
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2828
	HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2829
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2830
	HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2831
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2832
	HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2833
	Cso("440145223", Handle, 10, 1.05)
2834
        GYRO:Destroy()
2835
	for i = 1,2,0.1 do
2836
		swait()
2837
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)
2838
		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)
2839
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
2840
		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)
2841
		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)
2842
		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)
2843
		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)
2844
	end
2845
	hum.WalkSpeed = 8
2846
	attack = false
2847
end
2848
function LAZER()
2849
    attack = true
2850
local GYRO = IT("BodyGyro",root)
2851
GYRO.D = 100
2852
GYRO.P = 2000
2853
GYRO.MaxTorque = Vector3.new(0,4000000,0)
2854
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2855
 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),})
2856
    for i = 0,5,0.1 do
2857
        swait()
2858
                GYRO.cframe = CF(root.Position,mouse.Hit.p)
2859
        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)
2860
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
2861
        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)
2862
        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)
2863
        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)
2864
        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)
2865
        end
2866
    local beam = Instance.new("Part", workspace)
2867
    beam.BrickColor = BrickColor.new("Deep orange")
2868
    beam.FormFactor = "Custom"
2869
    beam.Material = "Glass"
2870
    beam.Transparency = 0.5
2871
    beam.Anchored = true
2872
    beam.Locked = true
2873
    beam.CanCollide = false
2874
    local distance = (aa12.CFrame.p - mouse.Hit.p).magnitude
2875
    beam.Size = Vector3.new(1.05, 1.05, distance)
2876
    beam.CFrame = CFrame.new(aa12.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
2877
    game:GetService("Debris"):AddItem(beam, 0.14)
2878
	BlockEffect(BrickC("Deep orange"), ref.CFrame * CF(0, 0, 0), 25, 25, 25, 15, 15, 15, 0.04, 1)
2879
	BlockEffect(BrickC("Deep orange"), ref.CFrame * CF(0, 0, 0), 19, 19, 19, 10, 10, 10, 0.04, 1)
2880
        GYRO:Destroy()
2881
    for i, v in pairs(FindNearestHead(ref.CFrame.p, 2)) do
2882
        if v:FindFirstChild("Torso") then
2883
            Eviscerate(v)
2884
        end
2885
    end
2886
    attack = false
2887
end
2888
function Spirit_Beam()
2889
        attack = true
2890
	hum.WalkSpeed = 0
2891
local GYRO = IT("BodyGyro",root)
2892
GYRO.D = 100
2893
GYRO.P = 2000
2894
GYRO.MaxTorque = VT(0,4000000,0)
2895
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2896
	for i = 0,5,0.1 do
2897
		swait()
2898
                GYRO.cframe = CF(root.Position,mouse.Hit.p)
2899
		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)
2900
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2901
		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)
2902
		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)
2903
		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)
2904
		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)
2905
        end
2906
        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),})
2907
	HitboxFunction(ref.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 4, 25, 50, 1, "Normal")
2908
        BlockEffect(maincolor, ref.CFrame * CF(-0, -0, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
2909
	local beam = Instance.new("Part", workspace)
2910
	beam.BrickColor = BrickColor.new("Fog")
2911
	beam.FormFactor = "Custom"
2912
	beam.Material = "Glass"
2913
	beam.Transparency = 0.5
2914
	beam.Anchored = true
2915
	beam.Locked = true
2916
	beam.CanCollide = false
2917
	local distance = (Handle.CFrame.p - mouse.Hit.p).magnitude
2918
	beam.Size = Vector3.new(1.05, 1.05, distance)
2919
	beam.CFrame = CFrame.new(Handle.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
2920
	game:GetService("Debris"):AddItem(beam, 0.14)
2921
	local sound = Instance.new('Sound',Handle)
2922
	sound.SoundId = 'rbxassetid://588697948'
2923
	sound.Volume = 7
2924
	sound.EmitterSize = 40
2925
	sound.MaxDistance = 450
2926
	sound:Play()
2927
	game:GetService("Debris"):AddItem(beam, sound.TimeLength)
2928
        GYRO:Destroy()
2929
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)
2930
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)
2931
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)
2932
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)
2933
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)
2934
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)
2935
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)
2936
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)
2937
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)
2938
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)
2939
        wait(0.3)
2940
        attack = false
2941
	hum.WalkSpeed = 8
2942
        ref:Destroy()
2943
end
2944
function Distort()
2945
	attack = true
2946
	hum.WalkSpeed = 0
2947
		local pos = root.Position
2948
		root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
2949
	Cso("261227592", tors, 10, 0.85)
2950
	for i = 1,2.5,0.1 do
2951
        swait()
2952
        rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
2953
        end
2954
	attack = false
2955
	hum.WalkSpeed = 8
2956
end
2957
function Ancient_Rage()
2958
	attack = true
2959
	hum.WalkSpeed = 4
2960
	Cso("907329532", tors, 10, 1.05)
2961
	for i = 1,14,0.1 do
2962
        swait()
2963
                rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
2964
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
2965
		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)
2966
		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)
2967
		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)
2968
		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)
2969
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 7)) do
2970
		if v:FindFirstChild("Head") then
2971
                        Eviscerate(v)
2972
		end
2973
	end
2974
        end
2975
	attack = false
2976
	hum.WalkSpeed = 8
2977
end
2978
function TTTTTTTTTTTaunt()
2979
	attack = true
2980
	hum.WalkSpeed = 0
2981
        DTAUNT:Play()
2982
        repeat
2983
        swait()
2984
        DTAUNT.Parent = tors
2985
		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)
2986
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
2987
		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)
2988
		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)
2989
		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)
2990
		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)
2991
	until DTAUNT.Playing == false
2992
	attack = false
2993
	hum.WalkSpeed = 8
2994
end
2995
function HAAH()
2996
	attack = true
2997
	hum.WalkSpeed = 0
2998
	Cso("300208779", hed, 10, 1)
2999
	for i = 0,9,0.1 do
3000
		swait()
3001
		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)
3002
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
3003
		if Mrandom(1,15) == 1 then
3004
		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)
3005
		end
3006
		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)
3007
		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)
3008
		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)
3009
		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)
3010
	end
3011
	attack = false
3012
	hum.WalkSpeed = 10
3013
end
3014
function again()
3015
        attack = true
3016
	hum.WalkSpeed = 0
3017
        ITAUNT:Play()
3018
        repeat
3019
        swait()
3020
        ITAUNT.Parent = tors
3021
        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)
3022
	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)
3023
	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)
3024
	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)
3025
	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)
3026
	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)
3027
	until ITAUNT.Playing == false
3028
        attack = false
3029
	hum.WalkSpeed = 8
3030
end
3031
function LunarSpin()
3032
	attack = true
3033
	hum.WalkSpeed = 0
3034
	for i = 0,17,0.05 do
3035
		CameraEnshaking(1, 5)
3036
	        MagniDamage(tors, 47, 2, 5, 0, "Normal")
3037
	        Effects.Spiral.Create(BrickC("Teal"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03)
3038
		Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
3039
		swait()
3040
		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)
3041
		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)
3042
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3043
		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)
3044
		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)
3045
		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)
3046
		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)
3047
	end
3048
	hum.WalkSpeed = 8
3049
	attack = false
3050
end
3051
function Decapitate()
3052
	local target = nil
3053
	local targettorso = nil
3054
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
3055
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
3056
			target = mouse.Target.Parent.Humanoid
3057
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
3058
			targethead = mouse.Target.Parent:FindFirstChild("Head")
3059
		end
3060
	end
3061
	if target ~= nil then
3062
		targettorso.Anchored = true
3063
		attack = true
3064
		hum.WalkSpeed = 0
3065
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
3066
		for i = 0,4.2,0.1 do
3067
			swait()
3068
		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)
3069
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
3070
		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)
3071
		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)
3072
		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)
3073
		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)
3074
		end
3075
		local ModelHead01 = New("Model", char, "", {})
3076
        local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
3077
        local Head01 = targethead:Clone()
3078
        targethead.Transparency = 1
3079
        Head01.Parent = ModelHead01
3080
        local weldHead01 = Instance.new("Weld")
3081
        weldHead01.Parent = Head01
3082
        weldHead01.Part0 = targethead
3083
        weldHead01.Part1 = Head01
3084
        weldHead01.C1 = CFrame.new(0, 0, 0)
3085
		targethead.face:Remove()
3086
		weldHead01.Part0 = ra
3087
        weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
3088
		targettorso:BreakJoints()
3089
		CreateSound("314390675", targettorso, 5, .7)
3090
		for i = 0,3.2,0.1 do
3091
			swait()
3092
		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)
3093
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3094
		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)
3095
		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)
3096
		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)
3097
		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)
3098
		end
3099
		for i = 0,4.2,0.1 do
3100
			swait()
3101
		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)
3102
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
3103
		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)
3104
		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)
3105
		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)
3106
		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)
3107
		end
3108
		CreateSound("541909763", targettorso, 5, .8)
3109
		weldHead01:Destroy()
3110
        Head01.CanCollide = true
3111
        local bodyVelocity2 = Create("BodyVelocity")({
3112
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
3113
          P = 5000,
3114
          maxForce = Vector3.new(8000, 8000, 8000),
3115
          Parent = Head01
3116
        })
3117
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
3118
		for i = 0,6.2,0.1 do
3119
			swait()
3120
		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)
3121
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
3122
		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)
3123
		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)
3124
		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)
3125
		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)
3126
		end
3127
		targettorso.Anchored = false
3128
		attack = false
3129
		hum.WalkSpeed = 8
3130
		root.CFrame = targettorso.CFrame * CF(0,0,3.4)
3131
	end
3132
end
3133
function BalanceSpin()
3134
    attack = true
3135
    hum.WalkSpeed = 2
3136
    for i = 0,17,0.07 do
3137
        CameraEnshaking(1, 5)
3138
        MagniDamage(tors, 30, 7, 11, 0, "Normal")
3139
        swait()
3140
	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")
3141
	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")
3142
	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")
3143
        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)
3144
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3145
        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)
3146
        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)
3147
        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)
3148
        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)
3149
    end
3150
    hum.WalkSpeed = 8
3151
    attack = false
3152
end
3153
3154
function BARK()
3155
	attack = true
3156
	hum.WalkSpeed = 0
3157
	BATAUNT:Play()
3158
	repeat
3159
	BATAUNT.Parent = tors
3160
	swait()
3161
	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)
3162
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
3163
	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)
3164
	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)
3165
	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)
3166
	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)
3167
	until BATAUNT.Playing == false
3168
	attack = false
3169
	hum.WalkSpeed = 8
3170
end
3171
function CreateSound(ID, PARENT, VOLUME, PITCH)
3172
	local NSound = nil
3173
	coroutine.resume(coroutine.create(function()
3174
		NSound = Instance.new("Sound", PARENT)
3175
		NSound.Volume = VOLUME
3176
		NSound.Pitch = PITCH
3177
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
3178
		swait()
3179
		NSound:play()
3180
		game:GetService("Debris"):AddItem(NSound, 10)
3181
	end))
3182
	return NSound
3183
end
3184
function Bark_Splosion()
3185
	attack = true
3186
	for i = 0,2,0.05 do
3187
		swait()
3188
		Effects.Block.Create(BrickC("Cool yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
3189
		Effects.Block.Create(BrickC("Medium stone grey"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
3190
		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)
3191
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3192
		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)
3193
		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)
3194
		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)
3195
		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)
3196
	end
3197
	CreateSound("331666100", tors, 10, 1)
3198
	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)
3199
	MagniDamage(tors, 34, 25, 50, 15, "DarkUp")
3200
	CameraEnshaking(1.5, 10)  
3201
	for i = 1,2,0.1 do
3202
        swait()
3203
	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)
3204
	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)
3205
	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)
3206
	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)
3207
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
3208
	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)
3209
	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)
3210
	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)
3211
	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)
3212
	end
3213
	wait(.6)
3214
	attack = false
3215
end
3216
corrupted = false
3217
function Pixel_Corrupt()
3218
	attack = true
3219
        corrupted = true
3220
	for i = 0,3,0.05 do
3221
		swait()
3222
	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)
3223
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
3224
	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)
3225
	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)
3226
	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)
3227
	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)
3228
		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)
3229
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3230
		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)
3231
		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)
3232
		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)
3233
		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)
3234
	end
3235
        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),})
3236
	HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 20, 20, 25, 0, "Normal")
3237
        BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 30, 30, 30, 32, 32, 32, 0.07, 1)
3238
	CreateSound("331666100", refa, 10, 1)
3239
	CameraEnshaking(1.5, 10)  
3240
	coroutine.resume(coroutine.create(function() 
3241
	for i = 1,20,0.1 do
3242
        swait(5)
3243
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)
3244
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)
3245
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)
3246
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)
3247
	CreateSound("331666100", refa, 10, 1)
3248
        BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 22, 22, 22, 25, 25, 25, 0.041, 1)
3249
	HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 21.3, 5, 8, 0, "Normal")
3250
        end
3251
        refa:Destroy()
3252
        corrupted = false
3253
        end))
3254
	for i = 1,2.5,0.1 do
3255
        swait()
3256
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)
3257
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.6)
3258
		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)
3259
		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)
3260
		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)
3261
		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)
3262
	end
3263
	wait(.3)
3264
	attack = false
3265
end
3266
MERKIO = Instance.new("Sound", tors) --why
3267
MERKIO.SoundId = "http://www.roblox.com/asset/?id=791374350"
3268
MERKIO.Volume = 10
3269
MERKIO.Pitch = 1
3270
MERKIO.Looped = false
3271
MERKIO.TimePosition = 0
3272
function URA()
3273
    attack = true
3274
        MERKIO:Play()
3275
        repeat
3276
    for i = 0,0.7,0.2 do
3277
        swait()
3278
                MERKIO.Parent = tors
3279
    for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
3280
        if v:FindFirstChild("Torso") then
3281
            Eviscerate(v)
3282
        end
3283
    end
3284
    for i, v in pairs(FindNearestHead(la.CFrame.p, 10)) do
3285
        if v:FindFirstChild("Torso") then
3286
            Eviscerate(v)
3287
        end
3288
    end
3289
        Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 45, 45, 45, 0.1, 0.1, 0.1, 0.03)
3290
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(10)), 0.8)
3291
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.9)
3292
        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)
3293
        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)
3294
        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)
3295
        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)
3296
    end
3297
        for i = 0,0.7,0.2 do
3298
                swait()
3299
                MERKIO.Parent = tors
3300
    for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
3301
        if v:FindFirstChild("Torso") then
3302
            Eviscerate(v)
3303
        end
3304
    end
3305
    for i, v in pairs(FindNearestHead(la.CFrame.p, 10)) do
3306
        if v:FindFirstChild("Torso") then
3307
            Eviscerate(v)
3308
        end
3309
    end
3310
        Effects.Sphere.Create(maincolor, la.CFrame * CFrame.new(0,-2,0) , 45, 45, 45, 0.1, 0.1, 0.1, 0.03)
3311
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(-10)), 0.8)
3312
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.9)
3313
        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)
3314
        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)
3315
        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)
3316
        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)
3317
        end
3318
        until MERKIO.Playing == false
3319
        MERKIO:Stop()
3320
    attack = false
3321
    hum.WalkSpeed = 16
3322
end
3323
function un_fun()
3324
        attack = true
3325
	hum.WalkSpeed = 0
3326
        BTAUNT:Play()
3327
        repeat
3328
        swait()
3329
        BTAUNT.Parent = tors
3330
        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)
3331
	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)
3332
	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)
3333
	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)
3334
        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)
3335
	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)
3336
	until BTAUNT.Playing == false
3337
        attack = false
3338
	hum.WalkSpeed = 8
3339
end
3340
function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
3341
    local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
3342
    prt.Anchored = true
3343
    prt.Material = "Neon"
3344
    prt.CFrame = cframe
3345
    prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3346
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
3347
    game:GetService("Debris"):AddItem(prt, 5)
3348
    coroutine.resume(coroutine.create(function(Part, Mesh)
3349
        for i = 0, 1, delay do
3350
            swait()
3351
            Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3352
            Part.Transparency = i
3353
            Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
3354
        end
3355
        Part.Parent = nil
3356
    end), prt, msh)
3357
end
3358
function Ende_der_Weld()
3359
    attack = true
3360
    for i = 0,7,0.1 do
3361
        swait()
3362
	BlockEffect(BrickC("Royal purple"), ll.CFrame * CF(0, -1.5, 0), 5, 5, 5, 3, 3, 3, 0.04, 1)
3363
        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)
3364
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3365
        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)
3366
        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)
3367
        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)
3368
        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)
3369
    end
3370
    Cso("438666141", char, 10, 1)
3371
    Effects.Sphere.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.80, 0), 5, 2, 5, 150.6, .4, 150.6, 0.05)
3372
    Effects.Wave.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.80, 0), 1500, 1500, 1500, 250.6, .6, 250.6, 0.05)
3373
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
3374
        if v:FindFirstChild("Head") then
3375
            Eviscerate(v)
3376
        end
3377
    end
3378
    coroutine.resume(coroutine.create(function()
3379
        for i = 0,2.8,0.1 do
3380
            swait()
3381
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
3382
        end
3383
        for i = 0,1.8,0.1 do
3384
            swait()
3385
        hum.CameraOffset = Vector3.new(0,0,0)
3386
        end
3387
    end))
3388
    for i = 0,3.7,0.1 do
3389
        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)
3390
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3391
        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)
3392
        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)
3393
        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)
3394
        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)
3395
    end
3396
    attack = false
3397
end
3398
function thisisit2()
3399
        attack = true
3400
	hum.WalkSpeed = 0
3401
        STAUNT2:Play()
3402
        repeat
3403
        swait()
3404
        STAUNT2.Parent = tors
3405
	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)
3406
	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)
3407
        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)
3408
        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)
3409
	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)
3410
        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)
3411
	until STAUNT2.Playing == false
3412
        attack = false
3413
	hum.WalkSpeed = 8
3414
end
3415
function thisisit()
3416
        attack = true
3417
    hum.WalkSpeed = 0
3418
        STAUNT:Play()
3419
        repeat
3420
        swait()
3421
        STAUNT.Parent = tors
3422
	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)
3423
	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)
3424
 	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)
3425
	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)
3426
        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)
3427
        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)
3428
    until STAUNT.Playing == false
3429
        attack = false
3430
    hum.WalkSpeed = 8
3431
end
3432
function Exploit()
3433
        exploitable = false
3434
	coroutine.resume(coroutine.create(function() 
3435
	for i = 1,20,0.1 do
3436
        swait()
3437
	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)
3438
        end
3439
	Cso("12222030", tors, 10, 1.05)
3440
        BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1)
3441
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do
3442
		if v:FindFirstChild("Head") then
3443
                        Eviscerate(v)
3444
                        SoulSteal(v)
3445
		end
3446
	end
3447
        wait(15)
3448
        exploitable = true
3449
        end))
3450
end
3451
  DTrail5.Enabled = true
3452
        DTrail4.Enabled = true
3453
        DTrail3.Enabled = true
3454
        DTrail2.Enabled = true
3455
        DTrail.Enabled = true
3456
function ASCENTION()
3457
	attack = true
3458
	hum.WalkSpeed = 0
3459
	Cso("987502413", tors, 10, 1.05)
3460
        local vel2 = Instance.new("BodyVelocity",tors)
3461
        vel2.Velocity = Vector3.new(0,30,0)
3462
        vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
3463
	for i = 0,20,0.1 do
3464
	HitboxFunction(tors.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 7, 10, 20, 20, "Normal")
3465
		swait()
3466
                BlockEffect(maincolor, ra.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
3467
                BlockEffect(maincolor, la.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
3468
		CameraEnshaking(1, 4)
3469
		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)
3470
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3471
		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)
3472
		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)
3473
		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)
3474
		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)
3475
	end
3476
	hum.WalkSpeed = 8
3477
        vel2:Destroy()
3478
	attack = false
3479
end
3480
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3481
local type = type
3482
local rng = Instance.new("Part", char)
3483
        rng.Anchored = true
3484
        rng.Color = color
3485
        rng.CanCollide = false
3486
        rng.FormFactor = 3
3487
        rng.Name = "Ring"
3488
        rng.Material = "Neon"
3489
        rng.Size = Vector3.new(1, 1, 1)
3490
        rng.Transparency = 0
3491
        rng.TopSurface = 0
3492
        rng.BottomSurface = 0
3493
        rng.CFrame = pos
3494
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3495
        local rngm = Instance.new("SpecialMesh", rng)
3496
        rngm.MeshType = "Sphere"
3497
rngm.Scale = vt(x1,y1,z1)
3498
if rainbowmode == true then
3499
rng.Color = Color3.new(r/255,g/255,b/255)
3500
end
3501
local scaler2 = 1
3502
local speeder = FastSpeed
3503
if type == "Add" then
3504
scaler2 = 1*value
3505
elseif type == "Divide" then
3506
scaler2 = 1/value
3507
end
3508
coroutine.resume(coroutine.create(function()
3509
for i = 0,10/bonuspeed,0.1 do
3510
swait()
3511
if rainbowmode == true then
3512
rng.Color = Color3.new(r/255,g/255,b/255)
3513
end
3514
if type == "Add" then
3515
scaler2 = scaler2 - 0.01*value/bonuspeed
3516
elseif type == "Divide" then
3517
scaler2 = scaler2 - 0.01/value*bonuspeed
3518
end
3519
if chaosmode == true then
3520
rng.BrickColor = BrickColor.random()
3521
end
3522
        if glitchymode then
3523
            local val = math.random(1,255)
3524
            local color = Color3.fromRGB(val,val,val)
3525
            rng.Color = color
3526
        end
3527
speeder = speeder - 0.01*FastSpeed*bonuspeed
3528
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3529
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3530
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
3531
end
3532
rng:Destroy()
3533
end))
3534
end
3535
3536
function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
3537
    local type = type
3538
    local rng = Instance.new("Part", char)
3539
    rng.Anchored = true
3540
    rng.BrickColor = color
3541
    rng.CanCollide = false
3542
    rng.FormFactor = 3
3543
    rng.Name = "Ring"
3544
    rng.Material = "Neon"
3545
    rng.Size = Vector3.new(1, 1, 1)
3546
    rng.Transparency = 0
3547
    rng.TopSurface = 0
3548
    rng.BottomSurface = 0
3549
    rng.CFrame = pos
3550
    rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
3551
    local rngm = Instance.new("SpecialMesh", rng)
3552
    rngm.MeshType = "Sphere"
3553
    rngm.Scale = Vector3.new(x1, y1, z1)
3554
    local scaler2 = 1
3555
    local speeder = FastSpeed
3556
    if type == "Add" then
3557
        scaler2 = 1 * value
3558
    elseif type == "Divide" then
3559
        scaler2 = 1 / value
3560
    end
3561
    coroutine.resume(coroutine.create(function()
3562
        for i = 0, 10 / bonuspeed, 0.1 do
3563
            swait()
3564
            if type == "Add" then
3565
                scaler2 = scaler2 - 0.01 * value / bonuspeed
3566
            elseif type == "Divide" then
3567
                scaler2 = scaler2 - 0.01 / value * bonuspeed
3568
            end
3569
                        rng.BrickColor = BrickColor.random()
3570
            speeder = speeder - 0.01 * FastSpeed * bonuspeed
3571
            rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
3572
            rng.Transparency = rng.Transparency + 0.01 * bonuspeed
3573
            rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
3574
        end
3575
        rng:Destroy()
3576
    end))
3577
end
3578
3579
		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)
3580
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
3581
		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)
3582
		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)
3583
		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)
3584
		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)
3585
3586
function aaa()
3587
    attack = true
3588
    maincolor = BrickColor.Random()
3589
	for i = 0,20,0.1 do
3590
        swait()
3591
		Effects.Block.Create(BrickColor.Random(), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
3592
		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)
3593
		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)
3594
		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)
3595
		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)
3596
		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)
3597
		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)
3598
    end
3599
    Magic(5, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(10, 10, 10), 1, maincolor, "Sphere")
3600
    Magic(3, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(20, 20, 20), 1, maincolor, "Sphere")
3601
    Magic(1, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(30, 30, 30), 1, maincolor, "Sphere")
3602
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
3603
        if v:FindFirstChild("Head") then
3604
            Eviscerate(v)
3605
        end
3606
    end
3607
    maincolor = BrickColor.new("White")
3608
    attack = false
3609
end
3610
3611
function stomp()
3612
    attack = true
3613
    CreateSound("331666100", char, 10, 1)
3614
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3615
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3616
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3617
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3618
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
3619
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
3620
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
3621
        if v:FindFirstChild("Head") then
3622
            Eviscerate(v)
3623
            SoulSteal(v)
3624
        end
3625
    end
3626
    coroutine.resume(coroutine.create(function()
3627
        for i = 0,2.8,0.1 do
3628
            swait()
3629
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
3630
        end
3631
        for i = 0,1.8,0.1 do
3632
            swait()
3633
        hum.CameraOffset = Vector3.new(0,0,0)
3634
        end
3635
    end))
3636
    wait(.6)
3637
    attack = false
3638
end
3639
function Painful_Stomp()
3640
    attack = true
3641
    CreateSound("331666100", char, 10, 1)
3642
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3643
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3644
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3645
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
3646
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
3647
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
3648
    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)
3649
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
3650
        if v:FindFirstChild("Head") then
3651
            Eviscerate(v)
3652
        end
3653
    end
3654
    coroutine.resume(coroutine.create(function()
3655
        for i = 0,2.8,0.1 do
3656
            swait()
3657
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
3658
        end
3659
        for i = 0,1.8,0.1 do
3660
            swait()
3661
        hum.CameraOffset = Vector3.new(0,0,0)
3662
        end
3663
    end))
3664
    attack = false
3665
end
3666
3667
local Hair = Instance.new("Part", char)
3668
Hair.Name = "Hair"
3669
Hair.CanCollide = false
3670
Hair.BrickColor = BrickColor.new("Institutional white")
3671
Hair.Transparency = 0
3672
Hair.Material = "Plastic"
3673
Hair.Size = Vector3.new(1, 1, 2)
3674
Hair.TopSurface = Enum.SurfaceType.Smooth
3675
Hair.BottomSurface = Enum.SurfaceType.Smooth
3676
 
3677
local Weld = Instance.new("Weld", Hair)
3678
Weld.Part0 = hed
3679
Weld.Part1 = Hair
3680
Weld.C1 = CFrame.new(0, -.6, 0)
3681
Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
3682
 
3683
local M2 = Instance.new("SpecialMesh")
3684
M2.Parent = Hair
3685
M2.MeshId = "http://www.roblox.com/asset/?id=13640868"
3686
M2.TextureId = "http://www.roblox.com/asset/?id=18987684"
3687
M2.Scale = Vector3.new(1, 1, 1)
3688
3689
for i,v in pairs(char:children()) do
3690
if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
3691
v:Remove()
3692
end
3693
end
3694
shirt = Instance.new("Shirt", char)
3695
shirt.Name = "Shirt"
3696
pants = Instance.new("Pants", char)
3697
pants.Name = "Pants"
3698
char.Shirt.ShirtTemplate = "rbxassetid://0"
3699
char.Pants.PantsTemplate = "rbxassetid://0"
3700
3701
char.Head.face.Texture = "rbxassetid://0"
3702
char.Torso.roblox.Texture = "rbxassetid://0"
3703
3704
3705
------
3706
local r2,g2,b2=255,0,0
3707
3708
local rate = 5--more is faster!
3709
3710
spawn(function()
3711
    while true do
3712
        for i=0,255,rate do
3713
            g2 = i
3714
            wait()
3715
        end
3716
        for i=255,0,-rate do
3717
            r2 = i
3718
            wait()
3719
        end
3720
        for i=0,255,rate do
3721
            b2 = i
3722
            wait()
3723
        end
3724
        for i=255,0,-rate do
3725
            g2 = i
3726
            wait()
3727
        end
3728
        for i=0,255,rate do
3729
            r2 = i
3730
            wait()
3731
        end
3732
        for i=255,0,-rate do
3733
            b2 = i
3734
            wait()
3735
        end
3736
    end
3737
end)
3738
------
3739
3740
local r,g,b=255,0,0
3741
3742
local rate = 1000--more is faster!
3743
3744
spawn(function()
3745
    while true do
3746
        for i=0,255,rate do
3747
            g = i
3748
            wait()
3749
        end
3750
        for i=255,0,-rate do
3751
            r = i
3752
            wait()
3753
        end
3754
        for i=0,255,rate do
3755
            b = i
3756
            wait()
3757
        end
3758
        for i=255,0,-rate do
3759
            g = i
3760
            wait()
3761
        end
3762
        for i=0,255,rate do
3763
            r = i
3764
            wait()
3765
        end
3766
        for i=255,0,-rate do
3767
            b = i
3768
            wait()
3769
        end
3770
    end
3771
end)
3772
3773
function ByeBye()
3774
    local target = nil
3775
    local targettorso = nil
3776
    if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
3777
        if mouse.Target.Parent.Humanoid.PlatformStand == false then
3778
            target = mouse.Target.Parent.Humanoid
3779
            targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
3780
            targethead = mouse.Target.Parent:FindFirstChild("Head")
3781
        end
3782
    end
3783
    if target ~= nil then
3784
        targettorso.Anchored = true
3785
        attack = true
3786
        hum.WalkSpeed = 0
3787
        root.CFrame = targettorso.CFrame * CF(0,0,2)
3788
        for i = 0,4.2,0.1 do
3789
            swait()
3790
        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)
3791
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3792
        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)
3793
        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)
3794
        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)
3795
        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)
3796
        end
3797
        local bloody = Instance.new("ParticleEmitter",targettorso)
3798
        bloody.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
3799
        bloody.LightEmission = .1
3800
        bloody.Size = NumberSequence.new(0.5, 0)
3801
        bloody.Texture = "http://www.roblox.com/asset/?ID=602578593"
3802
        aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
3803
        bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
3804
        bloody.Transparency = bbb
3805
        bloody.Size = aaa
3806
        bloody.ZOffset = -.9
3807
        bloody.Acceleration = Vector3.new(0, -5, 0)
3808
        bloody.LockedToPart = false
3809
        bloody.Lifetime = NumberRange.new(0.8)
3810
        bloody.Rate = 255
3811
        bloody.Rotation = NumberRange.new(-100, 100)
3812
        bloody.RotSpeed = NumberRange.new(-100, 100)
3813
        bloody.Speed = NumberRange.new(6)
3814
        bloody.VelocitySpread = 0
3815
        bloody.Enabled=true
3816
        targethead:Remove()
3817
        CreateSound("429400881", targettorso, 5, .8)
3818
        CreateSound("1093102664", targettorso, 10, 1)
3819
        for i = 0,6.2,0.1 do
3820
            swait()
3821
        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)
3822
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-110)), 0.3)
3823
        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)
3824
        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)
3825
        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)
3826
        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)
3827
        end
3828
        targettorso.Anchored = false
3829
        attack = false
3830
        hum.WalkSpeed = 16
3831
        root.CFrame = targettorso.CFrame * CF(0,0,3)
3832
    end
3833
end
3834
3835
local Blood1 = Create("ParticleEmitter")({
3836
  Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
3837
  Transparency = NumberSequence.new(0.1, 1),
3838
  Size = NumberSequence.new(0.5, 0),
3839
  Texture = "rbxassetid://602578593",
3840
  Lifetime = NumberRange.new(0.8),
3841
  Rate = 255,
3842
  VelocitySpread = 40,
3843
  Rotation = NumberRange.new(100),
3844
  Speed = NumberRange.new(5),
3845
  LightEmission = 0,
3846
  LockedToPart = false,
3847
  Acceleration = Vector3.new(0, -10, 0),
3848
  EmissionDirection = "Bottom"
3849
})
3850
3851
function Sayonara()
3852
    local target = nil
3853
    local targettorso = nil
3854
    if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
3855
        if mouse.Target.Parent.Humanoid.PlatformStand == false then
3856
            target = mouse.Target.Parent.Humanoid
3857
            targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
3858
            targethead = mouse.Target.Parent:FindFirstChild("Head")
3859
            targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
3860
            targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
3861
        end
3862
    end
3863
    if target ~= nil then
3864
        targettorso.Anchored = true
3865
        attack = true
3866
        hum.WalkSpeed = 0
3867
        root.CFrame = targettorso.CFrame * CF(0,0,2.4)
3868
        for i = 0,6.2,0.1 do
3869
            swait()
3870
        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)
3871
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
3872
        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)
3873
        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)
3874
        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)
3875
        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)
3876
        end
3877
        do
3878
        CreateSound("429400881", targettorso, 5, 1)
3879
        local ModelArm02 = New("Model", char, "Arm", {})
3880
        local ModelArm03 = New("Model", char, "Arm", {})
3881
        local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
3882
        local Humanoid03 = New("Humanoid", ModelArm03, "Humanoid", {})
3883
        local Arm02 = targetleftarm:Clone()
3884
        local Arm03 = targetrightarm:Clone()
3885
        targetleftarm.Transparency = 1
3886
        targetrightarm.Transparency = 1
3887
        Arm02.Parent = ModelArm02
3888
        Arm03.Parent = ModelArm03
3889
        for i, v in pairs(Arm02:GetChildren()) do
3890
          v:Destroy()
3891
        end
3892
        for i, v in pairs(Arm03:GetChildren()) do
3893
          v:Destroy()
3894
        end
3895
        local weldArm02 = Instance.new("Weld")
3896
        weldArm02.Parent = Arm02
3897
        weldArm02.Part0 = targetleftarm
3898
        weldArm02.Part1 = Arm02
3899
        weldArm02.C1 = CFrame.new(0, 0, 0)
3900
        local weldArm03 = Instance.new("Weld")
3901
        weldArm03.Parent = Arm03
3902
        weldArm03.Part0 = targetrightarm
3903
        weldArm03.Part1 = Arm03
3904
        weldArm03.C1 = CFrame.new(0, 0, 0)
3905
        for i, v in pairs(target:GetChildren()) do
3906
          if v:IsA("Shirt") then
3907
            v:clone().Parent = ModelArm02
3908
          end
3909
        end
3910
        for i, v in pairs(target:GetChildren()) do
3911
          if v:IsA("Shirt") then
3912
            v:clone().Parent = ModelArm03
3913
          end
3914
        end
3915
        weldArm02.Part0 = la
3916
        weldArm02.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
3917
        weldArm03.Part0 = ra
3918
        weldArm03.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
3919
        local BE1 = Blood1:Clone()
3920
        BE1.Parent = targetleftarm
3921
        game:GetService("Debris"):AddItem(BE1, 3)
3922
        BE1.Rate = 255
3923
        local BE2 = Blood1:Clone()
3924
        BE2.Parent = targetrightarm
3925
        game:GetService("Debris"):AddItem(BE2, 3)
3926
        BE2.Rate = 255
3927
        for i = 0,6.2,0.1 do
3928
            swait()
3929
        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)
3930
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3931
        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)
3932
        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)
3933
        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)
3934
        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)
3935
        end
3936
        for i = 0,6.2,0.1 do
3937
            swait()
3938
        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)
3939
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3940
        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)
3941
        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)
3942
        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)
3943
        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)
3944
        end
3945
        CreateSound("541909763", targettorso, 5, .8)
3946
        weldArm02:Destroy()
3947
        Arm02.CanCollide = true
3948
        weldArm03:Destroy()
3949
        Arm03.CanCollide = true
3950
        local bodyVelocity2 = Create("BodyVelocity")({
3951
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
3952
          P = 5000,
3953
          maxForce = Vector3.new(8000, 8000, 8000),
3954
          Parent = Arm02
3955
        })
3956
        local bodyVelocity3 = Create("BodyVelocity")({
3957
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
3958
          P = 5000,
3959
          maxForce = Vector3.new(8000, 8000, 8000),
3960
          Parent = Arm03
3961
        })
3962
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
3963
        game:GetService("Debris"):AddItem(bodyVelocity3, 0.05)
3964
        for i = 0,6.2,0.1 do
3965
            swait()
3966
        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)
3967
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3968
        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)
3969
        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)
3970
        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)
3971
        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)
3972
        end
3973
        end
3974
        targettorso.Anchored = false
3975
        attack = false
3976
        hum.WalkSpeed = 16
3977
        root.CFrame = targettorso.CFrame * CF(0,0,3.4)
3978
    end
3979
end
3980
3981
function dash()
3982
dashing = true
3983
attack = true
3984
  local bv = Instance.new("BodyVelocity")
3985
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3986
  bv.velocity = root.CFrame.lookVector*200
3987
  bv.Parent = root
3988
for i = 0,1,0.1 do
3989
		swait()
3990
bv.velocity = root.CFrame.lookVector*200
3991
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*CF(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(0)),0.5)
3992
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
3993
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(50)), 0.5)
3994
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(-50)), 0.5)
3995
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)
3996
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)
3997
	end
3998
bv:Destroy()
3999
attack = false
4000
dashing = false
4001
end
4002
4003
function Multi_Bombs()
4004
    attack = true
4005
    hum.WalkSpeed = 3.01
4006
    for i = 0,3,0.1 do
4007
        swait()
4008
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4009
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4010
        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)
4011
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4012
        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)
4013
        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)
4014
        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)
4015
        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)
4016
    end
4017
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
4018
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
4019
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
4020
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
4021
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
4022
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
4023
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
4024
    CreateSound("142070127", tors, 10, 1)
4025
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
4026
        if v:FindFirstChild("Head") then
4027
            Eviscerate(v)
4028
        end
4029
    end 
4030
    for i = 0,1,0.1 do
4031
        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)
4032
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4033
        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)
4034
        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)
4035
        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)
4036
        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)
4037
    end
4038
    for i = 0,2,0.1 do
4039
        swait()
4040
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4041
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4042
        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)
4043
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4044
        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)
4045
        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)
4046
        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)
4047
        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)
4048
    end
4049
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
4050
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
4051
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
4052
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
4053
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
4054
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
4055
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
4056
    CreateSound("142070127", tors, 10, 1)
4057
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
4058
        if v:FindFirstChild("Head") then
4059
            Eviscerate(v)
4060
        end
4061
    end 
4062
    for i = 0,1,0.1 do
4063
        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)
4064
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4065
        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)
4066
        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)
4067
        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)
4068
        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)
4069
    end
4070
    for i = 0,2,0.1 do
4071
        swait()
4072
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4073
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4074
        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)
4075
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4076
        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)
4077
        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)
4078
        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)
4079
        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)
4080
    end
4081
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
4082
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
4083
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
4084
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
4085
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
4086
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
4087
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
4088
    CreateSound("142070127", tors, 10, 1)
4089
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
4090
        if v:FindFirstChild("Head") then
4091
            Eviscerate(v)
4092
        end
4093
    end 
4094
   for i = 0,1,0.1 do
4095
        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)
4096
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4097
        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)
4098
        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)
4099
        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)
4100
        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)
4101
    end
4102
    wait(.6)
4103
    attack = false
4104
    hum.WalkSpeed = 8
4105
end
4106
function Universal_Crush()
4107
    attack = true
4108
    for i = 0,5.2,0.05 do
4109
        swait()
4110
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4111
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4112
        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)
4113
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4114
        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)
4115
        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)
4116
        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)
4117
        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)
4118
    end
4119
    CreateSound("331666100", tors, 10, 1)
4120
    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)
4121
    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)
4122
    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)
4123
    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)
4124
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 500)) do
4125
        if v:FindFirstChild("Head") then
4126
            Eviscerate(v)
4127
        end
4128
    end
4129
    coroutine.resume(coroutine.create(function()
4130
        for i = 0,1.8,0.1 do
4131
            swait()
4132
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
4133
        end
4134
        for i = 0,1.8,0.1 do
4135
            swait()
4136
        hum.CameraOffset = Vector3.new(0,0,0)
4137
        end
4138
    end))
4139
    for i = 1,4.7,0.1 do
4140
    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)
4141
    tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
4142
    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)
4143
    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)
4144
    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)
4145
    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)
4146
    end
4147
    wait(.6)
4148
    attack = false
4149
end
4150
-------------------------------------------------------
4151
--End Attacks N Stuff--
4152
-------------------------------------------------------
4153
Sprinting = false
4154
mouse.KeyDown:connect(function(key)
4155
    if string.byte(key) == 48 and attack == false and Mode ~= 10 then
4156
        Swing = 2
4157
        hum.WalkSpeed = 38.82
4158
        Sprinting = true
4159
	end
4160
end)
4161
mouse.KeyUp:connect(function(key)
4162
    if string.byte(key) == 48 and attack == false then
4163
        Swing = 1
4164
        Sprinting = false
4165
        hum.WalkSpeed = 8
4166
	end
4167
end)
4168
mouse.KeyDown:connect(function(key)
4169
	if attack == false then
4170
		if key == 'q' and Mode == 1 then
4171
                        Power_Burst()
4172
		elseif key == '1' and Mode ~= 2 then
4173
			Mode = 2
4174
			SONG = 2145635015
4175
		elseif key == '1' and Mode == 2 then
4176
			resetmode()
4177
		elseif key == 't' and Mode == 1 then
4178
                        Taunt()
4179
		elseif key == 'q' and Mode == 2 then
4180
                        Magic_Bombs()
4181
		elseif key == 'e' and Mode == 2 then
4182
                        Dangerous_Field()
4183
        elseif key == 'c' and Mode == 2 then
4184
            dash()
4185
		elseif key == 't' and Mode == 2 then
4186
                        HAAH()
4187
		end
4188
	---------------------------------------------------------------------
4189
    if key == 'm' and Mode == 6 and Mode ~= 10 and Sprinting == false then
4190
        Mode = 10
4191
        SONG = 1138145518
4192
        elseif key == 'm' and Mode == 10 then
4193
            resetmode()
4194
        elseif key == 'q' and Mode == 10 then
4195
            Decapitate()
4196
        elseif key == 'e' and Mode == 10 then
4197
            stomp()
4198
        elseif key == 'r' and Mode == 10 then
4199
            Painful_Stomp()
4200
        elseif key == 'c' and Mode == 10 then
4201
            dash()
4202
        elseif key == 't' and Mode == 10 then
4203
            aaa()
4204
    end
4205
	---------------------------------------------------------------------
4206
    if key == 'g' and Mode ~= 3 then
4207
        Mode = 3
4208
        SONG = 0
4209
4210
        imgl2.ImageColor3 = BrickC("Really red").Color
4211
        techc.ImageColor3 = BrickC("Really red").Color
4212
        ned.Text = "Rainbow"
4213
for i, v in pairs(NeonColorParts1000) do
4214
  v.BrickColor = BrickC("Really red")
4215
end
4216
        ned.TextColor3 = BrickC("Really red").Color
4217
        ned.TextStrokeColor3 = BrickC("Really black").Color
4218
        elseif key == 'c' and Mode == 3 then
4219
            dash()
4220
        elseif key == 'g' and Mode == 3 then
4221
            resetmode()
4222
    end
4223
	---------------------------------------------------------------------
4224
    if key == 'f' and Mode ~= 6 then
4225
        Mode = 6
4226
        SONG = 339568749
4227
4228
        imgl2.ImageColor3 = BrickC("Really red").Color
4229
        techc.ImageColor3 = BrickC("Really red").Color
4230
        ned.Text = "Murder"
4231
        ned.TextColor3 = BrickC("Really red").Color
4232
        ned.TextStrokeColor3 = BrickC("Really black").Color
4233
        elseif key == 'f' and Mode == 6 then
4234
            resetmode()
4235
        elseif key == 'z' and Mode == 6 then
4236
            Decapitate()
4237
        elseif key == 'x' and Mode == 6 then
4238
            Sayonara()
4239
        elseif key == 't' and Mode == 6 then
4240
            TTTTTTTTTTTaunt()        
4241
        elseif key == 'e' and Mode == 6 then
4242
            dash()
4243
        elseif key == 'c' and Mode == 6 then
4244
            ByeBye()
4245
    end
4246
	---------------------------------------------------------------------
4247
    if key == 'b' and Mode == 3 then
4248
        Mode = 9990
4249
        SONG = 485554606
4250
4251
        imgl2.ImageColor3 = BrickC("Really black").Color
4252
        techc.ImageColor3 = BrickC("Lime green").Color
4253
        ned.Text = "Nuclear"
4254
        ned.TextColor3 = BrickC("Really black").Color
4255
        ned.TextStrokeColor3 = BrickC("Lime green").Color
4256
      
4257
        elseif key == 'z' and Mode == 9990 then
4258
            NUCLEAR()
4259
                elseif key == 'c' and Mode == 9990 then
4260
            dash()
4261
      elseif key == 'b' and Mode == 9990 then
4262
            resetmode()
4263
    end
4264
	---------------------------------------------------------------------
4265
    if key == 'b' and Mode == 99 then
4266
        Mode = 122
4267
        SONG = 285256659
4268
4269
        imgl2.ImageColor3 = BrickC("White").Color
4270
        techc.ImageColor3 = BrickC("Really black").Color
4271
        ned.Text = "Fighter"
4272
for i, v in pairs(NeonColorParts1000) do
4273
  v.BrickColor = BrickC("Really black")
4274
end
4275
        ned.TextColor3 = BrickC("Really black").Color
4276
        ned.TextStrokeColor3 = BrickC("White").Color
4277
        elseif key == 'z' and Mode == 122 then
4278
            URA()
4279
        elseif key == 'c' and Mode == 122 then
4280
            dash()
4281
        elseif key == 'b' and Mode == 122 then
4282-
        Core.BrickColor = BrickColor.new("Really red")
4282+
4283-
        Core2.BrickColor = BrickColor.new("Really red")
4283+
4284
	---------------------------------------------------------------------
4285
    if key == 'j' and Mode ~= 8 then
4286
        Mode = 8
4287
        SONG = 3086889338
4288
4289
        imgl2.ImageColor3 = BrickC("Dark indigo").Color
4290
        techc.ImageColor3 = BrickC("Dark indigo").Color
4291
        ned.Text = "Planetary"
4292
        ned.TextColor3 = BrickC("Dark indigo").Color
4293
        ned.TextStrokeColor3 = BrickC("Dark indigo").Color
4294
        elseif key == 'z' and Mode == 8 then
4295
            Multi_Bombs()       
4296
        elseif key == 'x' and Mode == 8 then
4297
            Universal_Crush()
4298
        elseif key == 't' and Mode == 8 then
4299
            thisisit()
4300
        elseif key == 'c' and Mode == 8 then
4301-
        Core.BrickColor = BrickColor.new("Really red")
4301+
4302-
        Core2.BrickColor = BrickColor.new("Really red")
4302+
4303
            resetmode()
4304
    end
4305
	---------------------------------------------------------------------
4306
    if key == 'm' and Mode == 8 then
4307
        Mode = 10000
4308
        SONG = 346191865
4309
4310
        imgl2.ImageColor3 = BrickC("Really black").Color
4311
        techc.ImageColor3 = BrickC("Royal purple").Color
4312
        ned.Text = "Void"
4313
        ned.TextColor3 = BrickC("Really black").Color
4314
        ned.TextStrokeColor3 = BrickC("Royal purple").Color
4315
        elseif key == 'z' and Mode == 10000 then
4316
            Ende_der_Weld()
4317
        elseif key == 'c' and Mode == 10000 then
4318
            dash()
4319
        elseif key == 'm' and Mode == 10000 then
4320
            resetmode()
4321
    end
4322
	---------------------------------------------------------------------
4323
    if key == 'h' and Mode ~= 99 then
4324
        Mode = 99
4325-
        Core.BrickColor = BrickColor.new("Lime green")
4325+
4326-
        Core2.BrickColor = BrickColor.new("Lime green")
4326+
4327
        imgl2.ImageColor3 = BrickC("Deep orange").Color
4328
4329
        techc.ImageColor3 = BrickC("Deep orange").Color
4330
        ned.Text = "Infused"
4331
        ned.TextColor3 = BrickC("Deep orange").Color
4332
        ned.TextStrokeColor3 = BrickC("Deep orange").Color
4333
        elseif key == 'z' and Mode == 99 then
4334
            LAZER()
4335
        elseif key == 't' and Mode == 99 then
4336
            again()
4337
        elseif key == 'c' and Mode == 99 then
4338
            dash()
4339
        elseif key == 'h' and Mode == 99 then
4340
            resetmode()
4341
    end
4342
	---------------------------------------------------------------------
4343
    if key == 'm' and Mode == 1 then
4344-
        Core.BrickColor = BrickColor.new("White")
4344+
4345-
        Core2.BrickColor = BrickColor.new("Really black")
4345+
4346
        ned.Text = ""
4347
4348
        techc.ImageColor3 = BrickC("Cyan").Color
4349
        ned.TextColor3 = BrickC("Cyan").Color
4350
        imgl2.ImageColor3 = BrickC("Cyan").Color
4351
        ned.TextStrokeColor3 = BrickC("White").Color
4352
for i, v in pairs(NeonColorParts1000) do
4353
  v.BrickColor = BrickC("Cyan")
4354
end
4355
	elseif key == 'm' and Mode == oof then
4356
		resetmode()
4357
	elseif key == 'z' and Mode == oof and exploitable == true then
4358
		Exploit()
4359
	elseif key == 't' and Mode == oof then
4360
		thisisit2()
4361
        elseif key == 'c' and Mode == oof then
4362
            dash()
4363
	elseif key == 'x' and Mode == oof then
4364
		LunarSpin()
4365-
        Core.BrickColor = BrickColor.new("Dark indigo")
4365+
4366-
        Core2.BrickColor = BrickColor.new("Dark indigo")
4366+
4367
end)
4368
local Combo = 1
4369
mouse.Button1Down:connect(function(key)
4370
	if attack == false then
4371
		if Combo == 1 then
4372
			Combo = 2
4373
			attackone()
4374
		elseif Combo == 2 then
4375
			Combo = 3
4376
			attacktwo()
4377
		elseif Combo == 3 then
4378
			Combo = 1
4379
			attackthree()
4380
		end
4381
	end
4382
end)
4383
4384
4385
4386
 function newTheme(ID,timepos,pitch,vol)
4387-
        Core.BrickColor = BrickColor.new("Royal purple")
4387+
4388-
        Core2.BrickColor = BrickColor.new("Royal purple")
4388+
4389
kanz.Volume = vol
4390
--kanz.TimePosition = timepos
4391
kanz.PlaybackSpeed = pitch
4392
kanz.Pitch = pitch
4393
kanz.SoundId = ID
4394
kanz.Name = "wrecked"
4395
kanz.Looped = true
4396
currentThemePlaying = kanz.SoundId
4397
currentVol = kanz.Volume
4398
currentPitch = kanz.Pitch
4399
--kanz:Play()
4400
--coroutine.resume(coroutine.create(function()
4401
--wait(0.05)
4402
--end))
4403
end
4404
4405-
        Core.BrickColor = BrickColor.new("Deep orange")
4405+
4406
function newThemeCust(ID,timepos,pitch,vol)
4407-
        Core2.BrickColor = BrickColor.new("Deep orange")
4407+
4408
kanz:Stop()
4409
kanz.Volume = vol
4410
kanz.TimePosition = timepos
4411
kanz.PlaybackSpeed = pitch
4412
kanz.Pitch = pitch
4413
kanz.SoundId = ID
4414
kanz.Name = "wrecked"
4415
kanz.Looped = true
4416
currentThemePlaying = kanz.SoundId
4417
currentVol = kanz.Volume
4418
currentPitch = kanz.Pitch
4419
kanz:Play()
4420
coroutine.resume(coroutine.create(function()
4421
wait(0.05)
4422
end))
4423
end
4424
4425
plr.Chatted:connect(function(message)
4426-
        Core.BrickColor = BrickColor.new("Cyan")
4426+
4427-
        Core2.BrickColor = BrickColor.new("Cyan")
4427+
4428
OVMID = message:sub(6)
4429
newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4430
elseif message:sub(1,6) == "pitch/" then
4431
OVMPIT = message:sub(7)
4432
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4433
elseif message:sub(1,4) == "vol/" then
4434
OVMVOL = message:sub(5)
4435
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4436
elseif message:sub(1,7) == "skipto/" then
4437
chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(Music.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4438
newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
4439
elseif message:sub(1,9) == "telltime/" then
4440
chatfunc("Current time pos: "..math.floor(Music.TimePosition).." out of "..math.floor(Music.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4441
end
4442
end
4443
end)
4444
4445
Music.Name = "musicname"
4446
4447
Character = plr.Character
4448
Character.ChildRemoved:connect(function(removed) if removed.Name == "musicname" then Music = instanse.new("Sound") end end)
4449
4450
4451
-------------------------------------------------------
4452
--Start Animations--
4453
-------------------------------------------------------
4454
while true do
4455
	swait()
4456
	sine = sine + change
4457
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
4458
	local velderp = root.Velocity.y
4459
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
4460
	if equipped == true or equipped == false then
4461
		if attack == false then
4462
			idle = idle + 1
4463
		else
4464
			idle = 0
4465
		end
4466
        if Mode == 10 then
4467
        maincolor = BrickColor.random()
4468
        imgl2.ImageColor3 = Color3.fromRGB(r,g,b)
4469
        techc.ImageColor3 = Color3.fromRGB(r,g,b)
4470
        ned.Text = "InSanE"
4471
4472
        ned.TextColor3 = Color3.fromRGB(r,g,b)
4473
        ned.TextStrokeColor3 = Color3.fromRGB(r,g,b)
4474
aa24.BrickColor = BrickColor.random()
4475
aa28.BrickColor = BrickColor.random()
4476
aa26.BrickColor = BrickColor.random()
4477
aa35.BrickColor = BrickColor.random()
4478
aa33.BrickColor = BrickColor.random()
4479
aa31.BrickColor = BrickColor.random()
4480
        imgl2.Rotation = math.random(-9, 9)
4481
        techc.Rotation = math.random(-9, 9)
4482
        ned.Rotation = 0 - 2 * math.cos(sine / 1)
4483
        ned.Position = UDim2.new(0.55,0 - 10 * math.cos(sine / 1),0.79,0 - 10 * math.cos(sine / 1))
4484
hum.WalkSpeed = 8
4485
aa.BrickColor = BrickColor.new("Dark stone grey")
4486
aa4.BrickColor = BrickColor.random()
4487
aa5.BrickColor = BrickColor.random()
4488
aa8.BrickColor = BrickColor.random()
4489
aa11.BrickColor = BrickColor.random()
4490
aa12.BrickColor = BrickColor.random()
4491
aa13.BrickColor = BrickColor.random()
4492
        end
4493
        if Mode == 3 then
4494
        maincolor = BrickColor.new("Dark red")
4495
        imgl2.ImageColor3 = Color3.fromRGB(r2,g2,b2)
4496
        techc.ImageColor3 = Color3.fromRGB(r2,g2,b2)
4497
        ned.Text = "Rainbow"
4498
4499
        ned.TextColor3 = Color3.fromRGB(r2,g2,b2)
4500
        ned.TextStrokeColor3 = Color3.fromRGB(r2,g2,b2)
4501
aa35.Color = Color3.fromRGB(r2,g2,b2)
4502
aa33.Color = Color3.fromRGB(r2,g2,b2)
4503
aa31.Color = Color3.fromRGB(r2,g2,b2)
4504
hum.WalkSpeed = 8
4505
aa28.Color = Color3.fromRGB(r2,g2,b2)
4506
aa26.Color = Color3.fromRGB(r2,g2,b2)
4507
4508
aa.BrickColor = BrickColor.new("Dark stone grey")
4509
aa24.Color = Color3.fromRGB(r2,g2,b2)
4510
aa4.Color = Color3.fromRGB(r2,g2,b2)
4511
aa5.Color = Color3.fromRGB(r2,g2,b2)
4512
aa8.Color = Color3.fromRGB(r2,g2,b2)
4513
aa11.Color = Color3.fromRGB(r2,g2,b2)
4514
aa12.Color = Color3.fromRGB(r2,g2,b2)
4515
aa13.Color = Color3.fromRGB(r2,g2,b2)
4516
        end
4517
if Mode == oof then
4518
maincolor = BrickColor.new("Cyan")
4519
hum.WalkSpeed = 8
4520
4521
aa.BrickColor = BrickColor.new("Dark stone grey")
4522
aa24.BrickColor = BrickColor.new("Cyan")
4523
aa4.BrickColor = BrickColor.new("Cyan")
4524
aa5.BrickColor = BrickColor.new("Cyan")
4525
aa8.BrickColor = BrickColor.new("Cyan")
4526
aa11.BrickColor = BrickColor.new("Cyan")
4527
aa12.BrickColor = BrickColor.new("Cyan")
4528
aa13.BrickColor = BrickColor.new("Cyan")
4529
aa26.BrickColor = BrickColor.new("Cyan")
4530
aa28.BrickColor = BrickColor.new("Cyan")
4531
aa35.BrickColor = BrickColor.new("Cyan")
4532
aa33.BrickColor = BrickColor.new("Cyan")
4533
aa31.BrickColor = BrickColor.new("Cyan")
4534
end
4535
if Mode == 9990 then
4536
maincolor = BrickColor.new("Lime green")
4537
hum.WalkSpeed = 8
4538
4539
aa.BrickColor = BrickColor.new("Dark stone grey")
4540
aa4.BrickColor = BrickColor.new("Lime green")
4541
aa5.BrickColor = BrickColor.new("Lime green")
4542
aa8.BrickColor = BrickColor.new("Lime green")
4543
aa11.BrickColor = BrickColor.new("Lime green")
4544
aa12.BrickColor = BrickColor.new("Lime green")
4545
aa13.BrickColor = BrickColor.new("Lime green")
4546
aa24.BrickColor = BrickColor.new("Lime green")
4547
aa26.BrickColor = BrickColor.new("Lime green")
4548
aa28.BrickColor = BrickColor.new("Lime green")
4549
aa35.BrickColor = BrickColor.new("Lime green")
4550
aa33.BrickColor = BrickColor.new("Lime green")
4551-
        Core.BrickColor = BrickColor.random()
4551+
4552-
        Core2.BrickColor = BrickColor.random()
4552+
4553
        local A = math.random(1,4)
4554
        if A == 1 then
4555
    Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -10, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick")
4556
        if A == 2 then
4557
    Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -10, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick")
4558
end
4559
end
4560
end
4561
if Mode == 6 then
4562
maincolor = BrickColor.new("Really red")
4563
hum.WalkSpeed = 8
4564
4565
aa.BrickColor = BrickColor.new("Dark stone grey")
4566
aa4.BrickColor = BrickColor.new("Really red")
4567
aa5.BrickColor = BrickColor.new("Really red")
4568
aa8.BrickColor = BrickColor.new("Really red")
4569
aa11.BrickColor = BrickColor.new("Really red")
4570
aa12.BrickColor = BrickColor.new("Really red")
4571
aa13.BrickColor = BrickColor.new("Really red")
4572
aa24.BrickColor = BrickColor.new("Really red")
4573
aa26.BrickColor = BrickColor.new("Really red")
4574
aa28.BrickColor = BrickColor.new("Really red")
4575
aa35.BrickColor = BrickColor.new("Really red")
4576
aa33.BrickColor = BrickColor.new("Really red")
4577
aa31.BrickColor = BrickColor.new("Really red")
4578
        local A = math.random(1,15)
4579-
        Core.Color = Color3.fromRGB(r2,g2,b2)
4579+
4580-
        Core2.Color = Color3.fromRGB(r2,g2,b2)
4580+
4581
        if A == 2 then
4582
    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")
4583
end
4584
end
4585
end
4586
if Mode == 8 then
4587
hum.WalkSpeed = 8
4588
maincolor = BrickColor.new("Dark indigo")
4589
4590
aa.BrickColor = BrickColor.new("Dark stone grey")
4591
aa4.BrickColor = BrickColor.new("Dark indigo")
4592
aa5.BrickColor = BrickColor.new("Dark indigo")
4593
aa8.BrickColor = BrickColor.new("Dark indigo")
4594
aa11.BrickColor = BrickColor.new("Dark indigo")
4595
aa12.BrickColor = BrickColor.new("Dark indigo")
4596
aa13.BrickColor = BrickColor.new("Dark indigo")
4597
aa24.BrickColor = BrickColor.new("Dark indigo")
4598
aa26.BrickColor = BrickColor.new("Dark indigo")
4599
aa28.BrickColor = BrickColor.new("Dark indigo")
4600
aa35.BrickColor = BrickColor.new("Dark indigo")
4601
aa33.BrickColor = BrickColor.new("Dark indigo")
4602
aa31.BrickColor = BrickColor.new("Dark indigo")
4603
Effects.Wave.Create(BrickColor.new("Dark indigo"), root.CFrame * CF(0, -2.90, 0), 15, 15, 15, 10.6, .1, 10.6, 0.05)
4604
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"))
4605
end
4606
if Mode == 122 then
4607
hum.WalkSpeed = 8
4608
maincolor = BrickColor.new("White")
4609
4610
aa.BrickColor = BrickColor.new("Dark stone grey")
4611
aa4.BrickColor = BrickColor.new("White")
4612
aa5.BrickColor = BrickColor.new("Really black")
4613
aa8.BrickColor = BrickColor.new("Really black")
4614
aa11.BrickColor = BrickColor.new("White")
4615
aa12.BrickColor = BrickColor.new("White")
4616
aa13.BrickColor = BrickColor.new("Really black")
4617
aa24.BrickColor = BrickColor.new("Really black")
4618
aa26.BrickColor = BrickColor.new("White")
4619
aa28.BrickColor = BrickColor.new("Really black")
4620
aa35.BrickColor = BrickColor.new("Really black")
4621
aa33.BrickColor = BrickColor.new("White")
4622
aa31.BrickColor = BrickColor.new("Really black")
4623
end
4624
if Mode == 10000 then
4625
hum.WalkSpeed = 8
4626
maincolor = BrickColor.new("Royal purple")
4627
4628
aa.BrickColor = BrickColor.new("Dark stone grey")
4629
aa4.BrickColor = BrickColor.new("Royal purple")
4630
aa5.BrickColor = BrickColor.new("Royal purple")
4631
aa8.BrickColor = BrickColor.new("Royal purple")
4632
aa11.BrickColor = BrickColor.new("Royal purple")
4633
aa12.BrickColor = BrickColor.new("Royal purple")
4634
aa13.BrickColor = BrickColor.new("Royal purple")
4635
aa24.BrickColor = BrickColor.new("Royal purple")
4636
aa26.BrickColor = BrickColor.new("Royal purple")
4637
aa28.BrickColor = BrickColor.new("Royal purple")
4638
aa35.BrickColor = BrickColor.new("Royal purple")
4639
aa33.BrickColor = BrickColor.new("Royal purple")
4640
aa31.BrickColor = BrickColor.new("Royal purple")
4641
end
4642
if Mode == 1 then
4643
hum.WalkSpeed = 8
4644
maincolor = BrickColor.new("White")
4645
4646
aa.BrickColor = BrickColor.new("Dark stone grey")
4647
aa4.BrickColor = BrickColor.new("White")
4648
aa5.BrickColor = BrickColor.new("White")
4649
aa8.BrickColor = BrickColor.new("White")
4650
aa11.BrickColor = BrickColor.new("White")
4651
aa12.BrickColor = BrickColor.new("White")
4652
aa13.BrickColor = BrickColor.new("White")
4653
aa24.BrickColor = BrickColor.new("White")
4654
aa26.BrickColor = BrickColor.new("White")
4655
aa28.BrickColor = BrickColor.new("White")
4656
aa35.BrickColor = BrickColor.new("White")
4657
aa33.BrickColor = BrickColor.new("White")
4658
aa31.BrickColor = BrickColor.new("White")
4659
end
4660
if Mode == 99 then
4661
hum.WalkSpeed = 100
4662
maincolor = BrickColor.new("Deep orange")
4663
aa.BrickColor = BrickColor.new("Really black")
4664
aa4.BrickColor = BrickColor.new("Deep orange")
4665
aa5.BrickColor = BrickColor.new("Deep orange")
4666
aa8.BrickColor = BrickColor.new("Deep orange")
4667
aa11.BrickColor = BrickColor.new("Deep orange")
4668
aa12.BrickColor = BrickColor.new("Deep orange")
4669
aa13.BrickColor = BrickColor.new("Deep orange")
4670
aa24.BrickColor = BrickColor.new("Deep orange")
4671
aa26.BrickColor = BrickColor.new("Deep orange")
4672
aa28.BrickColor = BrickColor.new("Deep orange")
4673
aa35.BrickColor = BrickColor.new("Deep orange")
4674
aa33.BrickColor = BrickColor.new("Deep orange")
4675
aa31.BrickColor = BrickColor.new("Deep orange")
4676
end
4677
                imgl2.Rotation = techc.Rotation + 0.2
4678
                techc.Rotation = techc.Rotation + 0.2
4679
                ned.Rotation = 0 - 2 * math.cos(sine / 24)
4680
                ned.Position = UDim2.new(0.55,0 - 10 * math.cos(sine / 32),0.79,0 - 10 * math.cos(sine / 45))
4681
		if 1 < root.Velocity.y and hitfloor == nil then
4682
			Anim = "Jump"
4683
			if attack == false then
4684
				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)
4685
				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)
4686
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08)
4687
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08)
4688
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08)
4689
				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(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08)
4690
			end
4691
		elseif -1 > root.Velocity.y and hitfloor == nil then
4692
			Anim = "Fall"
4693
			if attack == false then
4694
				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)
4695
				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)
4696
				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)
4697
				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)
4698
				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)
4699
				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)
4700
			end
4701
		elseif torvel < 1 and hitfloor ~= nil then
4702
			Anim = "Idle"
4703
			change = 1
4704
			if attack == false then
4705
				if Mode == 1 then --Normal
4706
                                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)
4707
				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)
4708
				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)
4709
				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)
4710
                                RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(90), Rad(-10), Rad(-90)), 0.08)
4711
                                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)
4712
				elseif Mode == 122 then
4713
        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.15)
4714
                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)
4715
                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)
4716
                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)
4717
                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)
4718
                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)
4719
				elseif Mode == oof then --PIXELATED
4720
				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)
4721
				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)
4722
                                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)
4723
                                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)
4724
                                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)
4725
                                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)
4726
				elseif Mode == 0 then
4727
			      rootj.C0 = clerp(rootj.C0,RootCF* CF(0, 0, -1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
4728
			      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)
4729
			if Mrandom(1,30) == 1 then
4730
				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)
4731
			end
4732
                              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)
4733
		              LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-12)), 0.15)
4734
                              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)
4735
                              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)
4736
			elseif Mode == 2 then --Machinery
4737
				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)
4738
				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)
4739
				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)
4740
				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)
4741
				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)
4742
				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)
4743
			elseif Mode == 3 then --ICE
4744
			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)
4745
			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)
4746
			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)
4747
			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)
4748
			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)
4749
			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)
4750
			elseif Mode == 99 then --Infused
4751
				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)
4752
				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)
4753
				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)
4754
				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)
4755
				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)
4756
				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)
4757
			elseif Mode == 5 then --Cybernetic
4758
				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)
4759
				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)
4760
				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)
4761
				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)
4762
				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)
4763
				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)
4764
			elseif Mode == 25 then --Spiritual
4765
				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)
4766
				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)
4767
				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)
4768
				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)
4769
				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)
4770
				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)
4771
			elseif Mode == 6 then --Controlled Beyond Recognition
4772
                           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)
4773
                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)
4774
                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)
4775
                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)
4776
                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)
4777
                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)
4778
			elseif Mode == 10000 then
4779
                               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)
4780
                               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)
4781
                               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)
4782
                                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)
4783
				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)
4784
				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)
4785
            elseif Mode == 9990 then 
4786
                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)
4787
                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)
4788
                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)
4789
                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)
4790
                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)
4791
                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)
4792
			elseif Mode == 7 or Mode == 9 then --Sucho Wowo --Mr.Balancia
4793
				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)
4794
				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)
4795
				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)
4796
				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)
4797
				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)
4798
				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)
4799
			elseif Mode == 100 then
4800
                                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)
4801
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
4802
                                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)
4803
                                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)
4804
                                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)
4805
                                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)
4806
			elseif Mode == 8 then --Lunarist
4807
				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)
4808
				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)
4809
				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)
4810
				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)
4811
                                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)
4812
                                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)
4813
			elseif Mode == 10 then --INSANITY
4814
                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)
4815
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 18)), Rad(0), Rad(0)), 0.3)
4816
                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)
4817
                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)
4818
                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)
4819
                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)
4820
			end
4821
			end
4822
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
4823
			Anim = "Walk"
4824
			change = 1.1
4825
			if attack == false then
4826
			      if Mode == 6 then 
4827
				  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)
4828
                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)
4829
                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)
4830
                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)
4831
                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)
4832
                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)
4833
		       elseif Mode == oof then --PIXELATED
4834
				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)
4835
				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)
4836
                                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)
4837
                                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)
4838
                                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)
4839
                                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)
4840
			elseif Mode == 5 then
4841
                                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)
4842
                                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)
4843
                                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)
4844
                                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)
4845
				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)
4846
				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)
4847
			elseif Mode == 25 then
4848
				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)
4849
				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)
4850
				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)
4851
				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)
4852
				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)
4853
				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)
4854
			elseif Mode == 100 then 
4855
				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)
4856
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4857
				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)
4858
				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)
4859
				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)
4860
				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)
4861
			elseif Mode == 0 then
4862
				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)
4863
			      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)
4864
			if Mrandom(1,30) == 1 then
4865
				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)
4866
			end
4867
				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)
4868
	         		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)
4869
                               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)
4870
			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)
4871
			elseif Mode == 10 then
4872
                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)
4873
                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)
4874
                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)
4875
                    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)
4876
                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)
4877
                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)
4878
			elseif Mode == 8 then
4879
				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)
4880
				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)
4881
				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)
4882
				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)
4883
                                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)
4884
                                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)
4885
			elseif Mode ~= 6 or Mode ~= 5 or Mode ~= 8 then
4886
				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)
4887
				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)
4888
				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)
4889
	         		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)
4890
				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)
4891
				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)
4892
			end
4893
			end
4894
		elseif torvel >= 25 and hitfloor ~= nil then
4895
			Anim = "Sprint"
4896
			change = 1.35
4897
			if attack == false then
4898
		if Mode == 5 then
4899
			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)
4900
			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)
4901
			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)
4902
			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)
4903
			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)
4904
			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)
4905
		elseif Mode == 99 then
4906
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
4907
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
4908
		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)
4909
         	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)
4910
		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)
4911
		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)
4912
		elseif Mode == oof then
4913
			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)
4914
			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)
4915
			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)
4916
			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)
4917
			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)
4918
			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)
4919
		elseif Mode ~= 5 then
4920
			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)
4921
			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)
4922
			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)
4923
         		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)
4924
			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)
4925
			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)
4926
			end
4927
			end
4928
		end
4929
	end
4930
	Music.SoundId = "rbxassetid://"..SONG
4931
	Music.Looped = true
4932
	Music.Pitch = 1
4933
	Music.Volume = 5
4934
	Music:Resume()
4935
if Music.Parent ~= tors then
4936
Music = Instance.new("Sound",tors)
4937
end
4938
	if 0 < #Effects then
4939
		for e = 1, #Effects do
4940
			if Effects[e] ~= nil then
4941
				local Thing = Effects[e]
4942
				if Thing ~= nil then
4943
					local Part = Thing[1]
4944
					local Mode = Thing[2]
4945
					local Delay = Thing[3]
4946
					local IncX = Thing[4]
4947
					local IncY = Thing[5]
4948
					local IncZ = Thing[6]
4949
					if 1 >= Thing[1].Transparency then
4950
						if Thing[2] == "Block1" then
4951
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
4952
							local Mesh = Thing[1].Mesh
4953
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4954
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4955
						elseif Thing[2] == "Block2" then
4956
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
4957
							local Mesh = Thing[7]
4958
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4959
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4960
						elseif Thing[2] == "Block3" then
4961
							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)
4962
							local Mesh = Thing[7]
4963
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4964
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4965
						elseif Thing[2] == "Cylinder" then
4966
							local Mesh = Thing[1].Mesh
4967
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4968
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4969
						elseif Thing[2] == "Blood" then
4970
							local Mesh = Thing[7]
4971
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
4972
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
4973
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4974
						elseif Thing[2] == "Elec" then							local Mesh = Thing[1].Mesh
4975
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
4976
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4977
						elseif Thing[2] == "Disappear" then
4978
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4979
						elseif Thing[2] == "Shatter" then
4980
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
4981
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
4982
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
4983
							Thing[6] = Thing[6] + Thing[5]
4984
						end
4985
					else
4986
						Part.Parent = nil
4987
						table.remove(Effects, e)
4988
					end
4989
				end
4990
			end
4991
		end
4992
	end
4993
end
4994
-------------------------------------------------------
4995
--End Animations And Script--