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