View difference between Paste ID: DxtbVRbQ and E3BBZTeQ
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2
--||			   CREATED BY SHACKLUSTER
3
--\\====================================================//--
4
5
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
6
local Player,game,owner = owner,game
7
local RealPlayer = Player
8
do
9
	print("FE Compatibility code by Mokiros")
10
	local rp = RealPlayer
11
	script.Parent = rp.Character
12
	
13
	--RemoteEvent for communicating
14
	local Event = Instance.new("RemoteEvent")
15
	Event.Name = "UserInput_Event"
16
17
	--Fake event to make stuff like Mouse.KeyDown work
18
	local function fakeEvent()
19
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
20
		t.connect = t.Connect
21
		return t
22
	end
23
24
	--Creating fake input objects with fake variables
25
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
26
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
27
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
28
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
29
	end}
30
	--Merged 2 functions into one by checking amount of arguments
31
	CAS.UnbindAction = CAS.BindAction
32
33
	--This function will trigger the events that have been :Connect()'ed
34
	local function te(self,ev,...)
35
		local t = m[ev]
36
		if t and t._fakeEvent then
37
			for _,f in pairs(t.Functions) do
38
				f(...)
39
			end
40
		end
41
	end
42
	m.TrigEvent = te
43
	UIS.TrigEvent = te
44
45
	Event.OnServerEvent:Connect(function(plr,io)
46
	    if plr~=rp then return end
47
		m.Target = io.Target
48
		m.Hit = io.Hit
49
		if not io.isMouse then
50
			local b = io.UserInputState == Enum.UserInputState.Begin
51
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
52
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
53
			end
54
			for _,t in pairs(CAS.Actions) do
55
				for _,k in pairs(t.Keys) do
56
					if k==io.KeyCode then
57
						t.Function(t.Name,io.UserInputState,io)
58
					end
59
				end
60
			end
61
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
62
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
63
	    end
64
	end)
65
	Event.Parent = NLS([==[
66
	local Player = game:GetService("Players").LocalPlayer
67
	local Event = script:WaitForChild("UserInput_Event")
68
	local Mouse = Player:GetMouse()
69
	local UIS = game:GetService("UserInputService")
70
	local input = function(io,a)
71
		if a then return end
72
		--Since InputObject is a client-side instance, we create and pass table instead
73
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
74
	end
75
	UIS.InputBegan:Connect(input)
76
	UIS.InputEnded:Connect(input)
77
	local h,t
78
	--Give the server mouse data 30 times every second, but only if the values changed
79
	--If player is not moving their mouse, client won't fire events
80
	while wait(1/30) do
81
		if h~=Mouse.Hit or t~=Mouse.Target then
82
			h,t=Mouse.Hit,Mouse.Target
83
			Event:FireServer({isMouse=true,Target=t,Hit=h})
84
		end
85
	end]==],Player.Character)
86
87
	----Sandboxed game object that allows the usage of client-side methods and services
88
	--Real game object
89
	local _rg = game
90
91
	--Metatable for fake service
92
	local fsmt = {
93
		__index = function(self,k)
94
			local s = rawget(self,"_RealService")
95
			if s then return s[k] end
96
		end,
97
		__newindex = function(self,k,v)
98
			local s = rawget(self,"_RealService")
99
			if s then s[k]=v end
100
		end,
101
		__call = function(self,...)
102
			local s = rawget(self,"_RealService")
103
			if s then return s(...) end
104
		end
105
	}
106
	local function FakeService(t,RealService)
107
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
108
		return setmetatable(t,fsmt)
109
	end
110
111
	--Fake game object
112
	local g = {
113
		GetService = function(self,s)
114
			return self[s]
115
		end,
116
		Players = FakeService({
117
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
118
		},"Players"),
119
		UserInputService = FakeService(UIS,"UserInputService"),
120
		ContextActionService = FakeService(CAS,"ContextActionService"),
121
	}
122
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
123
	g.service = g.GetService
124
	
125
	g.RunService = FakeService({
126
		Stepped = _rg:GetService("RunService").Heartbeat,
127
		BindToRenderStep = function(self,name,_,fun)
128
			self._btrs[name] = self.Heartbeat:Connect(fun)
129
		end,
130
		UnbindFromRenderStep = function(self,name)
131
			self._btrs[name]:Disconnect()
132
		end,
133
	},"RunService")
134
135
	setmetatable(g,{
136
		__index=function(self,s)
137
			return _rg:GetService(s) or typeof(_rg[s])=="function"
138
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
139
		end,
140
		__newindex = fsmt.__newindex,
141
		__call = fsmt.__call
142
	})
143
	--Changing owner to fake player object to support owner:GetMouse()
144
	game,owner = g,g.Players.LocalPlayer
145
end
146
147
wait(0.2)
148
149
150
151
Player = owner
152
PlayerGui = Player.PlayerGui
153
Cam = workspace.CurrentCamera
154
Backpack = Player.Backpack
155
Character = Player.Character
156
Humanoid = Character.Humanoid
157
Mouse = Player:GetMouse()
158
RootPart = Character["HumanoidRootPart"]
159
Torso = Character["Torso"]
160
Head = Character["Head"]
161
RightArm = Character["Right Arm"]
162
LeftArm = Character["Left Arm"]
163
RightLeg = Character["Right Leg"]
164
LeftLeg = Character["Left Leg"]
165
RootJoint = RootPart["RootJoint"]
166
Neck = Torso["Neck"]
167
RightShoulder = Torso["Right Shoulder"]
168
LeftShoulder = Torso["Left Shoulder"]
169
RightHip = Torso["Right Hip"]
170
LeftHip = Torso["Left Hip"]
171
local sick = Instance.new("Sound",Character)
172
sick.SoundId = "rbxassetid://3463457734"
173
sick.Looped = true
174
sick.Pitch = 1
175
sick.Volume = 2
176
sick.TimePosition = 0.5
177
Character.Archivable = true
178
Humanoid.DisplayDistanceType = "None"
179
180
local naeeym2 = Instance.new("BillboardGui",Character)
181
naeeym2.AlwaysOnTop = true
182
naeeym2.Size = UDim2.new(5,35,2,35)
183
naeeym2.StudsOffset = Vector3.new(0,3,0)
184
naeeym2.Adornee = Character.Head
185
naeeym2.Name = "Name"
186
local tecks2 = Instance.new("TextLabel",naeeym2)
187
tecks2.BackgroundTransparency = 1
188
tecks2.TextScaled = true
189
tecks2.BorderSizePixel = 0
190
tecks2.Text = " "
191
tecks2.Font = "Code"
192
tecks2.TextSize = 30
193
tecks2.TextTransparency = 1
194
tecks2.TextStrokeTransparency = 1
195
tecks2.TextColor3 = Color3.new(255/255,0/255,0/255)
196
tecks2.Size = UDim2.new(1,0,0.5,0)
197
tecks2.Parent = naeeym2
198
199
IT = Instance.new
200
CF = CFrame.new
201
VT = Vector3.new
202
RAD = math.rad
203
C3 = Color3.new
204
UD2 = UDim2.new
205
BRICKC = BrickColor.new
206
ANGLES = CFrame.Angles
207
EULER = CFrame.fromEulerAnglesXYZ
208
COS = math.cos
209
ACOS = math.acos
210
SIN = math.sin
211
ASIN = math.asin
212
ABS = math.abs
213
MRANDOM = math.random
214
FLOOR = math.floor
215
216
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
217
	local NEWMESH = IT(MESH)
218
	if MESH == "SpecialMesh" then
219
		NEWMESH.MeshType = MESHTYPE
220
		if MESHID ~= "nil" and MESHID ~= "" then
221
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
222
		end
223
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
224
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
225
		end
226
	end
227
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
228
	NEWMESH.Scale = SCALE
229
	NEWMESH.Parent = PARENT
230
	return NEWMESH
231
end
232
233
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
234
	local NEWPART = IT("Part")
235
	NEWPART.formFactor = FORMFACTOR
236
	NEWPART.Reflectance = REFLECTANCE
237
	NEWPART.Transparency = TRANSPARENCY
238
	NEWPART.CanCollide = false
239
	NEWPART.Locked = true
240
	NEWPART.Anchored = true
241
	if ANCHOR == false then
242
		NEWPART.Anchored = false
243
	end
244
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
245
	NEWPART.Name = NAME
246
	NEWPART.Size = SIZE
247
	NEWPART.Position = Torso.Position
248
	NEWPART.Material = MATERIAL
249
	NEWPART:BreakJoints()
250
	NEWPART.Parent = PARENT
251
	return NEWPART
252
end
253
254
--//=================================\\
255
--||		  CUSTOMIZATION
256
--\\=================================//
257
258
Player_Size = 1 --Size of the player.
259
Animation_Speed = 3
260
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
261
262
local Speed = 16
263
local Effects2 = {}
264
265
--//=================================\\
266
--|| 	  END OF CUSTOMIZATION
267
--\\=================================//
268
269
	local function weldBetween(a, b)
270
	    local weldd = Instance.new("ManualWeld")
271
	    weldd.Part0 = a
272
	    weldd.Part1 = b
273
	    weldd.C0 = CFrame.new()
274
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
275
	    weldd.Parent = a
276
	    return weldd
277
	end
278
279
--//=================================\\
280
--|| 	      USEFUL VALUES
281
--\\=================================//
282
283
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
284
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
285
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
286
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
287
local CHANGEDEFENSE = 0
288
local CHANGEDAMAGE = 0
289
local CHANGEMOVEMENT = 0
290
local ANIM = "Idle"
291
local ATTACK = false
292
local EQUIPPED = false
293
local HOLD = false
294
local COMBO = 1
295
local Rooted = false
296
local SINE = 0
297
local KEYHOLD = false
298
local CHANGE = 2 / Animation_Speed
299
local WALKINGANIM = false
300
local WALK = 0
301
local VALUE1 = false
302
local VALUE2 = false
303
local ROBLOXIDLEANIMATION = IT("Animation")
304
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
305
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
306
--ROBLOXIDLEANIMATION.Parent = Humanoid
307
local WEAPONGUI = IT("ScreenGui", PlayerGui)
308
WEAPONGUI.Name = "Weapon GUI"
309
local Weapon = IT("Model")
310
Weapon.Name = "Weapon"
311
local Delete = IT("Model",Character)
312
Delete.Name = "Banlist"
313
local Effects = IT("Folder", Weapon)
314
Effects.Name = "Effects"
315
local ANIMATOR = Humanoid.Animator
316
local ANIMATE = Character.Animate
317
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
318
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
319
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
320
local HITBLOCKSOUNDS = {"199148933", "199148947"}
321
local UNANCHOR = true
322
local PLAYMAINANIM = true
323
local INTRO = false
324
local TRANSFORMED = false
325
local INSTANT = false
326
327
328
--//=================================\\
329
--\\=================================//
330
331
332
--//=================================\\
333
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
334
--\\=================================//
335
336
ArtificialHB = Instance.new("BindableEvent", script)
337
ArtificialHB.Name = "ArtificialHB"
338
339
script:WaitForChild("ArtificialHB")
340
341
frame = Frame_Speed
342
tf = 0
343
allowframeloss = false
344
tossremainder = false
345
lastframe = tick()
346
script.ArtificialHB:Fire()
347
348
game:GetService("RunService").Heartbeat:connect(function(s, p)
349
	tf = tf + s
350
	if tf >= frame then
351
		if allowframeloss then
352
			script.ArtificialHB:Fire()
353
			lastframe = tick()
354
		else
355
			for i = 1, math.floor(tf / frame) do
356
				script.ArtificialHB:Fire()
357
			end
358
		lastframe = tick()
359
		end
360
		if tossremainder then
361
			tf = 0
362
		else
363
			tf = tf - frame * math.floor(tf / frame)
364
		end
365
	end
366
end)
367
368
--//=================================\\
369
--\\=================================//
370
371
372
373
374
375
--//=================================\\
376
--|| 	      SOME FUNCTIONS
377
--\\=================================//
378
379
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
380
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
381
end
382
383
function PositiveAngle(NUMBER)
384
	if NUMBER >= 0 then
385
		NUMBER = 0
386
	end
387
	return NUMBER
388
end
389
390
function NegativeAngle(NUMBER)
391
	if NUMBER <= 0 then
392
		NUMBER = 0
393
	end
394
	return NUMBER
395
end
396
397
function Swait(NUMBER)
398
	if NUMBER == 0 or NUMBER == nil then
399
		ArtificialHB.Event:wait()
400
	else
401
		for i = 1, NUMBER do
402
			ArtificialHB.Event:wait()
403
		end
404
	end
405
end
406
407
function QuaternionFromCFrame(cf)
408
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
409
	local trace = m00 + m11 + m22
410
	if trace > 0 then 
411
		local s = math.sqrt(1 + trace)
412
		local recip = 0.5 / s
413
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
414
	else
415
		local i = 0
416
		if m11 > m00 then
417
			i = 1
418
		end
419
		if m22 > (i == 0 and m00 or m11) then
420
			i = 2
421
		end
422
		if i == 0 then
423
			local s = math.sqrt(m00 - m11 - m22 + 1)
424
			local recip = 0.5 / s
425
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
426
		elseif i == 1 then
427
			local s = math.sqrt(m11 - m22 - m00 + 1)
428
			local recip = 0.5 / s
429
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
430
		elseif i == 2 then
431
			local s = math.sqrt(m22 - m00 - m11 + 1)
432
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
433
		end
434
	end
435
end
436
 
437
function QuaternionToCFrame(px, py, pz, x, y, z, w)
438
	local xs, ys, zs = x + x, y + y, z + z
439
	local wx, wy, wz = w * xs, w * ys, w * zs
440
	local xx = x * xs
441
	local xy = x * ys
442
	local xz = x * zs
443
	local yy = y * ys
444
	local yz = y * zs
445
	local zz = z * zs
446
	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))
447
end
448
 
449
function QuaternionSlerp(a, b, t)
450
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
451
	local startInterp, finishInterp;
452
	if cosTheta >= 0.0001 then
453
		if (1 - cosTheta) > 0.0001 then
454
			local theta = ACOS(cosTheta)
455
			local invSinTheta = 1 / SIN(theta)
456
			startInterp = SIN((1 - t) * theta) * invSinTheta
457
			finishInterp = SIN(t * theta) * invSinTheta
458
		else
459
			startInterp = 1 - t
460
			finishInterp = t
461
		end
462
	else
463
		if (1 + cosTheta) > 0.0001 then
464
			local theta = ACOS(-cosTheta)
465
			local invSinTheta = 1 / SIN(theta)
466
			startInterp = SIN((t - 1) * theta) * invSinTheta
467
			finishInterp = SIN(t * theta) * invSinTheta
468
		else
469
			startInterp = t - 1
470
			finishInterp = t
471
		end
472
	end
473
	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
474
end
475
476
function Clerp(a, b, t)
477
	local qa = {QuaternionFromCFrame(a)}
478
	local qb = {QuaternionFromCFrame(b)}
479
	local ax, ay, az = a.x, a.y, a.z
480
	local bx, by, bz = b.x, b.y, b.z
481
	local _t = 1 - t
482
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
483
end
484
485
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
486
	local frame = IT("Frame")
487
	frame.BackgroundTransparency = TRANSPARENCY
488
	frame.BorderSizePixel = BORDERSIZEPIXEL
489
	frame.Position = POSITION
490
	frame.Size = SIZE
491
	frame.BackgroundColor3 = COLOR
492
	frame.BorderColor3 = BORDERCOLOR
493
	frame.Name = NAME
494
	frame.Parent = PARENT
495
	return frame
496
end
497
498
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
499
	local label = IT("TextLabel")
500
	label.BackgroundTransparency = 1
501
	label.Size = UD2(1, 0, 1, 0)
502
	label.Position = UD2(0, 0, 0, 0)
503
	label.TextColor3 = TEXTCOLOR
504
	label.TextStrokeTransparency = STROKETRANSPARENCY
505
	label.TextTransparency = TRANSPARENCY
506
	label.FontSize = TEXTFONTSIZE
507
	label.Font = TEXTFONT
508
	label.BorderSizePixel = BORDERSIZEPIXEL
509
	label.TextScaled = false
510
	label.Text = TEXT
511
	label.Name = NAME
512
	label.Parent = PARENT
513
	return label
514
end
515
516
function NoOutlines(PART)
517
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
518
end
519
520
521
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
522
	local NEWWELD = IT(TYPE)
523
	NEWWELD.Part0 = PART0
524
	NEWWELD.Part1 = PART1
525
	NEWWELD.C0 = C0
526
	NEWWELD.C1 = C1
527
	NEWWELD.Parent = PARENT
528
	return NEWWELD
529
end
530
531
function CreateSound(ID, PARENT, VOLUME, PITCH)
532
	local NEWSOUND = nil
533
	coroutine.resume(coroutine.create(function()
534
		NEWSOUND = IT("Sound", PARENT)
535
		NEWSOUND.Volume = VOLUME
536
		NEWSOUND.Pitch = PITCH
537
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
538
		Swait()
539
		NEWSOUND:play()
540
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
541
	end))
542
	return NEWSOUND
543
end
544
545
function CFrameFromTopBack(at, top, back)
546
	local right = top:Cross(back)
547
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
548
end
549
550
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
551
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
552
	local mesh = IT("SpecialMesh",wave)
553
	mesh.MeshType = "FileMesh"
554
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
555
	mesh.Scale = SIZE
556
	mesh.Offset = VT(0,0,0)
557
	wave.CFrame = CFRAME
558
	coroutine.resume(coroutine.create(function(PART)
559
		for i = 1, WAIT do
560
			Swait()
561
			mesh.Scale = mesh.Scale + GROW
562
			if DOESROT == true then
563
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
564
			end
565
			wave.Transparency = wave.Transparency + (0.5/WAIT)
566
			if wave.Transparency > 0.99 then
567
				wave:remove()
568
			end
569
		end
570
	end))
571
end
572
573
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
574
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
575
	local mesh = IT("SpecialMesh",wave)
576
	mesh.MeshType = "Sphere"
577
	mesh.Scale = SIZE
578
	mesh.Offset = VT(0,0,0)
579
	wave.CFrame = CFRAME
580
	coroutine.resume(coroutine.create(function(PART)
581
		for i = 1, WAIT do
582
			Swait()
583
			mesh.Scale = mesh.Scale + GROW
584
			wave.Transparency = wave.Transparency + (1/WAIT)
585
			if wave.Transparency > 0.99 then
586
				wave:remove()
587
			end
588
		end
589
	end))
590
end
591
592
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
593
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
594
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
595
	wave.CFrame = CFRAME
596
	coroutine.resume(coroutine.create(function(PART)
597
		for i = 1, WAIT do
598
			Swait()
599
			mesh.Scale = mesh.Scale * GROW
600
			wave.Transparency = wave.Transparency + (0.5/WAIT)
601
			if wave.Transparency > 0.99 then
602
				wave:remove()
603
			end
604
		end
605
	end))
606
end
607
608
function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
609
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
610
	local mesh = IT("BlockMesh",wave)
611
	wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
612
	coroutine.resume(coroutine.create(function(PART)
613
		for i = 1, WAIT do
614
			Swait()
615
			mesh.Scale = mesh.Scale + GROW
616
			wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
617
			wave.Transparency = wave.Transparency + (1/WAIT)
618
			if wave.Transparency > 0.99 then
619
				wave:remove()
620
			end
621
		end
622
	end))
623
end
624
625
function MakeForm(PART,TYPE)
626
	if TYPE == "Cyl" then
627
		local MSH = IT("CylinderMesh",PART)
628
	elseif TYPE == "Ball" then
629
		local MSH = IT("SpecialMesh",PART)
630
		MSH.MeshType = "Sphere"
631
	elseif TYPE == "Wedge" then
632
		local MSH = IT("SpecialMesh",PART)
633
		MSH.MeshType = "Wedge"
634
	end
635
end
636
637
function CheckTableForString(Table, String)
638
	for i, v in pairs(Table) do
639
		if string.find(string.lower(String), string.lower(v)) then
640
			return true
641
		end
642
	end
643
	return false
644
end
645
646
function CheckIntangible(Hit)
647
	local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
648
	if Hit and Hit.Parent then
649
		if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
650
			return true
651
		end
652
	end
653
	return false
654
end
655
656
Debris = game:GetService("Debris")
657
658
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
659
	local Direction = CFrame.new(StartPos, Vec).lookVector
660
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
661
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
662
	if RayHit and CheckIntangible(RayHit) then
663
		if DelayIfHit then
664
			wait()
665
		end
666
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
667
	end
668
	return RayHit, RayPos, RayNormal
669
end
670
671
function RayCast(Position, Direction, MaxDistance, IgnoreList)
672
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
673
end
674
675
function turnto(position)
676
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
677
end
678
679
function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
680
	PLAYMAINANIM = false
681
	if WhichPose == "Cast1" then
682
		for i=0, Time, 0.1 / Animation_Speed do
683
			Swait()
684
			if Magic == true then
685
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
686
			end
687
			if Gyro ~= nil and Gyro ~= false then
688
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
689
			end
690
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
691
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
692
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
693
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
694
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
695
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
696
		end
697
	elseif WhichPose == "Cast2" then
698
		for i=0, Time, 0.1 / Animation_Speed do
699
			Swait()
700
			if Magic == true then
701
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
702
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
703
			end
704
			if Gyro ~= nil and Gyro ~= false then
705
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
706
			end
707
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
708
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
709
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
710
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
711
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
712
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
713
		end
714
	elseif WhichPose == "RightArmUp" then
715
		for i=0, Time, 0.1 / Animation_Speed do
716
			Swait()
717
			if Magic == true then
718
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
719
			end
720
			if Gyro ~= nil and Gyro ~= false then
721
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
722
			end
723
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
724
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
725
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
726
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
727
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
728
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
729
		end
730
	elseif WhichPose == "Taunt" then
731
		for i=0, Time, 0.1 / Animation_Speed do
732
			Swait()
733
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
734
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
735
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
736
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
737
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
738
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
739
		end
740
		CreateSound(221057812,Torso,10,1,false)
741
		for i=0, Time*2, 0.1 / Animation_Speed do
742
			Swait()
743
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
744
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
745
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
746
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
747
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
748
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
749
		end
750
		for i=0, Time, 0.1 / Animation_Speed do
751
			Swait()
752
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
753
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
754
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
755
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
756
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
757
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
758
		end
759
	elseif WhichPose == "Prepare key" then
760
		for i=0, Time, 0.1 / Animation_Speed do
761
			Swait()
762
			if Gyro ~= nil and Gyro ~= false then
763
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
764
			end
765
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
766
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
767
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
768
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
769
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
770
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
771
		end
772
	elseif WhichPose == "Turn key" then
773
		for i=0, Time, 0.1 / Animation_Speed do
774
			Swait()
775
			if Gyro ~= nil and Gyro ~= false then
776
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
777
			end
778
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
779
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
780
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
781
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
782
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
783
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
784
		end
785
	end
786
	PLAYMAINANIM = true
787
end
788
789
--//=================================\\
790
--|| 			SPEECH
791
--\\=================================//
792
793
function Chatter(Text,Timer)
794
	local chat = coroutine.wrap(function()
795
		if Character:FindFirstChild("SpeechBoard")~= nil then
796
			Character:FindFirstChild("SpeechBoard"):destroy()
797
		end
798
		local naeeym2 = IT("BillboardGui",Character)
799
		naeeym2.Size = UD2(0,100,0,40)
800
		naeeym2.StudsOffset = Vector3.new(0,2,0)
801
		naeeym2.Adornee = Character.Head
802
		naeeym2.Name = "SpeechBoard"
803
		naeeym2.AlwaysOnTop = true
804
		local tecks2 = IT("TextLabel",naeeym2)
805
		tecks2.BackgroundTransparency = 1
806
		tecks2.BorderSizePixel = 0
807
		tecks2.Text = ""
808
		tecks2.Font = "Legacy"
809
		tecks2.TextSize = 15
810
		tecks2.TextStrokeTransparency = 1
811
		tecks2.TextColor3 = Color3.new(255,0,0)
812
		tecks2.TextStrokeColor3 = Color3.new(255,0,0)
813
		tecks2.Size = UDim2.new(1,0,0.5,0)
814
		for i = 1,string.len(Text),1 do
815
			CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
816
			tecks2.Text = string.sub(Text,1,i)
817
			wait(Timer)
818
		end
819
		wait(1)
820
		naeeym2:Destroy()
821
	end)
822
	chat()
823
end
824
825
function chatfunc(text,waitt)
826
local chat = coroutine.wrap(function()
827
if Character:FindFirstChild("TalkingBillBoard")~= nil then
828
Character:FindFirstChild("TalkingBillBoard"):destroy()
829
end
830
local naeeym2 = Instance.new("BillboardGui",Character)
831
naeeym2.Size = UDim2.new(0,100,0,40)
832
naeeym2.StudsOffset = Vector3.new(0,5,0)
833
naeeym2.Adornee = Character.Head
834
naeeym2.Name = "TalkingBillBoard"
835
naeeym2.AlwaysOnTop = true
836
local tecks2 = Instance.new("TextLabel",naeeym2)
837
tecks2.BackgroundTransparency = 1
838
tecks2.BorderSizePixel = 0
839
tecks2.Text = ""
840
tecks2.Font = "SciFi"
841
tecks2.TextSize = 30
842
tecks2.TextStrokeTransparency = 1
843
tecks2.TextColor3 = SKILLTEXTCOLOR
844
tecks2.TextStrokeColor3 = Color3.new(255/255,0/255,0/255)
845
tecks2.Size = UDim2.new(1,0,0.5,0)
846
for i = 1,string.len(text),1 do
847
tecks2.Text = string.sub(text,1,i)
848
Swait()
849
end
850
wait(waitt)
851
coroutine.resume(coroutine.create(function()
852
	for i = 1, 10 do
853
		tecks2.TextTransparency = tecks2.TextTransparency + 0.1
854
		Swait()
855
	end
856
	naeeym2:Destroy()
857
end))
858
end)
859
chat()
860
end
861
862
--// Start Stuff for Banishing \\--
863
864
local TOBANISH = {}
865
866
function CastProperRay(StartPos, EndPos, Distance, Ignore)
867
	local DIRECTION = CF(StartPos,EndPos).lookVector
868
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
869
end
870
871
function printbye(Name)
872
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your life is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
873
	chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
874
end
875
876
function Banish(Foe)
877
	if Foe then
878
		coroutine.resume(coroutine.create(function()
879
			--if game.Players:FindFirstChild(Foe.Name) then
880
				table.insert(TOBANISH,Foe.Name)
881
				printbye(Foe.Name)
882
			--end
883
			Foe.Archivable = true
884
			local CLONE = Foe:Clone()
885
			Foe:Destroy()
886
			CLONE.Parent = Effects
887
			CLONE:BreakJoints()
888
			local MATERIALS = {"Glass","Neon"}
889
			for _, c in pairs(CLONE:GetDescendants()) do
890
				if c:IsA("BasePart") then
891
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
892
 						CreateSound(340722848, c, 10, 1, false)
893
					end
894
					c.Anchored = true
895
					c.Transparency = c.Transparency + 0.2
896
					c.Material = MATERIALS[MRANDOM(1,2)]
897
					c.Color = C3(0,255,0)
898
					if c.ClassName == "MeshPart" then
899
						c.TextureID = ""
900
					end
901
					if c:FindFirstChildOfClass("SpecialMesh") then
902
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
903
					end
904
					if c:FindFirstChildOfClass("Decal") then
905
						c:FindFirstChildOfClass("Decal"):remove()
906
					end
907
					c.Name = "Banished"
908
					c.CanCollide = false
909
				else
910
					c:remove()
911
				end
912
			end
913
			local A = false
914
			for i = 1, 35 do
915
				if A == false then
916
					A = true
917
				elseif A == true then
918
					A = false
919
				end
920
				for _, c in pairs(CLONE:GetDescendants()) do
921
					if c:IsA("BasePart") then
922
						c.Anchored = true
923
						c.Material = MATERIALS[MRANDOM(1,2)]
924
						c.Transparency = c.Transparency + 0.8/35
925
						if A == false then
926
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
927
						elseif A == true then
928
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
929
						end
930
					end
931
				end
932
				Swait()
933
			end
934
			CLONE:remove()
935
		end))
936
	end
937
end
938
939
function BANNEAREST(POS,RANGE)
940
	for i,v in ipairs(workspace:GetChildren()) do
941
	local body = v:GetChildren()
942
		for part = 1, #body do
943
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
944
				if(body[part].Position - POS).Magnitude < RANGE then
945
					if v:FindFirstChildOfClass("Humanoid") then
946
						Banish(v)
947
						if game.Players:FindFirstChild(v.Name) then
948
							local Value = IT("BoolValue",Delete)
949
							Value.Name = v.Name
950
						end
951
					end
952
				end
953
			end
954
		end
955
	end
956
end
957
958
workspace.ChildAdded:connect(function(instance)
959
    for BANISH = 1, #TOBANISH do
960
		if TOBANISH[BANISH] ~= nil then
961
			if instance.Name == TOBANISH[BANISH] then
962
				coroutine.resume(coroutine.create(function()
963
					printbye(instance.Name)
964
					instance:ClearAllChildren()
965
					Debris:AddItem(instance,0.0005)
966
				end))
967
			end
968
		end
969
	end
970
end)
971
972
function SpawnTrail(FROM,TO,BIG)
973
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
974
	MakeForm(TRAIL,"Cyl")
975
	local DIST = (FROM - TO).Magnitude
976
	if BIG == true then
977
		TRAIL.Size = VT(10,DIST,10)
978
	else
979
		TRAIL.Size = VT(0.25,DIST,0.25)
980
	end
981
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
982
	coroutine.resume(coroutine.create(function()
983
		for i = 1, 5 do
984
			Swait()
985
			TRAIL.Transparency = TRAIL.Transparency + 0.1
986
		end
987
		TRAIL:remove()
988
	end))
989
end
990
991
function WACKYEFFECT(Table)
992
	local TYPE = (Table.EffectType or "Sphere")
993
	local SIZE = (Table.Size or VT(1,1,1))
994
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
995
	local TRANSPARENCY = (Table.Transparency or 0)
996
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
997
	local CFRAME = (Table.CFrame or Torso.CFrame)
998
	local MOVEDIRECTION = (Table.MoveToPos or nil)
999
	local ROTATION1 = (Table.RotationX or 0)
1000
	local ROTATION2 = (Table.RotationY or 0)
1001
	local ROTATION3 = (Table.RotationZ or 0)
1002
	local MATERIAL = (Table.Material or "Neon")
1003
	local COLOR = (Table.Color or C3(0,255,0))
1004
	local TIME = (Table.Time or 45)
1005
	local SOUNDID = (Table.SoundID or nil)
1006
	local SOUNDPITCH = (Table.SoundPitch or nil)
1007
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1008
	coroutine.resume(coroutine.create(function()
1009
		local PLAYSSOUND = false
1010
		local SOUND = nil
1011
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1012
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1013
			PLAYSSOUND = true
1014
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1015
		end
1016
		EFFECT.Color = COLOR
1017
		local MSH = nil
1018
		if TYPE == "Sphere" then
1019
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1020
		elseif TYPE == "Block" then
1021
			MSH = IT("BlockMesh",EFFECT)
1022
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1023
		elseif TYPE == "Wave" then
1024
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1025
		elseif TYPE == "Ring" then
1026
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1027
		elseif TYPE == "Slash" then
1028
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1029
		elseif TYPE == "Round Slash" then
1030
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1031
		elseif TYPE == "Swirl" then
1032
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1033
		elseif TYPE == "Skull" then
1034
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1035
		elseif TYPE == "Crystal" then
1036
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1037
		end
1038
		if MSH ~= nil then
1039
			local MOVESPEED = nil
1040
			if MOVEDIRECTION ~= nil then
1041
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1042
			end
1043
			local GROWTH = SIZE - ENDSIZE
1044
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1045
			if TYPE == "Block" then
1046
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1047
			else
1048
				EFFECT.CFrame = CFRAME
1049
			end
1050
			for LOOP = 1, TIME+1 do
1051
				Swait()
1052
				MSH.Scale = MSH.Scale - GROWTH/TIME
1053
				if TYPE == "Wave" then
1054
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1055
				end
1056
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1057
				if TYPE == "Block" then
1058
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1059
				else
1060
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1061
				end
1062
				if MOVEDIRECTION ~= nil then
1063
					local ORI = EFFECT.Orientation
1064
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1065
					EFFECT.Orientation = ORI
1066
				end
1067
			end
1068
			if PLAYSSOUND == false then
1069
				EFFECT:remove()
1070
			else
1071
				SOUND.Stopped:Connect(function()
1072
					EFFECT:remove()
1073
				end)
1074
			end
1075
		else
1076
			if PLAYSSOUND == false then
1077
				EFFECT:remove()
1078
			else
1079
				repeat Swait() until SOUND.Playing == false
1080
				EFFECT:remove()
1081
			end
1082
		end
1083
	end))
1084
end
1085
1086
-- \\ End Stuff for Banishing //--
1087
1088
--//=================================\\
1089
--||	     WEAPON CREATION
1090
--\\=================================//
1091
print("edit by kisaweal onu")
1092
warn("this is a rare edit")
1093
local EyeSizes={
1094
	NumberSequenceKeypoint.new(0,1,0),
1095
	NumberSequenceKeypoint.new(1,0,0)
1096
}
1097
local EyeTrans={
1098
	NumberSequenceKeypoint.new(0,0.8,0),
1099
	NumberSequenceKeypoint.new(1,1,0)
1100
}
1101
local PE=Instance.new("ParticleEmitter")
1102
PE.LightEmission=.8
1103
PE.Color = ColorSequence.new(BRICKC("Really red").Color)
1104
PE.Size=NumberSequence.new(EyeSizes)
1105
PE.Transparency=NumberSequence.new(EyeTrans)
1106
PE.Lifetime=NumberRange.new(0.35,1.5)
1107
PE.Rotation=NumberRange.new(0,360)
1108
PE.Rate=999
1109
PE.VelocitySpread = 10000
1110
PE.Acceleration = Vector3.new(0,0,0)
1111
PE.Drag = 5
1112
PE.Speed = NumberRange.new(0,0,0)
1113
PE.Texture="http://www.roblox.com/asset/?id=0"
1114
PE.ZOffset = -1.5
1115
PE.Name = "PE"
1116
PE.Enabled = false
1117
1118
function particles(art)
1119
	local PARTICLES = PE:Clone()
1120
	PARTICLES.Parent = art
1121
end
1122
1123
local SCYTHE = IT("Model",Character)
1124
SCYTHE.Name = "SCYTHE"
1125
1126
local B = SCYTHE
1127
local HandlePart = CreatePart(3, B, "Neon", 0, 1, "Really red", "HandPart", VT(0.3,0.3,0.3),false)
1128
particles(HandlePart)
1129
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Character, Torso, HandlePart, CF(0,1,1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1130
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,3.5,0.2),false)
1131
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-1.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1132
MakeForm(part,"Ball")
1133
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1,0.3),false)
1134
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1135
MakeForm(part,"Ball")
1136
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.25,1,0.25),false)
1137
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1138
MakeForm(part,"Ball")
1139
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,2,0.15),false)
1140
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1141
MakeForm(part,"Ball")
1142
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.55,0.15),false)
1143
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,0.75) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
1144
MakeForm(part,"Ball")
1145
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.5,0.15),false)
1146
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.15,1) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
1147
MakeForm(part,"Ball")
1148
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.45,0.15),false)
1149
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.125,1.25) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
1150
MakeForm(part,"Ball")
1151
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,2,0.3),false)
1152
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1153
MakeForm(part,"Ball")
1154
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,0.8,0.3),false)
1155
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,-3.2) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
1156
MakeForm(part,"Ball")
1157
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,0.3,0.3),false)
1158
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.025,-2.8) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
1159
MakeForm(part,"Ball")
1160
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.8,0.15),false)
1161
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-3.5) * ANGLES(RAD(160), RAD(0), RAD(0)), CF(0, 0, 0))
1162
MakeForm(part,"Ball")
1163
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,0.8,0.2),false)
1164
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.85,-3.8) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
1165
MakeForm(part,"Ball")
1166
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.4,1.3,0.8),false)
1167
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.6,-4.2) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
1168
MakeForm(part,"Ball")
1169
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1.3,0.6),false)
1170
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.3,-4.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1171
MakeForm(part,"Ball")
1172
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,2,0.4),false)
1173
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,-4.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1174
MakeForm(part,"Ball")
1175
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.1,2,0.4),false)
1176
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.6,-4.1) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0))
1177
MakeForm(part,"Ball")
1178
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.05,2,0.2),false)
1179
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-1.6,-3.475) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
1180
MakeForm(part,"Ball")
1181
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1.3,0.6),false)
1182
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-4) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1183
MakeForm(part,"Ball")
1184
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,1,0.4),false)
1185
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.1,-4) * ANGLES(RAD(-35), RAD(0), RAD(0)), CF(0, 0, 0))
1186
MakeForm(part,"Ball")
1187
local part = CreatePart(3, B, "Granite", 0, 1, "Really red", "ScythePart", VT(0.15,1,0.2),false)
1188
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.45,-3.8) * ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0))
1189
MakeForm(part,"Ball")
1190
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.1,0.5,0.1),false)
1191
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.1,-3.3) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0))
1192
MakeForm(part,"Ball")
1193
local HitBox = CreatePart(3, B, "Neon", 0, 1, "Really red", "Hitbox", VT(5,1.3,0.6),false)
1194
local weld = CreateWeldOrSnapOrMotor("Weld", HitBox, HandlePart, HitBox, CF(0,0,-3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1195
1196
for _, c in pairs(SCYTHE:GetChildren()) do
1197
	if c.ClassName == "Part" then
1198
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1199
	end
1200
end
1201
1202
Weapon.Parent = Character
1203
1204
Humanoid.Died:connect(function()
1205
	KillChildren(Character)
1206
	SCYTHE:ClearAllChildren()
1207
	for i = 1, 100 do
1208
		Swait()
1209
		sick.Volume = sick.Volume - 0.02
1210
	end
1211
end)
1212
1213
local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1214
local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1215
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
1216
local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
1217
local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1218
1219
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warp", BrickColor.new("Really red").Color, 8, "Code", 0, 2, 0, "Text 1")
1220
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Deadly Dash", BrickColor.new("Really blue").Color, 8, "Code", 0, 2, 0, "Text 2")
1221
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Key To Hell", BrickColor.new("Lime green").Color, 8, "Code", 0, 2, 0, "Text 3")
1222
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Fatal Wave", BrickColor.new("Pink").Color, 8, "Code", 0, 2, 0, "Text 4")
1223
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Reap", BrickColor.new("White").Color, 8, "Code", 0, 2, 0, "Text 5")
1224
1225
--//=================================\\
1226
--||			DAMAGING
1227
--\\=================================//
1228
1229
function KillChildren(v)
1230
	v:BreakJoints()
1231
	for _, c in pairs(v:GetChildren()) do
1232
		if c.ClassName == "Part" or c.ClassName == "MesPart" then
1233
			if c.Transparency < 1 then
1234
				if c:FindFirstChildOfClass("Decal") then
1235
					c:FindFirstChildOfClass("Decal"):remove()
1236
				end
1237
				particles(c)
1238
				c.PE.Enabled = true
1239
				c.Parent = Effects
1240
				c.CanCollide = false
1241
				c.Material = "Neon"
1242
				c.Color = C3(0,0,0)
1243
				c.Transparency = 0.5
1244
				local grav = Instance.new("BodyPosition",c)
1245
				grav.P = 20000
1246
				grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1247
				grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
1248
				grav.Name = "GravityForce"
1249
				coroutine.resume(coroutine.create(function()
1250
				for i = 1, 50 do
1251
					Swait()
1252
					c.Transparency = c.Transparency + 0.01
1253
				end
1254
				c.PE.Enabled = false
1255
				Debris:AddItem(c,2)
1256
				end))
1257
			end
1258
		end
1259
	end
1260
end
1261
1262
function killnearest(position,range)
1263
	for i,v in ipairs(workspace:GetChildren()) do
1264
	local body = v:GetChildren()
1265
		for part = 1, #body do
1266
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1267
				if(body[part].Position - position).Magnitude < range then
1268
					if v.ClassName == "Model" then
1269
						KillChildren(v)
1270
					end
1271
				end
1272
			end
1273
		end
1274
	end
1275
end
1276
1277
function ApplyDamage(Humanoid,Damage)
1278
	Damage = Damage * 1
1279
	local DEAD = false
1280
	if Humanoid.Health < 2000 then
1281
		if Humanoid.Health - Damage > 0 then
1282
			Humanoid.Health = Humanoid.Health - Damage
1283
		else
1284
			DEAD = true
1285
			Humanoid.Parent:BreakJoints()
1286
		end
1287
	else
1288
		DEAD = true
1289
		Humanoid.Parent:BreakJoints()
1290
	end
1291
	if DEAD == true then
1292
		Chatter("That's your fault. Isn't it.",0)
1293
	end
1294
end
1295
1296
--//=================================\\
1297
--||	ATTACK FUNCTIONS AND STUFF
1298
--\\=================================//
1299
1300
function Intro()
1301
	ATTACK = true
1302
	Rooted = true
1303
	repeat 
1304
		Swait() 
1305
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1306
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1307
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
1308
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1309
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
1310
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
1311-
	until sick.TimePosition > 120
1311+
	until sick.TimePosition > 5
1312
	repeat 
1313
		Swait()
1314
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1315
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1316
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1317
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1318
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1319
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1320-
	until sick.TimePosition > 129
1320+
	until sick.TimePosition > 15
1321
	repeat 
1322
		Swait() 
1323
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1324
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1325
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1326
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1327
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1328
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1329
	until sick.TimePosition > 130.5
1330
	tecks2.TextTransparency = 0
1331
	HandleWeld.Part0 = RightArm
1332
	for i = 1, 100 do
1333
		Swait()
1334
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
1335
		for _, c in pairs(Character:GetChildren()) do
1336
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
1337
				c.Transparency = 0
1338
			end
1339
		end
1340
		for _, c in pairs(Weapon:GetChildren()) do
1341
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
1342
				c.Transparency = 0
1343
			end
1344
		end
1345
		for _, c in pairs(SCYTHE:GetChildren()) do
1346
			if c.ClassName == "Part" then
1347
				if c.Material ~= Enum.Material.Neon then
1348
					c.Transparency = c.Transparency - 0.01
1349
				end
1350
				c.Color = C3(0,0,0)
1351
			end
1352
		end
1353
	end
1354
	HandleWeld.Part0 = Torso
1355
	TRANSFORMED = true
1356
	ATTACK = false
1357
	Rooted = false
1358
end
1359
1360
function AttackTemplate()
1361
	ATTACK = true
1362
	Rooted = false
1363
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1364
	HandleWeld.Part0 = RightArm
1365
	HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
1366
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1367
	for i=0, 1, 0.1 / Animation_Speed do
1368
		Swait()
1369
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1370
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1371
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1372
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1373
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1374
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1375
	end
1376
	HandleWeld.Part0 = Torso
1377
	ATTACK = false
1378
	Rooted = false
1379
end
1380
1381
function Warp()
1382
	ATTACK = true
1383
	Rooted = true
1384
	UNANCHOR = false
1385
	RootPart.Anchored = true
1386
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1387
	HandleWeld.Part0 = RightArm
1388
	HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
1389
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1390
	for i=0, 0.5, 0.1 / Animation_Speed do
1391
		Swait()
1392
		CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
1393
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
1394
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
1395
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1396
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1397
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1398
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1399
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1400
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1401
	end
1402
	for i = 1, 10 do
1403
		Swait()
1404
		CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
1405
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
1406
	end
1407
	for i=0, 1, 0.1 / Animation_Speed do
1408
		Swait()
1409
		CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
1410
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
1411
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
1412
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1413
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1414
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1415
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1416
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1417
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1418
	end
1419
	local ORIGIN = RootPart.Position
1420
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN)
1421
	for i=0, 1, 0.1 / Animation_Speed do
1422
		Swait()
1423
		CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
1424
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
1425
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
1426
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1427
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1428
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1429
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1430
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1431
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1432
	end
1433
	UNANCHOR = true
1434
	RootPart.Anchored = false
1435
	for i = 1, 10 do
1436
		Swait()
1437
		CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
1438
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
1439
	end
1440
	HandleWeld.Part0 = Torso
1441
	ATTACK = false
1442
	Rooted = false
1443
end
1444
1445
function DeathlyDash()
1446
	ATTACK = true
1447
	Rooted = false
1448
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1449
	HandleWeld.Part0 = RightArm
1450
	HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
1451
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1452
	for i=0, 1, 0.1 / Animation_Speed do
1453
		Swait()
1454
		turnto(Mouse.Hit.p)
1455
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2)
1456
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
1457
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed)
1458
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1459
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1460
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1461
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1462
	end
1463
	local TRAILS = {}
1464
	local FOUND = false
1465
	for i = 1, 75 do
1466
		Swait()
1467
		local TRAIL = Character:Clone()
1468
		for _, c in pairs(TRAIL:GetChildren()) do
1469
			if c.ClassName == "Part" then
1470
				c.Anchored = true
1471
				c.Color = C3(0,0,0)
1472
				c.Transparency = 0.5
1473
				c.Material = "Neon"
1474
				c.CanCollide = false
1475
			else
1476
				c:remove()
1477
			end
1478
		end
1479
		TRAIL.Parent = Effects
1480
		table.insert(TRAILS,TRAIL)
1481
		Debris:AddItem(TRAIL,0.08)
1482
		for _, c in pairs(workspace:GetChildren()) do
1483
			if c.ClassName == "Model" then
1484
				if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
1485
					local HUMANOID = c:FindFirstChildOfClass("Humanoid")
1486
					local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
1487
					if (TORSO.Position - (Torso.CFrame*CF(0,0,-8).p)).Magnitude < 15 then
1488
						BANNEAREST(TORSO.Position,25)
1489
						FOUND = true
1490
					end
1491
				end
1492
			end
1493
		end
1494
		if FOUND == true then
1495
			for i = 1, 65 do
1496
				BANNEAREST(Torso.CFrame*CF(0,0,-8).p,25)
1497
				RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
1498
			end
1499
			local SOUND = CreateSound("62339698", HitBox, 10, 0.3)
1500
			Slice(2,25,RootPart.CFrame *CF(0,0,-5)*ANGLES(RAD(90),RAD(90),RAD(0)),"Really red",1)
1501
			for i=0, 1, 0.1 / Animation_Speed do
1502
				Swait()
1503
				HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-70), RAD(0), RAD(0)), 1)
1504
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(25)), 3 / Animation_Speed)
1505
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 3 / Animation_Speed)
1506
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1507
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1508
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
1509
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
1510
			end
1511
			break
1512
		end
1513
		RootPart.CFrame = RootPart.CFrame * CF(0,0,-2.5)
1514
	end
1515
	HandleWeld.Part0 = Torso  
1516
	ATTACK = false
1517
	Rooted = false
1518
end
1519
1520
function FatalWave()
1521
	ATTACK = true
1522
	Rooted = true
1523
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1524
	HandleWeld.Part0 = RightArm
1525
	HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
1526
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1527
	for i=0, 1, 0.1 / Animation_Speed do
1528
		Swait()
1529
		CreateRing(VT(0,0,0),false,0,5,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(1,1,0))
1530
		turnto(Mouse.Hit.p)
1531
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2)
1532
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
1533
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed)
1534
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1535
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1536
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1537
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1538
	end
1539
	for i=0,0.1, 0.1 / Animation_Speed do
1540
		Swait()
1541
		turnto(Mouse.Hit.p)
1542
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2)
1543
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5)
1544
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5)
1545
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.5)
1546
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5)
1547
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
1548
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
1549
	end
1550
	local angle = - 30
1551
	for i = 1, 5 do
1552
		coroutine.resume(coroutine.create(function()
1553
			local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
1554
			local SpawnPosition = RayPos
1555
			local floor = RayHit
1556
			local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0))
1557
			local LastPosition = RayPos
1558
			local Delay = 1
1559
			for i = 1, 15 do
1560
				local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
1561
				local End = RayPos
1562
				LastPosition = End
1563
					if SpawnPosition then
1564
						BANNEAREST(End,25)
1565
						CreateRing(VT(0,0,0),false,0,15,needcframe * CF(0,0,-5*i)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(0.4,0.4,0)*i)
1566
						Slice(2+(i/5),25, needcframe * CF(0,0,-5*i)*ANGLES(RAD(90),RAD(90),RAD(0)),"Really red",1)
1567
					end
1568
				Swait()
1569
			end
1570
		end))
1571
		angle = angle + 15
1572
	end
1573
	local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6)
1574
	SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
1575
	CreateSound("62339698", HitBox, 10, 0.4)
1576
	for i=0, 1, 0.1 / Animation_Speed do
1577
		Swait()
1578
		turnto(Mouse.Hit.p)
1579
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2)
1580
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5)
1581
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5)
1582
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 0.5)
1583
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5)
1584
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
1585
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
1586
	end
1587
	HandleWeld.Part0 = Torso
1588
	ATTACK = false
1589
	Rooted = false
1590
end
1591
1592
function Reap()
1593
	ATTACK = true
1594
	Rooted = true
1595
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1596
	HandleWeld.Part0 = RightArm
1597
	HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
1598
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1599
	for i=0, 3, 0.1 / Animation_Speed do
1600
		Swait()
1601
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(5), RAD(0), RAD(45)), 0.2)
1602
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1603
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1604
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1605
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1606
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1607
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1608
	end
1609
	local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6)
1610
	SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
1611
	local SOUND = CreateSound("135017578", Effects, 5, 1)
1612
	Swait()
1613
	repeat
1614
		Swait()
1615
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 0.2)
1616
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.8) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1617
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1618
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1619
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1620
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1621
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1622
	until SOUND.playing == false
1623
	local FLOOR = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Blood", VT(800,0,800))
1624
	MakeForm(FLOOR,"Cyl")
1625
	FLOOR.CFrame = CF(RootPart.Position+VT(0,-3,0))
1626
	CreateSound("289315275", Effects, 5, 0.3)
1627
	for i = 1, 400 do
1628
		Swait()
1629
		FLOOR.Transparency = FLOOR.Transparency - (1/400)
1630
		if i > 100 then
1631
	 		if MRANDOM(1,2) == 1 then 
1632
				local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really red", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
1633
				SPHERE.CFrame = CF(FLOOR.Position) * CF(MRANDOM(-285,285),-5,MRANDOM(-285,285))
1634
				MakeForm(SPHERE,"Ball")
1635
				coroutine.resume(coroutine.create(function()
1636
					for i = 1, 100 do
1637
						Swait()
1638
						SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
1639
						SPHERE.Transparency = (i/100)
1640
					end
1641
					SPHERE:remove()
1642
				end))
1643
			end
1644
		end
1645
	end
1646
	CreateSound("62339698", Effects, 10, 0.3)
1647
	BANNEAREST(FLOOR.Position,FLOOR.Size.Z/2)
1648
	FLOOR:ClearAllChildren()
1649
	MakeForm(FLOOR,"Ball")
1650
	for i = 1, 50 do
1651
		Swait()
1652
		FLOOR.Size = FLOOR.Size + VT(-16,1,-16)
1653
		FLOOR.Transparency = FLOOR.Transparency + (1/50)
1654
	end
1655
	FLOOR:remove()
1656
	HandleWeld.Part0 = Torso
1657
	ATTACK = false
1658
	Rooted = false
1659
end
1660
1661
function Banisher_Bullet()
1662
	ATTACK = true
1663
	Rooted = false
1664
	for i=0, 0.05, 0.1 / Animation_Speed do
1665
		Swait()
1666
		turnto(Mouse.Hit.p)
1667
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1668
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1669
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1670
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1671
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1672
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1673
	end
1674
	repeat
1675
		for i=0, 0.05, 0.1 / Animation_Speed do
1676
			Swait()
1677
			turnto(Mouse.Hit.p)
1678
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1679
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1680
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1681
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1682
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1683
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1684
		end
1685
		local HIT,POS = CastProperRay(RightArm.Position, Mouse.Hit.p, 1000, Character)
1686
		SpawnTrail(RightArm.Position,POS,true)
1687
		if HIT ~= nil then
1688
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1689
				Banish(HIT.Parent)
1690
			end
1691
		end
1692
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = RightArm.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1693
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = 340722848, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1694
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1695
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1696
		for i=0, 0.05, 0.1 / Animation_Speed do
1697
			Swait()
1698
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1699
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1700
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1701
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1702
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1703
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1704
		end
1705
	until KEYHOLD == false
1706
	ATTACK = false
1707
	Rooted = false
1708
end
1709
1710
function Forgive_Sins()
1711
	chatfunc("You are forgiven.")
1712
1713
	for p,v in next, TOBANISH do
1714
		TOBANISH[p] = nil
1715
	end
1716
end
1717
1718
function Taunt()
1719
	ATTACK = true
1720
	Rooted = true
1721
	local SOUND = CreateSound("134978657", Head, 10, 1.3)
1722
	Swait()
1723
	repeat
1724
		Swait()
1725
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1726
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1727
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1728
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1729
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1730
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1731
	until SOUND.Playing == false
1732
	ATTACK = false
1733
	Rooted = false
1734
end
1735
1736
function Prison_Key()
1737
	if Mouse.Target ~= nil then
1738
		if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1739
			local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1740
			local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1741
			local GYRO = IT("BodyGyro",RootPart)
1742
			GYRO.D = 750
1743
			GYRO.P = 20000
1744
			GYRO.MaxTorque = VT(0,40000000,0)
1745
			local grav = Instance.new("BodyPosition",TORSO)
1746
			grav.D = 15
1747
			grav.P = 20000
1748
			grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1749
			grav.position = TORSO.Position
1750
			local GYRO2 = IT("BodyGyro",TORSO)
1751
			GYRO2.D = 750
1752
			GYRO2.P = 20000
1753
			GYRO2.MaxTorque = VT(0,40000000,0)
1754
			GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
1755
			grav.Name = "Jail"
1756
			local LOCKPARTS = {}
1757
			ATTACK = true
1758
			Rooted = false
1759
			local LOCK = IT("Model",Effects)
1760
			LOCK.Name = "Lock"
1761
			local LOCK2 = IT("Model",LOCK)
1762
			LOCK2.Name = "Metal"
1763
			--CREATE LOCK--
1764
				local BASE = CreatePart(3, LOCK, "Neon", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
1765
				LOCK.PrimaryPart = BASE
1766
				BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
1767
				local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
1768
				PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
1769
				MakeForm(PRT,"Cyl")
1770
				local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Gold", "Hole", VT(1, 1, 1))
1771
				PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
1772
				MakeForm(PRT,"Cyl")
1773
				local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Gold", "Hole", VT(0.5, 1, 1))
1774
				PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
1775
				for i = 1, 45 do
1776
					local PRT = CreatePart(3, LOCK2, "Neon", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
1777
					PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
1778
				end
1779
				local PRT = CreatePart(3, LOCK2, "Neon", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
1780
				PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
1781
				LOCK2.PrimaryPart = PRT
1782
			---------------
1783
			local CHILDREN = LOCK:GetDescendants()
1784
			for index, CHILD in pairs(CHILDREN) do
1785
				if CHILD:IsA("BasePart") then
1786
					CHILD.Transparency = 1
1787
				end
1788
			end
1789
			for i = 1, 75 do
1790
				LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
1791
				Swait()
1792
				GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
1793
				GYRO.cframe = CF(RootPart.Position,TORSO.Position)
1794
				local CHILDREN = LOCK:GetDescendants()
1795
				for index, CHILD in pairs(CHILDREN) do
1796
					if CHILD:IsA("BasePart") then
1797
						CHILD.Transparency = CHILD.Transparency - 1/75
1798
					end
1799
				end
1800
			end
1801
			HUM.DisplayDistanceType = "None"
1802
			local KEY = IT("Model",Effects)
1803
			KEY.Name = "Key"
1804
			--CREATE KEY--
1805
				local KBASE = CreatePart(3, KEY, "Neon", 0, 0, BrickColor.Random(), "KeyBase", VT(0.1, 1, 0.1),false)
1806
				KEY.PrimaryPart = KBASE
1807
				KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
1808
				local WLD = weldBetween(RightArm,KBASE)
1809
				for i = 1, 45 do
1810
					local PRT = CreatePart(3, KEY, "Neon", 0, 0, BrickColor.Random(), "Key", VT(0.1, 0.1, 0.1),false)
1811
					PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
1812
					weldBetween(KBASE,PRT)
1813
				end
1814
				local PRT = CreatePart(3, KEY, "Neon", 0, 0, BrickColor.Random(), "Key", VT(0.3, 0.1, 0.1),false)
1815
				PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
1816
				weldBetween(KBASE,PRT)
1817
				local PRT = CreatePart(3, KEY, "Neon", 0, 0, BrickColor.Random(), "Key", VT(0.3, 0.1, 0.1),false)
1818
				PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
1819
				weldBetween(KBASE,PRT)
1820
			--------------
1821
			Rooted = true
1822
			Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
1823
			coroutine.resume(coroutine.create(function()
1824
				for i = 1, 10 do
1825
					Swait()
1826
					GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
1827
					GYRO.cframe = CF(RootPart.Position,TORSO.Position)
1828
				end
1829
				CreateSound(1149318312,BASE,5,1,false)
1830
				CreateSound(160772554,BASE,3,1,false)
1831
				LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
1832
				for i = 1, 4 do
1833
					WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.Random().Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1834
				end
1835
				WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.Random().Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
1836
				wait(1)
1837
				TORSO.Parent.Parent = LOCK
1838
				for i = 1, 75 do
1839
					Swait()
1840
					local CHILDREN = KEY:GetDescendants()
1841
					for index, CHILD in pairs(CHILDREN) do
1842
						if CHILD:IsA("BasePart") then
1843
							CHILD.Transparency = i/25
1844
						end
1845
					end
1846
					local CHILDREN = LOCK:GetDescendants()
1847
					for index, CHILD in pairs(CHILDREN) do
1848
						if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
1849
							CHILD.Transparency = CHILD.Transparency + 1/75
1850
						elseif CHILD.ClassName == "Decal" then
1851
							CHILD.Transparency = CHILD.Transparency + 1/75
1852
						end
1853
					end
1854
				end
1855
				TORSO.Parent:ClearAllChildren()
1856
				KEY:remove()
1857
				LOCK:remove()
1858
			end))
1859
			Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
1860
			GYRO:remove()
1861
			ATTACK = false
1862
			Rooted = false
1863
		end
1864
	end
1865
end
1866
1867
function Cuffs()
1868
	local TARGET = Mouse.Target
1869
	if TARGET ~= nil then
1870
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
1871
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
1872
			local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
1873
			if ROOT and HUM.Health > 0 then
1874
				local FOE = Mouse.Target.Parent
1875
				ATTACK = true
1876
				Rooted = true
1877
				RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
1878
				ROOT.Anchored = true
1879
				CreateSound(289556450, RootPart, 5, 1.4, false)
1880
				Chatter("Stay down.",0)
1881
				for i=0, 2, 0.1 / Animation_Speed do
1882
					Swait()
1883
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1884
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1885
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1886
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1887
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1888
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1889
				end
1890
				local RIGHTCUFF = nil
1891
				local LEFTCUFF = nil
1892
				local ChainLink = nil
1893
				CreateSound(1279090548, ROOT, 10, 1.4, false)
1894
				for _, c in pairs(FOE:GetChildren()) do
1895
					if c.Name == "Left Arm" or c.Name == "LeftLowerArm" then
1896
						LEFTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
1897
						LEFTCUFF.CFrame = c.CFrame
1898
						weldBetween(c,LEFTCUFF)
1899
					end
1900
				end
1901
				for _, c in pairs(FOE:GetChildren()) do
1902
					if c.Name == "Right Arm" or c.Name == "RightLowerArm" then
1903
						RIGHTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
1904
						RIGHTCUFF.CFrame = c.CFrame
1905
						weldBetween(c,RIGHTCUFF)
1906
					end
1907
				end
1908
				if RIGHTCUFF and LEFTCUFF then
1909
					local A = IT("Attachment",RIGHTCUFF)
1910
					local B = IT("Attachment",LEFTCUFF)
1911
					ChainLink = IT("Beam",FOE)
1912
					ChainLink.Texture = "rbxassetid://73042633"
1913
					ChainLink.Color = ColorSequence.new(C3(0.8,0.8,0.8))
1914
					ChainLink.TextureSpeed = 0
1915
					ChainLink.Width0 = 1
1916
					ChainLink.Width1 = 1
1917
					ChainLink.Segments = 25
1918
					ChainLink.TextureLength = 3
1919
					ChainLink.Attachment0 = B
1920
					ChainLink.Attachment1 = A
1921
					ChainLink.FaceCamera = true
1922
					ChainLink.Transparency = NumberSequence.new(0)
1923
				end
1924
				coroutine.resume(coroutine.create(function()
1925
					wait(4)
1926
					if RIGHTCUFF and LEFTCUFF then
1927
						RIGHTCUFF:remove()
1928
						LEFTCUFF:remove()
1929
						ChainLink:remove()
1930
						local bv = Instance.new("BodyVelocity",ROOT) 
1931
						bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1932
						bv.velocity = CF(ROOT.Position-VT(0,5,0),ROOT.Position).lookVector*70
1933
						Debris:AddItem(bv,0.05)
1934
						ApplyDamage(HUM,100e10)
1935
						HUM.PlatformStand = false
1936
						WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = CF(RIGHTCUFF.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Glass = C3(1,1,0), SoundID = 174580476, SoundPitch = 1, SoundVolume = 7})
1937
						WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = CF(LEFTCUFF.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Glass = C3(1,0,0), SoundID = 174580476, SoundPitch = 1, SoundVolume = 7})
1938
					end
1939
				end))
1940
				for i=0, 1.5, 0.1 / Animation_Speed do
1941
					Swait()
1942
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1943
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(5), RAD(0)), 1 / Animation_Speed)
1944
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1945
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1946
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1947
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1948
				end
1949
				HUM.PlatformStand = true
1950
				ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(15), RAD(0), RAD(0))
1951
				ROOT.Anchored = false
1952
				Chatter("Begone.",0)
1953
				for i=0, 3, 0.1 / Animation_Speed do
1954
					Swait()
1955
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(-35)), 1 / Animation_Speed)
1956
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
1957
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1958
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1959
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-12), RAD(80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1960
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1961
				end
1962
				ATTACK = false
1963
				Rooted = false
1964
			end
1965
		end
1966
	end
1967
end
1968
1969
--//=================================\\
1970
--||	  ASSIGN THINGS TO KEYS
1971
--\\=================================//
1972
1973
function MouseDown(Mouse)
1974
	if ATTACK == false then
1975
		
1976
	end
1977
end
1978
1979
function MouseUp(Mouse)
1980
HOLD = false
1981
end
1982
1983
function KeyDown(Key)
1984
	KEYHOLD = true
1985
	if TRANSFORMED == true and Rooted == false then
1986
		if Key == "t" and ATTACK == false then
1987
			Taunt()
1988
		end
1989
1990
		if Key == "z" and ATTACK == false then
1991
			Warp()
1992
		end
1993
	
1994
		if Key == "b" and ATTACK == false then
1995
			DeathlyDash()
1996
		end
1997
	
1998
		if Key == "c" and ATTACK == false then
1999
			Prison_Key()
2000
		end
2001
	
2002
		if Key == "v" and ATTACK == false then
2003
			FatalWave()
2004
		end
2005
	
2006
		if Key == "x" and ATTACK == false then
2007
			Reap()
2008
		end
2009
		
2010
		if Key == "e" and ATTACK == false then
2011
			Banisher_Bullet()
2012
		end
2013
		
2014
		if Key == "q" and ATTACK == false then
2015
			Forgive_Sins()
2016
		end
2017
		
2018
		if Key ==  "f" and ATTACK == false then
2019
			Cuffs()
2020
		end
2021
	end
2022
2023
	if Key == "9" and ATTACK == false then
2024
		CreateSound("135017578", Effects, 5, 1)
2025
	end
2026
end
2027
2028
function KeyUp(Key)
2029
	KEYHOLD = false
2030
end
2031
2032
	Mouse.Button1Down:connect(function(NEWKEY)
2033
		MouseDown(NEWKEY)
2034
	end)
2035
	Mouse.Button1Up:connect(function(NEWKEY)
2036
		MouseUp(NEWKEY)
2037
	end)
2038
	Mouse.KeyDown:connect(function(NEWKEY)
2039
		KeyDown(NEWKEY)
2040
	end)
2041
	Mouse.KeyUp:connect(function(NEWKEY)
2042
		KeyUp(NEWKEY)
2043
	end)
2044
2045
--//=================================\\
2046
--\\=================================//
2047
2048
2049
function unanchor()
2050
	if UNANCHOR == true then
2051
		RootPart.Anchored = false
2052
	end
2053
	for _, c in pairs(SCYTHE:GetChildren()) do
2054
		if c.ClassName == "Part" then
2055
			c.Anchored = false
2056
		end
2057
	end
2058
	for _, c in pairs(Weapon:GetChildren()) do
2059
		if c.ClassName == "Part" then
2060
			c.Anchored = false
2061
		end
2062
	end
2063
end
2064
2065
2066
--//=================================\\
2067
--||	WRAP THE WHOLE SCRIPT UP
2068
--\\=================================//
2069
2070
Humanoid.Changed:connect(function(Jump)
2071
	if Jump == "Jump" and (Disable_Jump == true) then
2072
		Humanoid.Jump = false
2073
	end
2074
end)
2075
2076
local FF = IT("ForceField",Character)
2077
FF.Visible = false
2078
2079
INSTANT = false
2080
Speed = 20
2081
2082
while true do
2083
	Swait()
2084
	SINE = SINE + CHANGE
2085
		ANIMATE.Parent = nil
2086
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
2087
		IDLEANIMATION:Play()
2088
		if TRANSFORMED == true then
2089
			tecks2.TextTransparency = 0
2090
			for _, c in pairs(Character:GetChildren()) do
2091
				if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
2092
					c.Anchored = false
2093
					c.Transparency = 0
2094
				end
2095
			end
2096
			for _, c in pairs(Weapon:GetChildren()) do
2097
				if c.ClassName == "Part" then
2098
					c.Transparency = 0
2099
				end
2100
			end
2101
			for _, c in pairs(SCYTHE:GetChildren()) do
2102
				if c.ClassName == "Part" then
2103
					if c.Material ~= Enum.Material.Neon then
2104
						c.Transparency = 0
2105
					end
2106
					c.Color = C3(0,0,0)
2107
					if c:FindFirstChild("PE") then
2108
						c.PE.Enabled = true
2109
					end
2110
				end
2111
			end
2112
			local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2113
			local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2114
			local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
2115
			local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
2116
			local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2117
			if ATTACK == false and VALUE2 == false then
2118
				HandleWeld.C0 = Clerp(HandleWeld.C0, CF(2, 3 + 0.35 * COS(SINE / 12), 1) * ANGLES(RAD(45  + 15 * COS(SINE / 12)), RAD(-45), RAD(0)), 0.2 / Animation_Speed)
2119
			end
2120
			if ANIM == "Walk" and TORSOVELOCITY > 1 then
2121
				RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2122
				Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2123
				RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2124
				LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2125
			elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2126
				RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2127
				Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2128
				RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2129
				LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2130
			end
2131
			if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2132
				ANIM = "Jump"
2133
				if ATTACK == false then
2134
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2135
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2136
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2137
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2138
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2139
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2140
			       end
2141
			elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2142
				ANIM = "Fall"
2143
				if ATTACK == false then
2144
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2145
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2146
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2147
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2148
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2149
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2150
				end
2151
			elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2152
				ANIM = "Idle"
2153
				if ATTACK == false then
2154
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2155
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2156
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2157
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2158
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2159
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2160
				end
2161
			elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2162
				ANIM = "Walk"
2163
				WALK = WALK + 1 / Animation_Speed
2164
				if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
2165
					WALK = 0
2166
					if WALKINGANIM == true then
2167
						WALKINGANIM = false
2168
					elseif WALKINGANIM == false then
2169
						WALKINGANIM = true
2170
					end
2171
				end
2172
				--RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2173
				--LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2174
				if ATTACK == false then
2175
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2176
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2177
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2178
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
2179
					RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2180
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2181
				end
2182
			end
2183
		end
2184
	--end
2185
	Humanoid.DisplayDistanceType = "None"
2186
	unanchor()
2187
	tecks2.TextColor3 = BrickColor.Random().Color
2188
	tecks2.TextStrokeColor3 = BrickColor.Random().Color
2189
	Humanoid.MaxHealth = "inf"
2190
	Humanoid.Health = "inf"
2191
	if Rooted == false then
2192
		Disable_Jump = false
2193
		Humanoid.WalkSpeed = Speed
2194
	elseif Rooted == true then
2195
		Disable_Jump = true
2196
		Humanoid.WalkSpeed = 0
2197
	end
2198
	if Head:FindFirstChild("face") then
2199
		Head.face:remove()
2200
	end
2201
	local MATHS = {"0","1"}
2202
	Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
2203
	Humanoid.PlatformStand = false
2204
	if INTRO == false and INSTANT == false then
2205
		INTRO = true
2206
		coroutine.resume(coroutine.create(function()
2207
			sick:Play()
2208
			Intro()
2209
		end))
2210
	end
2211
	if INSTANT == true then
2212
		if TRANSFORMED == false then
2213
			sick.TimePosition = 5
2214
			sick:Play()
2215
		end
2216
		TRANSFORMED = true
2217
	end
2218
	script.Parent = PlayerGui
2219
	Character.Parent = workspace
2220
	Humanoid.Parent = Character
2221
end
2222
--//=================================\\
2223
--\\=================================//
2224
2225
2226
2227
2228
2229
--//====================================================\\--
2230
--||			  		 END OF SCRIPT
2231
--\\====================================================//--