View difference between Paste ID: DZQb12vk and Nfm475tV
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2
--||			EDITED BY KILLERZTH_1596 Little Fix&Change by WANTH092
3
--\\====================================================//--
4
5
wait(0.2)
6
7-
Player = game:GetService("Players").LocalPlayer
7+
-- This script has been converted to FE by TameDoNotClick :)
8
9
10
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
11
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
12
do
13-
Mouse = Player:GetMouse()
13+
	print("Translated to FE by me, TameDoNotClick. Enjoy ;)")
14
	script.Parent = Player.Character
15
16
	--RemoteEvent for communicating
17
	local Event = Instance.new("RemoteEvent")
18
	Event.Name = "UserInput_Event"
19
20
	--Fake event to make stuff like Mouse.KeyDown work
21
	local function fakeEvent()
22
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
23
		t.connect = t.Connect
24
		return t
25
	end
26
27
	--Creating fake input objects with fake variables
28
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
29
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
30
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
31
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
32
	end}
33
	--Merged 2 functions into one by checking amount of arguments
34
	CAS.UnbindAction = CAS.BindAction
35
36
	--This function will trigger the events that have been :Connect()'ed
37
	local function te(self,ev,...)
38
		local t = m[ev]
39
		if t and t._fakeEvent and t.Function then
40
			t.Function(...)
41
		end
42
	end
43
	m.TrigEvent = te
44
	UIS.TrigEvent = te
45
46
	Event.OnServerEvent:Connect(function(plr,io)
47
	    if plr~=Player then return end
48
		if io.isMouse then
49
			m.Target = io.Target
50
			m.Hit = io.Hit
51
		else
52
			local b = io.UserInputState == Enum.UserInputState.Begin
53
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
54
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
55
			end
56
			for _,t in pairs(CAS.Actions) do
57
				for _,k in pairs(t.Keys) do
58
					if k==io.KeyCode then
59
						t.Function(t.Name,io.UserInputState,io)
60
					end
61
				end
62
			end
63
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
64
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
65
	    end
66
	end)
67
	Event.Parent = NLS([==[
68
	local Player = game:GetService("Players").LocalPlayer
69
	local Event = script:WaitForChild("UserInput_Event")
70
71
	local UIS = game:GetService("UserInputService")
72
	local input = function(io,a)
73
		if a then return end
74
		--Since InputObject is a client-side instance, we create and pass table instead
75
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
76
	end
77
	UIS.InputBegan:Connect(input)
78
	UIS.InputEnded:Connect(input)
79
80
	local Mouse = Player:GetMouse()
81
	local h,t
82
	--Give the server mouse data 30 times every second, but only if the values changed
83
	--If player is not moving their mouse, client won't fire events
84
	while wait(1/30) do
85
		if h~=Mouse.Hit or t~=Mouse.Target then
86
			h,t=Mouse.Hit,Mouse.Target
87
			Event:FireServer({isMouse=true,Target=t,Hit=h})
88
		end
89
	end]==],Player.Character)
90
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
91
end
92
93
Player = owner
94
PlayerGui = Player.PlayerGui
95
Cam = workspace.CurrentCamera
96
Backpack = Player.Backpack
97
Character = Player.Character
98
Humanoid = Character.Humanoid
99
RootPart = Character["HumanoidRootPart"]
100
Torso = Character["Torso"]
101
Head = Character["Head"]
102
RightArm = Character["Right Arm"]
103
LeftArm = Character["Left Arm"]
104
RightLeg = Character["Right Leg"]
105
LeftLeg = Character["Left Leg"]
106
RootJoint = RootPart["RootJoint"]
107
Neck = Torso["Neck"]
108
RightShoulder = Torso["Right Shoulder"]
109
LeftShoulder = Torso["Left Shoulder"]
110
RightHip = Torso["Right Hip"]
111
LeftHip = Torso["Left Hip"]
112
Character.Archivable = true
113
Player:ClearCharacterAppearance()
114
115
IT = Instance.new
116
CF = CFrame.new
117
VT = Vector3.new
118
RAD = math.rad
119
C3 = Color3.new
120
UD2 = UDim2.new
121
BRICKC = BrickColor.new
122
ANGLES = CFrame.Angles
123
EULER = CFrame.fromEulerAnglesXYZ
124
COS = math.cos
125
ACOS = math.acos
126
SIN = math.sin
127
ASIN = math.asin
128
ABS = math.abs
129
MRANDOM = math.random
130
FLOOR = math.floor
131
132
--//=================================\\
133
--|| 	      USEFUL VALUES
134
--\\=================================//
135
136
Animation_Speed = 3
137
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
138
local Speed = 20
139
local SIZE = 1
140
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
141
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
142
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
143
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
144
local DAMAGEMULTIPLIER = 1
145
local ANIM = "Idle"
146
local ATTACK = false
147
local EQUIPPED = false
148
local HOLD = false
149
local COMBO = 1
150
local Rooted = false
151-
m = game.Players.LocalPlayer
151+
152
local KEYHOLD = false
153
local CHANGE = 2 / Animation_Speed
154
local WALKINGANIM = false
155
local Player_Size = 1
156
local VALUE1 = false
157
local VALUE2 = false
158
local ROBLOXIDLEANIMATION = IT("Animation")
159
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
160
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
161
local ATANIM = IT("Animation")
162
ATANIM.Name = "Attack Animation"
163
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
164
--ROBLOXIDLEANIMATION.Parent = Humanoid
165
local WEAPONGUI = IT("ScreenGui", PlayerGui)
166
WEAPONGUI.Name = "Weapon GUI"
167
local Weapon = IT("Model")
168
Weapon.Name = "Adds"
169
local Effects = IT("Folder", Weapon)
170
Effects.Name = "Effects"
171
local ANIMATOR = Humanoid.Animator
172
local ANIMATE = Character.Animate
173
local UNANCHOR = true
174
local CLOCKLOOP = 0
175
local SONG = 1497785701
176
local CLOCKTARGET = nil
177
local CLOCKSPEED = 1
178
script.Parent = WEAPONGUI
179
local CLONE = Character:Clone()
180
CLONE.Parent = nil
181
local Delete = IT("Model", Character)
182
Delete.Name = "Those who must be Punished."
183
Character.Archivable = false
184
local sick = Instance.new("Sound",Torso)
185
local ENERGYSOUND = 1417051162
186
local EXPLOSIONSOUND = 1417056081
187
188
189
--//=================================\\
190
--\\=================================//
191
192
193
--//=================================\\
194
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
195
--\\=================================//
196
197
ArtificialHB = Instance.new("BindableEvent", script)
198
ArtificialHB.Name = "ArtificialHB"
199
200
script:WaitForChild("ArtificialHB")
201
202
frame = Frame_Speed
203
tf = 0
204
allowframeloss = false
205
tossremainder = false
206
lastframe = tick()
207
script.ArtificialHB:Fire()
208
209
game:GetService("RunService").Heartbeat:connect(function(s, p)
210
	tf = tf + s
211
	if tf >= frame then
212
		if allowframeloss then
213
			script.ArtificialHB:Fire()
214
			lastframe = tick()
215
		else
216
			for i = 1, math.floor(tf / frame) do
217
				script.ArtificialHB:Fire()
218
			end
219
		lastframe = tick()
220
		end
221
		if tossremainder then
222
			tf = 0
223
		else
224
			tf = tf - frame * math.floor(tf / frame)
225
		end
226
	end
227
end)
228
229
--//=================================\\
230
--\\=================================//
231
232
--//=================================\\
233
--||          SOME TAG EDIT
234
--\\=================================//
235
236
m = owner
237
char = m.Character
238
local txt = Instance.new("BillboardGui", char)
239
txt.Adornee = char.Head
240
txt.Name = "_status"
241
txt.Size = UDim2.new(2, 0, 1.2, 0)
242
txt.StudsOffset = Vector3.new(-9, 8, 0)
243
local text = Instance.new("TextLabel", txt)
244
text.Size = UDim2.new(10, 0, 11, 0)
245
text.FontSize = "Size24"
246
text.TextScaled = true
247
text.TextTransparency = 0
248
text.BackgroundTransparency = 1
249
text.TextTransparency = 0
250
text.TextStrokeTransparency = 0
251
text.Font = "Bodoni"
252
text.TextStrokeColor3 = Color3.new(0, 0, 0)
253
v = Instance.new("Part")
254
v.Name = "ColorBrick"
255
v.Parent = m.Character
256
v.FormFactor = "Symmetric"
257
v.Anchored = true
258
v.CanCollide = false
259
v.BottomSurface = "Smooth"
260
v.TopSurface = "Smooth"
261
v.Size = Vector3.new(5, 5, 3)
262
v.Transparency = 1
263
v.CFrame = char.Torso.CFrame
264
v.BrickColor = BrickColor.new("Really black")
265
v.Transparency = 1
266
v.Shape = "Block"
267
spawn(function()
268
local TweenService = game:GetService("TweenService")
269
local Colours = {Color3.fromRGB(255, 176, 0),Color3.fromRGB(0,0,0),Color3.fromRGB(255, 176, 0),Color3.fromRGB(0,0,0),Color3.fromRGB(255, 176, 0),Color3.fromRGB(0,0,0),Color3.fromRGB(255, 176, 0),Color3.fromRGB(0,0,0)}
270
local Int = 0
271
while wait(0.5) do
272
    if Int == #Colours then Int = 0 end
273
    Int = Int+1
274
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
275
end
276
end)
277
text.Text = "wanTH092"
278
279
--//=================================\\
280
--|| 	      SOME FUNCTIONS
281
--\\=================================//
282
283
local asd = Instance.new("ParticleEmitter")
284
asd.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0), Color3.new(.3, 0, 0))
285
asd.LightEmission = .1
286
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
287
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
288
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
289
asd.Transparency = bbb
290
asd.Size = aaa
291
asd.ZOffset = .9
292
asd.Acceleration = Vector3.new(0, -15, 0)
293
asd.LockedToPart = false
294
asd.EmissionDirection = "Back"
295
asd.Lifetime = NumberRange.new(1, 2)
296
asd.Rotation = NumberRange.new(-100, 100)
297
asd.RotSpeed = NumberRange.new(-100, 100)
298
asd.Speed = NumberRange.new(10)
299
asd.Enabled = false
300
asd.VelocitySpread = 999
301
302
function getbloody(victim,amount)
303
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
304
	PART.CFrame = victim.CFrame
305
	local HITPLAYERSOUNDS = {"356551938","264486467"}
306
	Debris:AddItem(PART,5)
307
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
308
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
309
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
310
	local prtcl = asd:Clone()
311
	prtcl.Parent = PART
312
	prtcl:Emit(amount*10)
313
end
314
315
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
316
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
317
end
318
319
function PositiveAngle(NUMBER)
320
	if NUMBER >= 0 then
321
		NUMBER = 0
322
	end
323
	return NUMBER
324
end
325
326
function NegativeAngle(NUMBER)
327
	if NUMBER <= 0 then
328
		NUMBER = 0
329
	end
330
	return NUMBER
331
end
332
333
function Swait(NUMBER)
334
	if NUMBER == 0 or NUMBER == nil then
335
		ArtificialHB.Event:wait()
336
	else
337
		for i = 1, NUMBER do
338
			ArtificialHB.Event:wait()
339
		end
340
	end
341
end
342
343
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
344
	local NEWMESH = IT(MESH)
345
	if MESH == "SpecialMesh" then
346
		NEWMESH.MeshType = MESHTYPE
347
		if MESHID ~= "nil" and MESHID ~= "" then
348
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
349
		end
350
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
351
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
352
		end
353
	end
354
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
355
	NEWMESH.Scale = SCALE
356
	NEWMESH.Parent = PARENT
357
	return NEWMESH
358
end
359
360
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
361
	local NEWPART = IT("Part")
362
	NEWPART.formFactor = FORMFACTOR
363
	NEWPART.Reflectance = REFLECTANCE
364
	NEWPART.Transparency = TRANSPARENCY
365
	NEWPART.CanCollide = false
366
	NEWPART.Locked = true
367
	NEWPART.Anchored = true
368
	if ANCHOR == false then
369
		NEWPART.Anchored = false
370
	end
371
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
372
	NEWPART.Name = NAME
373
	NEWPART.Size = SIZE
374
	NEWPART.Position = Torso.Position
375
	NEWPART.Material = MATERIAL
376
	NEWPART:BreakJoints()
377
	NEWPART.Parent = PARENT
378
	return NEWPART
379
end
380
381
	local function weldBetween(a, b)
382
	    local weldd = Instance.new("ManualWeld")
383
	    weldd.Part0 = a
384
	    weldd.Part1 = b
385
	    weldd.C0 = CFrame.new()
386
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
387
	    weldd.Parent = a
388
	    return weldd
389
	end
390
391
392
function QuaternionFromCFrame(cf)
393
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
394
	local trace = m00 + m11 + m22
395
	if trace > 0 then 
396
		local s = math.sqrt(1 + trace)
397
		local recip = 0.5 / s
398
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
399
	else
400
		local i = 0
401
		if m11 > m00 then
402
			i = 1
403
		end
404
		if m22 > (i == 0 and m00 or m11) then
405
			i = 2
406
		end
407
		if i == 0 then
408
			local s = math.sqrt(m00 - m11 - m22 + 1)
409
			local recip = 0.5 / s
410
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
411
		elseif i == 1 then
412
			local s = math.sqrt(m11 - m22 - m00 + 1)
413
			local recip = 0.5 / s
414
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
415
		elseif i == 2 then
416
			local s = math.sqrt(m22 - m00 - m11 + 1)
417
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
418
		end
419
	end
420
end
421
 
422
function QuaternionToCFrame(px, py, pz, x, y, z, w)
423
	local xs, ys, zs = x + x, y + y, z + z
424
	local wx, wy, wz = w * xs, w * ys, w * zs
425
	local xx = x * xs
426
	local xy = x * ys
427
	local xz = x * zs
428
	local yy = y * ys
429
	local yz = y * zs
430
	local zz = z * zs
431
	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))
432
end
433
 
434
function QuaternionSlerp(a, b, t)
435
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
436
	local startInterp, finishInterp;
437
	if cosTheta >= 0.0001 then
438
		if (1 - cosTheta) > 0.0001 then
439
			local theta = ACOS(cosTheta)
440
			local invSinTheta = 1 / SIN(theta)
441
			startInterp = SIN((1 - t) * theta) * invSinTheta
442
			finishInterp = SIN(t * theta) * invSinTheta
443
		else
444
			startInterp = 1 - t
445
			finishInterp = t
446
		end
447
	else
448
		if (1 + cosTheta) > 0.0001 then
449
			local theta = ACOS(-cosTheta)
450
			local invSinTheta = 1 / SIN(theta)
451
			startInterp = SIN((t - 1) * theta) * invSinTheta
452
			finishInterp = SIN(t * theta) * invSinTheta
453
		else
454
			startInterp = t - 1
455
			finishInterp = t
456
		end
457
	end
458
	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
459
end
460
461
function Clerp(a, b, t)
462
	local qa = {QuaternionFromCFrame(a)}
463
	local qb = {QuaternionFromCFrame(b)}
464
	local ax, ay, az = a.x, a.y, a.z
465
	local bx, by, bz = b.x, b.y, b.z
466
	local _t = 1 - t
467
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
468
end
469
470
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
471
	local frame = IT("Frame")
472
	frame.BackgroundTransparency = TRANSPARENCY
473
	frame.BorderSizePixel = BORDERSIZEPIXEL
474
	frame.Position = POSITION
475
	frame.Size = SIZE
476
	frame.BackgroundColor3 = COLOR
477
	frame.BorderColor3 = BORDERCOLOR
478
	frame.Name = NAME
479
	frame.Parent = PARENT
480
	return frame
481
end
482
483
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
484
	local label = IT("TextLabel")
485
	label.BackgroundTransparency = 1
486
	label.Size = UD2(1, 0, 1, 0)
487
	label.Position = UD2(0, 0, 0, 0)
488
	label.TextColor3 = TEXTCOLOR
489
	label.TextStrokeTransparency = STROKETRANSPARENCY
490
	label.TextTransparency = TRANSPARENCY
491
	label.FontSize = TEXTFONTSIZE
492
	label.Font = TEXTFONT
493
	label.BorderSizePixel = BORDERSIZEPIXEL
494
	label.TextStrokeColor3 = C3(1,1,1)
495
	label.TextScaled = false
496
	label.Text = TEXT
497
	label.Name = NAME
498
	label.Parent = PARENT
499
	return label
500
end
501
502
function NoOutlines(PART)
503
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
504
end
505
506
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
507
	local NEWWELD = IT(TYPE)
508
	NEWWELD.Part0 = PART0
509
	NEWWELD.Part1 = PART1
510
	NEWWELD.C0 = C0
511
	NEWWELD.C1 = C1
512
	NEWWELD.Parent = PARENT
513
	return NEWWELD
514
end
515
516
local S = IT("Sound")
517
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
518
	local NEWSOUND = nil
519
	coroutine.resume(coroutine.create(function()
520
		NEWSOUND = S:Clone()
521
		NEWSOUND.Parent = PARENT
522
		NEWSOUND.Volume = VOLUME
523
		NEWSOUND.Pitch = PITCH
524
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
525
		NEWSOUND:play()
526
		if DOESLOOP == true then
527
			NEWSOUND.Looped = true
528
		else
529
			repeat wait(1) until NEWSOUND.Playing == false
530
			NEWSOUND:remove()
531
		end
532
	end))
533
	return NEWSOUND
534
end
535
536
function CFrameFromTopBack(at, top, back)
537
	local right = top:Cross(back)
538
	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)
539
end
540
541
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
542
function WACKYEFFECT(Table)
543
	local TYPE = (Table.EffectType or "Sphere")
544
	local SIZE = (Table.Size or VT(1,1,1))
545
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
546
	local TRANSPARENCY = (Table.Transparency or 0)
547
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
548
	local CFRAME = (Table.CFrame or Torso.CFrame)
549
	local MOVEDIRECTION = (Table.MoveToPos or nil)
550
	local ROTATION1 = (Table.RotationX or 0)
551
	local ROTATION2 = (Table.RotationY or 0)
552
	local ROTATION3 = (Table.RotationZ or 0)
553
	local MATERIAL = (Table.Material or "Neon")
554
	local COLOR = (Table.Color or C3(1,1,1))
555
	local TIME = (Table.Time or 45)
556
	local SOUNDID = (Table.SoundID or nil)
557
	local SOUNDPITCH = (Table.SoundPitch or nil)
558
	local SOUNDVOLUME = (Table.SoundVolume or nil)
559
	coroutine.resume(coroutine.create(function()
560
		local PLAYSSOUND = false
561
		local SOUND = nil
562
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
563
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
564
			PLAYSSOUND = true
565
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
566
		end
567
		EFFECT.Color = COLOR
568
		local MSH = nil
569
		if TYPE == "Sphere" then
570
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
571
		elseif TYPE == "Block" then
572
			MSH = IT("BlockMesh",EFFECT)
573
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
574
		elseif TYPE == "Wave" then
575
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
576
		elseif TYPE == "Ring" then
577
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
578
		elseif TYPE == "Slash" then
579
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
580
		elseif TYPE == "Round Slash" then
581
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
582
		elseif TYPE == "Swirl" then
583
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
584
		elseif TYPE == "Skull" then
585
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
586
		elseif TYPE == "Crystal" then
587
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
588
		end
589
		if MSH ~= nil then
590
			local MOVESPEED = nil
591
			if MOVEDIRECTION ~= nil then
592
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
593
			end
594
			local GROWTH = SIZE - ENDSIZE
595
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
596
			if TYPE == "Block" then
597
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
598
			else
599
				EFFECT.CFrame = CFRAME
600
			end
601
			for LOOP = 1, TIME+1 do
602
				Swait()
603
				MSH.Scale = MSH.Scale - GROWTH/TIME
604
				if TYPE == "Wave" then
605
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
606
				end
607
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
608
				if TYPE == "Block" then
609
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
610
				else
611
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
612
				end
613
				if MOVEDIRECTION ~= nil then
614
					local ORI = EFFECT.Orientation
615
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
616
					EFFECT.Orientation = ORI
617
				end
618
			end
619
			if PLAYSSOUND == false then
620
				EFFECT:remove()
621
			else
622
				repeat Swait() until SOUND.Playing == false
623
				EFFECT:remove()
624
			end
625
		else
626
			if PLAYSSOUND == false then
627
				EFFECT:remove()
628
			else
629
				repeat Swait() until SOUND.Playing == false
630
				EFFECT:remove()
631
			end
632
		end
633
	end))
634
end
635
636
function MakeForm(PART,TYPE)
637
	if TYPE == "Cyl" then
638
		local MSH = IT("CylinderMesh",PART)
639
	elseif TYPE == "Ball" then
640
		local MSH = IT("SpecialMesh",PART)
641
		MSH.MeshType = "Sphere"
642
	elseif TYPE == "Wedge" then
643
		local MSH = IT("SpecialMesh",PART)
644
		MSH.MeshType = "Wedge"
645
	end
646
end
647
648
Debris = game:GetService("Debris")
649
650
function CastProperRay(StartPos, EndPos, Distance, Ignore)
651
	local DIRECTION = CF(StartPos,EndPos).lookVector
652
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
653
end
654
655
function turnto(position)
656
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
657
end
658
659
function SpawnTrail(FROM,TO,BIG)
660
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Trail", VT(0,0,0))
661
	MakeForm(TRAIL,"Cyl")
662
	local DIST = (FROM - TO).Magnitude
663
	if BIG == true then
664
		TRAIL.Size = VT(0.5,DIST,0.5)
665
	else
666
		TRAIL.Size = VT(0.25,DIST,0.25)
667
	end
668
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
669
	coroutine.resume(coroutine.create(function()
670
		for i = 1, 5 do
671
			Swait()
672
			TRAIL.Transparency = TRAIL.Transparency + 0.1
673
		end
674
		TRAIL:remove()
675
	end))
676
end
677
678
--//=================================\\
679
--||	     WEAPON CREATION
680
--\\=================================//
681
682
Humanoid.Parent = nil
683
RootPart.Size = RootPart.Size*SIZE
684
Torso.Size = Torso.Size*SIZE
685
RightArm.Size = RightArm.Size*SIZE
686
RightLeg.Size = RightLeg.Size*SIZE
687
LeftArm.Size = LeftArm.Size*SIZE
688
LeftLeg.Size = LeftLeg.Size*SIZE
689
RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
690
RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
691
Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
692
Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
693
RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
694
LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
695
RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
696
LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
697
RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
698
LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
699
Head.Size = Head.Size*SIZE
700
RootJoint.Parent = RootPart
701
Neck.Parent = Torso
702
RightShoulder.Parent = Torso
703
LeftShoulder.Parent = Torso
704
RightHip.Parent = Torso
705
LeftHip.Parent = Torso
706
707
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
708
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
709
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
710
MakeForm(Part,"Wedge")
711
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
712
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
713
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
714
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
715
MakeForm(Part,"Cyl")
716
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
717
for i = 1, 8 do
718
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
719
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
720
end
721
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
722
MakeForm(Part,"Wedge")
723
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
724
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
725
MakeForm(Part,"Cyl")
726
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
727
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
728
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
729
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
730
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
731
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
732
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
733
local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
734
MakeForm(RightBarrel,"Cyl")
735
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
736
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
737
MakeForm(Part,"Wedge")
738
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
739
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
740
MakeForm(RightHole,"Cyl")
741
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
742
743
Humanoid.DisplayDistanceType = "None"
744
local top = Instance.new("Shirt")
745
top.ShirtTemplate = "rbxassetid://1830724093"
746
top.Parent = Character
747
top.Name = "Cloth"
748
local bottom = Instance.new("Pants")
749
bottom.PantsTemplate = "rbxassetid://230347534"
750
bottom.Parent = Character
751
bottom.Name = "Cloth"
752
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
753
PRT.Color = C3(0,0,0)
754
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.1,0.15*SIZE,0.085) * ANGLES(RAD(12), RAD(0), RAD(0)), CF(0, 0, 0))
755
CreateMesh("SpecialMesh", PRT, "FileMesh", "19999424", "20571982", VT(1.07,1.07,1.07)*SIZE, VT(0,0,0))
756
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
757
PRT.Color = C3(0,0,0)
758
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.031,-1.1*SIZE,-0.2) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
759
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "1149570750", VT(1, 1, 1)*SIZE, VT(0,0,0))
760
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
761
PRT.Color = C3(0,0,0)
762
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.14*SIZE,-0.20) * ANGLES(RAD(12), RAD(0), RAD(0)), CF(0, 0, 0))
763
CreateMesh("SpecialMesh", PRT, "FileMesh", "11419729", "112346956", VT(1, 1, 1)*SIZE, VT(0,0,0))
764
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
765
PRT.Color = C3(0,0,0)
766
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.8*SIZE,0) * ANGLES(RAD(12), RAD(0), RAD(0)), CF(0, 0, 0))
767
CreateMesh("SpecialMesh", PRT, "FileMesh", "1374148", "413143035", VT(1, 1, 1)*SIZE, VT(0,0,0))
768
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
769
PRT.Color = C3(0,0,0)
770
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0,0*SIZE,0.7) * ANGLES(RAD(12), RAD(0), RAD(0)), CF(0, 0, 0))
771
CreateMesh("SpecialMesh", PRT, "FileMesh", "1147817045", "1147816718", VT(0.8, 0.8, 0.8)*SIZE, VT(0,0,0))
772
773
local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Institutional white", "BraceletPart", VT(1.01,0.3,1.01),false)
774
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
775
for i = 1, 3 do
776
	local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Deep orange", "BraceletPart", VT(0.2,1.02,0.2),false)
777
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
778
	MakeForm(Part,"Cyl")
779
end
780
for i = 1, 3 do
781
	local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Deep orange", "BraceletPart", VT(0.2,1.02,0.2),false)
782
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0))
783
	MakeForm(Part,"Cyl")
784
end
785
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Institutional white", "BraceletPart", VT(0.51,0.6,0.25),false)
786
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
787
MakeForm(Part,"Wedge")
788
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Institutional white", "BraceletPart", VT(0.51,0.6,0.25),false)
789
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
790
MakeForm(Part,"Wedge")
791
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Deep orange", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
792
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
793
MakeForm(Part,"Wedge")
794
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Deep orange", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
795
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
796
MakeForm(Part,"Wedge")
797
798
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Cocoa", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
799
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
800
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Rust", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
801
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
802
MakeForm(PRT,"Cyl")
803
local PRT = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
804
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
805
MakeForm(PRT,"Cyl")
806
PRT.Color = C3(255/255, 176/255, 0/255)
807
local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Cocoa", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
808
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
809
MakeForm(RING,"Cyl")
810
RING.Color = C3(99/255, 95/255, 98/255)
811
for i = 1, 12 do
812
	local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
813
	PRT.Color = C3(99/255, 95/255, 98/255)
814
	local MSH = IT("BlockMesh",PRT)
815
	MSH.Scale = VT(0.6,1,1)
816
	CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
817
end
818
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
819
PRT.Color = C3(99/255, 95/255, 98/255)
820
local MSH = IT("BlockMesh",PRT)
821
MSH.Scale = VT(0.4,1,1)
822
local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
823
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
824
PRT.Color = C3(99/255, 95/255, 98/255)
825
local MSH = IT("BlockMesh",PRT)
826
MSH.Scale = VT(0.4,1,1)
827
local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
828
coroutine.resume(coroutine.create(function()
829
	while true do
830
		Swait()
831
		CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
832
		WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
833
		WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
834
		if CLOCKLOOP <= -150 then
835
			if VALUE1 == false then
836
				CLOCKLOOP = 0
837
				WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
838
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
839
				ApplyAoE(HITPOS,10,15,45,75,false)
840
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
841
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
842
				if CLOCKTARGET ~= nil then
843
					CLOCKTARGET.Health = CLOCKTARGET.Health - 20
844
					if CLOCKTARGET.Torso ~= nil then
845
						CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
846
					end
847
					if CLOCKTARGET.Health == 0 then
848
						CLOCKTARGET = nil
849
					end
850
				end
851
			end
852
		end
853
	end
854
end))
855
856
for _, c in pairs(Weapon:GetChildren()) do
857
	if c.ClassName == "Part" then
858
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
859
	end
860
end
861
862
Neck.Name = "Weld"
863
RootJoint.Name = "Weld"
864
RightShoulder.Name = "Weld"
865
LeftShoulder.Name = "Weld"
866
RightHip.Name = "Weld"
867
LeftHip.Name = "Weld"
868
869
local SKILLTEXTCOLOR = C3(255/255, 176/255, 0/255)
870
local SKILLFONT = "Fantasy"
871
local SKILLTEXTSIZE = 7
872
873
Weapon.Parent = Character
874
Humanoid.Parent = Character
875
876
Humanoid.Died:connect(function()
877
	ATTACK = true
878
end)
879
880
local BODY = {}
881
for _, c in pairs(Character:GetDescendants()) do
882
	if c:IsA("BasePart") and c.Name ~= "Handle" then
883
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
884
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
885
		end
886
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
887
	elseif c:IsA("JointInstance") then
888
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
889
	end
890
end
891
for e = 1, #BODY do
892
	if BODY[e] ~= nil then
893
		local STUFF = BODY[e]
894
		local PART = STUFF[1]
895
		local PARENT = STUFF[2]
896
		local MATERIAL = STUFF[3]
897
		local COLOR = STUFF[4]
898
		local TRANSPARENCY = STUFF[5]
899
		if PART.ClassName == "Part" and PART ~= RootPart then
900
			PART.Material = MATERIAL
901
			PART.Color = COLOR
902
			PART.Transparency = TRANSPARENCY
903
		end
904
		PART.AncestryChanged:Connect(function()
905
			PART.Parent = PARENT
906
		end)
907
	end
908
end
909
910
--//=================================\\
911
--||			ANIM
912
--\\=================================//
913
914
915
function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
916
	PLAYMAINANIM = false
917
	if WhichPose == "Cast1" then
918
		for i=0, Time, 0.1 / Animation_Speed do
919
			Swait()
920
			if Magic == true then
921
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
922
			end
923
			if Gyro ~= nil and Gyro ~= false then
924
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
925
			end
926
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
927
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
928
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
929
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
930
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
931
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
932
		end
933
	elseif WhichPose == "Cast2" then
934
		for i=0, Time, 0.1 / Animation_Speed do
935
			Swait()
936
			if Magic == true then
937
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
938
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
939
			end
940
			if Gyro ~= nil and Gyro ~= false then
941
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
942
			end
943
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
944
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
945
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
946
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
947
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
948
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
949
		end
950
	elseif WhichPose == "RightArmUp" then
951
		for i=0, Time, 0.1 / Animation_Speed do
952
			Swait()
953
			if Magic == true then
954
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightBarrel.CFrame*CF(0,2.5,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
955
			end
956
			if Gyro ~= nil and Gyro ~= false then
957
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
958
			end
959
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
960
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
961
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(-90), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
962
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
963
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
964
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
965
		end
966
	elseif WhichPose == "Taunt" then
967
		for i=0, Time, 0.1 / Animation_Speed do
968
			Swait()
969
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
970
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
971
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
972
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
973
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
974
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
975
		end
976
		CreateSound(221057812,Torso,10,1,false)
977
		for i=0, Time*2, 0.1 / Animation_Speed do
978
			Swait()
979
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
980
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
981
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
982
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
983
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
984
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
985
		end
986
		for i=0, Time, 0.1 / Animation_Speed do
987
			Swait()
988
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
989
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
990
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
991
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
992
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
993
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
994
		end
995
	elseif WhichPose == "Prepare key" then
996
		for i=0, Time, 0.1 / Animation_Speed do
997
			Swait()
998
			if Gyro ~= nil and Gyro ~= false then
999
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
1000
			end
1001
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
1002
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
1003
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
1004
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
1005
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
1006
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
1007
		end
1008
	elseif WhichPose == "Turn key" then
1009
		for i=0, Time, 0.1 / Animation_Speed do
1010
			Swait()
1011
			if Gyro ~= nil and Gyro ~= false then
1012
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
1013
			end
1014
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
1015
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
1016
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
1017
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
1018
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
1019
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
1020
		end
1021
	end
1022
	PLAYMAINANIM = true
1023
end
1024
1025
--//=================================\\
1026
--||			DAMAGING
1027
--\\=================================//
1028
1029
function CastWarpOutlines(TARGET)
1030
	coroutine.resume(coroutine.create(function()
1031
		local T = TARGET:GetChildren()
1032
		for i = 1, #T do
1033
			local child = T[i]
1034
			if child.ClassName == "Part" or child.ClassName == "MeshPart" then
1035
				do
1036
					local clone = child:Clone()
1037
					clone.Parent = Effects
1038
					clone.Anchored = true
1039
					clone.CanCollide = false
1040
					clone:ClearAllChildren()
1041
					clone.CFrame = child.CFrame
1042
					if clone.Name == "Head" then
1043
						clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
1044
					end
1045
					if clone.ClassName == "MeshPart" then
1046
						clone.TextureID = ""
1047
					end
1048
					clone.Color = C3(255/255, 176/255, 0)
1049
					clone.Material = "Neon"
1050
					coroutine.resume(coroutine.create(function()
1051
						for i = 1, 100 do
1052
							Swait()
1053
							clone.Transparency = clone.Transparency + 0.01
1054
							clone.Size = clone.Size + VT(0.001, 0.001, 0.001)
1055
						end
1056
						clone:remove()
1057
					end))
1058
				end
1059
			end
1060
		end
1061
	end))
1062
end
1063
1064
function ApplyDamage(Humanoid,Damage,TorsoPart)
1065
	local defence = Instance.new("BoolValue",Humanoid.Parent)
1066
	defence.Name = ("HitBy"..Player.Name)
1067
	game:GetService("Debris"):AddItem(defence, 0.001)
1068
	Damage = Damage * DAMAGEMULTIPLIER
1069
	if Humanoid.Health ~= 0 then
1070
		local CritChance = MRANDOM(1,100)
1071
		if Damage > Humanoid.Health then
1072
			Damage = math.ceil(Humanoid.Health)
1073
			if Damage == 0 then
1074
				Damage = 0.1
1075
			end
1076
		end
1077
		Humanoid.Health = Humanoid.Health - Damage
1078
	end
1079
end
1080
1081
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
1082
	local CHILDREN = workspace:GetDescendants()
1083
	for index, CHILD in pairs(CHILDREN) do
1084
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1085
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1086
			if HUM then
1087
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1088
				if TORSO then
1089
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1090
						if INSTAKILL == true then
1091
							CHILD:BreakJoints()
1092
						else
1093
							local DMG = MRANDOM(MINDMG,MAXDMG)
1094
							ApplyDamage(HUM,DMG,TORSO)
1095
						end
1096
						if FLING > 0 then
1097
							for _, c in pairs(CHILD:GetChildren()) do
1098
								if c:IsA("BasePart") then
1099
									local bv = Instance.new("BodyVelocity") 
1100
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1101
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1102
									bv.Parent = c
1103
									Debris:AddItem(bv,0.05)
1104
								end
1105
							end
1106
						end
1107
					end
1108
				end
1109
			end
1110
		end
1111
	end
1112
end
1113
1114
function ApplyAoE(POSITION,RANGE,BRUTAL)
1115
	local CHILDREN = workspace:GetDescendants()
1116
	for index, CHILD in pairs(CHILDREN) do
1117
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1118
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1119
			if HUM then
1120
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1121
				if TORSO then
1122
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1123
						if BRUTAL == true then
1124
							Kill(CHILD)
1125
						else
1126
							CHILD:BreakJoints()
1127
						end
1128
					end
1129
				end
1130
			end
1131
		end
1132
	end
1133
end
1134
1135
function Kill(Char)
1136
	local NewCharacter = IT("Model",Effects)
1137
	NewCharacter.Name = "Ow im ded ;-;"
1138
	for _, c in pairs(Char:GetDescendants()) do
1139
		if c:IsA("BasePart") and c.Transparency == 0 then
1140
			if c.Parent == Char then
1141
				getbloody(c,5)
1142
			end
1143
			c:BreakJoints()
1144
			c.Material = "Glass"
1145
			c.Color = C3(1,0,0)
1146
			c.CanCollide = true
1147
			c.Transparency = 0.3
1148
			if c:FindFirstChildOfClass("SpecialMesh") then
1149
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1150
			end
1151
			if c.Name == "Head" then
1152
				c:ClearAllChildren()
1153
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1154
			end
1155
			if c.ClassName == "MeshPart" then
1156
				c.TextureID = ""
1157
			end
1158
			if c:FindFirstChildOfClass("BodyPosition") then
1159
				c:FindFirstChildOfClass("BodyPosition"):remove()
1160
			end
1161
			if c:FindFirstChildOfClass("ParticleEmitter") then
1162
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1163
			end
1164
			c.Parent = NewCharacter
1165
			c.Name = "DeadPart"
1166
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1167
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1168
		end
1169
	end
1170
	Char:remove()
1171
	Debris:AddItem(NewCharacter,5)
1172
end
1173
1174
function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier)
1175
	local dmg = math.random(min,max)
1176
	for i,v in ipairs(workspace:GetChildren()) do
1177
	if v:FindFirstChild("HitBy"..Player.Name) == nil then
1178
		local body = v:GetChildren()
1179
			for part = 1, #body do
1180
				if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1181
					if(body[part].Position - position).Magnitude < radius then
1182
						if v.ClassName == "Model" then
1183
							if v:FindFirstChildOfClass("Humanoid") then
1184
								ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
1185
								body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
1186
							end
1187
						end
1188
					end
1189
				end
1190
			end
1191
		end
1192
		if v:FindFirstChild("HitBy"..Player.Name) then
1193
			v:FindFirstChild("HitBy"..Player.Name):remove()
1194
		end
1195
	end
1196
end
1197
1198
function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
1199
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1200
	local mesh = IT("SpecialMesh",wave)
1201
	mesh.MeshType = "FileMesh"
1202
	mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
1203
	mesh.Scale = SIZE
1204
	mesh.Offset = VT(0,0,-SIZE.X/8)
1205
	wave.CFrame = CFRAME
1206
	coroutine.resume(coroutine.create(function(PART)
1207
		for i = 1, WAIT do
1208
			Swait()
1209
			mesh.Scale = mesh.Scale + GROW
1210
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
1211
			if DOESROT == true then
1212
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1213
			end
1214
			wave.Transparency = wave.Transparency + (0.5/WAIT)
1215
			if wave.Transparency > 0.99 then
1216
				wave:remove()
1217
			end
1218
		end
1219
	end))
1220
end
1221
1222
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
1223
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
1224
	local mesh = IT("SpecialMesh",wave)
1225
	mesh.MeshType = "Sphere"
1226
	mesh.Scale = SIZE
1227
	mesh.Offset = VT(0,0,0)
1228
	wave.CFrame = CFRAME
1229
	coroutine.resume(coroutine.create(function(PART)
1230
		for i = 1, WAIT do
1231
			Swait()
1232
			mesh.Scale = mesh.Scale + GROW
1233
			wave.Transparency = wave.Transparency + (1/WAIT)
1234
			if wave.Transparency > 0.99 then
1235
				wave:remove()
1236
			end
1237
		end
1238
	end))
1239
end
1240
1241
function killnearest(position, range, maxstrength)
1242
	for i, v in ipairs(workspace:GetChildren()) do
1243
		local body = v:GetChildren()
1244
		for part = 1, #body do
1245
			if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
1246
				CastWarpOutlines(v)
1247
				v:remove()
1248
				if game.Players:FindFirstChild(v.Name) then
1249
					local Value = IT("BoolValue", Kill)
1250
					Value.Name = v.Name
1251
				end
1252
			end
1253
		end
1254
	end
1255
end
1256
1257
function MagicSphere3(SIZE, WAIT, CFRAME, COLOR, GROW)
1258
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Deep orange"), "Effect", VT(1, 1, 1), true)
1259
	local mesh = IT("SpecialMesh", wave)
1260
	mesh.MeshType = "Sphere"
1261
	mesh.Scale = SIZE
1262
	mesh.Offset = VT(0, 0, 0)
1263
	wave.CFrame = CFRAME
1264
	coroutine.resume(coroutine.create(function(PART)
1265
		for i = 1, WAIT do
1266
			Swait()
1267
			mesh.Scale = mesh.Scale + GROW
1268
			wave.Transparency = wave.Transparency + 1 / WAIT
1269
			if wave.Transparency > 0.99 then
1270
				wave:remove()
1271
			end
1272
		end
1273
	end))
1274
end
1275
function MagicBlock(SIZE, WAIT, CFRAME, COLOR, GROW)
1276
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE, SIZE, SIZE), true)
1277
	local mesh = IT("BlockMesh", wave)
1278
	wave.CFrame = CFRAME
1279
	coroutine.resume(coroutine.create(function(PART)
1280
		for i = 1, WAIT do
1281
			Swait()
1282
			mesh.Scale = mesh.Scale + GROW
1283
			wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360, 360)), RAD(math.random(-360, 360)), RAD(math.random(-360, 360)))
1284
			wave.Transparency = wave.Transparency + 1 / WAIT
1285
			if wave.Transparency > 0.99 then
1286
				wave:remove()
1287
			end
1288
		end
1289
	end))
1290
end
1291
1292
--//=================================\\
1293
--||	ATTACK FUNCTIONS AND STUFF
1294
--\\=================================//
1295
1296
function TimeSweep() 
1297
    ATTACK = true
1298
    Rooted = false
1299
    text.Text = "Cya"
1300
    for i=0, 0.5, 0.1 / Animation_Speed do
1301
        Swait()
1302
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1303
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1304
    end
1305
    for e = 1, #BODY do
1306
        if BODY[e] ~= nil then
1307
            local STUFF = BODY[e]
1308
            local PART = STUFF[1]
1309
            if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
1310
                local PRT = PART:Clone()
1311
                PRT.Anchored = true
1312
                PRT.CanCollide = false
1313
                PRT.Material = "Glass"
1314
                PRT.Color = C3(0.5,0.5,0)
1315
                PRT.Name = "WarpEffect"
1316
                PRT.Parent = Effects
1317
                PRT.CFrame = PART.CFrame
1318
                PRT:BreakJoints()
1319
                if PRT:FindFirstChildOfClass("Sound") then
1320
                    PRT:FindFirstChildOfClass("Sound"):remove()
1321
                end
1322
                if PRT:FindFirstChildOfClass("Decal") then
1323
                    PRT:FindFirstChildOfClass("Decal"):remove()
1324
                end
1325
                coroutine.resume(coroutine.create(function()
1326
                    for i = 1, 100 do
1327
                        Swait()
1328
                        PRT.Transparency = PRT.Transparency + 1/100
1329
                    end
1330
                    PRT:remove()
1331
                end))
1332
            end
1333
        end
1334
    end
1335
	CreateSound(289556450, Torso, 10, 1)
1336
    local POS = RootPart.Orientation
1337
    RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
1338
    RootPart.Orientation = POS
1339
    RootJoint.Parent = RootPart
1340
    for i=0, 0.5, 0.1 / Animation_Speed do
1341
        Swait()
1342
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1343
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1344
     end
1345
    for i=0, 0.1, 0.1 / Animation_Speed do
1346
        Swait()
1347
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1348
    end
1349
    text.Text = "wanTH092"
1350
    ATTACK = false
1351
    Rooted = false
1352
end
1353
1354
function MagicMissiles()
1355
	ATTACK = true
1356
	Rooted = true
1357
    text.Text = "Look up bro."
1358
	local SELECTING = true
1359
	local SPOTS = {}
1360
	coroutine.resume(coroutine.create(function()
1361
		local LOOP = 0
1362
		repeat
1363
			LOOP = LOOP + 1
1364
			Swait()
1365
			if LOOP >= 10 then
1366
				LOOP = 0
1367
				for i = 1, #SPOTS do
1368
					if SPOTS[i] ~= nil then
1369
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1370
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1371
					end
1372
				end
1373
			end
1374
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1375
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, -.1 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1376
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(155), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1377
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1378
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1379
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1380
		until SELECTING == false
1381
		Rooted = false
1382
		repeat
1383
			LOOP = LOOP + 1
1384
			Swait()
1385
			if LOOP >= 10 then
1386
				LOOP = 0
1387
				for i = 1, #SPOTS do
1388
					if SPOTS[i] ~= nil then
1389
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1390
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1391
					end
1392
				end
1393
			end
1394
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1395
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1396
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1397
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1398
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1399
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1400
		until ATTACK == false
1401
	end))
1402
	repeat
1403
		repeat Swait() until HOLD == true
1404
			local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1405
			if DIST > 9999999 then
1406
				DIST = 9999999
1407
			end
1408
			local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
1409
			local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)	
1410
			if HITFLOOR ~= nil then
1411
				table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
1412
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = RightBarrel.CFrame*CF(0,2.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = 213603013, SoundPitch = 1, SoundVolume = 6})
1413
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(2,1.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightBarrel.CFrame*CF(0,2.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1414
			end
1415
		repeat Swait() until HOLD == false
1416
	until #SPOTS == 4
1417
	SELECTING = false
1418
	for i = 1, #SPOTS do
1419
		if SPOTS[i] ~= nil then
1420
			local POS = SPOTS[i]
1421
			coroutine.resume(coroutine.create(function()
1422
				local MISSILE = IT("Model",Effects)
1423
				MISSILE.Name = "Missile"
1424
				local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Deep orange", "Part", VT(2,2,2))
1425
				MakeForm(BASEPART,"Cyl")
1426
				MISSILE.PrimaryPart = BASEPART
1427
				BASEPART.CFrame = POS*CF(0,-30*3,0)
1428
				local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Deep orange", "Part", VT(2,4,2))
1429
				MakeForm(HEAD,"Ball")
1430
				HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
1431
				local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Deep orange", "Part", VT(2.5,0.1,2.5))
1432
				MakeForm(TAIL,"Cyl")
1433
				TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
1434
				for i = 1, 10 do
1435
					Swait()
1436
					for _, c in pairs(MISSILE:GetChildren()) do
1437
						if c.ClassName == "Part" then
1438
							c.Transparency = c.Transparency - 1/10
1439
						end
1440
					end
1441
				end
1442
				for i = 1, 15*1.5 do
1443
					Swait()
1444
					MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
1445
				end
1446
				ApplyAoE(BASEPART.CFrame.p,80,140,180,300,false)
1447
				WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(300,4,300), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1448
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(140,140,140), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
1449
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(88,8,88), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1450
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(80,12,80), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1451
				MISSILE:remove()
1452
			end))
1453
		end
1454
	end
1455
	wait(0.6)
1456
    text.Text = "wanTH092"
1457
	ATTACK = false
1458
	Rooted = false
1459
end
1460
1461
function TimesUp()
1462
	CLOCKTARGET = nil
1463
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1464
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1465
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1466
		if TORSO then
1467
			ATTACK = true
1468
			Rooted = false
1469
			coroutine.resume(coroutine.create(function()
1470
				repeat
1471
					Swait()
1472
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1473
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1474
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1475
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1476
					RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1477
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1478
				until ATTACK == false
1479
			end))
1480
			if Effects:FindFirstChild("NeonDoll") then
1481
				repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
1482
			end
1483
			wait(0.5)
1484
			local FAKECHARACTER = IT("Model",Effects)
1485
			FAKECHARACTER.Name = "NeonDoll"
1486
			local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Deep orange", "Part", VT(0.3,0.3,0.15),false)
1487
			CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
1488
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Deep orange", "Part", VT(0.15,0.3,0.15),false)
1489
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
1490
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Deep orange", "Part", VT(0.15,0.3,0.15),false)
1491
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
1492
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Deep orange", "Part", VT(0.15,0.3,0.15),false)
1493
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
1494
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Deep orange", "Part", VT(0.15,0.3,0.15),false)
1495
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
1496
			local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Deep orange", "Part", VT(0.15,0.15,0.15),false)
1497
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
1498
			CreateSound(201858045, TORS, 5, 0.4, false)
1499
			for i = 1, 150 do
1500
				Swait()
1501
                text.Text = "Stop moving.."
1502
				CLOCKSPEED = 15
1503
				for _, c in pairs(FAKECHARACTER:GetChildren()) do
1504
					if c.ClassName == "Part" then
1505
						c.Transparency = c.Transparency - 0.5/150
1506
					end
1507
				end
1508
			end
1509
			CLOCKTARGET = HUM
1510
			coroutine.resume(coroutine.create(function()
1511
				repeat Swait() CLOCKSPEED = 0.5 until CLOCKTARGET == nil
1512
				for i = 1, 25 do
1513
					Swait()
1514
					for _, c in pairs(FAKECHARACTER:GetChildren()) do
1515
						if c.ClassName == "Part" then
1516
							c.Transparency = c.Transparency + 0.5/25
1517
						end
1518
					end
1519
				end
1520
				CLOCKSPEED = 1
1521
				FAKECHARACTER:remove()
1522
			end))
1523
			wait(0.5)
1524
            text.Text = "wanTH092"
1525
			ATTACK = false
1526
			Rooted = false
1527
		end
1528
	end
1529
end
1530
1531
function ChainPunch()
1532
	ATTACK = true
1533
	Rooted = false
1534
    text.Text = "Lightning Dragon..."
1535
	local GYRO = IT("BodyGyro",RootPart)
1536
	GYRO.D = 25
1537
	GYRO.P = 2000
1538
	GYRO.MaxTorque = VT(0,40000,0)
1539
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1540
	repeat
1541
		Swait()
1542
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1543
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1544
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1545
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1546
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1547
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1548
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1549
	until HOLD == true
1550
	local POS = Mouse.Hit.p
1551
	local CHAINS = false
1552
	local CHAINLINKS = {}
1553
	local A = IT("Attachment",RightArm)
1554
	A.Position = VT(1,-1,0)*SIZE
1555
	A.Orientation = VT(-90, -89.982, 0)
1556
	local B = IT("Attachment",RightArm)
1557
	B.Position = VT(-1,-1,0)*SIZE
1558
	B.Orientation = VT(-90, 89.988, 0)
1559
	local C = IT("Attachment",RightArm)
1560
	C.Position = VT(0.5,-1.3,0)*SIZE
1561
	C.Orientation = VT(-90, -89.982, 0)
1562
	local D = IT("Attachment",RightArm)
1563
	D.Position = VT(-0.5,-1.3,0)*SIZE
1564
	D.Orientation = VT(-90, 89.988, 0)
1565
	local LIGHT = IT("Attachment",RightArm)
1566
	LIGHT.Position = VT(0,-1,0)*SIZE
1567
	local LIGHT2 = IT("PointLight",LIGHT)
1568
	LIGHT2.Range = 7
1569
	LIGHT2.Brightness = 5
1570
	LIGHT2.Color = SKILLTEXTCOLOR
1571
	for i = 1, 2 do
1572
		local TWIST = -2
1573
		local START = A
1574
		local END = B
1575
		if i == 1 then
1576
			START = B
1577
			END = A
1578
		end
1579
		local ChainLink = IT("Beam",Torso)
1580
		ChainLink.Texture = "rbxassetid://73042633"
1581
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1582
		ChainLink.TextureSpeed = 1
1583
		ChainLink.Width0 = 1
1584
		ChainLink.Width1 = 1
1585
		ChainLink.TextureLength = 2.5
1586
		ChainLink.Attachment0 = START
1587
		ChainLink.Attachment1 = END
1588
		ChainLink.CurveSize0 = TWIST
1589
		ChainLink.CurveSize1 = TWIST
1590
		--ChainLink.FaceCamera = true
1591
		ChainLink.Segments = 45
1592
		ChainLink.Transparency = NumberSequence.new(1)
1593
		table.insert(CHAINLINKS,ChainLink)
1594
	end
1595
	for i = 1, 2 do
1596
		local TWIST = -1
1597
		local START = C
1598
		local END = D
1599
		if i == 1 then
1600
			START = D
1601
			END = C
1602
		end
1603
		local ChainLink = IT("Beam",Torso)
1604
		ChainLink.Texture = "rbxassetid://73042633"
1605
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1606
		ChainLink.TextureSpeed = 1
1607
		ChainLink.Width0 = 1
1608
		ChainLink.Width1 = 1
1609
		ChainLink.TextureLength = 5
1610
		ChainLink.Attachment0 = START
1611
		ChainLink.Attachment1 = END
1612
		ChainLink.CurveSize0 = TWIST
1613
		ChainLink.CurveSize1 = TWIST
1614
		--ChainLink.FaceCamera = true
1615
		ChainLink.Segments = 25
1616
		ChainLink.LightEmission = 0.5
1617
		ChainLink.Transparency = NumberSequence.new(1)
1618
		table.insert(CHAINLINKS,ChainLink)
1619
	end
1620
	coroutine.resume(coroutine.create(function()
1621
		repeat
1622
			Swait()
1623
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1624
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
1625
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1626
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1627
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1628
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1629
		until CHAINS == true
1630
		repeat
1631
			Swait()
1632
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1633
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
1634
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1635
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1636
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1637
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1638
		until ATTACK == false
1639
		for e = 1, 15 do
1640
			Swait()
1641
			for i = 1, #CHAINLINKS do
1642
				CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
1643
			end
1644
		end
1645
		A:remove()
1646
		B:remove()
1647
		C:remove()
1648
		D:remove()
1649
	end))
1650
    text.Text = "Smash!!!"
1651
	CreateSound(233856115, RightArm, 5, 1.2, false)
1652
	for e = 1, 15 do
1653
		Swait()
1654
		for i = 1, #CHAINLINKS do
1655
			CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
1656
		end
1657
	end
1658
	CHAINS = true
1659
	Rooted = true
1660
	wait(0.25)
1661
	local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
1662
	FIST.Color = C3(255/255, 176/255, 0/255)
1663
	FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0)) 
1664
	local LIGHT3 = IT("PointLight",FIST)
1665
	LIGHT3.Range = 7
1666
	LIGHT3.Brightness = 5
1667
	LIGHT3.Color = SKILLTEXTCOLOR
1668
	CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
1669
	local FISTA = IT("Attachment",FIST)
1670
	FISTA.Position = VT(0.062, 0.977, 0)
1671
	local ChainLink = IT("Beam",Torso)
1672
	ChainLink.Texture = "rbxassetid://73042633"
1673
	ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1674
	ChainLink.TextureSpeed = 0
1675
	ChainLink.Width0 = 3
1676
	ChainLink.Width1 = 3
1677
	ChainLink.TextureLength = 12
1678
	ChainLink.Attachment0 = LIGHT
1679
	ChainLink.Attachment1 = FISTA
1680
	ChainLink.FaceCamera = true
1681
	ChainLink.Segments = 45
1682
	ChainLink.LightEmission = 0.5
1683
	ChainLink.Transparency = NumberSequence.new(0.25)
1684
	local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
1685
	for i = 1, 85 do
1686
		Swait()
1687
		FIST.CFrame = FIST.CFrame*CF(0,-2,0)
1688
		ChainLink.TextureLength = 12+(i*2)
1689
		ApplyAoE(FIST.Position,10,15,25,100,false)
1690
		WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1691
		local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
1692
		if HITFLOOR ~= nil then
1693
			HITFLOOR:BreakJoints()
1694
			coroutine.resume(coroutine.create(function()
1695
				for i = 1, 15 do
1696
					Swait()
1697
					FISTSOUND.Volume = FISTSOUND.Volume - 0.15
1698
					ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
1699
					WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1700
				end
1701
			end))
1702
			break
1703
		end
1704
	end
1705
	coroutine.resume(coroutine.create(function()
1706
		for i = 1, 50 do
1707
			Swait()
1708
			FIST.Transparency = FIST.Transparency + 0.5/50
1709
			LIGHT3.Range = LIGHT3.Range - 7/50
1710
		end
1711
		FIST:remove()
1712
	end))
1713
	LIGHT:remove()
1714
	GYRO:remove()
1715
    text.Text = "wanTH092"
1716
	ATTACK = false
1717
	Rooted = false
1718
end
1719
1720
function Taunt1()
1721
		ATTACK = true
1722
	Rooted = true
1723
    text.Text = "Just don't bore me"
1724
	local TAUNT = CreateSound(159882635, Torso,50, 1.08, false)
1725
	repeat
1726
		Swait()
1727
		TAUNT.Parent = Torso
1728
		TAUNT.Playing = true
1729
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1730
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1731
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1732
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1733
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1734
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1735
	until TAUNT.TimePosition >= 1.25
1736
	for i=0, 1.6, 0.1 / Animation_Speed do
1737
		text.Text = "Yeah.."
1738
		Swait()
1739
		TAUNT.Parent = Torso
1740
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1741
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
1742
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1743
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1744
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1745
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1746
	end
1747
    text.Text = "wanTH092"
1748
	ATTACK = false
1749
	Rooted = false
1750
end
1751
1752
function Charge(TIME,GYRO)
1753
	local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
1754
	local G = nil
1755
	if GYRO == true then
1756
		G = IT("BodyGyro",RootPart)
1757
		G.D = 250
1758
		G.P = 200000
1759
		G.MaxTorque = VT(math.huge,math.huge,math.huge)
1760
	end
1761
	for i=0, 4.5, 0.1 / Animation_Speed do
1762
		Swait()
1763
		if G then
1764
			G.cframe = CF(RootPart.Position,Mouse.Hit.p)
1765
		end
1766
		WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1767
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1768
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1769
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(-90), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1770
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1771
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1772
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1773
	end
1774
	SND:remove()
1775
	if G then
1776
		return G
1777
	end
1778
end
1779
1780
function Reminder_Circle()
1781
    text.Text = "Reminder.."
1782
	ATTACK = true
1783
	Rooted = true
1784
	Charge(2,false)
1785
	local SND = CreateSound(EXPLOSIONSOUND,RootPart,10,1,false)
1786
	local SND2 = CreateSound(ENERGYSOUND,RootPart,10,1,false)
1787
	for i = 1, 60 do
1788
		Swait()
1789
		ApplyAoE(RootPart.Position,i*2.6,2,2,-400,true)
1790
		SND.Pitch = SND.Pitch - 1/60
1791
		SND2.Pitch = SND.Pitch
1792
		WACKYEFFECT({TIME = 4, EffectType = "Wave", Size = VT(i*4,20,i*4), Size2 = VT(i*4,20,i*4), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1793
		WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,20,0), Size2 = VT(i*4,12,i*4), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1794
		WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,12,0), Size2 = VT(i*3.2,20,i*3.2), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(i*5), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1795
        text.Text = "Circle!!"
1796
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1797
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1798
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1799
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(45), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1800
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1801
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1802
	end
1803
	SND:remove()
1804
	SND2:remove()
1805
    text.Text = "wanTH092"
1806
	ATTACK = false
1807
	Rooted = false
1808
end
1809
1810
function Mornin_Star()
1811
    ATTACK = true
1812
    Rooted = true
1813
    text.Text = "Gud-"
1814
    for i=0, 2, 0.1 / Animation_Speed do
1815
        Swait()
1816
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1817
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1818
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1819
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1820
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1821
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1822
    end
1823
    coroutine.resume(coroutine.create(function()
1824
	    text.Text = "Mornin.."
1825
        local POS = Mouse.Hit.p
1826
        local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Deep orange", "Strike", VT(0,2000,0))
1827
        MakeForm(RAY,"Cyl")
1828
        local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "CGA orange", "Strike", VT(0,0,0))
1829
        MakeForm(SPHERE,"Ball")
1830
        local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Strike", VT(0,0,0))
1831
        MakeForm(SHIELD,"Ball")
1832
        SHIELD.CFrame = CF(POS)
1833
        RAY.CFrame = CF(POS)
1834
        SPHERE.CFrame = CF(POS)
1835
        CreateSound(440145570, SPHERE, 10, 0.8, false)
1836
        CreateSound(415700134, SPHERE, 10, 0.8, false)
1837
        for i = 1, 200 do
1838
            Swait()
1839
            WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1840
            RAY.Size = RAY.Size + VT(0.05,0,0.05)
1841
            SPHERE.Size = SPHERE.Size + VT(2,2,2)
1842
            SHIELD.Size = SPHERE.Size + VT(3,3,3)
1843
            ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
1844
        end
1845
        for i = 1, 45 do
1846
            Swait()
1847
            RAY.Transparency = RAY.Transparency + 1/45
1848
            SPHERE.Transparency = RAY.Transparency
1849
            SHIELD.Transparency = SPHERE.Transparency + 1/45
1850
        end
1851
        RAY:remove()
1852
        SHIELD:remove()
1853
        SPHERE:remove()
1854
    end))
1855
    for i=0, 1, 0.1 / Animation_Speed do
1856
        Swait()
1857
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1858
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
1859
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-270), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1860
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1861
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1862
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1863
    end
1864
    text.Text = "wanTH092"
1865
    ATTACK = false
1866
    Rooted = false
1867
end
1868
1869
function Taunt2()
1870
	ATTACK = true
1871
	Rooted = true
1872
	text.Text = "I don't have all day.."
1873
	local TAUNT = CreateSound(159882303,Torso,10,1.07,false)
1874
	coroutine.resume(coroutine.create(function()
1875
		repeat
1876
			Swait()
1877
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1878
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1879
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(-90), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1880
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1881
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1882
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1883
		until ATTACK == false
1884
	end))
1885
	repeat wait() until TAUNT.Playing == false
1886
	text.Text = "wanTH092"
1887
	ATTACK = false
1888
	Rooted = false
1889
end
1890
1891
function Forget_Circle()
1892
	ATTACK = true
1893
	Rooted = true
1894
	text.Text = "Forget.."
1895
	for i=0, 1, 0.1 / Animation_Speed do
1896
		Swait()
1897
		MagicSphere(VT(65,2,65),15,RootPart.CFrame*CF(0,-3,0),"Deep orange",VT(0,0,0))
1898
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1899
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1900
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(185), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1901
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1902
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1903
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1904
	end
1905
	text.Text = "Crown!!"
1906
	CreateSound("588736245", RightArm, 8, 1)
1907
	for i=0, 1, 0.1 / Animation_Speed do
1908
		Swait()
1909
		MagicSphere(VT(65,2,65),15,RootPart.CFrame*CF(0,-3,0),"Deep orange",VT(0,0,0))
1910
		AoEDamage(RootPart.CFrame*CF(0,-3,0).p,35,5,8,5,2,2)
1911
		CreateCrown(VT(62,0,62),15,RootPart.CFrame*CF(0,-3,0),true,4,"Deep orange",VT(0,12,0))
1912
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
1913
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.8 / Animation_Speed)
1914
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
1915
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1916
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.8 / Animation_Speed)
1917
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.8 / Animation_Speed)
1918
	end
1919
	text.Text = "wanTH092"
1920
	ATTACK = false
1921
	Rooted = false
1922
end
1923
1924
function AfterLife_Rain()
1925
	ATTACK = true
1926
	Rooted = true
1927
	text.Text = "AfterLife.."
1928
	for i=0, 0.6, 0.1 / Animation_Speed do
1929
		Swait()
1930
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1931
RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1932
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1933
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1934
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
1935
	end
1936
	local DONE = false
1937
	local GATE = nil
1938
	local GATESPIN = true
1939
	coroutine.resume(coroutine.create(function()
1940
		repeat
1941
			Swait()
1942
			if GATE ~= nil then
1943
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
1944
			end
1945
		until GATESPIN == false
1946
	end))
1947
	coroutine.resume(coroutine.create(function()
1948
		repeat
1949
			Swait()
1950
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1951
RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1952
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1953
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1954
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3, 0.75, -0.5) * ANGLES(RAD(0), RAD(-180), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
1955
		until DONE == true
1956
		Swait(10)
1957
		for i = 1, 75 do
1958
			Swait(1.5)
1959
			local FIRED = false
1960
			local CHILDREN = workspace:GetDescendants()
1961
			for index, CHILD in pairs(CHILDREN) do
1962
				if CHILD.ClassName == "Model" and CHILD ~= Character then
1963
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1964
					if HUM then
1965
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1966
						if TORSO then
1967
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
1968
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
1969
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
1970
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 3})
1971
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1972
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
1973
								Kill(CHILD)
1974
								FIRED = true
1975
								break
1976
							end
1977
						end
1978
					end
1979
				end
1980
			end
1981
			if FIRED == false then
1982
				local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
1983
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
1984
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1985
				SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
1986
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
1987
				if HITBOD ~= nil then
1988
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
1989
						Kill(HITBOD.Parent)
1990
					end
1991
				end
1992
			end
1993
		end
1994
		for i = 1, 45 do
1995
			Swait()
1996
			GATE.Size = GATE.Size - VT(3,0,3)
1997
		end
1998
		GATESPIN = false
1999
		GATE:remove()
2000
		end))
2001
		text.Text = "Rain!!"
2002
	Swait(5)
2003
	local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p, (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 15, Character)
2004
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
2005
	local DECAL = IT("Decal",GATE)
2006
	DECAL.Texture = "http://www.roblox.com/asset/?id=0"
2007
	DECAL.Face = "Top"
2008
	GATE.CFrame = CF(HITPOS)
2009
	CreateSound(160772554, GATE, 4, 1.3, false)
2010
	for i = 1, 45 do
2011
		Swait()
2012
		GATE.Size = GATE.Size + VT(3,0,3)
2013
	end
2014
	CreateSound(213603013, RightBarrel, 6, 1, false)
2015
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightBarrel.CFrame*CF(0,2.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2016
	text.Text = "wanTH092"
2017
	ATTACK = false
2018
	Rooted = false
2019
	DONE = true
2020
end
2021
2022
function Spirital_Wall()
2023
	text.Text = "Yaa!!"
2024
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
2025
	if HITFLOOR ~= nil then
2026
		if HITFLOOR.Anchored == true then
2027
			local WALL = HITFLOOR:Clone()
2028
			WALL.Size = VT(45,45,5)
2029
			WALL.Parent = Effects
2030
			WALL.Name = "Wall"
2031
			WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
2032
			CreateSound(130972023,WALL,5,0.8,false)
2033
			ATTACK = true
2034
			Rooted = true
2035
			local HIT = WALL.Touched:Connect(function(hit)
2036
				if hit.Parent ~= Character then
2037
					hit:BreakJoints()
2038
				end
2039
			end)
2040
			coroutine.resume(coroutine.create(function()
2041
				WACKYEFFECT({Time = 35, EffectType = "Box", Size = WALL.Size, Size2 = WALL.Size*2, Transparency = 0, Transparency2 = 1, CFrame = WALL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2042
				for i = 1, 90 do
2043
					Swait()
2044
					WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
2045
				end
2046
				HIT:disconnect()
2047
				wait(5)
2048
				for i = 1, 46 do
2049
					Swait()
2050
					WALL.CFrame = WALL.CFrame*CF(0,-1,0)
2051
				end
2052
				WALL:remove()
2053
			end))
2054
			Pose("RightArmUp",1.5,1.2,true)
2055
			text.Text = "wanTH092"
2056
			ATTACK = false
2057
			Rooted = false
2058
		end
2059
	end
2060
end
2061
2062
function FoxRampage()
2063
	ATTACK = true
2064
	Rooted = false
2065
	text.Text = "FoxRampage!!!"
2066
	for i = 0, 2, 0.1 / Animation_Speed do
2067
		Swait()
2068
		turnto(Mouse.Hit.p)
2069
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2070
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2071
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2072
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2073
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2074
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2075
	end
2076
	local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
2077
	repeat
2078
		Swait()
2079
		HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
2080
	until HITFLOOR ~= nil
2081
	CreateSound("238353911", RightBarrel, 10, MRANDOM(9, 11) / 10)
2082
	local SOUND = CreateSound("415700134", Effects, 10, 1.6)
2083
	CreateSound("138677306", Effects, 7, 1.2)
2084
	coroutine.resume(coroutine.create(function()
2085
		local CFRAME = RootPart.CFrame * CF(0, -1.2, -3)
2086
		local SIZE = 1
2087
		while true do
2088
			text.Text = "wanTH092"
2089
			Swait()
2090
			for i = 1, 2 do
2091
				MagicSphere(VT(SIZE / 5, SIZE / 5, SIZE * 2), 65, CF(CFRAME * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, CFRAME.p), "Deep orange", VT(0.001, 0.001, 0), 0.5)
2092
			end
2093
			do
2094
				local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
2095
				Part.CFrame = CFRAME * CF(SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
2096
				coroutine.resume(coroutine.create(function()
2097
					Swait(200)
2098
					Part.Anchored = false
2099
				end))
2100
				local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
2101
				Part.CFrame = CFRAME * CF(-SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
2102
				coroutine.resume(coroutine.create(function()
2103
					Swait(200)
2104
					Part.Anchored = false
2105
				end))
2106
				MagicSphere(VT(SIZE, SIZE, SIZE), 75, CFRAME, "Deep orange", VT(-SIZE / 75, -SIZE / 75, -SIZE / 75))
2107
				killnearest(CFRAME.p, SIZE, 0)
2108
				SIZE = SIZE + 2
2109
				CFRAME = CFRAME * CF(0, 0, -2)
2110
				if SOUND.Playing == false then
2111
					break
2112
				end
2113
			end
2114
		end
2115
	end))
2116
	MagicSphere(VT(0.1, 0.1, 0.1), 45, RightBarrel.CFrame, "Deep orange", VT(0.1, 5, 0.1))
2117
	MagicSphere(VT(0.1, 0.1, 0.1), 45, RightBarrel.CFrame, "Deep orange", VT(0.05, 5, 0.05))
2118
	for i = 0, 3, 0.1 / Animation_Speed do
2119
		Swait()
2120
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2121
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2122
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(85), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2123
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2124
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2125
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2126
	end
2127
	ATTACK = false
2128
	Rooted = false
2129
end
2130
2131
--//=================================\\
2132
--||	  ASSIGN THINGS TO KEYS
2133
--\\=================================//
2134
2135
function MouseDown(Mouse)
2136
	HOLD = true
2137
	if ATTACK == false then
2138
	end
2139
end
2140
2141
function MouseUp(Mouse)
2142
HOLD = false
2143
end
2144
2145
function KeyDown(Key)
2146
	KEYHOLD = true
2147
	if Key == "z" and ATTACK == false then
2148
		MagicMissiles()
2149
	end
2150
2151
	if Key == "b" and ATTACK == false then
2152
		TimesUp()
2153
	end
2154
2155
	if Key == "c" and ATTACK == false then
2156
		ChainPunch()
2157
	end
2158
2159
	if Key == "q" and ATTACK == false then
2160
		TimeSweep()
2161
	end
2162
2163
	if Key == "e" and ATTACK == false then
2164
		Reminder_Circle()
2165
	end
2166
	
2167
	if Key == "v" and ATTACK == false then
2168
		Spirital_Wall()
2169
	end
2170
	
2171
	if Key == "r" and ATTACK == false then
2172
		Forget_Circle()
2173
	end
2174
2175
	if Key == "x" and ATTACK == false then
2176
		Mornin_Star()
2177
	end
2178
	
2179
	if Key == "g" and ATTACK == false then
2180
		FoxRampage()
2181
	end
2182
	
2183
	if Key == "f" and ATTACK == false then
2184
		AfterLife_Rain()
2185
	end
2186
2187
	if Key == "1" and ATTACK == false then
2188
		Taunt1()
2189
    end
2190
	if Key == "2" and ATTACK == false then
2191
		Taunt2()
2192
	end
2193
end
2194
2195
function KeyUp(Key)
2196
	KEYHOLD = false
2197
end
2198
2199
	Mouse.Button1Down:connect(function(NEWKEY)
2200
		MouseDown(NEWKEY)
2201
	end)
2202
	Mouse.Button1Up:connect(function(NEWKEY)
2203
		MouseUp(NEWKEY)
2204
	end)
2205
	Mouse.KeyDown:connect(function(NEWKEY)
2206
		KeyDown(NEWKEY)
2207
	end)
2208
	Mouse.KeyUp:connect(function(NEWKEY)
2209
		KeyUp(NEWKEY)
2210
	end)
2211
2212
--//=================================\\
2213
--\\=================================//
2214
2215
2216
function unanchor()
2217
	if UNANCHOR == true then
2218
		RootPart.Anchored = false
2219
	end
2220
	g = Character:GetChildren()
2221
	for i = 1, #g do
2222
		if g[i].ClassName == "Part" and g[i] ~= RootPart then
2223
			g[i].Anchored = false
2224
		end
2225
	end
2226
	g = Weapon:GetChildren()
2227
	for i = 1, #g do
2228
		if g[i].ClassName == "Part" then
2229
			g[i].Anchored = false
2230
		end
2231
	end
2232
end
2233
2234
2235
--//=================================\\
2236
--||	WRAP THE WHOLE SCRIPT UP
2237
--\\=================================//
2238
2239
Humanoid.Changed:connect(function(Jump)
2240
	if Jump == "Jump" and (Disable_Jump == true) then
2241
		Humanoid.Jump = false
2242
	end
2243
end)
2244
2245
while true do
2246
	Swait()
2247
	script.Parent = WEAPONGUI
2248
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2249
	    v:Stop();
2250
	end
2251
	ANIMATE.Parent = nil
2252
	SINE = SINE + CHANGE*1.5
2253
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2254
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2255
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
2256
	local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
2257
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2258
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2259
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2260
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2261
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2262
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2263
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2264
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2265
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2266
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2267
	end
2268
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2269
		ANIM = "Jump"
2270
		if ATTACK == false then
2271
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2272
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2273
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2274
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2275
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
2276
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
2277
	    end
2278
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2279
		ANIM = "Fall"
2280
		if ATTACK == false then
2281
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2282
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2283
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2284
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2285
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
2286
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
2287
		end
2288
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2289
		ANIM = "Idle"
2290
		if ATTACK == false then
2291
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2292
		    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2293
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-5), RAD(25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2294
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2295
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2296
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2297
		end
2298
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2299
		ANIM = "Walk"
2300
		if ATTACK == false then
2301
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2302
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
2303
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-5), RAD(25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2304
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2305
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2306
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2307
		end
2308
	end
2309
	unanchor()
2310
	Humanoid.MaxHealth = "inf"
2311
	Humanoid.Health = "inf"
2312
	if Rooted == false then
2313
		Disable_Jump = false
2314
		Humanoid.WalkSpeed = Speed
2315
	elseif Rooted == true then
2316
		Disable_Jump = true
2317
		Humanoid.WalkSpeed = 0
2318
	end
2319
	for _, c in pairs(Character:GetChildren()) do
2320
		if c.ClassName == "Part" and c.Name ~= "Detail" then
2321
			c.Material = "Fabric"
2322
			if c:FindFirstChildOfClass("ParticleEmitter") then
2323
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2324
			end
2325
			if c ~= Head then
2326
				c.Color = C3(255/255,204/255,153/255)
2327
			else
2328
				c.Color = C3(255/255, 204/255, 153/255)
2329
			end
2330
			if c == Head then
2331
				if c:FindFirstChild("face") then
2332
					c.face.Texture = "rbxassetid://31117192"
2333
				end
2334
			end
2335
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2336
			c:remove()
2337
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
2338
			c:remove()
2339
		end
2340
	end
2341
	sick.SoundId = "rbxassetid://"..SONG
2342
	sick.Looped = true
2343
	sick.Pitch = 1
2344
	sick.Volume = 1.5
2345
	sick.Parent = Torso
2346
	sick:Resume()
2347
	--sick.Playing = false
2348
	Humanoid.Name = "wanTH092 = "..Player.Name
2349
end
2350
2351
--//=================================\\
2352
--\\=================================//
2353
2354
2355
2356
2357
2358
--//====================================================\\--
2359
--||			  		 END OF SCRIPT
2360
--\\====================================================//--