View difference between Paste ID: xbwGgnUR and uXBTdnHW
SHOW: | | - or go back to the newest paste.
1
--      [[[
2
--000000[[====================================================================================\\
3-
--000000[[ deivis97 edit    
3+
--000000[[ TameDoNotClick edit    
4
--000000[[====================================================================================//
5
--      [[[
6
7
wait(0.2)
8
-- This script has been converted to FE by TameDoNotClick :)
9-
Player = game:GetService("Players").LocalPlayer
9+
10
11
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
12
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
13
do
14
	print("Translated to FE by me, TameDoNotClick. Enjoy ;)")
15-
Mouse = Player:GetMouse()
15+
	script.Parent = Player.Character
16
17
	--RemoteEvent for communicating
18
	local Event = Instance.new("RemoteEvent")
19
	Event.Name = "UserInput_Event"
20
21
	--Fake event to make stuff like Mouse.KeyDown work
22
	local function fakeEvent()
23
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
24
		t.connect = t.Connect
25
		return t
26
	end
27
28
	--Creating fake input objects with fake variables
29
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
30
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
31
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
32
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
33
	end}
34
	--Merged 2 functions into one by checking amount of arguments
35
	CAS.UnbindAction = CAS.BindAction
36
37
	--This function will trigger the events that have been :Connect()'ed
38
	local function te(self,ev,...)
39
		local t = m[ev]
40
		if t and t._fakeEvent and t.Function then
41
			t.Function(...)
42
		end
43
	end
44
	m.TrigEvent = te
45
	UIS.TrigEvent = te
46
47
	Event.OnServerEvent:Connect(function(plr,io)
48
	    if plr~=Player then return end
49
		if io.isMouse then
50
			m.Target = io.Target
51
			m.Hit = io.Hit
52
		else
53
			local b = io.UserInputState == Enum.UserInputState.Begin
54
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
55
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
56
			end
57
			for _,t in pairs(CAS.Actions) do
58
				for _,k in pairs(t.Keys) do
59
					if k==io.KeyCode then
60
						t.Function(t.Name,io.UserInputState,io)
61
					end
62
				end
63
			end
64
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
65
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
66
	    end
67
	end)
68
	Event.Parent = NLS([==[
69
	local Player = game:GetService("Players").LocalPlayer
70
	local Event = script:WaitForChild("UserInput_Event")
71
72
	local UIS = game:GetService("UserInputService")
73
	local input = function(io,a)
74
		if a then return end
75
		--Since InputObject is a client-side instance, we create and pass table instead
76
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
77
	end
78
	UIS.InputBegan:Connect(input)
79
	UIS.InputEnded:Connect(input)
80
81
	local Mouse = Player:GetMouse()
82
	local h,t
83
	--Give the server mouse data 30 times every second, but only if the values changed
84
	--If player is not moving their mouse, client won't fire events
85
	while wait(1/30) do
86
		if h~=Mouse.Hit or t~=Mouse.Target then
87
			h,t=Mouse.Hit,Mouse.Target
88
			Event:FireServer({isMouse=true,Target=t,Hit=h})
89
		end
90
	end]==],Player.Character)
91
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
92
end
93
94
Player = owner
95
PlayerGui = Player.PlayerGui
96
Cam = workspace.CurrentCamera
97
Backpack = Player.Backpack
98
Character = Player.Character
99
Humanoid = Character.Humanoid
100
RootPart = Character["HumanoidRootPart"]
101
Torso = Character["Torso"]
102
Head = Character["Head"]
103
RightArm = Character["Right Arm"]
104
LeftArm = Character["Left Arm"]
105
RightLeg = Character["Right Leg"]
106
LeftLeg = Character["Left Leg"]
107
RootJoint = RootPart["RootJoint"]
108
Neck = Torso["Neck"]
109
RightShoulder = Torso["Right Shoulder"]
110
LeftShoulder = Torso["Left Shoulder"]
111
RightHip = Torso["Right Hip"]
112
LeftHip = Torso["Left Hip"]
113
local sick = nil
114
if sick == nil then
115
	sick = Instance.new("Sound",Character)
116
	sick.SoundId = "rbxassetid://964498496"
117
	sick.Looped = true
118
	sick.Pitch = 1
119
	sick.Volume = 5
120
	sick:Play()
121
end
122
Taunts = {907330619,907332856,907329893}
123
ALONE = 907328147
124
script.Parent = workspace
125
HASDIED = false
126
127
shirt = Instance.new("Shirt", Character)
128
shirt.Name = "Shirt"
129
pants = Instance.new("Pants", Character)
130
pants.Name = "Pants"
131
Character.Shirt.ShirtTemplate = "rbxassetid://274326531"
132
Character.Pants.PantsTemplate = "rbxassetid://128946129"
133
134
IT = Instance.new
135
CF = CFrame.new
136
VT = Vector3.new
137
RAD = math.rad
138
C3 = Color3.new
139
UD2 = UDim2.new
140
BRICKC = BrickColor.new
141
ANGLES = CFrame.Angles
142
EULER = CFrame.fromEulerAnglesXYZ
143
COS = math.cos
144
ACOS = math.acos
145
SIN = math.sin
146
ASIN = math.asin
147
ABS = math.abs
148
MRANDOM = math.random
149
FLOOR = math.floor
150
151
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
152
	local NEWMESH = IT(MESH)
153
	if MESH == "SpecialMesh" then
154
		NEWMESH.MeshType = MESHTYPE
155
		if MESHID ~= "nil" and MESHID ~= "" then
156
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
157
		end
158
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
159
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
160
		end
161
	end
162
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
163
	NEWMESH.Scale = SCALE
164
	NEWMESH.Parent = PARENT
165
	return NEWMESH
166
end
167
168
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
169
	local NEWPART = IT("Part")
170
	NEWPART.formFactor = FORMFACTOR
171
	NEWPART.Reflectance = REFLECTANCE
172
	NEWPART.Transparency = TRANSPARENCY
173
	NEWPART.CanCollide = false
174
	NEWPART.Locked = true
175
	NEWPART.Anchored = true
176
	if ANCHOR == false then
177
		NEWPART.Anchored = false
178
	end
179
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
180
	NEWPART.Name = NAME
181
	NEWPART.Size = SIZE
182
	NEWPART.Position = Torso.Position
183
	NEWPART.Material = MATERIAL
184
	NEWPART:BreakJoints()
185
	NEWPART.Parent = PARENT
186
	return NEWPART
187
end
188
189
--//=================================\\
190
--||		  CUSTOMIZATION
191
--\\=================================//
192
193
Player_Size = 1 --Size of the player.
194
Animation_Speed = 3
195
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
196
197
local Speed = 16
198
local Effects2 = {}
199
200
--//=================================\\
201
--|| 	  END OF CUSTOMIZATION
202
--\\=================================//
203
204
	local function weldBetween(a, b)
205
	    local weldd = Instance.new("ManualWeld")
206
	    weldd.Part0 = a
207
	    weldd.Part1 = b
208
	    weldd.C0 = CFrame.new()
209
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
210
	    weldd.Parent = a
211
	    return weldd
212
	end
213
214
function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
215
local acs = Instance.new("Part")
216
acs.CanCollide = false
217
acs.Anchored = false
218
acs.Size = Vector3.new(0,0,0)
219
acs.CFrame = attachmentpart.CFrame
220
acs.Parent = Character
221
acs.BrickColor = color
222
    local meshs = Instance.new("SpecialMesh")
223
    meshs.MeshId = mesh
224
    meshs.TextureId = texture
225
    meshs.Parent = acs
226
    meshs.Scale = scale
227
    meshs.Offset = offset
228
weldBetween(attachmentpart,acs)
229
end
230
231
--//=================================\\
232
--|| 	      USEFUL VALUES
233
--\\=================================//
234
235
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
236
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
237
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
238
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
239
local CHANGEDEFENSE = 0
240
local CHANGEDAMAGE = 0
241
local CHANGEMOVEMENT = 0
242
local ANIM = "Idle"
243
local ATTACK = false
244
local EQUIPPED = false
245
local HOLD = false
246
local COMBO = 1
247
local Rooted = false
248
local SINE = 0
249
local KEYHOLD = false
250
local CHANGE = 2 / Animation_Speed
251
local WALKINGANIM = false
252
local WALK = 0
253
local VALUE1 = false
254
local VALUE2 = false
255
local ROBLOXIDLEANIMATION = IT("Animation")
256
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
257
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
258
--ROBLOXIDLEANIMATION.Parent = Humanoid
259
local WEAPONGUI = IT("ScreenGui", PlayerGui)
260
WEAPONGUI.Name = "Weapon GUI"
261
local Weapon = IT("Model")
262
Weapon.Name = "Adds"
263
local Tail = IT("Model",Weapon)
264
Tail.Name = "Tail"
265
local Minions = IT("Model",Character)
266
Minions.Name = "MinionFolder"
267
local Effects = IT("Folder", Weapon)
268
Effects.Name = "Effects"
269
local ANIMATOR = Humanoid.Animator
270
local ANIMATE = Character.Animate
271
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
272
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
273
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
274
local HITBLOCKSOUNDS = {"199148933", "199148947"}
275
local UNANCHOR = true
276
277
local SKILLTEXTCOLOR = C3(1,1,1)
278
279
--//=================================\\
280
--\\=================================//
281
282
283
--//=================================\\
284
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
285
--\\=================================//
286
287
ArtificialHB = Instance.new("BindableEvent", script)
288
ArtificialHB.Name = "ArtificialHB"
289
290
script:WaitForChild("ArtificialHB")
291
292
frame = Frame_Speed
293
tf = 0
294
allowframeloss = false
295
tossremainder = false
296
lastframe = tick()
297
script.ArtificialHB:Fire()
298
299
game:GetService("RunService").Heartbeat:connect(function(s, p)
300
	tf = tf + s
301
	if tf >= frame then
302
		if allowframeloss then
303
			script.ArtificialHB:Fire()
304
			lastframe = tick()
305
		else
306
			for i = 1, math.floor(tf / frame) do
307
				script.ArtificialHB:Fire()
308
			end
309
		lastframe = tick()
310
		end
311
		if tossremainder then
312
			tf = 0
313
		else
314
			tf = tf - frame * math.floor(tf / frame)
315
		end
316
	end
317
end)
318
319
--//=================================\\
320
--\\=================================//
321
322
323
324
325
326
--//=================================\\
327
--|| 	      SOME FUNCTIONS
328
--\\=================================//
329
330
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
331
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
332
end
333
334
function PositiveAngle(NUMBER)
335
	if NUMBER >= 0 then
336
		NUMBER = 0
337
	end
338
	return NUMBER
339
end
340
341
function NegativeAngle(NUMBER)
342
	if NUMBER <= 0 then
343
		NUMBER = 0
344
	end
345
	return NUMBER
346
end
347
348
function Swait(NUMBER)
349
	if NUMBER == 0 or NUMBER == nil then
350
		ArtificialHB.Event:wait()
351
	else
352
		for i = 1, NUMBER do
353
			ArtificialHB.Event:wait()
354
		end
355
	end
356
end
357
358
function QuaternionFromCFrame(cf)
359
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
360
	local trace = m00 + m11 + m22
361
	if trace > 0 then 
362
		local s = math.sqrt(1 + trace)
363
		local recip = 0.5 / s
364
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
365
	else
366
		local i = 0
367
		if m11 > m00 then
368
			i = 1
369
		end
370
		if m22 > (i == 0 and m00 or m11) then
371
			i = 2
372
		end
373
		if i == 0 then
374
			local s = math.sqrt(m00 - m11 - m22 + 1)
375
			local recip = 0.5 / s
376
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
377
		elseif i == 1 then
378
			local s = math.sqrt(m11 - m22 - m00 + 1)
379
			local recip = 0.5 / s
380
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
381
		elseif i == 2 then
382
			local s = math.sqrt(m22 - m00 - m11 + 1)
383
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
384
		end
385
	end
386
end
387
 
388
function QuaternionToCFrame(px, py, pz, x, y, z, w)
389
	local xs, ys, zs = x + x, y + y, z + z
390
	local wx, wy, wz = w * xs, w * ys, w * zs
391
	local xx = x * xs
392
	local xy = x * ys
393
	local xz = x * zs
394
	local yy = y * ys
395
	local yz = y * zs
396
	local zz = z * zs
397
	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))
398
end
399
 
400
function QuaternionSlerp(a, b, t)
401
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
402
	local startInterp, finishInterp;
403
	if cosTheta >= 0.0001 then
404
		if (1 - cosTheta) > 0.0001 then
405
			local theta = ACOS(cosTheta)
406
			local invSinTheta = 1 / SIN(theta)
407
			startInterp = SIN((1 - t) * theta) * invSinTheta
408
			finishInterp = SIN(t * theta) * invSinTheta
409
		else
410
			startInterp = 1 - t
411
			finishInterp = t
412
		end
413
	else
414
		if (1 + cosTheta) > 0.0001 then
415
			local theta = ACOS(-cosTheta)
416
			local invSinTheta = 1 / SIN(theta)
417
			startInterp = SIN((t - 1) * theta) * invSinTheta
418
			finishInterp = SIN(t * theta) * invSinTheta
419
		else
420
			startInterp = t - 1
421
			finishInterp = t
422
		end
423
	end
424
	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
425
end
426
427
function Clerp(a, b, t)
428
	local qa = {QuaternionFromCFrame(a)}
429
	local qb = {QuaternionFromCFrame(b)}
430
	local ax, ay, az = a.x, a.y, a.z
431
	local bx, by, bz = b.x, b.y, b.z
432
	local _t = 1 - t
433
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
434
end
435
436
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
437
	local frame = IT("Frame")
438
	frame.BackgroundTransparency = TRANSPARENCY
439
	frame.BorderSizePixel = BORDERSIZEPIXEL
440
	frame.Position = POSITION
441
	frame.Size = SIZE
442
	frame.BackgroundColor3 = COLOR
443
	frame.BorderColor3 = BORDERCOLOR
444
	frame.Name = NAME
445
	frame.Parent = PARENT
446
	return frame
447
end
448
449
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
450
	local label = IT("TextLabel")
451
	label.BackgroundTransparency = 1
452
	label.Size = UD2(1, 0, 1, 0)
453
	label.Position = UD2(0, 0, 0, 0)
454
	label.TextColor3 = TEXTCOLOR
455
	label.TextStrokeTransparency = STROKETRANSPARENCY
456
	label.TextTransparency = TRANSPARENCY
457
	label.FontSize = TEXTFONTSIZE
458
	label.Font = TEXTFONT
459
	label.BorderSizePixel = BORDERSIZEPIXEL
460
	label.TextScaled = false
461
	label.Text = TEXT
462
	label.Name = NAME
463
	label.Parent = PARENT
464
	return label
465
end
466
467
function NoOutlines(PART)
468
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
469
end
470
471
472
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
473
	local NEWWELD = IT(TYPE)
474
	NEWWELD.Part0 = PART0
475
	NEWWELD.Part1 = PART1
476
	NEWWELD.C0 = C0
477
	NEWWELD.C1 = C1
478
	NEWWELD.Parent = PARENT
479
	return NEWWELD
480
end
481
482
function CreateSound(ID, PARENT, VOLUME, PITCH)
483
	local NEWSOUND = nil
484
	coroutine.resume(coroutine.create(function()
485
		NEWSOUND = IT("Sound", PARENT)
486
		NEWSOUND.Volume = VOLUME
487
		NEWSOUND.Pitch = PITCH
488
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
489
		Swait()
490
		NEWSOUND:play()
491
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
492
	end))
493
	return NEWSOUND
494
end
495
496
function CFrameFromTopBack(at, top, back)
497
	local right = top:Cross(back)
498
	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)
499
end
500
501
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
502
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Crimson"), "Effect", VT(0,0,0))
503
	local mesh = IT("SpecialMesh",wave)
504
	mesh.MeshType = "FileMesh"
505
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
506
	mesh.Scale = SIZE
507
	mesh.Offset = VT(0,0,-SIZE.X/8)
508
	wave.CFrame = CFRAME
509
	coroutine.resume(coroutine.create(function(PART)
510
		for i = 1, WAIT do
511
			Swait()
512
			mesh.Scale = mesh.Scale + GROW
513
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
514
			if DOESROT == true then
515
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
516
			end
517
			wave.Transparency = wave.Transparency + (0.5/WAIT)
518
			if wave.Transparency > 0.99 then
519
				wave:remove()
520
			end
521
		end
522
	end))
523
end
524
525
function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
526
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Crimson"), "Effect", VT(0,0,0))
527
	local mesh = IT("SpecialMesh",wave)
528
	mesh.MeshType = "FileMesh"
529
	mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
530
	mesh.Scale = SIZE
531
	mesh.Offset = VT(0,0,-SIZE.X/8)
532
	wave.CFrame = CFRAME
533
	coroutine.resume(coroutine.create(function(PART)
534
		for i = 1, WAIT do
535
			Swait()
536
			mesh.Scale = mesh.Scale + GROW
537
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
538
			if DOESROT == true then
539
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
540
			end
541
			wave.Transparency = wave.Transparency + (0.5/WAIT)
542
			if wave.Transparency > 0.99 then
543
				wave:remove()
544
			end
545
		end
546
	end))
547
end
548
function weld(a, b, acf)
549
	local w = Instance.new("Weld", a)
550
	w.Part0 = a
551
	w.Part1 = b
552
	w.C0 = acf
553
end
554
local leye = Instance.new("Part", Character)
555
leye.CanCollide = false
556
leye.BrickColor = BrickColor.new("Really red")
557
leye.Material = "Neon"
558
leye.Size = Vector3.new(.25,.35,.15)
559
leye.Transparency = 1
560
weld(leye, Character.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0))
561
local m = Instance.new("SpecialMesh", leye)
562
m.MeshType = "Sphere"
563
m.Scale = Vector3.new(0.9,0.9,0.9)
564
leye.Locked = true
565
leye.Name = "le"
566
		local Aura = Instance.new('ParticleEmitter')
567
Aura.Name = "Aura"
568
Aura.Texture = "rbxassetid://56562006"
569
Aura.Parent = leye
570
Aura.LightEmission = 1
571
Aura.Transparency = NumberSequence.new(1,0.2,1)
572
Aura.Color = ColorSequence.new(Color3.new(200/255, 10/255, 10/255),Color3.new(255/255, 0/255, 0/255))
573
Aura.Size = NumberSequence.new(0.2,0.2,0.1)
574
Aura.LockedToPart = false
575
Aura.Lifetime = NumberRange.new(1.2)
576
Aura.Rate = 100
577
Aura.Speed = NumberRange.new(0.9)
578
Aura.EmissionDirection = "Top"
579
function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
580
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Crimson"), "Effect", VT(0,0,0))
581
	local mesh = IT("SpecialMesh",wave)
582
	mesh.MeshType = "FileMesh"
583
	mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
584
	mesh.Scale = SIZE
585
	mesh.Offset = VT(0,0,-SIZE.X/8)
586
	wave.CFrame = CFRAME
587
	coroutine.resume(coroutine.create(function(PART)
588
		for i = 1, WAIT do
589
			Swait()
590
			mesh.Scale = mesh.Scale + GROW
591
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
592
			if DOESROT == true then
593
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
594
			end
595
			wave.Transparency = wave.Transparency + (0.5/WAIT)
596
			if wave.Transparency > 0.99 then
597
				wave:remove()
598
			end
599
		end
600
	end))
601
end
602
603
function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
604
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Crimson"), "Effect", VT(0,0,0))
605
	local mesh = IT("SpecialMesh",wave)
606
	mesh.MeshType = "FileMesh"
607
	mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
608
	mesh.Scale = SIZE
609
	mesh.Offset = VT(0,0,-SIZE.X/8)
610
	wave.CFrame = CFRAME
611
	coroutine.resume(coroutine.create(function(PART)
612
		for i = 1, WAIT do
613
			Swait()
614
			mesh.Scale = mesh.Scale + GROW
615
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
616
			if DOESROT == true then
617
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
618
			end
619
			wave.Transparency = wave.Transparency + (0.5/WAIT)
620
			if wave.Transparency > 0.99 then
621
				wave:remove()
622
			end
623
		end
624
	end))
625
end
626
627
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
628
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Crimson"), "Effect", VT(0,0,0))
629
	local mesh = IT("SpecialMesh",wave)
630
	mesh.MeshType = "FileMesh"
631
	mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
632
	mesh.Scale = SIZE
633
	wave.CFrame = CFRAME
634
	coroutine.resume(coroutine.create(function(PART)
635
		for i = 1, WAIT do
636
			Swait()
637
			mesh.Scale = mesh.Scale + GROW
638
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
639
			if DOESROT == true then
640
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
641
			end
642
			wave.Transparency = wave.Transparency + (0.5/WAIT)
643
			if wave.Transparency > 0.99 then
644
				wave:remove()
645
			end
646
		end
647
	end))
648
end
649
650
function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
651
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Crimson"), "Effect", VT(0,0,0))
652
	local mesh = IT("SpecialMesh",wave)
653
	mesh.MeshType = "FileMesh"
654
	mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
655
	mesh.Scale = SIZE
656
	wave.CFrame = CFRAME
657
	coroutine.resume(coroutine.create(function(PART)
658
		for i = 1, WAIT do
659
			Swait()
660
			mesh.Scale = mesh.Scale + GROW
661
			if DOESROT == true then
662
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
663
			end
664
			wave.Transparency = wave.Transparency + (0.5/WAIT)
665
			if wave.Transparency > 0.99 then
666
				wave:remove()
667
			end
668
		end
669
	end))
670
end
671
672
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
673
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Crimson"), "Effect", VT(0,0,0))
674
	local mesh = IT("SpecialMesh",wave)
675
	mesh.MeshType = "FileMesh"
676
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
677
	mesh.Scale = SIZE
678
	mesh.Offset = VT(0,0,0)
679
	wave.CFrame = CFRAME
680
	coroutine.resume(coroutine.create(function(PART)
681
		for i = 1, WAIT do
682
			Swait()
683
			mesh.Scale = mesh.Scale + GROW
684
			if DOESROT == true then
685
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
686
			end
687
			wave.Transparency = wave.Transparency + (0.5/WAIT)
688
			if wave.Transparency > 0.99 then
689
				wave:remove()
690
			end
691
		end
692
	end))
693
end
694
695
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
696
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Crimson"), "Effect", VT(1,1,1), true)
697
	local mesh = IT("SpecialMesh",wave)
698
	mesh.MeshType = "Sphere"
699
	mesh.Scale = SIZE
700
	mesh.Offset = VT(0,0,0)
701
	wave.CFrame = CFRAME
702
	coroutine.resume(coroutine.create(function(PART)
703
		for i = 1, WAIT do
704
			Swait()
705
			mesh.Scale = mesh.Scale + GROW
706
			wave.Transparency = wave.Transparency + (1/WAIT)
707
			if wave.Transparency > 0.99 then
708
				wave:remove()
709
			end
710
		end
711
	end))
712
end
713
714
function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
715
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Crimson"), "Effect", VT(SIZE,SIZE,SIZE), true)
716
	local mesh = IT("BlockMesh",wave)
717
	wave.CFrame = CFRAME
718
	coroutine.resume(coroutine.create(function(PART)
719
		for i = 1, WAIT do
720
			Swait()
721
			mesh.Scale = mesh.Scale + GROW
722
			wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
723
			wave.Transparency = wave.Transparency + (1/WAIT)
724
			if wave.Transparency > 0.99 then
725
				wave:remove()
726
			end
727
		end
728
	end))
729
end
730
731
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
732
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Crimson"), "Effect", VT(1,1,1), true)
733
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
734
	wave.CFrame = CFRAME
735
	coroutine.resume(coroutine.create(function(PART)
736
		for i = 1, WAIT do
737
			Swait()
738
			mesh.Scale = mesh.Scale * GROW
739
			wave.Transparency = wave.Transparency + (0.5/WAIT)
740
			if wave.Transparency > 0.99 then
741
				wave:remove()
742
			end
743
		end
744
	end))
745
end
746
747
function MakeForm(PART,TYPE)
748
	if TYPE == "Cyl" then
749
		local MSH = IT("CylinderMesh",PART)
750
	elseif TYPE == "Ball" then
751
		local MSH = IT("SpecialMesh",PART)
752
		MSH.MeshType = "Sphere"
753
	elseif TYPE == "Wedge" then
754
		local MSH = IT("SpecialMesh",PART)
755
		MSH.MeshType = "Wedge"
756
	end
757
end
758
759
function CheckTableForString(Table, String)
760
	for i, v in pairs(Table) do
761
		if string.find(string.lower(String), string.lower(v)) then
762
			return true
763
		end
764
	end
765
	return false
766
end
767
768
function CheckIntangible(Hit)
769
	local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
770
	if Hit and Hit.Parent then
771
		if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
772
			return true
773
		end
774
	end
775
	return false
776
end
777
778
Debris = game:GetService("Debris")
779
780
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
781
	local Direction = CFrame.new(StartPos, Vec).lookVector
782
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
783
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
784
	if RayHit and CheckIntangible(RayHit) then
785
		if DelayIfHit then
786
			wait()
787
		end
788
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
789
	end
790
	return RayHit, RayPos, RayNormal
791
end
792
793
function turnto(position)
794
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
795
end
796
797
--//=================================\\
798
--||	     WEAPON CREATION
799
--\\=================================//
800
801
local Claw1 = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Claw", VT(0,0,0),false)
802
CreateWeldOrSnapOrMotor("Weld", Claw1, RightArm, Claw1, CF(0.2,-1.25,0) * ANGLES(RAD(-90), RAD(0), RAD(-90)), CF(0, 0, 0))
803
CreateMesh("SpecialMesh", Claw1, "FileMesh", "105262978", "", VT(1,1,1), VT(0,0,0))
804
805
local Claw2 = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Claw", VT(0,0,0),false)
806
CreateWeldOrSnapOrMotor("Weld", Claw2, LeftArm, Claw2, CF(-0.2,-1.25,0) * ANGLES(RAD(-90), RAD(0), RAD(90)), CF(0, 0, 0))
807
CreateMesh("SpecialMesh", Claw2, "FileMesh", "105262978", "", VT(1,1,1), VT(0,0,0))
808
809
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.4,0.15,0.2),false)
810
local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(0.15,0.28,-0.53) * ANGLES(RAD(15), RAD(0), RAD(25)), CF(0, 0, 0))
811
MakeForm(part,"Ball")
812
local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Eye", VT(0.1,0.1,0.),false)
813
local PupilWeld = CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
814
MakeForm(Eye,"Ball")
815
Eye.Color = C3(0,0,0)
816
createaccessory(Head,"http://www.roblox.com/asset/?id=76056263","",Vector3.new(1,1,1),Vector3.new(0,0.18,0.2),BRICKC("Pearl"))
817
local LASTPART = Torso
818
for b = 1, 17 do
819
	local TAIL1 = CreatePart(3, Tail, "SmoothPlastic", 0, 0, "Insitutional white", "TailPart", VT(0.5,0.5,0.5)*(b/5),false)
820
	TAIL1.Color = C3(1,0,0)
821
	local weld = nil
822
	local WAG = -1*(b/15)
823
	if LASTPART == Torso then
824
		weld = CreateWeldOrSnapOrMotor("Weld", LASTPART, TAIL1, LASTPART, CF(0, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
825
		local FRAME = IT("CFrameValue",TAIL1)
826
		FRAME.Name = "Frame"
827
		FRAME.Value = CF(0, 0.5, -0.2)
828
	else
829
		weld = CreateWeldOrSnapOrMotor("Weld", LASTPART, TAIL1, LASTPART, CF(0, 0, -1*(b/15)) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
830
		local FRAME = IT("CFrameValue",TAIL1)
831
		FRAME.Name = "Frame"
832
		FRAME.Value = CF(0, 0, WAG)
833
	end
834
	local FRAME = IT("NumberValue",TAIL1)
835
	FRAME.Name = "Time"
836
	FRAME.Value = b
837
	LASTPART = TAIL1
838
end
839
840
Weapon.Parent = Character
841
842
Humanoid.HealthChanged:connect(function()
843
	if Humanoid.Health == 0 then
844
		Humanoid.MaxHealth = "inf"
845
		Humanoid.Health = "inf"
846
	end
847
end)
848
849
Humanoid.Died:connect(function()
850
	ATTACK = true
851
	HASDIED = true
852
	Character.Parent = nil
853
	local corpse = Character
854
	local CFRAME = RootPart.CFrame
855
	Character = nil
856
	repeat Swait() until Player.Character ~= corpse
857
	Character = Player.Character
858
	repeat Swait() until Character:FindFirstChild("HumanoidRootPart")
859
	PlayerGui = Player.PlayerGui
860
	Cam = workspace.CurrentCamera
861
	Backpack = Player.Backpack
862
	RootPart = Character["HumanoidRootPart"]
863
	Torso = Character["Torso"]
864
	Head = Character["Head"]
865
	RightArm = Character["Right Arm"]
866
	LeftArm = Character["Left Arm"]
867
	RightLeg = Character["Right Leg"]
868
	LeftLeg = Character["Left Leg"]
869
	RootJoint = RootPart["RootJoint"]
870
	Neck = Torso["Neck"]
871
	RightShoulder = Torso["Right Shoulder"]
872
	LeftShoulder = Torso["Left Shoulder"]
873
	RightHip = Torso["Right Hip"]
874
	LeftHip = Torso["Left Hip"]
875
	Humanoid = Character.Humanoid
876
	RootPart.CFrame = CFRAME
877
	sick:remove()
878
	WEAPONGUI = IT("ScreenGui", PlayerGui)
879
	WEAPONGUI.Name = "Weapon GUI"
880
	Weapon = IT("Model",Character)
881
	Weapon.Name = "Adds"
882
	Minions = IT("Model",Character)
883
	Minions.Name = "MinionFolder"
884
	Effects = IT("Folder", Weapon)
885
	Effects.Name = "Effects"
886
	Tail = IT("Model",Weapon)
887
	Tail.Name = "Tail"
888
	wait()
889
	Claw1 = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Claw", VT(0,0,0),false)
890
	CreateWeldOrSnapOrMotor("Weld", Claw1, RightArm, Claw1, CF(0.2,-1.25,0) * ANGLES(RAD(-90), RAD(0), RAD(-90)), CF(0, 0, 0))
891
	CreateMesh("SpecialMesh", Claw1, "FileMesh", "105262978", "", VT(1,1,1), VT(0,0,0))
892
	Claw2 = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Claw", VT(0,0,0),false)
893
	CreateWeldOrSnapOrMotor("Weld", Claw2, LeftArm, Claw2, CF(-0.2,-1.25,0) * ANGLES(RAD(-90), RAD(0), RAD(90)), CF(0, 0, 0))
894
	CreateMesh("SpecialMesh", Claw2, "FileMesh", "105262978", "", VT(1,1,1), VT(0,0,0))
895
	createaccessory(Head,"http://www.roblox.com/asset/?id=76056263","",Vector3.new(1,1,1),Vector3.new(0,0.18,0.2),BRICKC("Pearl"))
896
	local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.4,0.15,0.2),false)
897
	local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(0.15,0.28,-0.53) * ANGLES(RAD(15), RAD(0), RAD(25)), CF(0, 0, 0))
898
	MakeForm(part,"Ball")
899
	local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Eye", VT(0.1,0.1,0.),false)
900
	PupilWeld = CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
901
	MakeForm(Eye,"Ball")
902
	Eye.Color = C3(0,0,0)
903
	local LASTPART = Torso
904
	for b = 1, 17 do
905
		local TAIL1 = CreatePart(3, Tail, "SmoothPlastic", 0, 0, "Insitutional white", "TailPart", VT(0.5,0.5,0.5)*(b/5),false)
906
		TAIL1.Color = C3(0,0,0)
907
		local weld = nil
908
		local WAG = -1*(b/15)
909
		if LASTPART == Torso then
910
			weld = CreateWeldOrSnapOrMotor("Weld", LASTPART, TAIL1, LASTPART, CF(0, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
911
			local FRAME = IT("CFrameValue",TAIL1)
912
			FRAME.Name = "Frame"
913
			FRAME.Value = CF(0, 0.5, -0.2)
914
		else
915
			weld = CreateWeldOrSnapOrMotor("Weld", LASTPART, TAIL1, LASTPART, CF(0, 0, -1*(b/15)) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
916
			local FRAME = IT("CFrameValue",TAIL1)
917
			FRAME.Name = "Frame"
918
			FRAME.Value = CF(0, 0, WAG)
919
		end
920
		local FRAME = IT("NumberValue",TAIL1)
921
		FRAME.Name = "Time"
922
		FRAME.Value = b
923
		LASTPART = TAIL1
924
	end
925
	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")
926
	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")
927
	local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
928
	local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.02, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
929
	local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
930
	local SKILL6FRAME = 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 6 Frame")
931
	
932
	local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Q-F-G] Claw strikes", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 1")
933
	local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] False Denial", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 2")
934
	local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[V-C] Denial Possession", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 4")
935
	local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Defy the world", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 5")
936
	local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[P] Sprint", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 5")
937
	local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[K] Bulk dash", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 6")
938
	HASDIED = false
939
	ATTACK = false
940
end)
941
942
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")
943
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")
944
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
945
local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.02, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
946
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
947
local SKILL6FRAME = 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 6 Frame")
948
949
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Q-F-G] Claw strikes", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 1")
950
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] False Denial", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 2")
951
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[V-C] Denial Possession", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 4")
952
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Defy the world", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 5")
953
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[P] Sprint", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 5")
954
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[K] Bulk dash", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 6")
955
956
--//=================================\\
957
--||	     DAMAGE FUNCTIONS
958
--\\=================================//
959
960
function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
961
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
962
	STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
963
	local BODYGYRO = IT("BodyGyro", STATPART)
964
	local BODYPOSITION = IT("BodyPosition", STATPART)
965
	BODYPOSITION.P = 2000
966
	BODYPOSITION.D = 100
967
	BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
968
	BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
969
	game:GetService("Debris"):AddItem(STATPART ,5)
970
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
971
	BILLBOARDGUI.Adornee = STATPART
972
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
973
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
974
	BILLBOARDGUI.AlwaysOnTop = false
975
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
976
	TEXTLABEL.BackgroundTransparency = 1
977
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
978
	TEXTLABEL.Text = TEXT
979
	TEXTLABEL.Font = "SciFi"
980
	TEXTLABEL.FontSize="Size42"
981
	TEXTLABEL.TextColor3 = COLOR
982
	TEXTLABEL.TextStrokeTransparency = 1
983
	TEXTLABEL.TextScaled = true
984
	TEXTLABEL.TextWrapped = true
985
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
986
		if LABELTYPE == "Normal" then
987
			for i = 1, 30 do
988
				Swait()
989
				STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
990
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
991
			end
992
		elseif LABELTYPE == "Debuff" then
993
			for i = 1, 30 do
994
				Swait()
995
				STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
996
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
997
			end
998
		elseif LABELTYPE == "Shock" then
999
			local ORIGIN = STATPART.Position
1000
			for i = 1, 30 do
1001
				Swait()
1002
				STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
1003
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
1004
			end
1005
		end
1006
		THEPART.Parent = nil
1007
	end),STATPART, BODYPOSITION, TEXTLABEL)
1008
end
1009
1010
--//=================================\\
1011
--||			DAMAGING
1012
--\\=================================//
1013
1014
function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
1015
	local dmg = math.random(min,max)
1016
	for i,v in ipairs(workspace:GetChildren()) do
1017
	if v:FindFirstChild("HitBy"..Player.Name) == nil then
1018
		local body = v:GetChildren()
1019
			for part = 1, #body do
1020
				if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1021
					if(body[part].Position - position).Magnitude < radius then
1022
						if v.ClassName == "Model" then
1023
							if v:FindFirstChild("Humanoid") then
1024
								if v.Humanoid.Health ~= 0 then
1025
									if CanBeDodgedByJumping == true then
1026
										if body[part].Position.Y < position.Y+5 then
1027
											if math.random(1,100) < critrate+1 then
1028
												v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
1029
												StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
1030
											else
1031
												v.Humanoid.Health = v.Humanoid.Health - dmg
1032
												StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
1033
											end
1034
											local defence = Instance.new("BoolValue",v)
1035
											defence.Name = ("HitBy"..Player.Name)
1036
											game:GetService("Debris"):AddItem(defence, 0.01)
1037
										end
1038
									else
1039
										if beserk == true then
1040
											v.Humanoid.Health = 0
1041
										end
1042
										if math.random(1,100) < critrate+1 then
1043
											v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
1044
											StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
1045
										else
1046
											v.Humanoid.Health = v.Humanoid.Health - dmg
1047
											StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
1048
										end
1049
										local defence = Instance.new("BoolValue",v)
1050
										defence.Name = ("HitBy"..Player.Name)
1051
										game:GetService("Debris"):AddItem(defence, 0.01)
1052
									end
1053
								end
1054
							end
1055
						end
1056
						body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
1057
					end
1058
				end
1059
			end
1060
			if v.ClassName == "Part" then
1061
				if v.Anchored == false and (v.Position - position).Magnitude < radius then
1062
					v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
1063
				end
1064
			end
1065
		end
1066
	end
1067
end
1068
1069
function Sink(position,radius)
1070
	for i,v in ipairs(workspace:GetChildren()) do
1071
	if v:FindFirstChild("Hit2By"..Player.Name) == nil then
1072
		local body = v:GetChildren()
1073
			for part = 1, #body do
1074
				if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1075
					if(body[part].Position - position).Magnitude < radius then
1076
						if v.ClassName == "Model" then
1077
							if v:FindFirstChild("Humanoid") then
1078
								local defence = Instance.new("BoolValue",v)
1079
								defence.Name = ("Hit2By"..Player.Name)
1080
								if v.Humanoid.Health ~= 0 then
1081
									local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
1082
									if TORS ~= nil then
1083
										local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v)
1084
										coroutine.resume(coroutine.create(function()
1085
											if HITFLOOR2 ~= nil then
1086
												TORS.Anchored = true
1087
												table.insert(Effects2,{v})
1088
												repeat
1089
													Swait()
1090
													TORS.CFrame = TORS.CFrame * CF(0,-1,0)
1091
												until TORS.Position.Y<position.Y-4
1092
												v:remove()
1093
											end
1094
										end))
1095
									end
1096
								end
1097
							end
1098
						end
1099
						--body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
1100
					end
1101
				end
1102
			end
1103
		end	
1104
	end
1105
end
1106
1107
--//=================================\\
1108
--||	ATTACK FUNCTIONS AND STUFF
1109
--\\=================================//
1110
1111
local asd = Instance.new("ParticleEmitter")
1112
asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
1113
asd.LightEmission = .1
1114
asd.Size = NumberSequence.new(0.2)
1115
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
1116
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
1117
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1118
asd.Transparency = bbb
1119
asd.Size = aaa
1120
asd.ZOffset = .9
1121
asd.Acceleration = Vector3.new(0, -5, 0)
1122
asd.LockedToPart = false
1123
asd.EmissionDirection = "Back"
1124
asd.Lifetime = NumberRange.new(1, 2)
1125
asd.Rotation = NumberRange.new(-100, 100)
1126
asd.RotSpeed = NumberRange.new(-100, 100)
1127
asd.Speed = NumberRange.new(2)
1128
asd.Enabled = false
1129
asd.VelocitySpread = 10000
1130
1131
function getbloody(victim,amount)
1132
local prtcl = asd:Clone()
1133
prtcl.Parent = victim
1134
prtcl:Emit(amount)
1135
CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], victim, 10, (math.random(8,12)/10))
1136
end
1137
1138
function Strike1()
1139
	ATTACK = true
1140
	Rooted = false
1141
	CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
1142
	for i=0, 0.1, 0.1 / Animation_Speed do
1143
		Swait()
1144
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
1145
		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)
1146
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(145), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1147
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(45), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1148
		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.15 / Animation_Speed)
1149
		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.15 / Animation_Speed)
1150
	end
1151
	AoEDamage(CF(Torso.Position)*CF(0,0,-1).p,8,35,55,5,0,1,1.5,false)
1152
	CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
1153
	Slice(1,5,LeftArm.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)),"Crimson",1.01)
1154
	Slice(1,5,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)),"Crimson",1.01)
1155
	for i=0, 0.3, 0.1 / Animation_Speed do
1156
		Swait()
1157
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
1158
		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)
1159
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(145), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1160
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(45), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1161
		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.15 / Animation_Speed)
1162
		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.15 / Animation_Speed)
1163
	end
1164
	ATTACK = false
1165
	Rooted = false
1166
end
1167
1168
function Strike2()
1169
	ATTACK = true
1170
	Rooted = true
1171
	for i=1, 50 do
1172
		Swait()
1173
		VALUE1 = true
1174
		RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
1175
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, (5-(3-i/50))) * ANGLES(RAD(0), RAD(65), RAD(i*50)), 2 / Animation_Speed)
1176
		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)
1177
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1178
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1179
		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.15 / Animation_Speed)
1180
		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.15 / Animation_Speed)
1181
		AoEDamage(RightArm.CFrame*CF(0,-1,0).p,5,5,25,5,0,1,1.5,false)
1182
		AoEDamage(LeftArm.CFrame*CF(0,-1,0).p,5,5,25,5,0,1,1.5,false)
1183
		CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
1184
		Slice(1,5,LeftArm.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)),"Crimson",1.01)
1185
		Slice(1,5,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)),"Crimson",1.01)
1186
	end
1187
	ATTACK = false
1188
	Rooted = false
1189
end
1190
1191
function Strike3()
1192
	ATTACK = true
1193
	Rooted = false
1194
	for i = 1, 15 do
1195
		for i = 1, 2 do
1196
			Swait()
1197
			PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.17+MRANDOM(-2,2)/75,0.3+MRANDOM(-2,2)/75,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
1198
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)) *  ANGLES(RAD(15), RAD(0), RAD(0)), 2.8 / Animation_Speed)
1199
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2.8 / Animation_Speed)
1200
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-45,-35))) * RIGHTSHOULDERC0, 2.8 / Animation_Speed)
1201
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))) * LEFTSHOULDERC0, 2.8 / Animation_Speed)
1202
			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(-15), RAD(-15)), 2.8 / Animation_Speed)
1203
			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(15), RAD(-15)), 2.8 / Animation_Speed)
1204
		end
1205
		AoEDamage(CF(Torso.Position)*CF(0,0,-1).p,8,5,25,5,0,1,1.5,false)
1206
		CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
1207
		Slice(1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-45,45)), RAD(MRANDOM(-75,75)), RAD(0)),"Crimson",1.01)
1208
		for i = 1, 2 do
1209
			Swait()
1210
			PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.17+MRANDOM(-2,2)/75,0.3+MRANDOM(-2,2)/75,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
1211
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)) *  ANGLES(RAD(15), RAD(0), RAD(0)), 2.8 / Animation_Speed)
1212
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2.8 / Animation_Speed)
1213
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))) * RIGHTSHOULDERC0, 2.8 / Animation_Speed)
1214
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(35,45))) * LEFTSHOULDERC0, 2.8 / Animation_Speed)
1215
			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(-15), RAD(-15)), 2.8 / Animation_Speed)
1216
			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(15), RAD(-15)), 2.8 / Animation_Speed)
1217
		end
1218
		AoEDamage(CF(Torso.Position)*CF(0,0,-1).p,8,5,25,5,0,1,1.5,false)
1219
		CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
1220
		Slice(1,15,LeftArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-45,45)), RAD(MRANDOM(-75,75)), RAD(0)),"Crimson",1.01)
1221
	end
1222
	if KEYHOLD == true then
1223
		repeat
1224
			for i = 1, 2 do
1225
				Swait()
1226
				PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.17+MRANDOM(-2,2)/75,0.3+MRANDOM(-2,2)/75,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
1227
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)) *  ANGLES(RAD(15), RAD(0), RAD(0)), 2.8 / Animation_Speed)
1228
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2.8 / Animation_Speed)
1229
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-45,-35))) * RIGHTSHOULDERC0, 2.8 / Animation_Speed)
1230
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))) * LEFTSHOULDERC0, 2.8 / Animation_Speed)
1231
				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(-15), RAD(-15)), 2.8 / Animation_Speed)
1232
				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(15), RAD(-15)), 2.8 / Animation_Speed)
1233
			end
1234
			AoEDamage(CF(Torso.Position)*CF(0,0,-1).p,8,5,25,5,0,1,1.5,false)
1235
			CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
1236
			Slice(1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-45,45)), RAD(MRANDOM(-75,75)), RAD(0)),"Crimson",1.01)
1237
			for i = 1, 2 do
1238
				Swait()
1239
				PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.17+MRANDOM(-2,2)/75,0.3+MRANDOM(-2,2)/75,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
1240
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)) *  ANGLES(RAD(15), RAD(0), RAD(0)), 2.8 / Animation_Speed)
1241
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2.8 / Animation_Speed)
1242
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))) * RIGHTSHOULDERC0, 2.8 / Animation_Speed)
1243
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(35,45))) * LEFTSHOULDERC0, 2.8 / Animation_Speed)
1244
				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(-15), RAD(-15)), 2.8 / Animation_Speed)
1245
				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(15), RAD(-15)), 2.8 / Animation_Speed)
1246
			end
1247
			AoEDamage(CF(Torso.Position)*CF(0,0,-1).p,8,5,25,5,0,1,1.5,false)
1248
			CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
1249
			Slice(1,15,LeftArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-45,45)), RAD(MRANDOM(-75,75)), RAD(0)),"Crimson",1.01)
1250
		until KEYHOLD == false
1251
	end
1252
	ATTACK = false
1253
	Rooted = false
1254
end
1255
1256
function FalseDenial()
1257
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1258
		local HITBODY = Mouse.Target.Parent
1259
		local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
1260
		local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1261
		if TORS ~= nil and HUMAN ~= nil then
1262
			ATTACK = true
1263
			Rooted = true
1264
			RootPart.CFrame = TORS.CFrame * CF(-1,0,8)
1265
			TORS.Anchored = true
1266
			CreateSound(ALONE, Head, 10, 1)
1267
			for i=0, 1, 0.1 / Animation_Speed do
1268
				Swait()
1269
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1270
				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.5 / Animation_Speed)
1271
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1272
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1273
				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(-15), RAD(-15)), 0.5 / Animation_Speed)
1274
				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(15), RAD(-15)), 0.5 / Animation_Speed)
1275
			end
1276
			local HandlePart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "", "Handle", VT(0, 0, 0),false)
1277
			HandlePart.Color = C3(1,1,1)
1278
			local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "93180631", "1261372747", VT(1,1,1), VT(0, 3.1, 0))
1279
			HandlePart.CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(180), RAD(90), RAD(0))
1280
			local WELD = weldBetween(RightArm,HandlePart)
1281
			Rooted = true
1282
			CreateSound("289315275", HandlePart, 10, 1.5)
1283
			for i=1, 50 do
1284
				Swait()
1285
				MagicSphere(VT(0.2,0.2,i/5),35,CF(HandlePart.CFrame*CF(0,6,0)*CF(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1)).p,HandlePart.CFrame*CF(0,6,0).p),C3(1,1,1),VT(0.001,0.001,0),0.5)
1286
				HandlePart.Transparency = HandlePart.Transparency - (0.01)
1287
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1288
				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.5 / Animation_Speed)
1289
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1290
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1291
				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(-15), RAD(-15)), 0.5 / Animation_Speed)
1292
				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(15), RAD(-15)), 0.5 / Animation_Speed)
1293
			end
1294
			for i=0, 1, 0.1 / Animation_Speed do
1295
				Swait()
1296
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
1297
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(35)), 0.5 / Animation_Speed)
1298
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(105), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1299
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1300
				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(-15), RAD(-15)), 0.5 / Animation_Speed)
1301
				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(15), RAD(-15)), 0.5 / Animation_Speed)
1302
			end
1303
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(45)), 3 / Animation_Speed)
1304
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 3 / Animation_Speed)
1305
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.7) * ANGLES(RAD(110), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1306
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1307
			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(-15), RAD(-15)), 3 / Animation_Speed)
1308
			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(15), RAD(-15)), 3 / Animation_Speed)
1309
			Swait()
1310
			WELD:remove()
1311
			HandlePart.CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(180), RAD(90), RAD(0))
1312
			HandlePart.Anchored = true
1313
			local HEART = CreatePart(3, HITBODY, "Pebble", 0, 0, "Really red", "Heart", VT(1,1,1))
1314
			MakeForm(HEART,"Ball")
1315
			HEART.CFrame = HandlePart.CFrame*CF(0,6,0)
1316
			getbloody(HEART,2)
1317
			Swait(15)
1318
			CreateSound("289315275", HEART, 10, 3)
1319
			for i = 1, 25 do
1320
				Swait()
1321
				MagicSphere(VT(0.2,0.2,i/5),35,CF(HandlePart.CFrame*CF(0,6.5,0)*CF(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1)).p,HandlePart.CFrame*CF(0,6,0).p),C3(1,1,1),VT(0.001,0.001,0),0.5)
1322
			end
1323
			CreateSound("264486467", HEART, 10, 1)
1324
			getbloody(HEART,25)
1325
			HEART.Transparency = 1
1326
			HITBODY:BreakJoints()
1327
			TORS.Anchored = false
1328
			ATTACK = false
1329
			Rooted = false
1330
			coroutine.resume(coroutine.create(function()
1331
				Swait(15)
1332
				CreateSound("2248511", HandlePart, 10, 1)
1333
				for i = 1, 50 do
1334
					Swait()
1335
					HandlePart.Transparency = HandlePart.Transparency + (0.01)
1336
				end
1337
				HandlePart:remove()
1338
			end))
1339
		end
1340
	end
1341
end
1342
1343
function findNearestTorso(pos)
1344
	local list = game.Workspace:children()
1345
	local torso = nil
1346
	local dist = 1000
1347
	local temp = nil
1348
	local human = nil
1349
	local temp2 = nil
1350
	for x = 1, #list do
1351
		temp2 = list[x]
1352
		if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= pos.Parent) then
1353
			temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
1354
			human = temp2:findFirstChildOfClass("Humanoid")
1355
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
1356
				if (temp.Position - pos.Position).magnitude < dist then
1357
					torso = temp
1358
					dist = (temp.Position - pos.Position).magnitude
1359
				end
1360
			end
1361
		end
1362
	end
1363
	return torso,dist
1364
end
1365
1366
function CreateBody()
1367
	local zombie = IT("Model",Effects)
1368
	zombie.Name = "Possessed"
1369
	local tors = IT("Part",zombie)
1370
	tors.Name = "Torso"
1371
	tors.Size = Torso.Size
1372
	tors.CFrame = RootPart.CFrame * CF(math.random(-5,5),0,-5)
1373
	tors.Color = C3(0,0.5,0.5)
1374
	local heed = IT("Part",zombie)
1375
	heed.Size = Head.Size
1376
	heed.CFrame = tors.CFrame * CF(0,1.5,0)
1377
	heed.Name = "Head"
1378
	heed.Color = C3(255/255, 230/255, 194/255)
1379
	local face = IT("Decal",heed)
1380
	face.Texture = "http://www.roblox.com/asset/?id=149118644"
1381
	weldBetween(tors,heed)
1382
	local headmesh = IT("SpecialMesh",heed)
1383
	headmesh.Scale = VT(1.25,1.25,1.25)
1384
	local limb = IT("Part",zombie)
1385
	limb.Size = VT(1,2,1)
1386
	limb.Name = "Left Arm"
1387
	limb.CFrame = tors.CFrame * CF(-1.5,0,0)
1388
	limb.Color = C3(255/255, 230/255, 194/255)
1389
	weldBetween(tors,limb)
1390
	local limb = IT("Part",zombie)
1391
	limb.Size = VT(1,2,1)
1392
	limb.Name = "Right Arm"
1393
	limb.CFrame = tors.CFrame * CF(1.5,0,0)
1394
	limb.Color = C3(255/255, 230/255, 194/255)
1395
	weldBetween(tors,limb)
1396
	local limb = IT("Part",zombie)
1397
	limb.Size = VT(1,2,1)
1398
	limb.Name = "Right Leg"
1399
	limb.CFrame = tors.CFrame * CF(0.5,-2,0)
1400
	limb.Color = C3(0,0.5,0.5)
1401
	weldBetween(tors,limb)
1402
	local limb = IT("Part",zombie)
1403
	limb.Size = VT(1,2,1)
1404
	limb.Name = "Left Leg"
1405
	limb.CFrame = tors.CFrame * CF(-0.5,-2,0)
1406
	limb.Color = C3(0,0.5,0.5)
1407
	weldBetween(tors,limb)
1408
	local hooman = IT("Humanoid",zombie)
1409
	return zombie
1410
end
1411
1412
function DenialPossession()
1413
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1414
		local HITBODY = Mouse.Target.Parent
1415
		local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
1416
		local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1417
		if TORS ~= nil and HUMAN ~= nil then
1418
			ATTACK = true
1419
			Rooted = true
1420
			TORS.Anchored = true
1421
			RootPart.CFrame = TORS.CFrame * CF(0,0,2)
1422
			for i=0, 1, 0.1 / Animation_Speed do
1423
				Swait()
1424
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1425
				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.5 / Animation_Speed)
1426
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1.2, -0.8) * ANGLES(RAD(125), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1427
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1.2, -0.8) * ANGLES(RAD(125), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1428
				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(-15), RAD(-15)), 0.5 / Animation_Speed)
1429
				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(15), RAD(-15)), 0.5 / Animation_Speed)
1430
			end
1431
			CreateSound("289315275", TORS, 10, 3)
1432
			for i = 1, 25 do
1433
				if HITBODY:FindFirstChild("Head") then
1434
					Swait()
1435
					MagicSphere(VT(0.2,0.2,i/5),35,CF(HITBODY.Head.CFrame*CF(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1)).p,HITBODY.Head.Position),C3(1,1,1),VT(0.001,0.001,0),0.5)
1436
					if HITBODY.Head:FindFirstChildOfClass("Decal") then
1437
						HITBODY.Head:FindFirstChildOfClass("Decal").Texture = "http://www.roblox.com/asset/?id=186465390"
1438
					end
1439
				end
1440
			end
1441
			local CLONE = HITBODY:Clone()
1442
			if CLONE ~= nil then
1443
				CLONE.Parent = Minions
1444
				CLONE:FindFirstChildOfClass("Humanoid").DisplayDistanceType = "None"
1445
				TORS = CLONE:FindFirstChild("Torso") or CLONE:FindFirstChild("UpperTorso")
1446
				TORS.Anchored = false
1447
				if CLONE.Head:FindFirstChildOfClass("Decal") then
1448
					CLONE.Head:FindFirstChildOfClass("Decal").Texture = "http://www.roblox.com/asset/?id=16904401"
1449
				end
1450
				coroutine.resume(coroutine.create(function()
1451
					while wait() do
1452
						local MAN = CLONE:FindFirstChildOfClass("Humanoid")
1453
						if MAN.Health ~= 0 then
1454
							local target,dist = findNearestTorso(TORS)
1455
							if target ~= nil then
1456
								MAN:MoveTo(target.Position)
1457
								if dist < 7 then
1458
									if MRANDOM(1,5) == 1 then
1459
										AoEDamage(TORS.Position,4,5,25,5,0,1,1.5,false)
1460
									end
1461
								end
1462
							end
1463
						else
1464
							CLONE.Parent = workspace
1465
							Debris:AddItem(CLONE,5)
1466
						end
1467
					end
1468
				end))
1469
				HITBODY:BreakJoints()
1470
				HITBODY.Parent = nil
1471
			else
1472
				local CLONE = CreateBody()
1473
				CLONE.Torso.CFrame = TORS.CFrame
1474
				CLONE.Parent = Minions
1475
				CLONE:FindFirstChildOfClass("Humanoid").DisplayDistanceType = "None"
1476
				TORS = CLONE:FindFirstChild("Torso") or CLONE:FindFirstChild("UpperTorso")
1477
				TORS.Anchored = false
1478
				if CLONE.Head:FindFirstChildOfClass("Decal") then
1479
					CLONE.Head:FindFirstChildOfClass("Decal").Texture = "http://www.roblox.com/asset/?id=16904401"
1480
				end
1481
				for _, c in pairs(HITBODY:GetChildren()) do
1482
					if c.ClassName ~= "Part" and c.ClassName ~= "MeshPart" then
1483
						c.Parent = CLONE
1484
					end
1485
				end
1486
				coroutine.resume(coroutine.create(function()
1487
					while wait() do
1488
						local MAN = CLONE:FindFirstChildOfClass("Humanoid")
1489
						if MAN.Health ~= 0 then
1490
							local target,dist = findNearestTorso(TORS)
1491
							if target ~= nil then
1492
								MAN:MoveTo(target.Position)
1493
								if dist < 7 then
1494
									if MRANDOM(1,5) == 1 then
1495
										AoEDamage(TORS.Position,4,5,25,5,0,1,1.5,false)
1496
									end
1497
								end
1498
							end
1499
						else
1500
							CLONE.Parent = workspace
1501
							Debris:AddItem(CLONE,5)
1502
						end
1503
					end
1504
				end))
1505
				HITBODY:BreakJoints()
1506
				HITBODY.Parent = nil
1507
			end
1508
			ATTACK = false
1509
			Rooted = false
1510
		end
1511
	end
1512
end
1513
1514
function ForbiddenGate()
1515
	ATTACK = true
1516
	Rooted = true
1517
 	CreateSound(ALONE, Head, 10, 1)
1518
	for i=0, 2, 0.1 / Animation_Speed do
1519
		Swait()
1520
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1521
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1522
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1523
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1524
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1525
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1526
	end
1527
	CreateSound("1075001850", RootPart, 10, 3)
1528
	UNANCHOR = false
1529
	RootPart.Anchored = true
1530
	local GATE = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really black", "Heart", VT(1,0.2,1))
1531
	MakeForm(GATE,"Cyl")
1532
	GATE.Color = C3(0,0,0)
1533
	GATE.CFrame = CF(RootPart.Position)*CF(0,-3,0)
1534
	for i=1, 250 do
1535
		Swait()
1536
		UNANCHOR = false
1537
		GATE.Size = GATE.Size + VT(1,0,1)
1538
		--AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
1539
		RootPart.Anchored = true
1540
		Sink(GATE.Position,GATE.Size.Z/2.2)
1541
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -20) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.005 / Animation_Speed)
1542
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1543
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1544
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1545
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1546
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1547
	end
1548
	repeat Swait() until #Effects2 == 0
1549
	for i=1, 25 do
1550
		Swait()
1551
		GATE.Size = GATE.Size - VT(10,0,10)
1552
		--AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
1553
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
1554
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1555
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1556
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1557
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1558
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1559
	end
1560
	GATE:remove()
1561
	RootPart.Anchored = false
1562
	UNANCHOR = true
1563
	ATTACK = false
1564
	Rooted = false
1565
end
1566
1567
function MorphantDash()
1568
	ATTACK = true
1569
	Rooted = true
1570
	local CRAWL = true
1571
	for i=0, 1, 0.1 / Animation_Speed do
1572
		Swait()
1573
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1574
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1575
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(135), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1576
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(135), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1577
		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(-15), RAD(45)), 0.5 / Animation_Speed)
1578
		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(15), RAD(-45)), 0.5 / Animation_Speed)
1579
	end
1580
	local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.4,0.15,0.2),false)
1581
	local Aura = Instance.new('ParticleEmitter')
1582
Aura.Name = "Aura"
1583
Aura.Texture = "rbxassetid://56562006"
1584
Aura.Parent = Eye
1585
Aura.LightEmission = 1
1586
Aura.Transparency = NumberSequence.new(1,0.2,1)
1587
Aura.Color = ColorSequence.new(Color3.new(200/255, 10/255, 10/255),Color3.new(255/255, 0/255, 0/255))
1588
Aura.Size = NumberSequence.new(0.8,0.8,0.1)
1589
Aura.LockedToPart = true
1590
Aura.Lifetime = NumberRange.new(1)
1591
Aura.Rate = 100
1592
Aura.Speed = NumberRange.new(0.3)
1593
Aura.EmissionDirection = "Top"
1594
	local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(0.15,0.28,-0.53) * ANGLES(RAD(15), RAD(0), RAD(25)), CF(0, 0, 0))
1595
	MakeForm(part,"Ball")
1596
	UNANCHOR = false
1597
	RootPart.Anchored = true
1598
	local NEWTORS = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Body", Torso.Size,false)
1599
	MakeForm(NEWTORS,"Ball")
1600
	NEWTORS.Color = C3(0,0,0)
1601
	NEWTORS.CFrame = Torso.CFrame
1602
	weldBetween(Torso,NEWTORS)
1603
	for i = 1, 15 do
1604
		Swait()
1605
		NEWTORS.Size = NEWTORS.Size * 1.2
1606
		weldBetween(Torso,NEWTORS)
1607
	end
1608
	for i = 1, 15 do
1609
		Swait()
1610
		weld.C0 = Clerp(weld.C0, CF(0.15,0.28,-14.15) * ANGLES(RAD(15), RAD(0), RAD(25)), 2 / Animation_Speed)
1611
	end
1612
	local boop = false
1613
	local OFFSET = 8
1614
	for i = 1, 3 do
1615
		local LimbPart1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", VT(10,1,1),false)
1616
		local Aura = Instance.new('ParticleEmitter')
1617
Aura.Name = "Aura"
1618
Aura.Texture = "rbxassetid://56562006"
1619
Aura.Parent = LimbPart1
1620
Aura.LightEmission = 1
1621
Aura.Transparency = NumberSequence.new(1,0.2,1)
1622
Aura.Color = ColorSequence.new(Color3.new(200/255, 10/255, 10/255),Color3.new(255/255, 0/255, 0/255))
1623
Aura.Size = NumberSequence.new(0.8,0.8,0.1)
1624
Aura.LockedToPart = true
1625
Aura.Lifetime = NumberRange.new(1)
1626
Aura.Rate = 100
1627
Aura.Speed = NumberRange.new(0.3)
1628
Aura.EmissionDirection = "Top"		
1629
		local weld1 = CreateWeldOrSnapOrMotor("Weld", LimbPart1, Torso, LimbPart1, CF(15,OFFSET,2) * ANGLES(RAD(0), RAD(-45), RAD(OFFSET)), CF(0, 0, 0))
1630
		local LimbPart2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", VT(12,1,1),false)
1631
		local weld2 = CreateWeldOrSnapOrMotor("Weld", LimbPart2, LimbPart1, LimbPart2, CF(5,0,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(-5, 0, 0))
1632
		local LimbPart3 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", VT(1,2,2),false)
1633
		local weld3 = CreateWeldOrSnapOrMotor("Weld", LimbPart3, LimbPart2, LimbPart3, CF(6,0,0) * ANGLES(RAD(0), RAD(45), RAD(0)), CF(0, 0, 0))
1634
		local ECH = OFFSET
1635
		OFFSET = OFFSET - 8
1636
		if boop == false then
1637
			boop = true
1638
		elseif boop == true then
1639
			boop = false
1640
		end
1641
		coroutine.resume(coroutine.create(function()
1642
			local twist = boop
1643
			while wait() do
1644
				if CRAWL == false then
1645
					LimbPart1:remove()
1646
					LimbPart2:remove()
1647
					LimbPart3:remove()
1648
					break
1649
				end
1650
				for i = 1, 3 do
1651
					wait()
1652
					if twist == false then
1653
						weld1.C0 = Clerp(weld1.C0, CF(12.5,ECH,4) * ANGLES(RAD(0), RAD(-85), RAD(ECH*2 + 25)), 1 / Animation_Speed)
1654
					elseif twist == true then
1655
						weld1.C0 = Clerp(weld1.C0, CF(12.5,ECH,4) * ANGLES(RAD(0), RAD(-25), RAD(ECH*2 -25)), 1 / Animation_Speed)
1656
					end
1657
					if CRAWL == false then
1658
						LimbPart1:remove()
1659
						LimbPart2:remove()
1660
						LimbPart3:remove()
1661
						break
1662
					end
1663
				end
1664
				for i = 1, 3 do
1665
					wait()
1666
					if twist == true then
1667
						weld1.C0 = Clerp(weld1.C0, CF(12.5,ECH,4) * ANGLES(RAD(0), RAD(-85), RAD(ECH*2 + 25)), 1 / Animation_Speed)
1668
					elseif twist == false then
1669
						weld1.C0 = Clerp(weld1.C0, CF(12.5,ECH,4) * ANGLES(RAD(0), RAD(-25), RAD(ECH*2 -25)), 1 / Animation_Speed)
1670
					end
1671
					if CRAWL == false then
1672
						LimbPart1:remove()
1673
						LimbPart2:remove()
1674
						LimbPart3:remove()
1675
						break
1676
					end
1677
				end
1678
			end
1679
		end))
1680
	end
1681
	OFFSET = 8
1682
	for i = 1, 3 do
1683
		local LimbPart1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", VT(10,1,1),false)
1684
		local Aura = Instance.new('ParticleEmitter')
1685
Aura.Name = "Aura"
1686
Aura.Texture = "rbxassetid://56562006"
1687
Aura.Parent = LimbPart1
1688
Aura.LightEmission = 1
1689
Aura.Transparency = NumberSequence.new(1,0.2,1)
1690
Aura.Color = ColorSequence.new(Color3.new(200/255, 10/255, 10/255),Color3.new(255/255, 0/255, 0/255))
1691
Aura.Size = NumberSequence.new(0.8,0.8,0.1)
1692
Aura.LockedToPart = true
1693
Aura.Lifetime = NumberRange.new(1)
1694
Aura.Rate = 100
1695
Aura.Speed = NumberRange.new(0.3)
1696
Aura.EmissionDirection = "Top"
1697
		local weld1 = CreateWeldOrSnapOrMotor("Weld", LimbPart1, Torso, LimbPart1, CF(-15,-OFFSET,2) * ANGLES(RAD(0), RAD(45), RAD(OFFSET)), CF(0, 0, 0))
1698
		local LimbPart2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", VT(12,1,1),false)
1699
		local weld2 = CreateWeldOrSnapOrMotor("Weld", LimbPart2, LimbPart1, LimbPart2, CF(-5,0,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(-5, 0, 0))
1700
		local LimbPart3 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", VT(1,2,2),false)
1701
		local weld3 = CreateWeldOrSnapOrMotor("Weld", LimbPart3, LimbPart2, LimbPart3, CF(6,0,0) * ANGLES(RAD(0), RAD(-45), RAD(0)), CF(0, 0, 0))
1702
		local ECH = OFFSET
1703
		OFFSET = OFFSET - 8
1704
		if boop == false then
1705
			boop = true
1706
		elseif boop == true then
1707
			boop = false
1708
		end
1709
		coroutine.resume(coroutine.create(function()
1710
			local twist = boop
1711
			while wait() do
1712
				if CRAWL == false then
1713
					LimbPart1:remove()
1714
					LimbPart2:remove()
1715
					LimbPart3:remove()
1716
					break
1717
				end
1718
				for i = 1, 3 do
1719
					wait()
1720
					if twist == false then
1721
						weld1.C0 = Clerp(weld1.C0, CF(-12.5,ECH,4) * ANGLES(RAD(0), RAD(85), RAD(ECH*2 + 25)), 1 / Animation_Speed)
1722
					elseif twist == true then
1723
						weld1.C0 = Clerp(weld1.C0, CF(-12.5,ECH,4) * ANGLES(RAD(0), RAD(25), RAD(ECH*2 -25)), 1 / Animation_Speed)
1724
					end
1725
					if CRAWL == false then
1726
						LimbPart1:remove()
1727
						LimbPart2:remove()
1728
						LimbPart3:remove()
1729
						break
1730
					end
1731
				end
1732
				for i = 1, 3 do
1733
					wait()
1734
					if twist == true then
1735
						weld1.C0 = Clerp(weld1.C0, CF(-12.5,ECH,4) * ANGLES(RAD(0), RAD(85), RAD(ECH*2 + 25)), 1 / Animation_Speed)
1736
					elseif twist == false then
1737
						weld1.C0 = Clerp(weld1.C0, CF(-12.5,ECH,4) * ANGLES(RAD(0), RAD(25), RAD(ECH*2 -25)), 1 / Animation_Speed)
1738
					end
1739
					if CRAWL == false then
1740
						LimbPart1:remove()
1741
						LimbPart2:remove()
1742
						LimbPart3:remove()
1743
						break
1744
					end
1745
				end
1746
			end
1747
		end))
1748
	end
1749
	CreateSound("131060194", Head, 10, 1)
1750
	for i = 1, 350 do
1751
		Swait()
1752
		turnto(Mouse.Hit.p)
1753
		RootPart.CFrame = RootPart.CFrame * CF(0,0,-5)
1754
		AoEDamage(Torso.Position,15,35,55,5,0,1,1.5,false)
1755
	end
1756
	CRAWL = false
1757
	Swait(5)
1758
	for i = 1, 50 do
1759
		Swait()
1760
		NEWTORS.Size = NEWTORS.Size * 0.9
1761
		weldBetween(Torso,NEWTORS)
1762
		weld.C0 = Clerp(weld.C0, CF(0.15,0.28,-0.53) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
1763
	end
1764
	part:remove()
1765
	UNANCHOR = true
1766
	RootPart.Anchored = false
1767
	NEWTORS:remove()
1768
	ATTACK = false
1769
	Rooted = false
1770
end
1771
1772
--//=================================\\
1773
--||	  ASSIGN THINGS TO KEYS
1774
--\\=================================//
1775
1776
function MouseDown(Mouse)
1777
	if ATTACK == false then
1778
	end
1779
end
1780
1781
function MouseUp(Mouse)
1782
HOLD = false
1783
end
1784
1785
function KeyDown(Key)
1786
	KEYHOLD = true
1787
	if Key == "q" and ATTACK == false then
1788
		Strike1()
1789
	end
1790
1791
	if Key == "f" and ATTACK == false then
1792
		Strike2()
1793
	end
1794
1795
	if Key == "g" and ATTACK == false then
1796
		Strike3()
1797
	end
1798
1799
	if Key == "b" and ATTACK == false then
1800
		FalseDenial()
1801
	end
1802
1803
	if Key == "v" and ATTACK == false then
1804
		DenialPossession()
1805
	end
1806
1807
	if Key == "c" and ATTACK == false then
1808
		Minions:ClearAllChildren()
1809
	end
1810
1811
	if Key == "k" and ATTACK == false then
1812
		MorphantDash()
1813
	end
1814
1815
	if Key == "x" and ATTACK == false then
1816
		ForbiddenGate()
1817
	end
1818
1819
	if Key == "p" and ATTACK == false then
1820
		if Speed == 16 then
1821
			Speed = 60
1822
		elseif Speed == 60 then
1823
			Speed = 16
1824
		end
1825
	end
1826
1827
	if Key == "t" and ATTACK == false then
1828
		CreateSound(Taunts[MRANDOM(1, #Taunts)], Head, 10, 1)
1829
	end
1830
end
1831
1832
function KeyUp(Key)
1833
	KEYHOLD = false
1834
end
1835
1836
	Mouse.Button1Down:connect(function(NEWKEY)
1837
		MouseDown(NEWKEY)
1838
	end)
1839
	Mouse.Button1Up:connect(function(NEWKEY)
1840
		MouseUp(NEWKEY)
1841
	end)
1842
	Mouse.KeyDown:connect(function(NEWKEY)
1843
		KeyDown(NEWKEY)
1844
	end)
1845
	Mouse.KeyUp:connect(function(NEWKEY)
1846
		KeyUp(NEWKEY)
1847
	end)
1848
1849
--//=================================\\
1850
--\\=================================//
1851
1852
1853
function unanchor()
1854
	if UNANCHOR == true then
1855
		g = Character:GetChildren()
1856
		for i = 1, #g do
1857
			if g[i].ClassName == "Part" then
1858
				g[i].Anchored = false
1859
			end
1860
		end
1861
	end
1862
end
1863
1864
1865
--//=================================\\
1866
--||	WRAP THE WHOLE SCRIPT UP
1867
--\\=================================//
1868
1869
Humanoid.Changed:connect(function(Jump)
1870
	if Jump == "Jump" and (Disable_Jump == true) then
1871
		Humanoid.Jump = false
1872
	end
1873
end)
1874
1875
local WAG = 20
1876
1877
coroutine.resume(coroutine.create(function()
1878
	while wait() do
1879
		for i = 1, 50 do
1880
			Swait()
1881
			WAG = WAG - 0.8
1882
		end
1883
		for i = 1, 50 do
1884
			Swait()
1885
			WAG = WAG + 0.8
1886
		end
1887
	end
1888
end))
1889
1890
local LOOP = 0
1891
1892
while true do
1893
	Swait()
1894
	if HASDIED == false then
1895
		ANIMATE.Parent = nil
1896
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1897
		IDLEANIMATION:Play()
1898
		SINE = SINE + CHANGE
1899
		local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1900
		local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1901
		local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
1902
		local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
1903
		local WALKSPEEDVALUE = 6
1904
		if ATTACK == true then
1905
			PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.3,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1906
		end
1907
		if ANIM ~= "Jump" and ANIM ~= "Fall" and VALUE1 == false then
1908
			for _, c in pairs(Tail:GetChildren()) do
1909
				if c.ClassName == "Part" then
1910
					c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1911
					c.Color = C3(0,0,0)
1912
					local WELD = c:FindFirstChild("Weld")
1913
					if WELD ~= nil then
1914
						coroutine.resume(coroutine.create(function()
1915
							local EGG = WAG
1916
							wait(c.Time.Value/25)
1917
							if VALUE1 == false then
1918
								WELD.C0 = Clerp(WELD.C0,c.Frame.Value * ANGLES(RAD(1.5), RAD(EGG), RAD(0)), 0.05 / Animation_Speed)
1919
							end
1920
						end))
1921
					end
1922
				end
1923
			end
1924
		else
1925
			for _, c in pairs(Tail:GetChildren()) do
1926
				if c.ClassName == "Part" then
1927
					c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1928
					c.Color = C3(0,0,0)
1929
					local WELD = c:FindFirstChild("Weld")
1930
					if WELD ~= nil then
1931
						WELD.C0 = Clerp(WELD.C0,c.Frame.Value * ANGLES(RAD(8.5), RAD(0), RAD(0)), 2 / Animation_Speed)
1932
					end
1933
				end
1934
			end
1935
		end
1936
		if ANIM == "Walk" and TORSOVELOCITY > 1 then
1937
			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 * (1) / Animation_Speed)
1938
			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 * 1 / Animation_Speed)
1939
			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)
1940
			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)
1941
		elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1942
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1943
			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)
1944
			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)
1945
			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)
1946
		end
1947
		if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1948
			if ANIM ~= "Jump" then
1949
				LOOP = 0
1950
			end
1951
			ANIM = "Jump"
1952
			if ATTACK == false then
1953
				LOOP = LOOP + 1
1954
				VALUE1 = false
1955
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(LOOP*45), RAD(0), RAD(0)), 2.5 / Animation_Speed)
1956
				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)
1957
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1958
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1959
				RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1960
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1961
				PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.3,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1962
				--PupilWeld2.C0 = Clerp(PupilWeld.C0, CF(-0.13,0.3,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1963
		    end
1964
		elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1965
			ANIM = "Fall"
1966
			if ATTACK == false then
1967
				VALUE1 = false
1968
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1969
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1970
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(105), RAD(0), RAD(42)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1971
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(105), RAD(0), RAD(-42)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1972
				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(-15), RAD(15)), 0.5 / Animation_Speed)
1973
				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(15), RAD(-15)), 0.5 / Animation_Speed)
1974
				PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.3,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1975
				--PupilWeld2.C0 = Clerp(PupilWeld.C0, CF(-0.13,0.3,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1976
			end
1977
		elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1978
			ANIM = "Idle"
1979
			if ATTACK == false then
1980
				VALUE1 = false
1981
				PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.17,0.3,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1982
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)) *  ANGLES(RAD(15), RAD(0), RAD(0)), 2 / Animation_Speed)
1983
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
1984
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1985
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1986
				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(-15), RAD(-15)), 2 / Animation_Speed)
1987
				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(15), RAD(-15)), 2 / Animation_Speed)
1988
			end
1989
		elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1990
			ANIM = "Walk"
1991
			WALK = WALK + 1 / Animation_Speed
1992
			if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
1993
				WALK = 0
1994
				if WALKINGANIM == true then
1995
					WALKINGANIM = false
1996
				elseif WALKINGANIM == false then
1997
					WALKINGANIM = true
1998
				end
1999
			end
2000
			--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)
2001
			--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)
2002
			if ATTACK == false then
2003
				if Speed < 30 then
2004
					VALUE1 = false
2005
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 2 / Animation_Speed)
2006
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 2 / Animation_Speed)
2007
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2008
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2009
					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(-5), RAD(0), RAD(-15)), 2 / Animation_Speed)
2010
					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(-5), RAD(0), RAD(15)), 2 / Animation_Speed)
2011
					PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.3 - 0.005  * COS(SINE / WALKSPEEDVALUE*2),-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2012
					--PupilWeld2.C0 = Clerp(PupilWeld.C0, CF(-0.13,0.3 - 0.025  * COS(SINE / WALKSPEEDVALUE*2),-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2013
				elseif Speed >= 30 then
2014
					VALUE1 = true
2015
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
2016
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 2 / Animation_Speed)
2017
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2018
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2019
					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(-5), RAD(0), RAD(-15)), 2 / Animation_Speed)
2020
					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(-5), RAD(0), RAD(15)), 2 / Animation_Speed)
2021
					PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.3 - 0.005  * COS(SINE / WALKSPEEDVALUE*2),-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2022
					--PupilWeld2.C0 = Clerp(PupilWeld.C0, CF(-0.13,0.3 - 0.025  * COS(SINE / WALKSPEEDVALUE*2),-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2023
				end
2024
			end
2025
		end
2026
		unanchor()
2027
		Humanoid.MaxHealth = "inf"
2028
		Humanoid.Health = "inf"
2029
		Humanoid.JumpPower = 150
2030
		if Rooted == false then
2031
			Disable_Jump = false
2032
			if ANIM == "Jump" or ANIM == "Fall" then
2033
				Humanoid.WalkSpeed = Speed*5
2034
			else
2035
				Humanoid.WalkSpeed = Speed
2036
			end
2037
		elseif Rooted == true then
2038
			Disable_Jump = true
2039
			Humanoid.WalkSpeed = 0
2040
		end
2041
		q = Character:GetChildren()
2042
		for u = 1, #q do
2043
			if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
2044
				q[u]:remove()
2045
			elseif q[u].ClassName == "CharacterMesh" then
2046
				q[u]:remove()
2047
			elseif q[u].ClassName == "ShirtGraphic" then
2048
				q[u]:remove()
2049
			elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
2050
				q[u].Color = Color3.new(0/255, 0/255, 0/255)
2051
				if q[u]:FindFirstChildOfClass("Hat")then
2052
					q[u]:FindFirstChildOfClass("Hat"):remove()
2053
				end
2054
			end
2055
		end
2056
		if Head:FindFirstChild("face") then
2057
			Head.face:remove()
2058
		end
2059
		local MATHS = {"0","1"}
2060
		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)]
2061
		Humanoid.PlatformStand = false
2062
		if sick ~= nil then
2063
			sick.Parent = Character
2064
		end
2065
	else
2066
		if sick ~= nil then
2067
			sick.Parent = workspace
2068
		end
2069
	end
2070
	script.Parent = workspace
2071
	if Character ~= nil then
2072
		Character.Parent = workspace
2073
	end
2074
	for _, c in pairs(Weapon:GetChildren()) do
2075
		if c.ClassName == "Part" then
2076
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2077
		end
2078
	end
2079
	Humanoid.DisplayDistanceType = "None"
2080
	if #Effects2>0 then
2081
		for e=1,#Effects2 do
2082
			if Effects2[e]~=nil then
2083
			local Thing=Effects2[e]
2084
			if Thing~=nil then
2085
				local Part=Thing[1]
2086
				if Part.Parent == nil then
2087
					table.remove(Effects2,e)
2088
				end
2089
			end
2090
		end
2091
	end
2092
end
2093
end
2094
2095
--//=================================\\
2096
--\\=================================//
2097
2098
2099
2100
2101
2102
--//====================================================\\--
2103
--||			  		 END OF SCRIPT
2104
--\\====================================================//--