View difference between Paste ID: 5GfuSgvi and dGe3rgJc
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
		RenderStepped = _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://1383202399"
173
sick.Looped = true
174
sick.Pitch = 1
175
sick.Volume = 2
176
sick.TimePosition = 115.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 = "B a d  K a r m a"
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
1092
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
1093
PRT.Color = C3(0,0,0)
1094
local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
1095
CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
1096
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
1097
PRT.Color = C3(0,0,0)
1098
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
1099
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
1100
for i = 1, 16 do
1101
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
1102
	FACE.Color = C3(0,0,0)
1103
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
1104
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
1105
end
1106
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
1107
MakeForm(EYE,"Ball")
1108
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
1109
local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
1110
MakeForm(EYE2,"Ball")
1111
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
1112
local LASTPART = Head
1113
for i = 1, 20 do
1114
	local MATH = (1-(i/25))
1115
	if LASTPART == Head then
1116
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1117
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
1118
		LASTPART = Horn
1119
		Horn.Color = C3((i*3-3)/255,0,0)
1120
	else
1121
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1122
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
1123
		LASTPART = Horn
1124
		Horn.Color = C3((i*3-3)/255,0,0)
1125
	end
1126
end
1127
local LASTPART = Head
1128
for i = 1, 20 do
1129
	local MATH = (1-(i/25))
1130
	if LASTPART == Head then
1131
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1132
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
1133
		LASTPART = Horn
1134
		Horn.Color = C3((i*3-3)/255,0,0)
1135
	else
1136
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1137
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
1138
		LASTPART = Horn
1139
		Horn.Color = C3((i*3-3)/255,0,0)
1140
	end
1141
end
1142
local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
1143
local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1144
CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
1145
local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
1146
local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1147
CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
1148
1149
local BODY = {}
1150
1151
for _, c in pairs(Character:GetDescendants()) do
1152
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1153
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1154
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1155
		end
1156
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
1157
	elseif c:IsA("JointInstance") then
1158
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
1159
	end
1160
end
1161
print("hello this is Epticallity and you're watching Disney Channel")
1162
warn("let dreamer suck you off VengefulProgram")
1163
local EyeSizes={
1164
	NumberSequenceKeypoint.new(0,1,0),
1165
	NumberSequenceKeypoint.new(1,0,0)
1166
}
1167
local EyeTrans={
1168
	NumberSequenceKeypoint.new(0,0.8,0),
1169
	NumberSequenceKeypoint.new(1,1,0)
1170
}
1171
local PE=Instance.new("ParticleEmitter")
1172
PE.LightEmission=.8
1173
PE.Color = ColorSequence.new(BRICKC("Really red").Color)
1174
PE.Size=NumberSequence.new(EyeSizes)
1175
PE.Transparency=NumberSequence.new(EyeTrans)
1176
PE.Lifetime=NumberRange.new(0.35,1.5)
1177
PE.Rotation=NumberRange.new(0,360)
1178
PE.Rate=999
1179
PE.VelocitySpread = 10000
1180
PE.Acceleration = Vector3.new(0,0,0)
1181
PE.Drag = 5
1182
PE.Speed = NumberRange.new(0,0,0)
1183
PE.Texture="http://www.roblox.com/asset/?id=0"
1184
PE.ZOffset = -1.5
1185
PE.Name = "PE"
1186
PE.Enabled = false
1187
1188
function particles(art)
1189
	local PARTICLES = PE:Clone()
1190
	PARTICLES.Parent = art
1191
end
1192
1193
local SCYTHE = IT("Model",Character)
1194
SCYTHE.Name = "SCYTHE"
1195
1196
local B = SCYTHE
1197
local HandlePart = CreatePart(3, B, "Neon", 0, 1, "Really red", "HandPart", VT(0.3,0.3,0.3),false)
1198
particles(HandlePart)
1199
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Character, Torso, HandlePart, CF(0,1,1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1200
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,3.5,0.2),false)
1201
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-1.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1202
MakeForm(part,"Ball")
1203
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1,0.3),false)
1204
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1205
MakeForm(part,"Ball")
1206
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.25,1,0.25),false)
1207
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1208
MakeForm(part,"Ball")
1209
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,2,0.15),false)
1210
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1211
MakeForm(part,"Ball")
1212
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.55,0.15),false)
1213
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,0.75) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
1214
MakeForm(part,"Ball")
1215
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.5,0.15),false)
1216
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.15,1) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
1217
MakeForm(part,"Ball")
1218
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.45,0.15),false)
1219
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.125,1.25) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
1220
MakeForm(part,"Ball")
1221
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,2,0.3),false)
1222
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1223
MakeForm(part,"Ball")
1224
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,0.8,0.3),false)
1225
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,-3.2) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
1226
MakeForm(part,"Ball")
1227
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,0.3,0.3),false)
1228
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.025,-2.8) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
1229
MakeForm(part,"Ball")
1230
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.8,0.15),false)
1231
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-3.5) * ANGLES(RAD(160), RAD(0), RAD(0)), CF(0, 0, 0))
1232
MakeForm(part,"Ball")
1233
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,0.8,0.2),false)
1234
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.85,-3.8) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
1235
MakeForm(part,"Ball")
1236
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.4,1.3,0.8),false)
1237
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.6,-4.2) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
1238
MakeForm(part,"Ball")
1239
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1.3,0.6),false)
1240
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.3,-4.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1241
MakeForm(part,"Ball")
1242
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,2,0.4),false)
1243
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,-4.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1244
MakeForm(part,"Ball")
1245
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.1,2,0.4),false)
1246
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.6,-4.1) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0))
1247
MakeForm(part,"Ball")
1248
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.05,2,0.2),false)
1249
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-1.6,-3.475) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
1250
MakeForm(part,"Ball")
1251
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1.3,0.6),false)
1252
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-4) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1253
MakeForm(part,"Ball")
1254
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,1,0.4),false)
1255
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.1,-4) * ANGLES(RAD(-35), RAD(0), RAD(0)), CF(0, 0, 0))
1256
MakeForm(part,"Ball")
1257
local part = CreatePart(3, B, "Granite", 0, 1, "Really red", "ScythePart", VT(0.15,1,0.2),false)
1258
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.45,-3.8) * ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0))
1259
MakeForm(part,"Ball")
1260
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.1,0.5,0.1),false)
1261
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.1,-3.3) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0))
1262
MakeForm(part,"Ball")
1263
local HitBox = CreatePart(3, B, "Neon", 0, 1, "Really red", "Hitbox", VT(5,1.3,0.6),false)
1264
local weld = CreateWeldOrSnapOrMotor("Weld", HitBox, HandlePart, HitBox, CF(0,0,-3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1265
1266
for _, c in pairs(SCYTHE:GetChildren()) do
1267
	if c.ClassName == "Part" then
1268
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1269
	end
1270
end
1271
1272
Weapon.Parent = Character
1273
1274
Humanoid.Died:connect(function()
1275
	KillChildren(Character)
1276
	SCYTHE:ClearAllChildren()
1277
	for i = 1, 100 do
1278
		Swait()
1279
		sick.Volume = sick.Volume - 0.02
1280
	end
1281
end)
1282
1283
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")
1284
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")
1285
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")
1286
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")
1287
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")
1288
1289
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warp", BrickColor.new("Really red").Color, 8, "Code", 0, 2, 0, "Text 1")
1290
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Deadly Dash", BrickColor.new("Really blue").Color, 8, "Code", 0, 2, 0, "Text 2")
1291
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Key To Hell", BrickColor.new("Lime green").Color, 8, "Code", 0, 2, 0, "Text 3")
1292
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Fatal Wave", BrickColor.new("Pink").Color, 8, "Code", 0, 2, 0, "Text 4")
1293
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Reap", BrickColor.new("White").Color, 8, "Code", 0, 2, 0, "Text 5")
1294
1295
--//=================================\\
1296
--||			DAMAGING
1297
--\\=================================//
1298
1299
function KillChildren(v)
1300
	v:BreakJoints()
1301
	for _, c in pairs(v:GetChildren()) do
1302
		if c.ClassName == "Part" or c.ClassName == "MesPart" then
1303
			if c.Transparency < 1 then
1304
				if c:FindFirstChildOfClass("Decal") then
1305
					c:FindFirstChildOfClass("Decal"):remove()
1306
				end
1307
				particles(c)
1308
				c.PE.Enabled = true
1309
				c.Parent = Effects
1310
				c.CanCollide = false
1311
				c.Material = "Neon"
1312
				c.Color = C3(0,0,0)
1313
				c.Transparency = 0.5
1314
				local grav = Instance.new("BodyPosition",c)
1315
				grav.P = 20000
1316
				grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1317
				grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
1318
				grav.Name = "GravityForce"
1319
				coroutine.resume(coroutine.create(function()
1320
				for i = 1, 50 do
1321
					Swait()
1322
					c.Transparency = c.Transparency + 0.01
1323
				end
1324
				c.PE.Enabled = false
1325
				Debris:AddItem(c,2)
1326
				end))
1327
			end
1328
		end
1329
	end
1330
end
1331
1332
function killnearest(position,range)
1333
	for i,v in ipairs(workspace:GetChildren()) do
1334
	local body = v:GetChildren()
1335
		for part = 1, #body do
1336
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1337
				if(body[part].Position - position).Magnitude < range then
1338
					if v.ClassName == "Model" then
1339
						KillChildren(v)
1340
					end
1341
				end
1342
			end
1343
		end
1344
	end
1345
end
1346
1347
function ApplyDamage(Humanoid,Damage)
1348
	Damage = Damage * 1
1349
	local DEAD = false
1350
	if Humanoid.Health < 2000 then
1351
		if Humanoid.Health - Damage > 0 then
1352
			Humanoid.Health = Humanoid.Health - Damage
1353
		else
1354
			DEAD = true
1355
			Humanoid.Parent:BreakJoints()
1356
		end
1357
	else
1358
		DEAD = true
1359
		Humanoid.Parent:BreakJoints()
1360
	end
1361
	if DEAD == true then
1362
		Chatter("That's your fault. Isn't it.",0)
1363
	end
1364
end
1365
1366
--//=================================\\
1367
--||	ATTACK FUNCTIONS AND STUFF
1368
--\\=================================//
1369
1370
function Intro()
1371
	ATTACK = true
1372
	Rooted = true
1373
	repeat 
1374
		Swait() 
1375
		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)
1376
		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)
1377
		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)
1378
		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)
1379
		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)
1380
		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)
1381
	until sick.TimePosition > 120
1382
	repeat 
1383
		Swait()
1384
		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)
1385
		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)
1386
		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)
1387
		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)
1388
		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)
1389
		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)
1390
	until sick.TimePosition > 129
1391
	repeat 
1392
		Swait() 
1393
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1394
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1395
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1396
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1397
		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)
1398
		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)
1399
	until sick.TimePosition > 130.5
1400
	tecks2.TextTransparency = 0
1401
	HandleWeld.Part0 = RightArm
1402
	for i = 1, 100 do
1403
		Swait()
1404
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
1405
		for _, c in pairs(Character:GetChildren()) do
1406
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
1407
				c.Transparency = 0
1408
			end
1409
		end
1410
		for _, c in pairs(Weapon:GetChildren()) do
1411
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
1412
				c.Transparency = 0
1413
			end
1414
		end
1415
		for _, c in pairs(SCYTHE:GetChildren()) do
1416
			if c.ClassName == "Part" then
1417
				if c.Material ~= Enum.Material.Neon then
1418
					c.Transparency = c.Transparency - 0.01
1419
				end
1420
				c.Color = C3(0,0,0)
1421
			end
1422
		end
1423
	end
1424
	HandleWeld.Part0 = Torso
1425
	TRANSFORMED = true
1426
	ATTACK = false
1427
	Rooted = false
1428
end
1429
1430
function AttackTemplate()
1431
	ATTACK = true
1432
	Rooted = false
1433
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1434
	HandleWeld.Part0 = RightArm
1435
	HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
1436
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1437
	for i=0, 1, 0.1 / Animation_Speed do
1438
		Swait()
1439
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1440
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1441
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1442
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1443
		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)
1444
		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)
1445
	end
1446
	HandleWeld.Part0 = Torso
1447
	ATTACK = false
1448
	Rooted = false
1449
end
1450
1451
function Warp()
1452
	ATTACK = true
1453
	Rooted = true
1454
	UNANCHOR = false
1455
	RootPart.Anchored = true
1456
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1457
	HandleWeld.Part0 = RightArm
1458
	HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
1459
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1460
	for i=0, 0.5, 0.1 / Animation_Speed do
1461
		Swait()
1462
		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))
1463
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
1464
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
1465
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1466
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1467
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1468
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1469
		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)
1470
		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)
1471
	end
1472
	for i = 1, 10 do
1473
		Swait()
1474
		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))
1475
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
1476
	end
1477
	for i=0, 1, 0.1 / Animation_Speed do
1478
		Swait()
1479
		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))
1480
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
1481
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
1482
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1483
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1484
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1485
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1486
		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)
1487
		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)
1488
	end
1489
	local ORIGIN = RootPart.Position
1490
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN)
1491
	for i=0, 1, 0.1 / Animation_Speed do
1492
		Swait()
1493
		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))
1494
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
1495
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
1496
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1497
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1498
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1499
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1500
		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)
1501
		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)
1502
	end
1503
	UNANCHOR = true
1504
	RootPart.Anchored = false
1505
	for i = 1, 10 do
1506
		Swait()
1507
		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))
1508
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
1509
	end
1510
	HandleWeld.Part0 = Torso
1511
	ATTACK = false
1512
	Rooted = false
1513
end
1514
1515
function DeathlyDash()
1516
	ATTACK = true
1517
	Rooted = false
1518
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1519
	HandleWeld.Part0 = RightArm
1520
	HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
1521
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1522
	for i=0, 1, 0.1 / Animation_Speed do
1523
		Swait()
1524
		turnto(Mouse.Hit.p)
1525
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2)
1526
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
1527
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed)
1528
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1529
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1530
		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)
1531
		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)
1532
	end
1533
	local TRAILS = {}
1534
	local FOUND = false
1535
	for i = 1, 75 do
1536
		Swait()
1537
		local TRAIL = Character:Clone()
1538
		for _, c in pairs(TRAIL:GetChildren()) do
1539
			if c.ClassName == "Part" then
1540
				c.Anchored = true
1541
				c.Color = C3(0,0,0)
1542
				c.Transparency = 0.5
1543
				c.Material = "Neon"
1544
				c.CanCollide = false
1545
			else
1546
				c:remove()
1547
			end
1548
		end
1549
		TRAIL.Parent = Effects
1550
		table.insert(TRAILS,TRAIL)
1551
		Debris:AddItem(TRAIL,0.08)
1552
		for _, c in pairs(workspace:GetChildren()) do
1553
			if c.ClassName == "Model" then
1554
				if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
1555
					local HUMANOID = c:FindFirstChildOfClass("Humanoid")
1556
					local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
1557
					if (TORSO.Position - (Torso.CFrame*CF(0,0,-8).p)).Magnitude < 15 then
1558
						BANNEAREST(TORSO.Position,25)
1559
						FOUND = true
1560
					end
1561
				end
1562
			end
1563
		end
1564
		if FOUND == true then
1565
			for i = 1, 65 do
1566
				BANNEAREST(Torso.CFrame*CF(0,0,-8).p,25)
1567
				RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
1568
			end
1569
			local SOUND = CreateSound("62339698", HitBox, 10, 0.3)
1570
			Slice(2,25,RootPart.CFrame *CF(0,0,-5)*ANGLES(RAD(90),RAD(90),RAD(0)),"Really red",1)
1571
			for i=0, 1, 0.1 / Animation_Speed do
1572
				Swait()
1573
				HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-70), RAD(0), RAD(0)), 1)
1574
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(25)), 3 / Animation_Speed)
1575
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 3 / Animation_Speed)
1576
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1577
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1578
				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)
1579
				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)
1580
			end
1581
			break
1582
		end
1583
		RootPart.CFrame = RootPart.CFrame * CF(0,0,-2.5)
1584
	end
1585
	HandleWeld.Part0 = Torso  
1586
	ATTACK = false
1587
	Rooted = false
1588
end
1589
1590
function FatalWave()
1591
	ATTACK = true
1592
	Rooted = true
1593
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1594
	HandleWeld.Part0 = RightArm
1595
	HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
1596
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1597
	for i=0, 1, 0.1 / Animation_Speed do
1598
		Swait()
1599
		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))
1600
		turnto(Mouse.Hit.p)
1601
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2)
1602
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
1603
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed)
1604
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1605
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1606
		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)
1607
		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)
1608
	end
1609
	for i=0,0.1, 0.1 / Animation_Speed do
1610
		Swait()
1611
		turnto(Mouse.Hit.p)
1612
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2)
1613
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5)
1614
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5)
1615
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.5)
1616
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5)
1617
		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)
1618
		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)
1619
	end
1620
	local angle = - 30
1621
	for i = 1, 5 do
1622
		coroutine.resume(coroutine.create(function()
1623
			local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
1624
			local SpawnPosition = RayPos
1625
			local floor = RayHit
1626
			local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0))
1627
			local LastPosition = RayPos
1628
			local Delay = 1
1629
			for i = 1, 15 do
1630
				local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
1631
				local End = RayPos
1632
				LastPosition = End
1633
					if SpawnPosition then
1634
						BANNEAREST(End,25)
1635
						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)
1636
						Slice(2+(i/5),25, needcframe * CF(0,0,-5*i)*ANGLES(RAD(90),RAD(90),RAD(0)),"Really red",1)
1637
					end
1638
				Swait()
1639
			end
1640
		end))
1641
		angle = angle + 15
1642
	end
1643
	local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6)
1644
	SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
1645
	CreateSound("62339698", HitBox, 10, 0.4)
1646
	for i=0, 1, 0.1 / Animation_Speed do
1647
		Swait()
1648
		turnto(Mouse.Hit.p)
1649
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2)
1650
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5)
1651
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5)
1652
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 0.5)
1653
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5)
1654
		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)
1655
		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)
1656
	end
1657
	HandleWeld.Part0 = Torso
1658
	ATTACK = false
1659
	Rooted = false
1660
end
1661
1662
function Reap()
1663
	ATTACK = true
1664
	Rooted = true
1665
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1666
	HandleWeld.Part0 = RightArm
1667
	HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
1668
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1669
	for i=0, 3, 0.1 / Animation_Speed do
1670
		Swait()
1671
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(5), RAD(0), RAD(45)), 0.2)
1672
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1673
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1674
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1675
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1676
		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)
1677
		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)
1678
	end
1679
	local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6)
1680
	SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
1681
	local SOUND = CreateSound("135017578", Effects, 5, 1)
1682
	Swait()
1683
	repeat
1684
		Swait()
1685
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 0.2)
1686
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.8) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1687
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1688
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1689
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1690
		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)
1691
		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)
1692
	until SOUND.playing == false
1693
	local FLOOR = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Blood", VT(800,0,800))
1694
	MakeForm(FLOOR,"Cyl")
1695
	FLOOR.CFrame = CF(RootPart.Position+VT(0,-3,0))
1696
	CreateSound("289315275", Effects, 5, 0.3)
1697
	for i = 1, 400 do
1698
		Swait()
1699
		FLOOR.Transparency = FLOOR.Transparency - (1/400)
1700
		if i > 100 then
1701
	 		if MRANDOM(1,2) == 1 then 
1702
				local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really red", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
1703
				SPHERE.CFrame = CF(FLOOR.Position) * CF(MRANDOM(-285,285),-5,MRANDOM(-285,285))
1704
				MakeForm(SPHERE,"Ball")
1705
				coroutine.resume(coroutine.create(function()
1706
					for i = 1, 100 do
1707
						Swait()
1708
						SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
1709
						SPHERE.Transparency = (i/100)
1710
					end
1711
					SPHERE:remove()
1712
				end))
1713
			end
1714
		end
1715
	end
1716
	CreateSound("62339698", Effects, 10, 0.3)
1717
	BANNEAREST(FLOOR.Position,FLOOR.Size.Z/2)
1718
	FLOOR:ClearAllChildren()
1719
	MakeForm(FLOOR,"Ball")
1720
	for i = 1, 50 do
1721
		Swait()
1722
		FLOOR.Size = FLOOR.Size + VT(-16,1,-16)
1723
		FLOOR.Transparency = FLOOR.Transparency + (1/50)
1724
	end
1725
	FLOOR:remove()
1726
	HandleWeld.Part0 = Torso
1727
	ATTACK = false
1728
	Rooted = false
1729
end
1730
1731
function Banisher_Bullet()
1732
	ATTACK = true
1733
	Rooted = false
1734
	for i=0, 0.05, 0.1 / Animation_Speed do
1735
		Swait()
1736
		turnto(Mouse.Hit.p)
1737
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1738
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1739
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1740
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1741
		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)
1742
		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)
1743
	end
1744
	repeat
1745
		for i=0, 0.05, 0.1 / Animation_Speed do
1746
			Swait()
1747
			turnto(Mouse.Hit.p)
1748
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1749
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1750
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1751
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1752
			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)
1753
			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)
1754
		end
1755
		local HIT,POS = CastProperRay(RightArm.Position, Mouse.Hit.p, 1000, Character)
1756
		SpawnTrail(RightArm.Position,POS,true)
1757
		if HIT ~= nil then
1758
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1759
				Banish(HIT.Parent)
1760
			end
1761
		end
1762
		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})
1763
		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})
1764
		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})
1765
		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})
1766
		for i=0, 0.05, 0.1 / Animation_Speed do
1767
			Swait()
1768
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1769
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1770
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1771
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1772
			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)
1773
			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)
1774
		end
1775
	until KEYHOLD == false
1776
	ATTACK = false
1777
	Rooted = false
1778
end
1779
1780
function Forgive_Sins()
1781
	chatfunc("You are forgiven.")
1782
1783
	for p,v in next, TOBANISH do
1784
		TOBANISH[p] = nil
1785
	end
1786
end
1787
1788
function Taunt()
1789
	ATTACK = true
1790
	Rooted = true
1791
	local SOUND = CreateSound("134978657", Head, 10, 1.3)
1792
	Swait()
1793
	repeat
1794
		Swait()
1795
		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)
1796
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1797
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1798
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1799
		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)
1800
		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)
1801
	until SOUND.Playing == false
1802
	ATTACK = false
1803
	Rooted = false
1804
end
1805
1806
function Prison_Key()
1807
	if Mouse.Target ~= nil then
1808
		if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1809
			local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1810
			local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1811
			local GYRO = IT("BodyGyro",RootPart)
1812
			GYRO.D = 750
1813
			GYRO.P = 20000
1814
			GYRO.MaxTorque = VT(0,40000000,0)
1815
			local grav = Instance.new("BodyPosition",TORSO)
1816
			grav.D = 15
1817
			grav.P = 20000
1818
			grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1819
			grav.position = TORSO.Position
1820
			local GYRO2 = IT("BodyGyro",TORSO)
1821
			GYRO2.D = 750
1822
			GYRO2.P = 20000
1823
			GYRO2.MaxTorque = VT(0,40000000,0)
1824
			GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
1825
			grav.Name = "Jail"
1826
			local LOCKPARTS = {}
1827
			ATTACK = true
1828
			Rooted = false
1829
			local LOCK = IT("Model",Effects)
1830
			LOCK.Name = "Lock"
1831
			local LOCK2 = IT("Model",LOCK)
1832
			LOCK2.Name = "Metal"
1833
			--CREATE LOCK--
1834
				local BASE = CreatePart(3, LOCK, "Neon", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
1835
				LOCK.PrimaryPart = BASE
1836
				BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
1837
				local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
1838
				PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
1839
				MakeForm(PRT,"Cyl")
1840
				local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Gold", "Hole", VT(1, 1, 1))
1841
				PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
1842
				MakeForm(PRT,"Cyl")
1843
				local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Gold", "Hole", VT(0.5, 1, 1))
1844
				PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
1845
				for i = 1, 45 do
1846
					local PRT = CreatePart(3, LOCK2, "Neon", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
1847
					PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
1848
				end
1849
				local PRT = CreatePart(3, LOCK2, "Neon", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
1850
				PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
1851
				LOCK2.PrimaryPart = PRT
1852
			---------------
1853
			local CHILDREN = LOCK:GetDescendants()
1854
			for index, CHILD in pairs(CHILDREN) do
1855
				if CHILD:IsA("BasePart") then
1856
					CHILD.Transparency = 1
1857
				end
1858
			end
1859
			for i = 1, 75 do
1860
				LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
1861
				Swait()
1862
				GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
1863
				GYRO.cframe = CF(RootPart.Position,TORSO.Position)
1864
				local CHILDREN = LOCK:GetDescendants()
1865
				for index, CHILD in pairs(CHILDREN) do
1866
					if CHILD:IsA("BasePart") then
1867
						CHILD.Transparency = CHILD.Transparency - 1/75
1868
					end
1869
				end
1870
			end
1871
			HUM.DisplayDistanceType = "None"
1872
			local KEY = IT("Model",Effects)
1873
			KEY.Name = "Key"
1874
			--CREATE KEY--
1875
				local KBASE = CreatePart(3, KEY, "Neon", 0, 0, BrickColor.Random(), "KeyBase", VT(0.1, 1, 0.1),false)
1876
				KEY.PrimaryPart = KBASE
1877
				KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
1878
				local WLD = weldBetween(RightArm,KBASE)
1879
				for i = 1, 45 do
1880
					local PRT = CreatePart(3, KEY, "Neon", 0, 0, BrickColor.Random(), "Key", VT(0.1, 0.1, 0.1),false)
1881
					PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
1882
					weldBetween(KBASE,PRT)
1883
				end
1884
				local PRT = CreatePart(3, KEY, "Neon", 0, 0, BrickColor.Random(), "Key", VT(0.3, 0.1, 0.1),false)
1885
				PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
1886
				weldBetween(KBASE,PRT)
1887
				local PRT = CreatePart(3, KEY, "Neon", 0, 0, BrickColor.Random(), "Key", VT(0.3, 0.1, 0.1),false)
1888
				PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
1889
				weldBetween(KBASE,PRT)
1890
			--------------
1891
			Rooted = true
1892
			Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
1893
			coroutine.resume(coroutine.create(function()
1894
				for i = 1, 10 do
1895
					Swait()
1896
					GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
1897
					GYRO.cframe = CF(RootPart.Position,TORSO.Position)
1898
				end
1899
				CreateSound(1149318312,BASE,5,1,false)
1900
				CreateSound(160772554,BASE,3,1,false)
1901
				LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
1902
				for i = 1, 4 do
1903
					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})
1904
				end
1905
				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})
1906
				wait(1)
1907
				TORSO.Parent.Parent = LOCK
1908
				for i = 1, 75 do
1909
					Swait()
1910
					local CHILDREN = KEY:GetDescendants()
1911
					for index, CHILD in pairs(CHILDREN) do
1912
						if CHILD:IsA("BasePart") then
1913
							CHILD.Transparency = i/25
1914
						end
1915
					end
1916
					local CHILDREN = LOCK:GetDescendants()
1917
					for index, CHILD in pairs(CHILDREN) do
1918
						if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
1919
							CHILD.Transparency = CHILD.Transparency + 1/75
1920
						elseif CHILD.ClassName == "Decal" then
1921
							CHILD.Transparency = CHILD.Transparency + 1/75
1922
						end
1923
					end
1924
				end
1925
				TORSO.Parent:ClearAllChildren()
1926
				KEY:remove()
1927
				LOCK:remove()
1928
			end))
1929
			Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
1930
			GYRO:remove()
1931
			ATTACK = false
1932
			Rooted = false
1933
		end
1934
	end
1935
end
1936
1937
function Cuffs()
1938
	local TARGET = Mouse.Target
1939
	if TARGET ~= nil then
1940
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
1941
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
1942
			local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
1943
			if ROOT and HUM.Health > 0 then
1944
				local FOE = Mouse.Target.Parent
1945
				ATTACK = true
1946
				Rooted = true
1947
				RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
1948
				ROOT.Anchored = true
1949
				CreateSound(289556450, RootPart, 5, 1.4, false)
1950
				Chatter("Stay down.",0)
1951
				for i=0, 2, 0.1 / Animation_Speed do
1952
					Swait()
1953
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1954
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1955
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1956
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1957
					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)
1958
					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)
1959
				end
1960
				local RIGHTCUFF = nil
1961
				local LEFTCUFF = nil
1962
				local ChainLink = nil
1963
				CreateSound(1279090548, ROOT, 10, 1.4, false)
1964
				for _, c in pairs(FOE:GetChildren()) do
1965
					if c.Name == "Left Arm" or c.Name == "LeftLowerArm" then
1966
						LEFTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
1967
						LEFTCUFF.CFrame = c.CFrame
1968
						weldBetween(c,LEFTCUFF)
1969
					end
1970
				end
1971
				for _, c in pairs(FOE:GetChildren()) do
1972
					if c.Name == "Right Arm" or c.Name == "RightLowerArm" then
1973
						RIGHTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
1974
						RIGHTCUFF.CFrame = c.CFrame
1975
						weldBetween(c,RIGHTCUFF)
1976
					end
1977
				end
1978
				if RIGHTCUFF and LEFTCUFF then
1979
					local A = IT("Attachment",RIGHTCUFF)
1980
					local B = IT("Attachment",LEFTCUFF)
1981
					ChainLink = IT("Beam",FOE)
1982
					ChainLink.Texture = "rbxassetid://73042633"
1983
					ChainLink.Color = ColorSequence.new(C3(0.8,0.8,0.8))
1984
					ChainLink.TextureSpeed = 0
1985
					ChainLink.Width0 = 1
1986
					ChainLink.Width1 = 1
1987
					ChainLink.Segments = 25
1988
					ChainLink.TextureLength = 3
1989
					ChainLink.Attachment0 = B
1990
					ChainLink.Attachment1 = A
1991
					ChainLink.FaceCamera = true
1992
					ChainLink.Transparency = NumberSequence.new(0)
1993
				end
1994
				coroutine.resume(coroutine.create(function()
1995
					wait(4)
1996
					if RIGHTCUFF and LEFTCUFF then
1997
						RIGHTCUFF:remove()
1998
						LEFTCUFF:remove()
1999
						ChainLink:remove()
2000
						local bv = Instance.new("BodyVelocity",ROOT) 
2001
						bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2002
						bv.velocity = CF(ROOT.Position-VT(0,5,0),ROOT.Position).lookVector*70
2003
						Debris:AddItem(bv,0.05)
2004
						ApplyDamage(HUM,100e10)
2005
						HUM.PlatformStand = false
2006
						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})
2007
						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})
2008
					end
2009
				end))
2010
				for i=0, 1.5, 0.1 / Animation_Speed do
2011
					Swait()
2012
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2013
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(5), RAD(0)), 1 / Animation_Speed)
2014
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2015
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2016
					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)
2017
					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)
2018
				end
2019
				HUM.PlatformStand = true
2020
				ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(15), RAD(0), RAD(0))
2021
				ROOT.Anchored = false
2022
				Chatter("Begone.",0)
2023
				for i=0, 3, 0.1 / Animation_Speed do
2024
					Swait()
2025
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(-35)), 1 / Animation_Speed)
2026
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
2027
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2028
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2029
					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)
2030
					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)
2031
				end
2032
				ATTACK = false
2033
				Rooted = false
2034
			end
2035
		end
2036
	end
2037
end
2038
2039
--//=================================\\
2040
--||	  ASSIGN THINGS TO KEYS
2041
--\\=================================//
2042
2043
function MouseDown(Mouse)
2044
	if ATTACK == false then
2045
		
2046
	end
2047
end
2048
2049
function MouseUp(Mouse)
2050
HOLD = false
2051
end
2052
2053
function KeyDown(Key)
2054
	KEYHOLD = true
2055
	if TRANSFORMED == true and Rooted == false then
2056
		if Key == "t" and ATTACK == false then
2057
			Taunt()
2058
		end
2059
2060
		if Key == "z" and ATTACK == false then
2061
			Warp()
2062
		end
2063
	
2064
		if Key == "b" and ATTACK == false then
2065
			DeathlyDash()
2066
		end
2067
	
2068
		if Key == "c" and ATTACK == false then
2069
			Prison_Key()
2070
		end
2071
	
2072
		if Key == "v" and ATTACK == false then
2073
			FatalWave()
2074
		end
2075
	
2076
		if Key == "x" and ATTACK == false then
2077
			Reap()
2078
		end
2079
		
2080
		if Key == "e" and ATTACK == false then
2081
			Banisher_Bullet()
2082
		end
2083
		
2084
		if Key == "q" and ATTACK == false then
2085
			Forgive_Sins()
2086
		end
2087
		
2088
		if Key ==  "f" and ATTACK == false then
2089
			Cuffs()
2090
		end
2091
	end
2092
2093
	if Key == "9" and ATTACK == false then
2094
		CreateSound("135017578", Effects, 5, 1)
2095
	end
2096
end
2097
2098
function KeyUp(Key)
2099
	KEYHOLD = false
2100
end
2101
2102
	Mouse.Button1Down:connect(function(NEWKEY)
2103
		MouseDown(NEWKEY)
2104
	end)
2105
	Mouse.Button1Up:connect(function(NEWKEY)
2106
		MouseUp(NEWKEY)
2107
	end)
2108
	Mouse.KeyDown:connect(function(NEWKEY)
2109
		KeyDown(NEWKEY)
2110
	end)
2111
	Mouse.KeyUp:connect(function(NEWKEY)
2112
		KeyUp(NEWKEY)
2113
	end)
2114
2115
--//=================================\\
2116
--\\=================================//
2117
2118
2119
function unanchor()
2120
	if UNANCHOR == true then
2121
		RootPart.Anchored = false
2122
	end
2123
	for _, c in pairs(SCYTHE:GetChildren()) do
2124
		if c.ClassName == "Part" then
2125
			c.Anchored = false
2126
		end
2127
	end
2128
	for _, c in pairs(Weapon:GetChildren()) do
2129
		if c.ClassName == "Part" then
2130
			c.Anchored = false
2131
		end
2132
	end
2133
end
2134
2135
2136
--//=================================\\
2137
--||	WRAP THE WHOLE SCRIPT UP
2138
--\\=================================//
2139
2140
Humanoid.Changed:connect(function(Jump)
2141
	if Jump == "Jump" and (Disable_Jump == true) then
2142
		Humanoid.Jump = false
2143
	end
2144
end)
2145
2146
local FF = IT("ForceField",Character)
2147
FF.Visible = false
2148
2149
INSTANT = false
2150
Speed = 20
2151
2152
while true do
2153
	Swait()
2154
	SINE = SINE + CHANGE
2155
		ANIMATE.Parent = nil
2156
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
2157
		IDLEANIMATION:Play()
2158
		if TRANSFORMED == true then
2159
			tecks2.TextTransparency = 0
2160
			for _, c in pairs(Character:GetChildren()) do
2161
				if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
2162
					c.Anchored = false
2163
					c.Transparency = 0
2164
				end
2165
			end
2166
			for _, c in pairs(Weapon:GetChildren()) do
2167
				if c.ClassName == "Part" then
2168
					c.Transparency = 0
2169
				end
2170
			end
2171
			for _, c in pairs(SCYTHE:GetChildren()) do
2172
				if c.ClassName == "Part" then
2173
					if c.Material ~= Enum.Material.Neon then
2174
						c.Transparency = 0
2175
					end
2176
					c.Color = C3(0,0,0)
2177
					if c:FindFirstChild("PE") then
2178
						c.PE.Enabled = true
2179
					end
2180
				end
2181
			end
2182
			local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2183
			local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2184
			local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
2185
			local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
2186
			local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2187
			if ATTACK == false and VALUE2 == false then
2188
				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)
2189
			end
2190
			if ANIM == "Walk" and TORSOVELOCITY > 1 then
2191
				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)
2192
				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)
2193
				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)
2194
				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)
2195
			elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2196
				RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2197
				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)
2198
				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)
2199
				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)
2200
			end
2201
			if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2202
				ANIM = "Jump"
2203
				if ATTACK == false then
2204
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2205
					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)
2206
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2207
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2208
					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)
2209
					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)
2210
			       end
2211
			elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2212
				ANIM = "Fall"
2213
				if ATTACK == false then
2214
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2215
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2216
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2217
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2218
					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)
2219
					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)
2220
				end
2221
			elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2222
				ANIM = "Idle"
2223
				if ATTACK == false then
2224
					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)
2225
					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)
2226
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2227
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2228
					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)
2229
					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)
2230
				end
2231
			elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2232
				ANIM = "Walk"
2233
				WALK = WALK + 1 / Animation_Speed
2234
				if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
2235
					WALK = 0
2236
					if WALKINGANIM == true then
2237
						WALKINGANIM = false
2238
					elseif WALKINGANIM == false then
2239
						WALKINGANIM = true
2240
					end
2241
				end
2242
				--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)
2243
				--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)
2244
				if ATTACK == false then
2245
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2246
					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)
2247
					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)
2248
					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)
2249
					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)
2250
					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)
2251
				end
2252
			end
2253
		end
2254
	--end
2255
	Humanoid.DisplayDistanceType = "None"
2256
	unanchor()
2257
	tecks2.TextColor3 = BrickColor.Random().Color
2258
	tecks2.TextStrokeColor3 = BrickColor.Random().Color
2259
	Humanoid.MaxHealth = "inf"
2260
	Humanoid.Health = "inf"
2261
	if Rooted == false then
2262
		Disable_Jump = false
2263
		Humanoid.WalkSpeed = Speed
2264
	elseif Rooted == true then
2265
		Disable_Jump = true
2266
		Humanoid.WalkSpeed = 0
2267
	end
2268
	if Head:FindFirstChild("face") then
2269
		Head.face:remove()
2270
	end
2271
	local MATHS = {"0","1"}
2272
	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)]
2273
	Humanoid.PlatformStand = false
2274
	if INTRO == false and INSTANT == false then
2275
		INTRO = true
2276
		coroutine.resume(coroutine.create(function()
2277
			sick:Play()
2278
			Intro()
2279
		end))
2280
	end
2281
	if INSTANT == true then
2282
		if TRANSFORMED == false then
2283
			sick.TimePosition = 60
2284
			sick:Play()
2285
		end
2286
		TRANSFORMED = true
2287
	end
2288
	script.Parent = PlayerGui
2289
	Character.Parent = workspace
2290
	Humanoid.Parent = Character
2291
end
2292
local top = Instance.new("Shirt")
2293
top.ShirtTemplate = "rbxassetid://676428254"
2294
top.Parent = Character
2295
top.Name = "Cloth"
2296
local bottom = Instance.new("Pants")
2297
bottom.PantsTemplate = "rbxassetid://676428351"
2298
bottom.Parent = Character
2299
bottom.Name = "Cloth"
2300
for _, c in pairs(Character:GetChildren()) do
2301
	if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
2302
		c.Material = "Neon"
2303
		if c:FindFirstChildOfClass("ParticleEmitter") then
2304
			c:FindFirstChildOfClass("ParticleEmitter"):remove()
2305
		end
2306
	elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
2307
		c:remove()
2308
	elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
2309
		c:remove()
2310
	end
2311
end
2312
--//=================================\\
2313
--\\=================================//
2314
2315
2316
2317
2318
2319
--//====================================================\\--
2320
--||			  		 END OF SCRIPT
2321
--\\====================================================//--