View difference between Paste ID: gh1GSLjx and 8EzFfUxh
SHOW: | | - or go back to the newest paste.
1-
-----------//INFLUX\\-----------
1+
2-
--[[Movelist
2+
3-
Mouseclick = 3 attacks
3+
4-
Attack 1 = Basic swipe
4+
5-
Attack 2 = Lunge
5+
6-
Attack 3 = Whirlwind
6+
7-
E = Waterball
7+
8-
R = Orbital Cannon(WILL CAUSE LAG AND ANNIHILATES ALMOST EVERYTHING!, DO THIS IN PLACE 2 TO PREVENT BANS!!!)
8+
9-
---------]]
9+
10
			Bind.Event:connect(Func)
11-
--Whoever thought it was funny to decompile my best work and leak it deserves to get shot in his leg.--
11+
12-
--I've seen alot of scripters quit lately, i won't be one of them though, i still find enjoyment out of scripting.--
12+
13-
--Influx! Yes the brother of Reflux! Even though it's alot smaller than Reflux... Stupid FE!--
13+
14
				if Index:lower() == "disconnect" then
15
					return function() Fake.Connections[Bind] = false;self.Connected = false end
16
				end
17
				return Fake[Index]
18
			end;
19
			__tostring = function() return "Connection" end;
20
		})
21
		end}
22
		Fake.connect = Fake.Connect;return Fake;
23
	end
24
	local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
25
	local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
26
	local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
27
		self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
28
	end};ContextActionService.UnBindAction = ContextActionService.BindAction
29
	local function TriggerEvent(self,Event,...)
30
		local Trigger = Mouse[Event]
31
		if Trigger and Trigger.fakeEvent and Trigger.Connections then
32
			for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
33
		end
34
	end
35
	Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
36
	Event.OnServerEvent:Connect(function(FiredBy,Input)
37
		if FiredBy.Name ~= owner.Name then return end
38
		if Input.MouseEvent then
39
			Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
40
		else
41
			local Begin = Input.UserInputState == Enum.UserInputState.Begin
42
			if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
43
			for _,Action in pairs(ContextActionService.Actions) do
44
				for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
45
			end
46
			Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
47
			UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
48
		end
49
	end)
50
	InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
51
	Event.Parent = NLS([[
52
		local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
53
		local Input = function(Input,gameProcessedEvent)
54
			if gameProcessedEvent then return end
55
			Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
56
		end
57
		UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
58
		local Hit,Target
59
		while wait(1/30) do
60
			if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
61
				Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
62
			end
63
		end
64
	]],owner.Character)
65
end
66
RealGame = game;game = setmetatable({},{
67
	__index = function (self,Index)
68
		local Sandbox = function (Thing)
69
			if Thing:IsA("Player") then
70
				local RealPlayer = Thing
71
				return setmetatable({},{
72
					__index = function (self,Index)
73
						local Type = type(RealPlayer[Index])
74
						if Type == "function" then
75
							if Index:lower() == "getmouse" or Index:lower() == "mouse" then
76
								return function (self)return InternalData["Mouse"] end
77
							end
78
							return function (self,...)return RealPlayer[Index](RealPlayer,...) end
79
						end
80
						return RealPlayer[Index]
81
					end;
82
					__tostring = function(self) return RealPlayer.Name end
83
				})
84
			end
85
		end
86
		if RealGame[Index] then
87
			local Type = type(RealGame[Index])
88
			if Type == "function" then
89
				if Index:lower() == "getservice" or Index:lower() == "service" then
90
					return function (self,Service)
91
						local FakeServices = {
92
							["players"] = function()
93
								return setmetatable({},{
94
									__index = function (self2,Index2)
95
										local RealService = RealGame:GetService(Service)
96
										local Type2 = type(Index2)
97
										if Type2 == "function" then
98
											return function (self,...) return RealService[Index2](RealService,...)end
99
										else
100
											if Index2:lower() == "localplayer" then return Sandbox(owner) end
101
											return RealService[Index2]
102
										end
103
									end;
104
									__tostring = function(self) return RealGame:GetService(Service).Name end
105
								})
106
							end;
107
							["contextactionservice"] = function() return InternalData["ContextActionService"] end;
108
							["userinputservice"] = function() return InternalData["UserInputService"] end;
109
							["runservice"] = function()
110
								return setmetatable({},{
111
									__index = function(self2,Index2)
112
										local RealService = RealGame:GetService(Service)
113
										local Type2 = type(Index2)
114
										if Type2 == "function" then
115
											return function (self,...) return RealService[Index2](RealService,...) end
116
										else
117
											local RunServices = {
118
												["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
119
												["renderstepped"] = function() return RealService["Stepped"] end
120
											}
121
											if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
122
											return RealService[Index2]
123
										end
124
									end
125
								})
126
							end
127
						}
128
						if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
129
						return RealGame:GetService(Service)
130
					end
131
				end
132
				return function (self,...) return RealGame[Index](RealGame,...) end
133
			else
134
				if game:GetService(Index) then return game:GetService(Index) end
135
				return RealGame[Index]
136
			end
137
		end
138
		return nil
139
	end
140
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
141
142
--//====================================================\\--
143
--||             HopeLess (Switcher v.2 or v.3?)
144
--||	CREATED BY SHACKLUSTER EDIT BY WANTH092
145
--\\====================================================//--
146
warn "Everything are inserted by me ONLY but there are original idea from those peep"
147
warn "Original Injustice by KillerZTH_1596"
148
print "Original HopeLess( by wanTH092"
149
warn "Original Voided by wanTH092/Kermat"
150
print "Original Superior by wanTH092/KillerZTH_1596"
151
warn "Original TomYum_Pandora by nameclan"
152
print "and of course Big credit to Shackluster for attack and mostly Stuff!!"
153
wait(0.2)
154
155
Player = game:GetService("Players").LocalPlayer
156-
Player=game.Players.LocalPlayer
156+
PlayerGui = Player.PlayerGui
157-
Character=Player.Character
157+
Cam = workspace.CurrentCamera
158-
Character.Humanoid.Name = "noneofurbusiness"
158+
Backpack = Player.Backpack
159-
hum = Character.noneofurbusiness
159+
Character = Player.Character
160-
LeftArm=Character["Left Arm"]
160+
Humanoid = Character.Humanoid
161-
LeftLeg=Character["Left Leg"]
161+
Mouse = Player:GetMouse()
162-
RightArm=Character["Right Arm"]
162+
RootPart = Character["HumanoidRootPart"]
163-
RightLeg=Character["Right Leg"]
163+
Torso = Character["Torso"]
164-
Root=Character["HumanoidRootPart"]
164+
Head = Character["Head"]
165-
Head=Character["Head"]
165+
RightArm = Character["Right Arm"]
166-
Torso=Character["Torso"]
166+
LeftArm = Character["Left Arm"]
167-
Neck=Torso["Neck"]
167+
RightLeg = Character["Right Leg"]
168-
mouse = Player:GetMouse()
168+
LeftLeg = Character["Left Leg"]
169-
walking = false
169+
RootJoint = RootPart["RootJoint"]
170-
hitdebounce = false
170+
Neck = Torso["Neck"]
171-
debounce = false
171+
RightShoulder = Torso["Right Shoulder"]
172-
jumping = false
172+
LeftShoulder = Torso["Left Shoulder"]
173-
attacking = false
173+
RightHip = Torso["Right Hip"]
174-
firsttime = false
174+
LeftHip = Torso["Left Hip"]
175-
tauntdebounce = false
175+
Character.Archivable = true
176-
position = nil
176+
Player:ClearCharacterAppearance()
177-
MseGuide = true
177+
178-
running = false
178+
IT = Instance.new
179-
settime = 0
179+
CF = CFrame.new
180-
sine = 0
180+
VT = Vector3.new
181-
t = 0
181+
RAD = math.rad
182-
throwballv = false
182+
C3 = Color3.new
183-
ws = 18
183+
UD2 = UDim2.new
184-
change = 1
184+
BRICKC = BrickColor.new
185-
wtr1 = false
185+
ANGLES = CFrame.Angles
186-
combo1 = true
186+
EULER = CFrame.fromEulerAnglesXYZ
187-
equip = false
187+
COS = math.cos
188-
dgs = 75
188+
ACOS = math.acos
189-
combo2 = false
189+
SIN = math.sin
190-
switch1 = true
190+
ASIN = math.asin
191-
switch2 = false
191+
ABS = math.abs
192-
firsttime2 = false
192+
MRANDOM = math.random
193-
combo3 = false
193+
FLOOR = math.floor
194-
gunallowance = false
194+
195-
orbitalcannon = false
195+
--//=================================\\
196-
shooting = false
196+
--|| 	      USEFUL VALUES
197-
RunSrv = game:GetService("RunService")
197+
--\\=================================//
198-
RenderStepped = game:GetService("RunService").RenderStepped
198+
199-
removeuseless = game:GetService("Debris")
199+
Animation_Speed = 3
200
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
201-
screenGui = Instance.new("ScreenGui")
201+
local Speed = 16
202-
screenGui.Parent = script.Parent
202+
local SIZE = 1.4
203
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
204-
local HEADLERP = Instance.new("ManualWeld")
204+
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
205-
HEADLERP.Parent = Head
205+
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
206-
HEADLERP.Part0 = Head
206+
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
207-
HEADLERP.Part1 = Head
207+
local DAMAGEMULTIPLIER = 1
208-
HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
208+
local ANIM = "Idle"
209
local ATTACK = false
210-
local TORSOLERP = Instance.new("ManualWeld")
210+
local EQUIPPED = false
211-
TORSOLERP.Parent = Root
211+
local HOLD = false
212-
TORSOLERP.Part0 = Torso
212+
local COMBO = 1
213-
TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
213+
local Rooted = false
214
local SINE = 0
215-
local ROOTLERP = Instance.new("ManualWeld")
215+
local KEYHOLD = false
216-
ROOTLERP.Parent = Root
216+
local CHANGE = 2 / Animation_Speed
217-
ROOTLERP.Part0 = Root
217+
local WALKINGANIM = false
218-
ROOTLERP.Part1 = Torso
218+
local VALUE1 = false
219-
ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
219+
local VALUE2 = false
220
local ROBLOXIDLEANIMATION = IT("Animation")
221-
local RIGHTARMLERP = Instance.new("ManualWeld")
221+
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
222-
RIGHTARMLERP.Parent = RightArm
222+
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
223-
RIGHTARMLERP.Part0 = RightArm
223+
local ATANIM = IT("Animation")
224-
RIGHTARMLERP.Part1 = Torso
224+
ATANIM.Name = "Attack Animation"
225-
RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
225+
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
226
--ROBLOXIDLEANIMATION.Parent = Humanoid
227-
local LEFTARMLERP = Instance.new("ManualWeld")
227+
local WEAPONGUI = IT("ScreenGui", PlayerGui)
228-
LEFTARMLERP.Parent = LeftArm
228+
WEAPONGUI.Name = "Weapon GUI"
229-
LEFTARMLERP.Part0 = LeftArm
229+
local Weapon = IT("Model")
230-
LEFTARMLERP.Part1 = Torso
230+
Weapon.Name = "Adds"
231-
LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
231+
local Effects = IT("Folder", Weapon)
232
Effects.Name = "Effects"
233-
local RIGHTLEGLERP = Instance.new("ManualWeld")
233+
local LostHope = IT("Model")
234-
RIGHTLEGLERP.Parent = RightLeg
234+
LostHope.Name = "Adds"
235-
RIGHTLEGLERP.Part0 = RightLeg
235+
local Superior = IT("Model")
236-
RIGHTLEGLERP.Part1 = Torso
236+
Superior.Name = "Adds"
237-
RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
237+
local Injustice = IT("Model")
238
Injustice.Name = "Adds"
239-
local LEFTLEGLERP = Instance.new("ManualWeld")
239+
local InjusticeGun = IT("Model")
240-
LEFTLEGLERP.Parent = LeftLeg
240+
InjusticeGun.Name = "Adds"
241-
LEFTLEGLERP.Part0 = LeftLeg
241+
local InjusticeGun2 = IT("Model")
242-
LEFTLEGLERP.Part1 = Torso
242+
InjusticeGun2.Name = "Adds"
243-
LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
243+
local Voided = IT("Model")
244
Voided.Name = "Adds"
245-
local function weldBetween(a, b)
245+
local TomYum = IT("Model")
246-
    local weld = Instance.new("ManualWeld", a)
246+
TomYum.Name = "Adds"
247-
    weld.Part0 = a
247+
local BlackMask = IT("Model")
248-
    weld.Part1 = b
248+
BlackMask.Name = "Adds"
249-
    weld.C0 = a.CFrame:inverse() * b.CFrame
249+
local ANIMATOR = Humanoid.Animator
250-
    return weld
250+
local ANIMATE = Character.Animate
251
local UNANCHOR = true
252
local CLOCKLOOP = 0
253-
leftlocation = Instance.new("Part",LeftArm)
253+
local SONG = 1382488262
254-
leftlocation.Size = Vector3.new(1,1,1)
254+
local CLOCKTARGET = nil
255-
leftlocation.Transparency = 1
255+
local CLOCKSPEED = 0
256-
leftlocationweld = weldBetween(leftlocation,LeftArm)
256+
script.Parent = WEAPONGUI
257-
leftlocation.Name = "leftloc"
257+
local CLONE = Character:Clone()
258-
leftlocationweld.C0 = CFrame.new(0,1.2,0)
258+
CLONE.Parent = nil
259
Character.Archivable = false
260-
function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
260+
local sick = Instance.new("Sound",Torso)
261-
A = Instance.new("Attachment", PARENT)
261+
local MODE = "Main"
262-
A.Position = POSITION1
262+
local HeadColor = C3(1,1,1)
263-
A.Name = "A"
263+
local BodyColor = C3(0,0,0)
264-
B = Instance.new("Attachment", PARENT)
264+
local VOLUME = 4
265-
B.Position = POSITION2
265+
local PITCH = 1
266-
B.Name = "B"
266+
local HITFLOOR = nil
267-
tr1 = Instance.new("Trail", PARENT)
267+
local INTRO = false
268-
tr1.Attachment0 = A
268+
local INSTANT = false
269-
tr1.Attachment1 = B
269+
270-
tr1.Enabled = true
270+
--//=================================\\
271-
tr1.Lifetime = LIFETIME
271+
--//       MAKHAIL07 STUFF
272-
tr1.TextureMode = "Static"
272+
--\\=================================//
273-
tr1.LightInfluence = 0
273+
274-
tr1.Color = COLOR
274+
local plr = game:service'Players'.LocalPlayer
275-
tr1.Transparency = NumberSequence.new(0, 1)
275+
local char = plr.Character
276
local hum = char.Humanoid
277
local mouse = plr:GetMouse()
278-
shirt = Instance.new("Shirt", Character)
278+
279-
shirt.Name = "Shirt"
279+
-------------------------------------------------------
280-
pants = Instance.new("Pants", Character)
280+
--Start Good Stuff--
281-
pants.Name = "Pants"
281+
-------------------------------------------------------
282-
Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1591925990"
282+
cam = game.Workspace.CurrentCamera
283-
Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1819336634"
283+
CF = CFrame.new
284
angles = CFrame.Angles
285-
skull = Instance.new("Part",Character)
285+
attack = false
286-
skull.Size = Vector3.new(2,2,2)
286+
Euler = CFrame.fromEulerAnglesXYZ
287-
skull.CFrame = Head.CFrame
287+
Rad = math.rad
288-
skull.CanCollide = false
288+
IT = Instance.new
289-
skullweld = Instance.new("Weld",skull)
289+
BrickC = BrickColor.new
290-
skullweld.Part0 = skull
290+
Cos = math.cos
291-
skullweld.Part1 = Head
291+
Acos = math.acos
292-
skullweld.C0 = skull.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.39,0)
292+
Sin = math.sin
293-
mskull = Instance.new("SpecialMesh", skull)
293+
Asin = math.asin
294-
mskull.MeshType = "FileMesh"
294+
Abs = math.abs
295-
mskull.Scale = Vector3.new(1.25, 1.25, 1.25)
295+
Mrandom = math.random
296-
mskull.VertexColor = Vector3.new(0,0,25)
296+
Floor = math.floor
297-
mskull.MeshId,mskull.TextureId = 'http://www.roblox.com/asset/?id=116524125','http://www.roblox.com/asset/?id=116524213'
297+
298
--//=================================\\
299-
johndoe = Instance.new("Part",Head)
299+
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
300-
johndoe.Shape = "Ball"
300+
--\\=================================//
301-
johndoe.Material = "Neon"
301+
302-
johndoe.BrickColor = BrickColor.new("Cyan")
302+
303-
johndoe.Size = Vector3.new(1.68,1.68,1.68)
303+
ArtificialHB.Name = "ArtificialHB"
304-
johndoeweld = weldBetween(johndoe,Head)
304+
305-
johndoeweld.C0 = CFrame.new(0,-.15,.1)
305+
script:WaitForChild("ArtificialHB")
306
307-
seacutlass = Instance.new("Part",Character)
307+
frame = Frame_Speed
308-
seacutlass.Size = Vector3.new(2,2,2)
308+
309-
seacutlass.CFrame = RightArm.CFrame
309+
310-
seacutlass.CanCollide = false
310+
311-
seacutlassweld = Instance.new("Weld",seacutlass)
311+
312-
seacutlassweld.Part0 = seacutlass
312+
script.ArtificialHB:Fire()
313-
seacutlassweld.Part1 = RightArm
313+
314-
seacutlassweld.C0 = seacutlass.CFrame:inverse() * RightArm.CFrame * CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45)) 
314+
315-
mseacutlass = Instance.new("SpecialMesh", seacutlass)
315+
316-
mseacutlass.MeshType = "FileMesh"
316+
317-
mseacutlass.Scale = Vector3.new(1, 1, 1)
317+
318-
mseacutlass.MeshId,mseacutlass.TextureId = 'http://www.roblox.com/asset/?id=155403991','http://www.roblox.com/asset/?id=155403949'
318+
			script.ArtificialHB:Fire()
319
			lastframe = tick()
320-
hitbox = Instance.new("Part",seacutlass)
320+
321-
hitbox.Size = Vector3.new(1,4,1)
321+
322-
hitbox.CanCollide = false
322+
				script.ArtificialHB:Fire()
323-
hitbox.Transparency = 1
323+
324-
hitboxweld = weldBetween(hitbox,seacutlass)
324+
		lastframe = tick()
325-
hitboxweld.C0 = CFrame.new(0,-1,.25) * CFrame.Angles(math.rad(40),0,0)
325+
326
		if tossremainder then
327-
swordslash1 = Instance.new("Sound",seacutlass)
327+
328-
swordslash1.SoundId = "rbxassetid://553461718"
328+
329-
swordslash1.Volume = 4
329+
330-
swordslash1.Name = "swordslash1"
330+
331-
swordslash1.Pitch = 1
331+
332
end)
333-
swordslash2 = Instance.new("Sound",seacutlass)
333+
334-
swordslash2.SoundId = "rbxassetid://553461718"
334+
--//=================================\\
335-
swordslash2.Volume = 4
335+
--\\=================================//
336-
swordslash2.Name = "swordslash2"
336+
337-
swordslash2.Pitch = .85
337+
--//=================================\\
338
--|| 	      SOME FUNCTIONS
339-
swordslash3 = Instance.new("Sound",seacutlass)
339+
--\\=================================//
340-
swordslash3.SoundId = "rbxassetid://553461718"
340+
341-
swordslash3.Volume = 4
341+
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
342-
swordslash3.Name = "swordslash3"
342+
343-
swordslash3.Pitch = 1.15
343+
344
345-
seacutlass.ChildRemoved:connect(function(removed)
345+
function PositiveAngle(NUMBER)
346-
if removed.Name == "swordslash1" then
346+
	if NUMBER >= 0 then
347-
swordslash1 = Instance.new("Sound",seacutlass)
347+
		NUMBER = 0
348-
swordslash1.SoundId = "rbxassetid://553461718"
348+
349-
swordslash1.Name = "swordslash1"
349+
	return NUMBER
350-
swordslash1.Volume = 4
350+
351-
swordslash1.Pitch = 1
351+
352-
elseif removed.Name == "swordslash2" then
352+
function NegativeAngle(NUMBER)
353-
swordslash2 = Instance.new("Sound",seacutlass)
353+
	if NUMBER <= 0 then
354-
swordslash2.SoundId = "rbxassetid://553461718"
354+
		NUMBER = 0
355-
swordslash2.Volume = 4
355+
356-
swordslash2.Name = "swordslash2"
356+
	return NUMBER
357-
swordslash2.Pitch = .85
357+
358-
elseif removed.Name == "swordslash3" then
358+
359-
swordslash3 = Instance.new("Sound",seacutlass)
359+
function Swait(NUMBER)
360-
swordslash3.SoundId = "rbxassetid://553461718"
360+
	if NUMBER == 0 or NUMBER == nil then
361-
swordslash3.Volume = 4
361+
		ArtificialHB.Event:wait()
362-
swordslash3.Name = "swordslash3"
362+
363-
swordslash3.Pitch = 1.15
363+
		for i = 1, NUMBER do
364
			ArtificialHB.Event:wait()
365
		end
366
	end
367-
A = Instance.new("Attachment", seacutlass)
367+
368-
A.Position = Vector3.new(0,2.25,0)
368+
369-
A.Name = "A"
369+
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
370-
B = Instance.new("Attachment", seacutlass)
370+
	local NEWMESH = IT(MESH)
371-
B.Position = Vector3.new(0,-.50,0)
371+
	if MESH == "SpecialMesh" then
372-
B.Name = "B"
372+
		NEWMESH.MeshType = MESHTYPE
373-
tr1 = Instance.new("Trail", seacutlass)
373+
		if MESHID ~= "nil" and MESHID ~= "" then
374-
tr1.Attachment0 = A
374+
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
375-
tr1.Attachment1 = B
375+
376-
tr1.Enabled = false
376+
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
377-
tr1.Lifetime = 1
377+
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
378-
tr1.TextureMode = "Static"
378+
379-
tr1.LightInfluence = 0
379+
380-
tr1.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
380+
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
381-
tr1.Transparency = NumberSequence.new(0, 1)
381+
	NEWMESH.Scale = SCALE
382
	NEWMESH.Parent = PARENT
383-
coroutine.wrap(function()
383+
	return NEWMESH
384-
while wait() do
384+
385-
hum.WalkSpeed = ws
385+
386-
LeftArm.BrickColor = BrickColor.new("Really black")
386+
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
387-
RightArm.BrickColor = BrickColor.new("Really black")
387+
	local NEWPART = IT("Part")
388-
Head.BrickColor = BrickColor.new("Really black")
388+
	NEWPART.formFactor = FORMFACTOR
389
	NEWPART.Reflectance = REFLECTANCE
390-
end)()
390+
	NEWPART.Transparency = TRANSPARENCY
391-
godmode = coroutine.wrap(function()
391+
	NEWPART.CanCollide = false
392-
for i,v in pairs(Character:GetChildren()) do
392+
	NEWPART.Locked = true
393-
if v:IsA("BasePart") and v ~= Root then
393+
	NEWPART.Anchored = true
394-
v.Anchored = false
394+
	if ANCHOR == false then
395
		NEWPART.Anchored = false
396
	end
397
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
398-
hum.MaxHealth = math.huge
398+
	NEWPART.Name = NAME
399-
wait(0.0000001)
399+
	NEWPART.Size = SIZE
400-
hum.Health = math.huge
400+
	NEWPART.Position = Torso.Position
401-
wait()
401+
	NEWPART.Material = MATERIAL
402
	NEWPART:BreakJoints()
403
	NEWPART.Parent = PARENT
404-
godmode()
404+
	return NEWPART
405-
ff = Instance.new("ForceField", Character)
405+
406-
ff.Visible = false
406+
407
	local function weldBetween(a, b)
408-
coroutine.wrap(function()
408+
	    local weldd = Instance.new("ManualWeld")
409-
for i,v in pairs(Character:GetChildren()) do
409+
	    weldd.Part0 = a
410-
if v.Name == "Animate" then v:Remove()
410+
	    weldd.Part1 = b
411
	    weldd.C0 = CFrame.new()
412
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
413-
end)()
413+
	    weldd.Parent = a
414
	    return weldd
415-
function damagealll(Radius,Position)		
415+
416-
	local Returning = {}		
416+
417-
	for _,v in pairs(workspace:GetChildren()) do		
417+
418-
		if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
418+
function QuaternionFromCFrame(cf)
419-
if v:FindFirstChild("Torso") then		
419+
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
420-
			local Mag = (v.Torso.Position - Position).magnitude		
420+
	local trace = m00 + m11 + m22
421-
			if Mag < Radius then		
421+
	if trace > 0 then 
422-
				table.insert(Returning,v)		
422+
		local s = math.sqrt(1 + trace)
423
		local recip = 0.5 / s
424-
elseif v:FindFirstChild("UpperTorso") then	
424+
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
425-
			local Mag = (v.UpperTorso.Position - Position).magnitude		
425+
426-
			if Mag < Radius then		
426+
		local i = 0
427-
				table.insert(Returning,v)		
427+
		if m11 > m00 then
428
			i = 1
429-
end	
429+
430-
		end		
430+
		if m22 > (i == 0 and m00 or m11) then
431-
	end		
431+
			i = 2
432-
	return Returning		
432+
433
		if i == 0 then
434
			local s = math.sqrt(m00 - m11 - m22 + 1)
435
			local recip = 0.5 / s
436-
ArtificialHB.Name = "Heartbeat"
436+
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
437-
script:WaitForChild("Heartbeat")
437+
		elseif i == 1 then
438
			local s = math.sqrt(m11 - m22 - m00 + 1)
439-
frame = 1 / 60
439+
			local recip = 0.5 / s
440
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
441
		elseif i == 2 then
442
			local s = math.sqrt(m22 - m00 - m11 + 1)
443
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
444
		end
445
	end
446-
script.Heartbeat:Fire()
446+
447
 
448
function QuaternionToCFrame(px, py, pz, x, y, z, w)
449
	local xs, ys, zs = x + x, y + y, z + z
450
	local wx, wy, wz = w * xs, w * ys, w * zs
451
	local xx = x * xs
452
	local xy = x * ys
453-
			script.Heartbeat:Fire()
453+
	local xz = x * zs
454
	local yy = y * ys
455
	local yz = y * zs
456
	local zz = z * zs
457-
				script.Heartbeat:Fire()
457+
	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))
458
end
459
 
460
function QuaternionSlerp(a, b, t)
461
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
462
	local startInterp, finishInterp;
463
	if cosTheta >= 0.0001 then
464
		if (1 - cosTheta) > 0.0001 then
465
			local theta = ACOS(cosTheta)
466
			local invSinTheta = 1 / SIN(theta)
467
			startInterp = SIN((1 - t) * theta) * invSinTheta
468
			finishInterp = SIN(t * theta) * invSinTheta
469-
function swait(num)
469+
470-
	if num == 0 or num == nil then
470+
			startInterp = 1 - t
471-
		game:service("RunService").Stepped:wait(0)
471+
			finishInterp = t
472
		end
473-
		for i = 0, num do
473+
474-
			game:service("RunService").Stepped:wait(0)
474+
		if (1 + cosTheta) > 0.0001 then
475
			local theta = ACOS(-cosTheta)
476
			local invSinTheta = 1 / SIN(theta)
477
			startInterp = SIN((t - 1) * theta) * invSinTheta
478
			finishInterp = SIN(t * theta) * invSinTheta
479-
doomtheme = Instance.new("Sound", Torso)
479+
480-
doomtheme.Volume = 3
480+
			startInterp = t - 1
481-
doomtheme.Name = "doomtheme"
481+
			finishInterp = t
482-
doomtheme.Looped = true
482+
483-
doomtheme.SoundId = "rbxassetid://2136330117"
483+
484-
doomtheme:Play()
484+
	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
485
end
486-
Torso.ChildRemoved:connect(function(removed)
486+
487-
if removed.Name == "doomtheme" then
487+
function Clerp(a, b, t)
488-
doomtheme = Instance.new("Sound", Torso)
488+
	local qa = {QuaternionFromCFrame(a)}
489-
doomtheme.Volume = 1
489+
	local qb = {QuaternionFromCFrame(b)}
490-
doomtheme.Name = "doomtheme"
490+
	local ax, ay, az = a.x, a.y, a.z
491-
doomtheme.Looped = true
491+
	local bx, by, bz = b.x, b.y, b.z
492-
doomtheme.SoundId = "rbxassetid://2136330117"
492+
	local _t = 1 - t
493-
doomtheme:Play()
493+
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
494
end
495
496
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
497-
for _,n in pairs(Character:GetChildren()) do
497+
	local frame = IT("Frame")
498-
if n:IsA("Accessory") then n:Remove() end
498+
	frame.BackgroundTransparency = TRANSPARENCY
499
	frame.BorderSizePixel = BORDERSIZEPIXEL
500-
for _,x in pairs(Character:GetChildren()) do
500+
	frame.Position = POSITION
501-
if x:IsA("Decal") then x:Remove() end
501+
	frame.Size = SIZE
502
	frame.BackgroundColor3 = COLOR
503
	frame.BorderColor3 = BORDERCOLOR
504-
function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
504+
	frame.Name = NAME
505-
so = Instance.new("Sound")
505+
	frame.Parent = PARENT
506-
so.Parent = PARENT
506+
	return frame
507-
so.SoundId = "rbxassetid://"..ID
507+
508-
so.Volume = VOL
508+
509-
so.Looped = LOOP
509+
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
510-
so:Play()
510+
	local label = IT("TextLabel")
511-
removeuseless:AddItem(so,REMOVE)
511+
	label.BackgroundTransparency = 1
512
	label.Size = UD2(1, 0, 1, 0)
513
	label.Position = UD2(0, 0, 0, 0)
514-
locpart = Instance.new("Part",Torso)
514+
	label.TextColor3 = TEXTCOLOR
515-
locpart.Size = Vector3.new(1.1,1.1,1.1)
515+
	label.TextStrokeTransparency = STROKETRANSPARENCY
516-
locpart.Transparency = 1
516+
	label.TextTransparency = TRANSPARENCY
517-
locpart.CanCollide = false
517+
	label.FontSize = TEXTFONTSIZE
518-
locweld = weldBetween(locpart,Torso)
518+
	label.Font = TEXTFONT
519
	label.BorderSizePixel = BORDERSIZEPIXEL
520-
circlepart = Instance.new("Part",Torso)
520+
	label.TextStrokeColor3 = C3(1,1,1)
521-
circlepart.Size = Vector3.new(1,1,1)
521+
	label.TextScaled = false
522-
circlepart.Transparency = 1
522+
	label.Text = TEXT
523-
circlepart.CanCollide = false
523+
	label.Name = NAME
524-
circlepart.Anchored = false
524+
	label.Parent = PARENT
525-
circlepart.Name = "c1"
525+
	return label
526-
circlepartweld = weldBetween(circlepart,locpart)
526+
527
528-
circlepart2 = Instance.new("Part",Torso)
528+
function NoOutlines(PART)
529-
circlepart2.Size = Vector3.new(1,1,1)
529+
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
530-
circlepart2.Transparency = 1
530+
531-
circlepart2.CanCollide = false
531+
532-
circlepart2.Anchored = false
532+
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
533-
circlepart2.Name = "c2"
533+
	local NEWWELD = IT(TYPE)
534-
circlepart2weld = weldBetween(circlepart2,locpart)
534+
	NEWWELD.Part0 = PART0
535
	NEWWELD.Part1 = PART1
536-
circlepart3 = Instance.new("Part",Torso)
536+
	NEWWELD.C0 = C0
537-
circlepart3.Size = Vector3.new(1,1,1)
537+
	NEWWELD.C1 = C1
538-
circlepart3.Transparency = 1
538+
	NEWWELD.Parent = PARENT
539-
circlepart3.CanCollide = false
539+
	return NEWWELD
540-
circlepart3.Anchored = false
540+
541-
circlepart3.Name = "c3"
541+
542-
circlepart3weld = weldBetween(circlepart3,locpart)
542+
local DECAL = IT("Decal")
543
function MakeRing()
544-
circlepart4 = Instance.new("Part",Torso)
544+
	local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
545-
circlepart4.Size = Vector3.new(1,1,1)
545+
	local MSH = IT("BlockMesh", RING)
546-
circlepart4.Transparency = 1
546+
	local TOP = DECAL:Clone()
547-
circlepart4.CanCollide = false
547+
	local BOTTOM = DECAL:Clone()
548-
circlepart4.Anchored = false
548+
	TOP.Parent = RING
549-
circlepart4.Name = "c4"
549+
	BOTTOM.Parent = RING
550-
circlepart4weld = weldBetween(circlepart4,locpart)
550+
	TOP.Face = "Top"
551
	BOTTOM.Face = "Bottom"
552-
A = Instance.new("Attachment", circlepart3)
552+
	TOP.Texture = "http://www.roblox.com/asset/?id=273474310"
553-
A.Position = Vector3.new(0,.05,0)
553+
	BOTTOM.Texture = "http://www.roblox.com/asset/?id=273474310"
554-
A.Name = "A"
554+
	local function REMOVE()
555-
B = Instance.new("Attachment", circlepart3)
555+
		coroutine.resume(coroutine.create(function()
556-
B.Position = Vector3.new(0,-.05,0)
556+
			local SIZE = MSH.Scale.X
557-
B.Name = "B"
557+
			for i = 1, 35 do
558-
trail = Instance.new("Trail", circlepart3)
558+
				Swait()
559-
trail.Attachment0 = A
559+
				MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
560-
trail.Attachment1 = B
560+
				TOP.Transparency = TOP.Transparency + 0.02857142857142857
561-
trail.Enabled = true
561+
				BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
562-
trail.Lifetime = 2.5
562+
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
563-
trail.TextureMode = "Static"
563+
564-
trail.LightInfluence = 0
564+
			RING:remove()
565-
trail.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
565+
		end))
566-
trail.Transparency = NumberSequence.new(0, 1)
566+
567
	return RING, MSH, REMOVE
568-
A2 = Instance.new("Attachment", circlepart4)
568+
569-
A2.Position = Vector3.new(0,.05,0)
569+
570-
A.Name = "A"
570+
local S = IT("Sound")
571-
B2 = Instance.new("Attachment", circlepart4)
571+
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
572-
B2.Position = Vector3.new(0,-.05,0)
572+
	local NEWSOUND = nil
573-
B.Name = "B"
573+
	coroutine.resume(coroutine.create(function()
574-
trail2 = Instance.new("Trail", circlepart4)
574+
		NEWSOUND = S:Clone()
575-
trail2.Attachment0 = A2
575+
		NEWSOUND.Parent = PARENT
576-
trail2.Attachment1 = B2
576+
		NEWSOUND.Volume = VOLUME
577-
trail2.Enabled = true
577+
		NEWSOUND.Pitch = PITCH
578-
trail2.Lifetime = 2.5
578+
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
579-
trail2.TextureMode = "Static"
579+
		NEWSOUND:play()
580-
trail2.LightInfluence = 0
580+
		if DOESLOOP == true then
581-
trail2.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
581+
			NEWSOUND.Looped = true
582-
trail2.Transparency = NumberSequence.new(0, 1)
582+
583
			repeat wait(1) until NEWSOUND.Playing == false
584
			NEWSOUND:remove()
585-
A = Instance.new("Attachment", circlepart)
585+
586-
A.Position = Vector3.new(0,.05,0)
586+
	end))
587-
A.Name = "A"
587+
	return NEWSOUND
588-
B = Instance.new("Attachment", circlepart)
588+
589-
B.Position = Vector3.new(0,-.05,0)
589+
590-
B.Name = "B"
590+
function CFrameFromTopBack(at, top, back)
591-
trail3 = Instance.new("Trail", circlepart)
591+
	local right = top:Cross(back)
592-
trail3.Attachment0 = A
592+
	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)
593-
trail3.Attachment1 = B
593+
594-
trail3.Enabled = true
594+
595-
trail3.Lifetime = 1
595+
--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})
596-
trail3.TextureMode = "Static"
596+
function WACKYEFFECT(Table)
597-
trail3.LightInfluence = 0
597+
	local TYPE = (Table.EffectType or "Sphere")
598-
trail3.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
598+
	local SIZE = (Table.Size or VT(1,1,1))
599-
trail3.Transparency = NumberSequence.new(0, 1)
599+
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
600
	local TRANSPARENCY = (Table.Transparency or 0)
601-
A2 = Instance.new("Attachment", circlepart2)
601+
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
602-
A2.Position = Vector3.new(0,.05,0)
602+
	local CFRAME = (Table.CFrame or Torso.CFrame)
603-
A.Name = "A"
603+
	local MOVEDIRECTION = (Table.MoveToPos or nil)
604-
B2 = Instance.new("Attachment", circlepart2)
604+
	local ROTATION1 = (Table.RotationX or 0)
605-
B2.Position = Vector3.new(0,-.05,0)
605+
	local ROTATION2 = (Table.RotationY or 0)
606-
B.Name = "B"
606+
	local ROTATION3 = (Table.RotationZ or 0)
607-
trail4 = Instance.new("Trail", circlepart2)
607+
	local MATERIAL = (Table.Material or "Neon")
608-
trail4.Attachment0 = A2
608+
	local COLOR = (Table.Color or C3(1,1,1))
609-
trail4.Attachment1 = B2
609+
	local TIME = (Table.Time or 45)
610-
trail4.Enabled = true
610+
	local SOUNDID = (Table.SoundID or nil)
611-
trail4.Lifetime = 1
611+
	local SOUNDPITCH = (Table.SoundPitch or nil)
612-
trail4.TextureMode = "Static"
612+
	local SOUNDVOLUME = (Table.SoundVolume or nil)
613-
trail4.LightInfluence = 0
613+
	coroutine.resume(coroutine.create(function()
614-
trail4.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
614+
		local PLAYSSOUND = false
615-
trail4.Transparency = NumberSequence.new(0, 1)
615+
		local SOUND = nil
616
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
617-
x = 0
617+
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
618-
g = 0
618+
			PLAYSSOUND = true
619-
range = 2.5
619+
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
620-
range2 = 5
620+
621
		EFFECT.Color = COLOR
622-
coroutine.wrap(function()
622+
		local MSH = nil
623
		if TYPE == "Sphere" then
624-
x = x + 2
624+
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
625-
g = g + 1
625+
		elseif TYPE == "Block" or TYPE == "Box" then
626-
swait()
626+
			MSH = IT("BlockMesh",EFFECT)
627-
circlepartweld.C0 = CFrame.new(range,0,0) * CFrame.Angles(math.rad(0),math.rad(x),math.rad(0))
627+
			MSH.Scale = SIZE
628-
circlepart2weld.C0 = CFrame.new(-range,0,0) * CFrame.Angles(math.rad(0),math.rad(x),math.rad(0))
628+
		elseif TYPE == "Wave" then
629-
circlepart3weld.C0 = CFrame.new(-range2,0,0) * CFrame.Angles(math.rad(0),math.rad(g),math.rad(0))
629+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
630-
circlepart4weld.C0 = CFrame.new(range2,0,0) * CFrame.Angles(math.rad(0),math.rad(g),math.rad(0))
630+
		elseif TYPE == "Ring" then
631
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
632-
end)()
632+
		elseif TYPE == "Slash" then
633
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
634-
wind = Instance.new("Part", Torso)
634+
		elseif TYPE == "Round Slash" then
635-
wind.BrickColor = BrickColor.new("Cyan")
635+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
636-
wind.Size = Vector3.new(5,5,5)
636+
		elseif TYPE == "Swirl" then
637-
wind.CanCollide = false
637+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
638-
wind.Anchored = true
638+
		elseif TYPE == "Skull" then
639-
wind.Name = "wind"
639+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
640-
wind.Transparency = .75
640+
		elseif TYPE == "Crystal" then
641-
wind.Material = "Neon"
641+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
642-
windmesh = Instance.new("SpecialMesh", wind)
642+
643-
windmesh.Scale = Vector3.new(.5,.8,.5)
643+
		if MSH ~= nil then
644-
windmesh.MeshId = "rbxassetid://168892432"
644+
			local MOVESPEED = nil
645-
n = 0
645+
			if MOVEDIRECTION ~= nil then
646
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
647
			end
648-
coroutine.wrap(function()
648+
			local GROWTH = SIZE - ENDSIZE
649
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
650-
swait()
650+
			if TYPE == "Block" then
651-
n = n + 3
651+
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
652-
wind.CFrame = Root.CFrame * CFrame.new(0,-1,-1.5) * CFrame.Angles(math.rad(0),math.rad(n),0)
652+
653
				EFFECT.CFrame = CFRAME
654-
end)()
654+
655-
coroutine.wrap(function()
655+
			for LOOP = 1, TIME+1 do
656
				Swait()
657-
swait()
657+
				MSH.Scale = MSH.Scale - GROWTH/TIME
658-
if spin then
658+
				if TYPE == "Wave" then
659-
trail.Enabled = true
659+
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
660-
trail2.Enabled = true
660+
661-
trail3.Enabled = true
661+
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
662-
trail4.Enabled = true
662+
				if TYPE == "Block" then
663-
while wind.Transparency > .75 do
663+
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
664-
if not spin then break end
664+
				else
665-
swait()
665+
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
666-
wind.Transparency = wind.Transparency - .025
666+
667
				if MOVEDIRECTION ~= nil then
668-
elseif not spin then
668+
					local ORI = EFFECT.Orientation
669-
trail.Enabled = false
669+
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
670-
trail2.Enabled = false
670+
					EFFECT.Orientation = ORI
671-
trail3.Enabled = false
671+
672-
trail4.Enabled = false
672+
673-
while wind.Transparency < 1 do
673+
			if PLAYSSOUND == false then
674-
if spin then break end
674+
				EFFECT:remove()
675-
swait()
675+
676-
wind.Transparency = wind.Transparency + .025
676+
				repeat wait(1) until SOUND.Playing == false
677
				EFFECT:remove()
678
			end
679
		else
680-
end)()
680+
			if PLAYSSOUND == false then
681
				EFFECT:remove()
682-
checks1 = coroutine.wrap(function() -------Checks
682+
683
				repeat Swait() until SOUND.Playing == false
684-
if Root.Velocity.y > 1 then
684+
				EFFECT:remove()
685-
position = "Jump"
685+
686-
elseif Root.Velocity.y < -1 then
686+
687-
position = "Falling"
687+
	end))
688-
elseif Root.Velocity.Magnitude < 2 then
688+
689-
position = "Idle"
689+
690-
elseif Root.Velocity.Magnitude < 20 then
690+
function MakeForm(PART,TYPE)
691-
position = "Walking"
691+
	if TYPE == "Cyl" then
692-
elseif Root.Velocity.Magnitude > 20 then
692+
		local MSH = IT("CylinderMesh",PART)
693-
position = "Running"
693+
	elseif TYPE == "Ball" then
694-
else
694+
		local MSH = IT("SpecialMesh",PART)
695
		MSH.MeshType = "Sphere"
696-
wait()
696+
	elseif TYPE == "Wedge" then
697
		local MSH = IT("SpecialMesh",PART)
698
		MSH.MeshType = "Wedge"
699-
checks1()
699+
700
end
701-
mouse.Button1Down:connect(function()
701+
702-
if debounce then return end
702+
Debris = game:GetService("Debris")
703-
debounce = true
703+
704-
attacking = true
704+
function CastProperRay(StartPos, EndPos, Distance, Ignore)
705-
spin = false
705+
	local DIRECTION = CF(StartPos,EndPos).lookVector
706-
if combo1 then
706+
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
707-
combo1 = false
707+
708-
combo3 = false
708+
709-
combo2 = true
709+
function turnto(position)
710-
ws = 12
710+
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
711-
g1 = Instance.new("BodyGyro", Root)
711+
712-
g1.D = 175
712+
713-
g1.P = 20000
713+
function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
714-
g1.MaxTorque = Vector3.new(0,9000,0)
714+
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
715-
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
715+
	local mesh = IT("SpecialMesh",wave)
716
	mesh.MeshType = "FileMesh"
717-
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
717+
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
718-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3)
718+
	mesh.Scale = SIZE
719-
seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1.5,1.5) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(240)),.3) 
719+
	mesh.Offset = VT(0,0,0)
720-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.3)
720+
	wave.CFrame = CFRAME
721-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(20),math.rad(5),math.rad(20)),.3)
721+
	coroutine.resume(coroutine.create(function(PART)
722-
swait()
722+
		for i = 1, WAIT do
723
			Swait()
724-
hitdebounce = false
724+
			mesh.Scale = mesh.Scale + GROW
725-
swordslash1:Play()
725+
			if DOESROT == true then
726-
tr1.Enabled = true
726+
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
727-
hitbox.Touched:connect(function(hit)
727+
728-
if hit.Parent:FindFirstChildOfClass("Humanoid") then
728+
			wave.Transparency = wave.Transparency + (0.5/WAIT)
729-
slachtoffer = hit.Parent:FindFirstChildOfClass("Humanoid")
729+
			if wave.Transparency > 0.99 then
730-
if slachtoffer.Parent.Name ~= Player.Name then
730+
				wave:remove()
731-
if hitdebounce then return end
731+
732-
hitdebounce = true
732+
733-
slachtoffer:TakeDamage(math.random(17,26))
733+
	end))
734
end
735
736
function MagicSphere2(SIZE,WAIT,CFRAME,COLOR,GROW)
737
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
738-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
738+
	local mesh = IT("SpecialMesh",wave)
739-
seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-2.2,1.4) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(200)),.15) 
739+
	mesh.MeshType = "Sphere"
740-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1.35,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.3)
740+
	mesh.Scale = SIZE
741-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(-20),math.rad(5),math.rad(20)),.3)
741+
	mesh.Offset = VT(0,0,0)
742-
swait()
742+
	wave.CFrame = CFRAME
743
	coroutine.resume(coroutine.create(function(PART)
744-
removeuseless:AddItem(g1,.01)
744+
		for i = 1, WAIT do
745-
tr1.Enabled = false
745+
			Swait()
746-
attacking = false
746+
			mesh.Scale = mesh.Scale + GROW
747-
hitdebounce = true
747+
			wave.Transparency = wave.Transparency + (1/WAIT)
748-
debounce = false
748+
			if wave.Transparency > 0.99 then
749-
spin = true
749+
				wave:remove()
750-
ws = 18
750+
751-
elseif combo2 then
751+
752-
combo3 = true
752+
	end))
753-
combo2 = false
753+
754-
combo1 = false
754+
755-
ws = 12
755+
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
756-
g1 = Instance.new("BodyGyro", Root)
756+
	if FLOOR ~= nil then
757-
g1.D = 175
757+
		coroutine.resume(coroutine.create(function()
758-
g1.P = 20000
758+
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
759-
g1.MaxTorque = Vector3.new(0,9000,0)
759+
			PART.CFrame = CF(POSITION)
760-
g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
760+
			for i = 1, 45 do
761
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
762-
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
762+
				RingPiece.Material = FLOOR.Material
763-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.3)
763+
				RingPiece.Color = FLOOR.Color
764-
seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1.8,2) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(-130)),.3) 
764+
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
765-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.3)
765+
				Debris:AddItem(RingPiece,SWAIT)
766-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(20),math.rad(5),math.rad(20)),.3)
766+
767-
swait()
767+
			PART:remove()
768
		end))
769-
hitdebounce = false
769+
770-
tr1.Enabled = true
770+
771-
swordslash2:Play()
771+
772-
hitbox.Touched:connect(function(hit)
772+
function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
773-
if hit.Parent:FindFirstChildOfClass("Humanoid") then
773+
	if FLOOR ~= nil then
774-
slachtoffer = hit.Parent:FindFirstChildOfClass("Humanoid")
774+
		for i = 1, AMOUNT do
775-
if slachtoffer.Parent.Name ~= Player.Name then
775+
			local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
776-
if hitdebounce then return end
776+
			DEBREE.Material = FLOOR.Material
777-
hitdebounce = true
777+
			DEBREE.Color = FLOOR.Color
778-
slachtoffer:TakeDamage(math.random(31,42))
778+
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
779
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
780
			coroutine.resume(coroutine.create(function()
781
				Swait(15)
782-
ws = 7
782+
				DEBREE.Parent = workspace
783
				DEBREE.CanCollide = true
784-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
784+
				Debris:AddItem(DEBREE,SWAIT)
785-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
785+
			end))
786-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3)
786+
787-
seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1.8,2) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(-130)),.3) 
787+
788-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.25,1.75,.5) * CFrame.Angles(math.rad(-90),math.rad(70),math.rad(0)), 0.3)
788+
789-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(20),math.rad(7),math.rad(12)),.3)
789+
790-
swait()
790+
function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
791
	local wave = CreatePart(3, Effects, "Neon", 0, 0.9, BRICKC(COLOR), "Effect", VT(1,1,1), true)
792-
removeuseless:AddItem(g1,.01)
792+
	local mesh = IT("SpecialMesh",wave)
793-
ws = 18
793+
	mesh.MeshType = "Sphere"
794-
tr1.Enabled = false
794+
	mesh.Scale = SIZE
795-
attacking = false
795+
	mesh.Offset = VT(0,0,0)
796-
hitdebounce = true
796+
	wave.CFrame = CFRAME
797-
debounce = false
797+
	coroutine.resume(coroutine.create(function(PART)
798-
spin = true
798+
		for i = 1, WAIT do
799-
elseif combo3 then
799+
			Swait()
800-
combo1 = true
800+
			mesh.Scale = mesh.Scale + GROW
801-
combo2 = false
801+
			wave.Transparency = wave.Transparency + (0.1/WAIT)
802-
combo3 = false
802+
			if wave.Transparency > 0.99 then
803-
z = 0
803+
				wave:remove()
804-
ws = 4
804+
805-
tr1.Enabled = true
805+
806
	end))
807-
swait()
807+
808-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55, .15) * CFrame.Angles(math.rad(0), math.rad(2), math.rad(-2)), .3)
808+
809-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.8, .2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2)), .3)
809+
--//=================================\\
810-
seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1,1.5) * CFrame.Angles(math.rad(-310),math.rad(0),math.rad(0)),.8) 
810+
--||	     RAGDOLL STUFF
811-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.25,1.75,.5) * CFrame.Angles(math.rad(-90),math.rad(70),math.rad(0)), 0.3)
811+
--\\=================================//
812-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(20),math.rad(7),math.rad(12)),.3)
812+
813-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3)
813+
function recurse(root,callback,i)
814
	i= i or 0
815-
hitdebounce = false
815+
	for _,v in pairs(root:GetChildren()) do
816-
hitbox.Touched:connect(function(hit2)
816+
		i = i + 1
817-
if hit2.Parent:FindFirstChildOfClass("Humanoid") then
817+
		callback(i,v)
818-
slachtoffer = hit2.Parent:FindFirstChildOfClass("Humanoid")
818+
		
819-
if slachtoffer.Parent.Name ~= Player.Name then
819+
		if #v:GetChildren() > 0 then
820-
if hitdebounce then return end
820+
			i = recurse(v,callback,i)
821-
slachtoffer:TakeDamage(math.random(1,5))
821+
822
	end
823
	
824
	return i
825-
coroutine.wrap(function()
825+
826-
for i = 1, 9 do
826+
827-
swordslash3:Play()
827+
function ragdollJoint(character, part0, part1, attachmentName, className, properties)
828-
swait(5)
828+
	attachmentName = attachmentName.."RigAttachment"
829
	local constraint = Instance.new(className.."Constraint")
830-
end)()
830+
	constraint.Attachment0 = part0:FindFirstChild(attachmentName)
831-
for i = 1, 50 do
831+
	constraint.Attachment1 = part1:FindFirstChild(attachmentName)
832-
z = z + 50
832+
	constraint.Name = "RagdollConstraint"..part1.Name
833-
swait()
833+
	
834-
seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-0,1) * CFrame.Angles(math.rad(z),math.rad(0),math.rad(0)),.8) 
834+
	for _,propertyData in next,properties or {} do
835-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.25,1.75,.5) * CFrame.Angles(math.rad(-90),math.rad(70),math.rad(0)), 0.3)
835+
		constraint[propertyData[1]] = propertyData[2]
836-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(20),math.rad(7),math.rad(12)),.3)
836+
837-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3)
837+
	
838
	constraint.Parent = character
839-
hitdebounce = true
839+
840-
ws = 18
840+
841-
attacking = false
841+
function getAttachment0(character, attachmentName)
842-
debounce = false
842+
	for _,child in next,character:GetChildren() do
843-
tr1.Enabled = false
843+
		local attachment = child:FindFirstChild(attachmentName)
844-
spin = true
844+
		if attachment then
845
			return attachment
846
		end
847
	end
848-
mouse.KeyDown:connect(function(Press)
848+
849-
Press=Press:lower()
849+
850-
if Press=='r' then
850+
function ArtificialHitbox(Part)
851-
if orbitalcannon then return end
851+
	local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
852-
if debounce then return end
852+
	HITBOX.CanCollide = true
853-
orbitalcannon = true
853+
	HITBOX.CFrame = Part.CFrame
854-
debounce = true
854+
	weldBetween(Part,HITBOX)
855-
uhoh = true
855+
856-
attacking = true
856+
857-
ws = 0
857+
function R15Ragdoll(character,KeepArms)
858-
coroutine.wrap(function()
858+
	character:BreakJoints()
859-
for i = 1, 15 do
859+
	coroutine.resume(coroutine.create(function()
860-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-.5,2,0) * CFrame.Angles(math.rad(0),math.rad(-20),math.rad(140)),.3)
860+
		recurse(character, function(_,v)
861-
swait()
861+
			if v:IsA("Attachment") then
862
				v.Axis = Vector3.new(0, 1, 0)
863-
end)()
863+
				v.SecondaryAxis = Vector3.new(0, 0, 1)
864-
powerball = Instance.new("Part",Torso)
864+
				v.Rotation = Vector3.new(0, 0, 0)
865-
powerball.Anchored = true
865+
866-
powerball.CanCollide = false
866+
867-
powerball.Size = Vector3.new(1,1,1)
867+
		for _,child in next,character:GetChildren() do
868-
powerball.Transparency = 1
868+
			if child:IsA("Accoutrement") then
869-
powerball.Material = "Neon"
869+
				for _,part in next,child:GetChildren() do
870-
powerball.BrickColor = BrickColor.new("Cyan")
870+
					if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
871-
powerball.CFrame = leftlocation.CFrame * CFrame.new(-40,0,0)
871+
						local attachment1 = part:FindFirstChildOfClass("Attachment")
872-
powerball.Shape = "Ball"
872+
						local attachment0 = getAttachment0(character,attachment1.Name)
873-
gz = Instance.new("Sound", powerball)
873+
						if attachment0 and attachment1 then
874-
gz.SoundId = "rbxassetid://907530407"
874+
							local constraint = Instance.new("HingeConstraint")
875-
gz.Looped = true
875+
							constraint.Attachment0 = attachment0
876-
gz.Volume = 0
876+
							constraint.Attachment1 = attachment1
877-
gz:Play()
877+
							constraint.LimitsEnabled = true
878-
for i = 1, 300 do
878+
							constraint.UpperAngle = 0
879-
gz.Volume = gz.Volume + .25
879+
							constraint.LowerAngle = 0
880-
powerball.CFrame = leftlocation.CFrame * CFrame.new(0,-40,0)
880+
							constraint.Parent = character
881-
seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45)),.8) 
881+
882-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
882+
						ArtificialHitbox(part)
883-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90 - 3 * math.sin(sine/12)),math.rad(-40),math.rad(0)), 0.1)
883+
					elseif part.Name == "HumanoidRootPart" then
884-
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
884+
						part:remove()
885-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
885+
886-
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
886+
887-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
887+
888-
powerball.Size = powerball.Size + Vector3.new(.25,.25,.25)
888+
889-
powerball.Transparency = powerball.Transparency - .025
889+
		
890-
swait()
890+
		ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
891
			{"LimitsEnabled",true};
892-
gz:Remove()
892+
			{"UpperAngle",5};
893-
g1 = Instance.new("BodyGyro", Root)
893+
894-
g1.D = 175
894+
		if character:FindFirstChild("Head") then
895-
g1.P = 20000
895+
			ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
896-
g1.MaxTorque = Vector3.new(0,9000,0)
896+
				{"LimitsEnabled",true};
897-
LightOfDeath = Instance.new("Part", Torso)
897+
				{"UpperAngle",15};
898-
LightOfDeath.Size = Vector3.new(0.5, 0.5, 0.5)
898+
			})
899-
LightOfDeath.Material = "Neon"
899+
900-
LightOfDeath.BrickColor = BrickColor.new("Cyan")
900+
		
901-
LightOfDeath.Transparency = 1
901+
		local handProperties = {
902-
LightOfDeath.Anchored = true
902+
			{"LimitsEnabled", true};
903-
LightOfDeath.CanCollide = false
903+
			{"UpperAngle",0};
904-
LightOfDeathMESH = Instance.new("SpecialMesh", LightOfDeath)
904+
			{"LowerAngle",0};
905-
LightOfDeathMESH.MeshType = "Cylinder"
905+
		}
906-
LightOfDeathMESH.Scale = Vector3.new(1000,3,3)
906+
		ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
907-
LightOfDeath.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
907+
		ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
908-
coroutine.wrap(function()
908+
		
909-
wait(9)
909+
		local shinProperties = {
910-
uhoh = false
910+
			{"LimitsEnabled", true};
911-
end)()
911+
			{"UpperAngle", 0};
912-
soundofdoom = Instance.new("Sound", powerball)
912+
			{"LowerAngle", -75};
913-
soundofdoom.SoundId = "rbxassetid://1545630949"
913+
		}
914-
soundofdoom.Volume = 10
914+
		ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
915-
soundofdoom:Play()
915+
		ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
916-
ws = 0
916+
		
917-
while uhoh do
917+
		local footProperties = {
918-
if mouse.Target ~= nil then
918+
			{"LimitsEnabled", true};
919-
LightOfDeath.CFrame = LightOfDeath.CFrame:lerp(CFrame.new(mouse.Hit.p) * CFrame.Angles(0,0,math.rad(90)),.1)
919+
			{"UpperAngle", 15};
920-
powerball.CFrame = powerball.CFrame:lerp(CFrame.new(mouse.Hit.p) * CFrame.new(0,250,0),.1)
920+
			{"LowerAngle", -45};
921
		}
922-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
922+
		ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
923-
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
923+
		ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
924-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
924+
		if KeepArms == true then
925-
LightOfDeath.Transparency = LightOfDeath.Transparency - .05
925+
			ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
926-
swait()
926+
			ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
927
			ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
928-
coroutine.wrap(function()
928+
			ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
929-
coroutine.wrap(function()
929+
930-
for i = 1, 400 do
930+
		ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
931-
Hit = damagealll(200,LightOfDeath.Position)
931+
		ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
932-
for _,v in pairs(Hit) do
932+
		Debris:AddItem(character,5)
933-
v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
933+
	end))
934-
vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) 
934+
935-
vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
935+
936-
torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
936+
function Ragdoll(Character2,CharTorso,KeepArms)
937-
vel.velocity = CFrame.new(LightOfDeath.Position,torso.Position).lookVector*875
937+
	coroutine.resume(coroutine.create(function()
938-
removeuseless:AddItem(vel,.1)
938+
		Character2:BreakJoints()
939
		local hum = Character2:findFirstChild("Humanoid")
940-
explosionc = Instance.new("Part",Torso)
940+
		hum:remove()
941-
explosionc.Anchored = true
941+
		local function Scan(ch)
942-
explosionc.CanCollide = false
942+
			local e
943-
explosionc.Size = Vector3.new(1,1,1)
943+
			for e = 1,#ch do
944-
explosionc.BrickColor = BrickColor.new("Cyan")
944+
				Scan(ch[e]:GetChildren())
945-
explosionc.Material = "Neon"
945+
				if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
946-
explosionc.CFrame = CFrame.new(LightOfDeath.Position)
946+
					ch[e]:remove()
947-
explosionc.Shape = "Ball"
947+
948-
explosionc.Name = "explob"
948+
949-
removeuseless:AddItem(explosionc,2)
949+
950-
swait(.1)
950+
		local NEWHUM = IT("Humanoid")
951
		NEWHUM.Name = "Corpse"
952-
end)()
952+
		NEWHUM.Health = 0
953-
powerball.Transparency = 0
953+
		NEWHUM.MaxHealth = 0
954-
LightOfDeath.Transparency = 0
954+
		NEWHUM.PlatformStand = true
955-
for i =  1, 400 do
955+
		NEWHUM.Parent = Character2
956-
powerball.Transparency = powerball.Transparency + .05
956+
		NEWHUM.DisplayDistanceType = "None"
957-
LightOfDeath.Transparency = LightOfDeath.Transparency + .05
957+
	
958-
sk = Instance.new("Part",Torso)
958+
		local ch = Character2:GetChildren()
959-
sk.CanCollide = false
959+
		local i
960-
sk.Anchored = true
960+
		for i = 1,#ch do
961-
sk.BrickColor = BrickColor.new("Cyan")
961+
			if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
962-
sk.Name = "sk"
962+
				ch[i]:remove()
963-
sk.CFrame = LightOfDeath.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
963+
964-
skmesh = Instance.new("SpecialMesh",sk)
964+
965-
skmesh.MeshId = "rbxassetid://662586858"
965+
	
966-
skmesh.Name = "waterwave"
966+
		local Torso2 = Character2.Torso
967-
skmesh.Scale = Vector3.new(.04,.01,.04)
967+
		local movevector = Vector3.new()
968-
removeuseless:AddItem(sk,2)
968+
	
969-
for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then
969+
		if Torso2 then
970-
v.Scale = v.Scale + Vector3.new(.2,0,.2)
970+
			movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
971-
v.Parent.Transparency = v.Parent.Transparency + .05
971+
			local Head = Character2:FindFirstChild("Head")
972
			if Head then
973
				local Neck = Instance.new("Weld")
974-
for i,v in pairs(Torso:GetChildren()) do
974+
				Neck.Name = "Neck"
975-
if v.Name == "explob" then
975+
				Neck.Part0 = Torso2
976-
v.Size = v.Size + Vector3.new(20,20,20)
976+
				Neck.Part1 = Head
977-
v.Transparency = v.Transparency + .05
977+
				Neck.C0 = CFrame.new(0, 1.5, 0)
978
				Neck.C1 = CFrame.new()
979
				Neck.Parent = Torso2
980-
swait()
980+
	
981
			end
982-
for i = 1, 50 do
982+
			local Limb = Character2:FindFirstChild("Right Arm")
983-
for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then
983+
			if Limb and KeepArms == true then
984-
v.Scale = v.Scale + Vector3.new(.2,0,.2)
984+
	
985-
v.Parent.Transparency = v.Parent.Transparency + .05
985+
				Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
986
				local Joint = Instance.new("Glue")
987
				Joint.Name = "RightShoulder"
988-
for i,v in pairs(Torso:GetChildren()) do
988+
				Joint.Part0 = Torso2
989-
if v.Name == "explob" then
989+
				Joint.Part1 = Limb
990-
v.Size = v.Size + Vector3.new(20,20,20)
990+
				Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
991-
v.Transparency = v.Transparency + .05
991+
				Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
992
				Joint.Parent = Torso2
993
	
994-
swait()
994+
				local B = Instance.new("Part")
995
				B.TopSurface = 0
996-
powerball:Remove()
996+
				B.BottomSurface = 0
997-
LightOfDeath:Remove()
997+
				B.formFactor = "Symmetric"
998-
orbitalcannon = false
998+
				B.Size = Vector3.new(1, 1, 1)
999-
end)()
999+
				B.Transparency = 1
1000-
for i = 1, 35 do
1000+
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1001-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, .8, 0.4) * CFrame.Angles(math.rad(-60 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
1001+
				B.Parent = Character2
1002-
swait()
1002+
				local W = Instance.new("Weld")
1003
				W.Part0 = Limb
1004-
removeuseless:AddItem(g1,.001)
1004+
				W.Part1 = B
1005-
ws = 18
1005+
				W.C0 = CFrame.new(0, -0.5, 0)
1006-
attacking = false
1006+
				W.Parent = Limb
1007-
debounce = false
1007+
	
1008
			end
1009
			local Limb = Character2:FindFirstChild("Left Arm")
1010
			if Limb and KeepArms == true then
1011-
mouse.KeyDown:connect(function(Press)
1011+
	
1012-
Press=Press:lower()
1012+
				Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
1013-
if Press=='e' then
1013+
				local Joint = Instance.new("Glue")
1014-
if debounce then return end
1014+
				Joint.Name = "LeftShoulder"
1015-
debounce = true
1015+
				Joint.Part0 = Torso2
1016-
attacking = true
1016+
				Joint.Part1 = Limb
1017-
ws = 2
1017+
				Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1018-
g1 = Instance.new("BodyGyro", Root)
1018+
				Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1019-
g1.D = 175
1019+
				Joint.Parent = Torso2
1020-
g1.P = 20000
1020+
	
1021-
g1.MaxTorque = Vector3.new(0,9000,0)
1021+
				local B = Instance.new("Part")
1022-
SOUND(leftlocation,214876666,8,false,6)
1022+
				B.TopSurface = 0
1023-
coroutine.wrap(function()
1023+
				B.BottomSurface = 0
1024-
for i = 1, 49 do
1024+
				B.formFactor = "Symmetric"
1025-
waterballs = Instance.new("Part",Torso)
1025+
				B.Size = Vector3.new(1, 1, 1)
1026-
waterballs.Anchored = true
1026+
				B.Transparency = 1
1027-
waterballs.CanCollide = false
1027+
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1028-
waterballs.Shape = "Ball"
1028+
				B.Parent = Character2
1029-
waterballs.BrickColor = BrickColor.new("Cyan")
1029+
				local W = Instance.new("Weld")
1030-
waterballs.Material = "Neon"
1030+
				W.Part0 = Limb
1031-
waterballs.Transparency = .6
1031+
				W.Part1 = B
1032-
waterballs.CFrame = leftlocation.CFrame
1032+
				W.C0 = CFrame.new(0, -0.5, 0)
1033-
waterballs.Size = Vector3.new(10,10,10)
1033+
				W.Parent = Limb
1034-
waterballs.Name = "wter"
1034+
	
1035-
removeuseless:AddItem(waterballs,2)
1035+
1036-
sk = Instance.new("Part",Torso)
1036+
			local Limb = Character2:FindFirstChild("Right Leg")
1037-
sk.CanCollide = false
1037+
			if Limb then
1038-
sk.Anchored = true
1038+
	
1039-
sk.BrickColor = BrickColor.new("Cyan")
1039+
				Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
1040-
sk.Name = "sk"
1040+
				local Joint = Instance.new("Glue")
1041-
sk.CFrame = leftlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
1041+
				Joint.Name = "RightHip"
1042-
skmesh = Instance.new("SpecialMesh",sk)
1042+
				Joint.Part0 = Torso2
1043-
skmesh.MeshId = "rbxassetid://662586858"
1043+
				Joint.Part1 = Limb
1044-
skmesh.Name = "waterwave"
1044+
				Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1045-
skmesh.Scale = Vector3.new(.04,.01,.04)
1045+
				Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1046-
removeuseless:AddItem(sk,2)
1046+
				Joint.Parent = Torso2
1047-
for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then
1047+
	
1048-
v.Scale = v.Scale + Vector3.new(.02,0,.02)
1048+
				local B = Instance.new("Part")
1049-
v.Parent.Transparency = v.Parent.Transparency + .05
1049+
				B.TopSurface = 0
1050
				B.BottomSurface = 0
1051
				B.formFactor = "Symmetric"
1052-
for i,v in pairs(Torso:GetDescendants()) do if v.Name == "wter" then
1052+
				B.Size = Vector3.new(1, 1, 1)
1053-
v.Size = v.Size - Vector3.new(1,1,1)
1053+
				B.Transparency = 1
1054-
v.Transparency = v.Transparency + .05
1054+
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1055
				B.Parent = Character2
1056
				local W = Instance.new("Weld")
1057-
swait()
1057+
				W.Part0 = Limb
1058
				W.Part1 = B
1059-
for i = 1, 40 do
1059+
				W.C0 = CFrame.new(0, -0.5, 0)
1060-
for i,v in pairs(Torso:GetDescendants()) do if v.Name == "wter" then
1060+
				W.Parent = Limb
1061-
v.Size = v.Size - Vector3.new(1,1,1)
1061+
	
1062-
v.Transparency = v.Transparency + .05
1062+
1063
			local Limb = Character2:FindFirstChild("Left Leg")
1064
			if Limb then
1065-
for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then
1065+
	
1066-
v.Scale = v.Scale + Vector3.new(.02,0,.01)
1066+
				Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
1067-
v.Parent.Transparency = v.Parent.Transparency + .05
1067+
				local Joint = Instance.new("Glue")
1068
				Joint.Name = "LeftHip"
1069
				Joint.Part0 = Torso2
1070-
swait()
1070+
				Joint.Part1 = Limb
1071
				Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1072-
end)()
1072+
				Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1073-
for i = 1, 50 do
1073+
				Joint.Parent = Torso2
1074-
seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1,1.5) * CFrame.Angles(math.rad(-315),math.rad(0),math.rad(0)),.8) 
1074+
	
1075-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.55,0) * CFrame.Angles(math.rad(-20),math.rad(-5),math.rad(-20)),.3)
1075+
				local B = Instance.new("Part")
1076-
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
1076+
				B.TopSurface = 0
1077-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
1077+
				B.BottomSurface = 0
1078-
LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
1078+
				B.formFactor = "Symmetric"
1079-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(-14), math.rad(-20), math.rad(90)), 0.3)
1079+
				B.Size = Vector3.new(1, 1, 1)
1080-
swait()
1080+
				B.Transparency = 1
1081
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1082-
ws = 0
1082+
				B.Parent = Character2
1083-
coroutine.wrap(function()
1083+
				local W = Instance.new("Weld")
1084-
local throwball = Instance.new("Part",Torso)
1084+
				W.Part0 = Limb
1085-
throwball.Anchored = false
1085+
				W.Part1 = B
1086-
throwball.CanCollide = false
1086+
				W.C0 = CFrame.new(0, -0.5, 0)
1087-
throwball.Size = Vector3.new(1,1,1)
1087+
				W.Parent = Limb
1088-
throwball.Material = "Neon"
1088+
	
1089-
throwball.Shape = "Ball"
1089+
1090-
throwball.CFrame = leftlocation.CFrame
1090+
			--[
1091-
throwball.BrickColor = BrickColor.new("Cyan")
1091+
			local Bar = Instance.new("Part")
1092-
throwball.Name = "throwball"
1092+
			Bar.TopSurface = 0
1093-
removeuseless:AddItem(throwball,4)
1093+
			Bar.BottomSurface = 0
1094-
throwball.Touched:connect(function(hit)
1094+
			Bar.formFactor = "Symmetric"
1095-
if hit.Name ~= "watblock" and hit.Name ~= "sk" and hit.Name ~= "wter" and hit.Name ~= "leftloc" and hit.Name ~= "c1" and hit.Name ~= "c2" and hit.Name ~= "c3" and hit.Name ~= "c4" and hit.Parent ~= "Torso" and hit.Parent ~= "LeftArm" and hit.Parent ~= "RightArm" and hit.Parent ~= "Head" and hit.Name ~= "wind" then
1095+
			Bar.Size = Vector3.new(1, 1, 1)
1096-
if throwballv then return end
1096+
			Bar.Transparency = 1
1097-
throwballv = true
1097+
			Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
1098-
explo = Instance.new("Sound",throwball)
1098+
			Bar.Parent = Character2
1099-
explo.SoundId = "rbxassetid://821439273"
1099+
			local Weld = Instance.new("Weld")
1100-
explo.Volume = 8
1100+
			Weld.Part0 = Torso2
1101-
explo.Pitch = 1.3
1101+
			Weld.Part1 = Bar
1102-
explo:Play()
1102+
			Weld.C0 = CFrame.new(0, 0.5, 0)
1103-
hit.Transparency = 0
1103+
			Weld.Parent = Torso2
1104-
throwball.Anchored = true
1104+
			--]]
1105-
for i = 1, 15 do
1105+
1106-
sk = Instance.new("Part",Torso)
1106+
		Character2.Parent = workspace
1107-
sk.CanCollide = false
1107+
		Debris:AddItem(Character2,5)
1108-
sk.Anchored = true
1108+
	
1109-
sk.BrickColor = BrickColor.new("Cyan")
1109+
		return Character2,Torso2
1110-
sk.Name = "sk"
1110+
	end))
1111-
sk.CFrame = throwball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
1111+
1112-
skmesh = Instance.new("SpecialMesh",sk)
1112+
1113-
skmesh.MeshId = "rbxassetid://662586858"
1113+
1114-
skmesh.Name = "waterwave2"
1114+
function CheckTableForString(Table, String)
1115-
skmesh.Scale = Vector3.new(.04,.01,.04)
1115+
	for i, v in pairs(Table) do
1116-
removeuseless:AddItem(sk,2)
1116+
		if string.find(string.lower(String), string.lower(v)) then
1117
			return true
1118-
Hit = damagealll(25,throwball.Position)
1118+
1119-
for _,v in pairs(Hit) do
1119+
1120-
v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(39,52))
1120+
	return false
1121-
vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")) 
1121+
1122-
vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
1122+
1123-
torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
1123+
function CheckIntangible(Hit)
1124-
vel.velocity = CFrame.new(throwball.Position,torso.Position).lookVector*125
1124+
	local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
1125-
removeuseless:AddItem(vel,.1)
1125+
	if Hit and Hit.Parent then
1126
		if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
1127-
explosion = Instance.new("Part",Torso)
1127+
			return true
1128-
explosion.Anchored = true
1128+
1129-
explosion.CanCollide = false
1129+
1130-
explosion.Shape = "Ball"
1130+
	return false
1131-
explosion.BrickColor = BrickColor.new("Cyan")
1131+
1132-
explosion.Material = "Neon"
1132+
1133-
explosion.CFrame = throwball.CFrame
1133+
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
1134-
explosion2 = Instance.new("Part",Torso)
1134+
	local Direction = CFrame.new(StartPos, Vec).lookVector
1135-
explosion2.Anchored = true
1135+
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
1136-
explosion2.CanCollide = false
1136+
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
1137-
explosion2.Shape = "Ball"
1137+
	if RayHit and CheckIntangible(RayHit) then
1138-
explosion2.BrickColor = BrickColor.new("Cyan")
1138+
		if DelayIfHit then
1139-
explosion2.Material = "Neon"
1139+
			wait()
1140-
explosion2.CFrame = throwball.CFrame
1140+
1141-
for i = 1, 30 do
1141+
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
1142-
explo.Volume = explo.Volume - .5
1142+
1143-
for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave2" then
1143+
	return RayHit, RayPos, RayNormal
1144-
v.Scale = v.Scale + Vector3.new(.02,0,.02)
1144+
1145-
v.Parent.Transparency = v.Parent.Transparency + .05
1145+
1146
function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
1147
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
1148-
explosion.Size = explosion.Size + Vector3.new(2,2,2)
1148+
	local mesh = IT("SpecialMesh",wave)
1149-
explosion.Transparency = explosion.Transparency + .05
1149+
	mesh.MeshType = "FileMesh"
1150-
explosion2.Size = explosion2.Size + Vector3.new(1,1,1)
1150+
	mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
1151-
explosion2.Transparency = explosion2.Transparency + .045
1151+
	mesh.Scale = VT(size,size,size)
1152-
swait()
1152+
	wave.CFrame = cframe
1153
	coroutine.resume(coroutine.create(function(PART)
1154-
explosion:Remove()
1154+
		for i = 1, waitt do
1155-
explosion2:Remove()
1155+
			Swait()
1156-
throwball:Remove()
1156+
			mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
1157-
throwballv = false
1157+
			if doesrotate == true then
1158
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
1159
			end
1160-
local bov = Instance.new("BodyVelocity",throwball)
1160+
			wave.Transparency = wave.Transparency + (0.5/waitt)
1161-
bov.maxForce = Vector3.new(99999,99999,99999)
1161+
			if wave.Transparency > 0.99 then
1162-
throwball.CFrame = CFrame.new(throwball.Position,mouse.Hit.p)
1162+
				wave:remove()
1163-
bov.velocity = throwball.CFrame.lookVector*215
1163+
1164-
if wtr1 then return end
1164+
1165-
wtr1 = true
1165+
	end))
1166
end
1167-
for i,v in pairs(Torso:GetDescendants()) do if v.Name == "throwball" then
1167+
1168-
watblock = Instance.new("Part",Torso)
1168+
--Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
1169-
watblock.Size = Vector3.new(3,3,3)
1169+
function Lightning(Table)
1170-
watblock.CanCollide = false
1170+
	local Color = Table.Color or C3(1,1,1)
1171-
watblock.BrickColor = BrickColor.new("Cyan")
1171+
	local StartPos = Table.Start or Torso.Position
1172-
watblock.Anchored = false
1172+
	local EndPos = Table.End or Mouse.Hit.p
1173-
watblock.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
1173+
	local SegmentLength = Table.SegmentL or 2
1174-
watblock.Material = "Neon"
1174+
	local Thickness = Table.Thickness or 0.1
1175-
watblock.Name = "watblock"
1175+
	local Dissapear = Table.DoesFade or false
1176-
removeuseless:AddItem(watblock,2)
1176+
	local Parent = Table.Ignore or Character
1177
	local MaxDist = Table.MaxDist or 400
1178
	local Branches = Table.Branches or false
1179-
for i,v in pairs(Torso:GetDescendants()) do if v.Name == "watblock" then
1179+
	local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
1180-
v.Size = v.Size - Vector3.new(.25,.25,.25)
1180+
	local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
1181-
v.Transparency = v.Transparency - .05
1181+
	local LIGHTNINGMODEL = IT("Model",Effects)
1182
	LIGHTNINGMODEL.Name = "Lightning"
1183
	local LastBolt = nil
1184-
swait()
1184+
	for E = 1, DISTANCE do
1185
		local ExtraSize = (DISTANCE-E)/15
1186-
end)()
1186+
		local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
1187
		PART.Color = Color
1188-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
1188+
		MakeForm(PART,"Cyl")
1189-
LEFTARMLERP.C1 = CFrame.new(0,0,0)
1189+
		if LastBolt == nil then
1190-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(25),math.rad(0)), 0.5)
1190+
			PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1191-
swait()
1191+
1192
			PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1193-
removeuseless:AddItem(g1,.001)
1193+
1194-
ws = 18
1194+
		LastBolt = PART
1195-
attacking = false
1195+
		if Branches == true then
1196-
debounce = false
1196+
			local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
1197
			if CHOICE == 1 then
1198
				local LASTBRANCH = nil
1199
				for i = 1, MRANDOM(2,5) do
1200-
function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
1200+
					local ExtraSize2 = ((DISTANCE-E)/25)/i
1201
					local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
1202
					PART.Color = Color
1203
					MakeForm(PART,"Cyl")
1204-
function ray2(StartPos, EndPos, Distance, Ignore)
1204+
					if LASTBRANCH == nil then
1205-
local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
1205+
						PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1206-
return ray(StartPos, DIRECTION, Distance, Ignore)
1206+
					else
1207
						PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1208
					end
1209-
OrgnC0 = Neck.C0
1209+
					LASTBRANCH = PART
1210-
local movelimbs = coroutine.wrap(function()
1210+
1211-
while RunSrv.RenderStepped:wait() do
1211+
1212-
TrsoLV = Torso.CFrame.lookVector
1212+
1213-
Dist = nil
1213+
1214-
Diff = nil
1214+
	if Dissapear == true then
1215-
if not MseGuide then
1215+
		coroutine.resume(coroutine.create(function()
1216-
print("Failed to recognize")
1216+
			for i = 1, 10 do
1217-
else
1217+
				Swait()
1218-
local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
1218+
				for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
1219-
Dist = (Head.CFrame.p-Point).magnitude
1219+
					if c.ClassName == "Part" then
1220-
Diff = Head.CFrame.Y-Point.Y
1220+
						c.Transparency = i/10
1221-
local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
1221+
1222-
Dist2 = (LeftArm.CFrame.p-Point).magnitude
1222+
1223-
Diff2 = LeftArm.CFrame.Y-Point.Y
1223+
1224-
HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1224+
			LIGHTNINGMODEL:remove()
1225-
Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
1225+
		end))
1226
	elseif Dissapear == false then
1227
		Debris:AddItem(LIGHTNINGMODEL,0.1)
1228
	end
1229-
movelimbs()
1229+
	return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
1230-
immortal = {}
1230+
1231-
for i,v in pairs(Character:GetDescendants()) do
1231+
1232-
	if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
1232+
function SpawnTrail(FROM,TO,BIG)
1233-
		if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
1233+
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Trail", VT(0,0,0))
1234-
			v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1234+
	MakeForm(TRAIL,"Cyl")
1235
	local DIST = (FROM - TO).Magnitude
1236-
		table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
1236+
	if BIG == true then
1237-
	elseif v:IsA("JointInstance") then
1237+
		TRAIL.Size = VT(0.5,DIST,0.5)
1238-
		table.insert(immortal,{v,v.Parent,nil,nil,nil})
1238+
1239
		TRAIL.Size = VT(0.25,DIST,0.25)
1240
	end
1241-
for e = 1, #immortal do
1241+
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1242-
	if immortal[e] ~= nil then
1242+
	coroutine.resume(coroutine.create(function()
1243-
		local STUFF = immortal[e]
1243+
		for i = 1, 5 do
1244-
		local PART = STUFF[1]
1244+
			Swait()
1245-
		local PARENT = STUFF[2]
1245+
			TRAIL.Transparency = TRAIL.Transparency + 0.1
1246-
		local MATERIAL = STUFF[3]
1246+
1247-
		local COLOR = STUFF[4]
1247+
		TRAIL:remove()
1248-
		local TRANSPARENCY = STUFF[5]
1248+
	end))
1249-
if levitate then
1249+
1250-
		if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
1250+
1251-
			PART.Material = MATERIAL
1251+
local EyeSizes={
1252-
			PART.Color = COLOR
1252+
	NumberSequenceKeypoint.new(0,2,0),
1253-
			PART.Transparency = TRANSPARENCY
1253+
	NumberSequenceKeypoint.new(1,0,0)
1254
}
1255-
		PART.AncestryChanged:connect(function()
1255+
local EyeTrans={
1256-
			PART.Parent = PARENT
1256+
	NumberSequenceKeypoint.new(0,0.5,0),
1257
	NumberSequenceKeypoint.new(1,1,0)
1258-
else
1258+
}
1259-
		if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
1259+
local PE=Instance.new("ParticleEmitter",nil)
1260-
			PART.Material = MATERIAL
1260+
PE.LightEmission=.8
1261-
			PART.Color = COLOR
1261+
PE.Color = ColorSequence.new(BRICKC("Bright yellow").Color,BRICKC("New Yeller").Color)
1262-
			PART.Transparency = TRANSPARENCY
1262+
PE.Size=NumberSequence.new(EyeSizes)
1263
PE.Transparency=NumberSequence.new(EyeTrans)
1264-
		PART.AncestryChanged:connect(function()
1264+
PE.Lifetime=NumberRange.new(0.35,1)
1265-
			PART.Parent = PARENT
1265+
PE.Rotation=NumberRange.new(0,360)
1266
PE.Rate=100
1267
PE.VelocitySpread = 10000
1268
PE.Acceleration = Vector3.new(0,85,0)
1269
PE.Drag = 5
1270-
function immortality()
1270+
PE.Speed = NumberRange.new(0.1,5)
1271-
	for e = 1, #immortal do
1271+
PE.Texture="http://www.roblox.com/asset/?id=1460745664"
1272-
		if immortal[e] ~= nil then
1272+
PE.ZOffset = 0.5
1273-
			local STUFF = immortal[e]
1273+
PE.Name = "PE"
1274-
			local PART = STUFF[1]
1274+
PE.Enabled = false
1275-
			local PARENT = STUFF[2]
1275+
function Fire(art)
1276-
			local MATERIAL = STUFF[3]
1276+
	local PARTICLES = PE:Clone()
1277-
			local COLOR = STUFF[4]
1277+
	PARTICLES.Parent = art
1278-
			local TRANSPARENCY = STUFF[5]
1278+
	PARTICLES.Enabled = true
1279-
			if PART.ClassName == "Part" and PART == Root then
1279+
	return PARTICLES
1280-
				PART.Material = MATERIAL
1280+
1281-
				PART.Color = COLOR
1281+
1282-
				PART.Transparency = TRANSPARENCY
1282+
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
1283
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1284-
			if PART.Parent ~= PARENT then
1284+
    local mesh = IT("SpecialMesh",wave)
1285-
				hum:Remove()
1285+
    mesh.MeshType = "FileMesh"
1286-
				PART.Parent = PARENT
1286+
    mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
1287-
				hum = Instance.new("Humanoid",Character)
1287+
    mesh.Scale = SIZE
1288-
                                hum.Name = "noneofurbusiness"
1288+
    mesh.Offset = VT(0,0,-SIZE.X/8)
1289
    wave.CFrame = CFRAME
1290
    coroutine.resume(coroutine.create(function(PART)
1291
        for i = 1, WAIT do
1292
            Swait()
1293-
coroutine.wrap(function()
1293+
            mesh.Scale = mesh.Scale + GROW
1294
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
1295-
if hum.Health < .1 then
1295+
            if DOESROT == true then
1296-
deadsound = Instance.new("Sound", Torso)
1296+
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1297-
deadsound.Volume = 6
1297+
            end
1298-
deadsound.SoundId = "rbxassetid://1411352723"
1298+
            wave.Transparency = wave.Transparency + (0.5/WAIT)
1299-
deadsound:Play()
1299+
            if wave.Transparency > 0.99 then
1300-
immortality()
1300+
                wave:remove()
1301
            end
1302-
wait()
1302+
        end
1303
    end))
1304-
end)()
1304+
1305
 
1306-
local anims = coroutine.wrap(function()
1306+
function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
1307
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1308-
settime = 0.05
1308+
    local mesh = IT("SpecialMesh",wave)
1309-
sine = sine + change
1309+
    mesh.MeshType = "FileMesh"
1310-
if position == "Jump" and attacking == false then
1310+
    mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
1311-
change = 1
1311+
    mesh.Scale = SIZE
1312-
spin = false
1312+
    --mesh.Offset = VT(0,0,-SIZE.X/8)
1313-
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
1313+
    wave.CFrame = CFRAME
1314-
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
1314+
    coroutine.resume(coroutine.create(function(PART)
1315-
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
1315+
        for i = 1, WAIT do
1316-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1316+
            Swait()
1317-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
1317+
            mesh.Scale = mesh.Scale + GROW
1318-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
1318+
            --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
1319-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
1319+
            if DOESROT == true then
1320-
elseif position == "Jump2" and attacking == false then
1320+
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1321-
change = 1
1321+
            end
1322-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
1322+
            wave.Transparency = wave.Transparency + (0.5/WAIT)
1323-
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
1323+
            if wave.Transparency > 0.99 then
1324-
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
1324+
                wave:remove()
1325-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
1325+
            end
1326-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
1326+
        end
1327-
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
1327+
    end))
1328-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
1328+
1329-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
1329+
1330-
elseif position == "Falling" and attacking == false then
1330+
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
1331-
change = 1
1331+
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
1332-
spin = false
1332+
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
1333-
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
1333+
    wave.CFrame = CFRAME
1334-
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
1334+
    coroutine.resume(coroutine.create(function(PART)
1335-
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
1335+
        for i = 1, WAIT do
1336-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
1336+
            Swait()
1337-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
1337+
            mesh.Scale = mesh.Scale * GROW
1338-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
1338+
            wave.Transparency = wave.Transparency + (0.5/WAIT)
1339-
elseif position == "Falling2" and attacking == false then
1339+
            if wave.Transparency > 0.99 then
1340-
change = 1
1340+
                wave:remove()
1341-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
1341+
            end
1342-
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
1342+
        end
1343-
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
1343+
    end))
1344-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
1344+
1345-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
1345+
1346-
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
1346+
--//=================================\\
1347-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
1347+
--||	     WEAPON CREATION
1348-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
1348+
--\\=================================//
1349-
elseif position == "Walking" and attacking == false and running == false then
1349+
1350-
change = 1.2
1350+
Humanoid.Parent = nil
1351-
walking = true
1351+
RootPart.Size = RootPart.Size*SIZE
1352-
spin = false
1352+
Torso.Size = Torso.Size*SIZE
1353-
seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1,1.5) * CFrame.Angles(math.rad(-315),math.rad(0),math.rad(0)),.8) 
1353+
RightArm.Size = RightArm.Size*SIZE
1354-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5 + Root.RotVelocity.Y / 85,.35,-.5*math.sin(sine/8)) * CFrame.Angles(math.rad(35*math.sin(sine/8)),math.rad(0*math.sin(sine/8)),math.rad(-10 + Root.RotVelocity.Y / 10, math.sin(-20 * math.sin(sine/4)))),.3)
1354+
RightLeg.Size = RightLeg.Size*SIZE
1355-
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
1355+
LeftArm.Size = LeftArm.Size*SIZE
1356-
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
1356+
LeftLeg.Size = LeftLeg.Size*SIZE
1357-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,.35,.5*math.sin(sine/8)) * CFrame.Angles(math.rad(-35*math.sin(sine/8)),math.rad(0*math.sin(sine/8)),math.rad(10 + Root.RotVelocity.Y / 10, math.sin(20 * math.sin(sine/4)))),.3)
1357+
RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
1358-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.1)
1358+
RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
1359-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.3)
1359+
Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
1360-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.3)
1360+
Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
1361-
elseif position == "Idle" and attacking == false and running == false then
1361+
RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
1362-
change = .5
1362+
LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
1363-
spin = true
1363+
RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
1364-
seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45)),.8) 
1364+
LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
1365-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
1365+
RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
1366-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,0,.5) * CFrame.Angles(math.rad(-90 - 3 * math.sin(sine/12)),math.rad(40),math.rad(0)), 0.1)
1366+
LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
1367-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90 - 3 * math.sin(sine/12)),math.rad(-40),math.rad(0)), 0.1)
1367+
Head.Size = Head.Size*SIZE
1368-
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
1368+
RootJoint.Parent = RootPart
1369-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
1369+
Neck.Parent = Torso
1370-
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
1370+
RightShoulder.Parent = Torso
1371-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
1371+
LeftShoulder.Parent = Torso
1372-
elseif position == "Idle2" and attacking == false and running == false then
1372+
RightHip.Parent = Torso
1373-
change = .75
1373+
LeftHip.Parent = Torso
1374-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
1374+
1375-
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
1375+
Humanoid.DisplayDistanceType = "None"
1376-
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
1376+
local naeeym2 = IT("BillboardGui",Character)
1377-
LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
1377+
naeeym2.AlwaysOnTop = true
1378-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4)
1378+
naeeym2.Size = UDim2.new(5,35,2,15)
1379-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4)
1379+
naeeym2.StudsOffset = Vector3.new(0,2,0)
1380-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
1380+
naeeym2.MaxDistance = 75
1381-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
1381+
naeeym2.Adornee = Character.Head
1382-
elseif position == "Walking2" and attacking == false and running == false then
1382+
naeeym2.Name = "Name"
1383-
ws = 50
1383+
naeeym2.PlayerToHideFrom = Player
1384-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
1384+
local tecks2 = IT("TextLabel",naeeym2)
1385-
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
1385+
tecks2.BackgroundTransparency = 1
1386-
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
1386+
tecks2.TextScaled = true
1387-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
1387+
tecks2.BorderSizePixel = 0
1388-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
1388+
tecks2.Text = "Pandora"
1389-
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
1389+
tecks2.Font = "Fantasy"
1390-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
1390+
tecks2.TextSize = 30
1391-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
1391+
tecks2.TextStrokeTransparency = 0
1392-
elseif position == "Running" and attacking == false then
1392+
tecks2.TextColor3 = C3(1,1,1)
1393-
change = 1
1393+
tecks2.TextStrokeColor3 = C3(159/255, 111/255, 183/255)
1394-
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
1394+
tecks2.Size = UDim2.new(1,0,0.5,0)
1395-
LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3)
1395+
tecks2.Parent = naeeym2
1396-
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1396+
local top = Instance.new("Shirt")
1397-
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3)
1397+
top.ShirtTemplate = "rbxassetid://1533635803"
1398-
RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
1398+
top.Parent = Character
1399-
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3)
1399+
top.Name = "Cloth"
1400-
LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
1400+
local bottom = Instance.new("Pants")
1401-
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3)
1401+
bottom.PantsTemplate = "rbxassetid://1460022985"
1402
bottom.Parent = Character
1403-
swait()
1403+
bottom.Name = "Cloth"
1404
1405
local PRT = CreatePart(3, LostHope, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
1406-
anims()
1406+
PRT.Color = C3(0,0,0)
1407-
warn("The power of water. Made by Supr14")
1407+
CreateWeldOrSnapOrMotor("Weld", LostHope, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
1408
CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
1409
local PRT = CreatePart(3, LostHope, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
1410
PRT.Color = C3(1,1,1)
1411
CreateWeldOrSnapOrMotor("Weld", LostHope, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1412
CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
1413
local PRT = CreatePart(3, TomYum, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
1414
PRT.Color = C3(159/255, 111/255, 183/255)
1415
MakeForm(PRT,"Ball")
1416
CreateWeldOrSnapOrMotor("Weld", TomYum, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1417
local PRT = CreatePart(3, TomYum, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
1418
PRT.Color = C3(159/255, 111/255, 183/255)
1419
MakeForm(PRT,"Ball")
1420
CreateWeldOrSnapOrMotor("Weld", TomYum, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
1421
local PRT = CreatePart(3, TomYum, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
1422
PRT.Color = C3(159/255, 111/255, 183/255)
1423
MakeForm(PRT,"Ball")
1424
CreateWeldOrSnapOrMotor("Weld", TomYum, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
1425
local PRT = CreatePart(3, TomYum, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
1426
PRT.Color = C3(159/255, 111/255, 183/255)
1427
MakeForm(PRT,"Ball")
1428
CreateWeldOrSnapOrMotor("Weld", TomYum, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
1429
local PRT = CreatePart(3, TomYum, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
1430
PRT.Color = C3(159/255, 111/255, 183/255)
1431
MakeForm(PRT,"Ball")
1432
CreateWeldOrSnapOrMotor("Weld", TomYum, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
1433
local PRT = CreatePart(3, TomYum, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
1434
PRT.Color = C3(159/255, 111/255, 183/255)
1435
MakeForm(PRT,"Ball")
1436
CreateWeldOrSnapOrMotor("Weld", TomYum, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
1437
1438
local LASTPART = Head
1439
for i = 1, 24 do
1440
	local MATH = (1-(i/30))
1441
	if LASTPART == Head then
1442
		local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1443
		CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(0.7, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
1444
		LASTPART = Horn
1445
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
1446
	else
1447
		local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1448
		CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1449
		LASTPART = Horn
1450
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
1451
	end
1452
end
1453
local LASTPART = Head
1454
for i = 1, 24 do
1455
	local MATH = (1-(i/30))
1456
	if LASTPART == Head then
1457
		local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1458
		CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(-0.7, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
1459
		LASTPART = Horn
1460
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
1461
	else
1462
		local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1463
		CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1464
		LASTPART = Horn
1465
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
1466
	end
1467
end
1468
local LASTPART = Head
1469
for i = 1, 8 do
1470
	local MATH = (1-(i/14))
1471
	if LASTPART == Head then
1472
		local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1473
		CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(0.55, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
1474
		LASTPART = Horn
1475
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
1476
	else
1477
		local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1478
		CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1479
		LASTPART = Horn
1480
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
1481
	end
1482
end
1483
local LASTPART = Head
1484
for i = 1, 8 do
1485
	local MATH = (1-(i/14))
1486
	if LASTPART == Head then
1487
		local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1488
		CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(-0.55, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
1489
		LASTPART = Horn
1490
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
1491
	else
1492
		local Horn = CreatePart(3, LostHope, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1493
		CreateWeldOrSnapOrMotor("Weld", LostHope, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1494
		LASTPART = Horn
1495
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*2-2)/255))
1496
	end
1497
end
1498
1499
1500
for _, c in pairs(Weapon:GetChildren()) do
1501
	if c.ClassName == "Part" then
1502
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1503
	end
1504
end
1505
1506
1507
-- Mask(Black) --
1508
local PRT = CreatePart(3, BlackMask, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
1509
PRT.Color = C3(0,0,0)
1510
CreateWeldOrSnapOrMotor("Weld", BlackMask, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
1511
CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
1512
local PRT = CreatePart(3, BlackMask, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
1513
PRT.Color = C3(0,0,0)
1514
CreateWeldOrSnapOrMotor("Weld", BlackMask, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1515
CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
1516
1517
-- SOUP FACE --
1518
CreateWeldOrSnapOrMotor("Weld", Superior, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1519
CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
1520
local PRT = CreatePart(3, Superior, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
1521
PRT.Color = C3(255/255, 0/255, 0/255)
1522
MakeForm(PRT,"Ball")
1523
CreateWeldOrSnapOrMotor("Weld", Superior, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1524
local PRT = CreatePart(3, Superior, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
1525
PRT.Color = C3(255/255, 0/255, 0/255)
1526
MakeForm(PRT,"Ball")
1527
CreateWeldOrSnapOrMotor("Weld", Superior, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
1528
local PRT = CreatePart(3, Superior, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
1529
PRT.Color = C3(255/255, 0/255, 0/255)
1530
MakeForm(PRT,"Ball")
1531
CreateWeldOrSnapOrMotor("Weld", Superior, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
1532
local PRT = CreatePart(3, Superior, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
1533
PRT.Color = C3(255/255, 0/255, 0/255)
1534
MakeForm(PRT,"Ball")
1535
CreateWeldOrSnapOrMotor("Weld", Superior, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
1536
local PRT = CreatePart(3, Superior, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
1537
PRT.Color = C3(255/255, 0/255, 0/255)
1538
MakeForm(PRT,"Ball")
1539
CreateWeldOrSnapOrMotor("Weld", Superior, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
1540
local PRT = CreatePart(3, Superior, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
1541
PRT.Color = C3(255/255, 0/255, 0/255)
1542
MakeForm(PRT,"Ball")
1543
CreateWeldOrSnapOrMotor("Weld", Superior, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
1544
1545
local LASTPART = Head
1546
for i = 1, 24 do
1547
	local MATH = (1-(i/30))
1548
	if LASTPART == Head then
1549
		local Horn = CreatePart(3, Superior, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1550
		CreateWeldOrSnapOrMotor("Weld", Superior, LASTPART, Horn, CF(0.7, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
1551
		LASTPART = Horn
1552
		Horn.Color = C3((i*3-3)/255,0,0)
1553
	else
1554
		local Horn = CreatePart(3, Superior, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1555
		CreateWeldOrSnapOrMotor("Weld", Superior, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1556
		LASTPART = Horn
1557
		Horn.Color = C3((i*3-3)/255,0,0)
1558
	end
1559
end
1560
local LASTPART = Head
1561
for i = 1, 24 do
1562
	local MATH = (1-(i/30))
1563
	if LASTPART == Head then
1564
		local Horn = CreatePart(3, Superior, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1565
		CreateWeldOrSnapOrMotor("Weld", Superior, LASTPART, Horn, CF(-0.7, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
1566
		LASTPART = Horn
1567
		Horn.Color = C3((i*3-3)/255,0,0)
1568
	else
1569
		local Horn = CreatePart(3, Superior, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1570
		CreateWeldOrSnapOrMotor("Weld", Superior, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1571
		LASTPART = Horn
1572
		Horn.Color = C3((i*3-3)/255,0,0)
1573
	end
1574
end
1575
local LASTPART = Head
1576
for i = 1, 8 do
1577
	local MATH = (1-(i/14))
1578
	if LASTPART == Head then
1579
		local Horn = CreatePart(3, Superior, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1580
		CreateWeldOrSnapOrMotor("Weld", Superior, LASTPART, Horn, CF(0.55, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
1581
		LASTPART = Horn
1582
		Horn.Color = C3((i*3-3)/255,0,0)
1583
	else
1584
		local Horn = CreatePart(3, Superior, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1585
		CreateWeldOrSnapOrMotor("Weld", Superior, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1586
		LASTPART = Horn
1587
		Horn.Color = C3((i*3-3)/255,0,0)
1588
	end
1589
end
1590
local LASTPART = Head
1591
for i = 1, 8 do
1592
	local MATH = (1-(i/14))
1593
	if LASTPART == Head then
1594
		local Horn = CreatePart(3, Superior, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1595
		CreateWeldOrSnapOrMotor("Weld", Superior, LASTPART, Horn, CF(-0.55, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
1596
		LASTPART = Horn
1597
		Horn.Color = C3((i*3-3)/255,0,0)
1598
	else
1599
		local Horn = CreatePart(3, Superior, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1600
		CreateWeldOrSnapOrMotor("Weld", Superior, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1601
		LASTPART = Horn
1602
		Horn.Color = C3((i*3-3)/255,0,0)
1603
	end
1604
end
1605
1606
-- Clock --
1607
local PRT = CreatePart(3, Superior, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
1608
CreateWeldOrSnapOrMotor("Weld", Superior, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1609
local PRT = CreatePart(3, Superior, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
1610
CreateWeldOrSnapOrMotor("Weld", Superior, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1611
MakeForm(PRT,"Cyl")
1612
local PRT = CreatePart(3, Superior, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
1613
CreateWeldOrSnapOrMotor("Weld", Superior, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1614
MakeForm(PRT,"Cyl")
1615
PRT.Color = C3(85/255, 0/255, 0/255)
1616
local RING = CreatePart(3, Superior, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
1617
CreateWeldOrSnapOrMotor("Weld", Superior, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1618
MakeForm(RING,"Cyl")
1619
RING.Color = C3(0,0,0)
1620
for i = 1, 12 do
1621
	local PRT = CreatePart(3, Superior, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
1622
	PRT.Color = C3(0,0,0)
1623
	local MSH = IT("BlockMesh",PRT)
1624
	MSH.Scale = VT(0.6,1,1)
1625
	CreateWeldOrSnapOrMotor("Weld", Superior, 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))
1626
end
1627
local PRT = CreatePart(3, Superior, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
1628
PRT.Color = C3(0,0,0)
1629
local MSH = IT("BlockMesh",PRT)
1630
MSH.Scale = VT(0.4,1,1)
1631
local WATCH1 = CreateWeldOrSnapOrMotor("Weld", Superior, 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))
1632
local PRT = CreatePart(3, Superior, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
1633
PRT.Color = C3(0,0,0)
1634
local MSH = IT("BlockMesh",PRT)
1635
MSH.Scale = VT(0.4,1,1)
1636
local WATCH2 = CreateWeldOrSnapOrMotor("Weld", Superior, 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))
1637
coroutine.resume(coroutine.create(function()
1638
	while true do
1639
		Swait()
1640
		CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
1641
		WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
1642
		WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
1643
		if CLOCKLOOP <= -150 then
1644
			if VALUE1 == false then
1645
				CLOCKLOOP = 0
1646
				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, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
1647
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1648
				ApplyAoE(HITPOS,10,10,30,10,false)
1649
				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(155/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1650
				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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1651
				if CLOCKTARGET ~= nil then
1652
					CLOCKTARGET.Health = CLOCKTARGET.Health - 20
1653
					if CLOCKTARGET.Torso ~= nil then
1654
						CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
1655
					end
1656
					if CLOCKTARGET.Health == 0 then
1657
						CLOCKTARGET = nil
1658
					end
1659
				end
1660
			end
1661
		end
1662
	end
1663
end))
1664
1665
local PRT = CreatePart(3, Voided, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
1666
PRT.Color = C3(153,0,153)
1667
MakeForm(PRT,"Ball")
1668
CreateWeldOrSnapOrMotor("Weld", Voided, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1669
local PRT = CreatePart(3, Voided, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
1670
PRT.Color = C3(153,0,153)
1671
MakeForm(PRT,"Ball")
1672
CreateWeldOrSnapOrMotor("Weld", Voided, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
1673
local PRT = CreatePart(3, Voided, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
1674
PRT.Color = C3(153,0,153)
1675
MakeForm(PRT,"Ball")
1676
CreateWeldOrSnapOrMotor("Weld", Voided, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
1677
local PRT = CreatePart(3, Voided, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
1678
PRT.Color = C3(153,0,153)
1679
MakeForm(PRT,"Ball")
1680
CreateWeldOrSnapOrMotor("Weld", Voided, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
1681
local PRT = CreatePart(3, Voided, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
1682
PRT.Color = C3(153,0,153)
1683
MakeForm(PRT,"Ball")
1684
CreateWeldOrSnapOrMotor("Weld", Voided, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
1685
local PRT = CreatePart(3, Voided, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
1686
PRT.Color = C3(153,0,153)
1687
MakeForm(PRT,"Ball")
1688
CreateWeldOrSnapOrMotor("Weld", Voided, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
1689
1690
1691
-- Horn(Voided) --
1692
1693
local LASTPART = Head
1694
for i = 1, 24 do
1695
	local MATH = (1-(i/30))
1696
	if LASTPART == Head then
1697
		local Horn = CreatePart(3, Voided, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1698
		CreateWeldOrSnapOrMotor("Weld", Voided, LASTPART, Horn, CF(-0.7, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
1699
		LASTPART = Horn
1700
		Horn.Color = C3((i*3-3)/153,0,153)
1701
	else
1702
		local Horn = CreatePart(3, Voided, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1703
		CreateWeldOrSnapOrMotor("Weld", Voided, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1704
		LASTPART = Horn
1705
		Horn.Color = C3((i*3-3)/153,0,153)
1706
	end
1707
end
1708
local LASTPART = Head
1709
for i = 1, 8 do
1710
	local MATH = (1-(i/14))
1711
	if LASTPART == Head then
1712
		local Horn = CreatePart(3, Voided, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1713
		CreateWeldOrSnapOrMotor("Weld", Voided, LASTPART, Horn, CF(-0.55, -0.3, -0.4) * ANGLES(RAD(-15), RAD(-250), RAD(-90)), CF(0, 0, 0))
1714
		LASTPART = Horn
1715
		Horn.Color = C3((i*3-3)/153,0,153)
1716
	else
1717
		local Horn = CreatePart(3, Voided, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1718
		CreateWeldOrSnapOrMotor("Weld", Voided, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1719
		LASTPART = Horn
1720
		Horn.Color = C3((i*3-3)/153,0,153)
1721
	end
1722
end
1723
1724
-- Gauntlet(Voided) --
1725
1726
1727
1728
-- Injustice --
1729
for i = 1, 16 do
1730
	local FACE = CreatePart(3, Injustice, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01*SIZE,0.65*SIZE,1.01*SIZE),false)
1731
	FACE.Color = C3(0,0,0)
1732
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
1733
	CreateWeldOrSnapOrMotor("Weld", Injustice, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
1734
end
1735
local EYE = CreatePart(3, Injustice, "Neon", 0, 0, "New Yeller", "Eyeball", VT(0.15*SIZE,0.15*SIZE,0.15*SIZE),false)
1736
MakeForm(EYE,"Ball")
1737
CreateWeldOrSnapOrMotor("Weld", Injustice, Head, EYE, CF(0.15,0.26,-0.55), CF(-0, 0, 0.27))
1738
local EYE2 = CreatePart(3, Injustice, "Neon", 0, 0, "New Yeller", "Eyeball", VT(0.15*SIZE,0.15*SIZE,0.15*SIZE),false)
1739
MakeForm(EYE2,"Ball")
1740
CreateWeldOrSnapOrMotor("Weld", Injustice, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0.27))
1741
local HAT1 = CreatePart(3, Injustice, "Metal", 0, 0, "Really black", "Hat", VT(2*SIZE,0.2*SIZE,2*SIZE),false)
1742
MakeForm(HAT1,"Cyl")
1743
HATWELD = CreateWeldOrSnapOrMotor("Weld", Injustice, Head, HAT1, CF(0,1,0), CF(0, 0, 0))
1744
local BELT = CreatePart(3, Injustice, "Metal", 0, 0, "Really black", "Hat", VT(2.01*SIZE,0.15*SIZE,2.01*SIZE),false)
1745
BELT.Color = Color3.new(0,0,0)
1746
MakeForm(BELT,"Cyl")
1747
CreateWeldOrSnapOrMotor("Weld", Injustice, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
1748
local HAT2 = CreatePart(3, Injustice, "Metal", 0, 0, "Really black", "Hat", VT(1.3*SIZE,2.2*SIZE,1.3*SIZE),false)
1749
MakeForm(HAT2,"Cyl")
1750
CreateWeldOrSnapOrMotor("Weld", Injustice, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
1751
local BELT = CreatePart(3, Injustice, "Metal", 0, 0, "Really black", "Hat", VT(1.31*SIZE,0.2*SIZE,1.31*SIZE),false)
1752
BELT.Color = Color3.new(0,0,0)
1753
MakeForm(BELT,"Cyl")
1754
CreateWeldOrSnapOrMotor("Weld", Injustice, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
1755
local GEM = CreatePart(3, Injustice, "Neon", 0, 0, "New Yeller", "Gem", VT(0.25*SIZE,0.25*SIZE,0.1*SIZE),false)
1756
MakeForm(GEM,"Ball")
1757
CreateWeldOrSnapOrMotor("Weld", Injustice, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
1758
local GEM = CreatePart(3, Injustice, "Neon", 0, 0, "New Yeller", "Gem", VT(0.25*SIZE,0.25*SIZE,0.1*SIZE),false)
1759
MakeForm(GEM,"Ball")
1760
CreateWeldOrSnapOrMotor("Weld", Injustice, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
1761
local GEM = CreatePart(3, Injustice, "Neon", 0, 0, "New Yeller", "Gem", VT(0.1*SIZE,0.25*SIZE,0.25*SIZE),false)
1762
MakeForm(GEM,"Ball")
1763
CreateWeldOrSnapOrMotor("Weld", Injustice, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
1764
local GEM = CreatePart(3, Injustice, "Neon", 0, 0, "New Yeller", "Gem", VT(0.1*SIZE,0.25*SIZE,0.25*SIZE),false)
1765
MakeForm(GEM,"Ball")
1766
CreateWeldOrSnapOrMotor("Weld", Injustice, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
1767
local BELT = CreatePart(3, Injustice, "Neon", 0, 0, "Black", "Hat", VT(1.31*SIZE,0.1*SIZE,1.31*SIZE),false)
1768
BELT.Color = Color3.new(0,0,0)
1769
MakeForm(BELT,"Cyl")
1770
CreateWeldOrSnapOrMotor("Weld", Injustice, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
1771
local BELT = CreatePart(3, Injustice, "Neon", 0, 0, "Black", "Hat", VT(1.31*SIZE,0.1*SIZE,1.31*SIZE),false)
1772
BELT.Color = Color3.new(0,0,0)
1773
MakeForm(BELT,"Cyl")
1774
CreateWeldOrSnapOrMotor("Weld", Injustice, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
1775
local BELT = CreatePart(3, Injustice, "Neon", 0, 0, "Black", "Hat", VT(1.31*SIZE,0.1*SIZE,1.31*SIZE),false)
1776
BELT.Color = Color3.new(0,0,0)
1777
MakeForm(BELT,"Cyl")
1778
CreateWeldOrSnapOrMotor("Weld", Injustice, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
1779
1780
-- IdleGun(Injustice) --
1781
1782
local Handle = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false)
1783
local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, Torso, Handle, CF(-1.6, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1784
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
1785
MakeForm(Part,"Wedge")
1786
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1787
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false)
1788
MakeForm(Part,"Wedge")
1789
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1790
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false)
1791
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1792
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
1793
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1794
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
1795
MakeForm(Part,"Cyl")
1796
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1797
for i = 1, 8 do
1798
	local Piece = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
1799
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1800
end
1801
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false)
1802
MakeForm(Part,"Cyl")
1803
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1804
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false)
1805
MakeForm(Part,"Ball")
1806
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1807
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false)
1808
MakeForm(Part,"Wedge")
1809
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1810
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false)
1811
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1812
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false)
1813
MakeForm(Part,"Cyl")
1814
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1815
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false)
1816
MakeForm(Part,"Cyl")
1817
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1818
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false)
1819
MakeForm(Part,"Cyl")
1820
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1821
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
1822
MakeForm(Part,"Wedge")
1823
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1824
local LASTPART = Handle
1825
for i = 1, 10 do
1826
	if LASTPART == Handle then
1827
		local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "New Yeller", "Part", VT(0.1,0.2,0),false)
1828
		LASTPART = Part
1829
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1830
	else
1831
		local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "New Yeller", "Part", VT(0.1,0.05,0),false)
1832
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1833
		LASTPART = Part
1834
	end
1835
end
1836
1837
local Barrel = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.15,2,0.15),false)
1838
MakeForm(Barrel,"Cyl")
1839
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1840
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false)
1841
MakeForm(Part,"Cyl")
1842
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1843
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false)
1844
MakeForm(Part,"Wedge")
1845
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1846
local Hole = CreatePart(3, InjusticeGun, "Metal", 0, 0, "New Yeller", "Eye", VT(0.125,0,0.125),false)
1847
MakeForm(Hole,"Cyl")
1848
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
1849
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "New Yeller", "Part", VT(0,0,0),false)
1850
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1851
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1852
local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0.5, "New Yeller", "Eye", VT(0,0,0),false)
1853
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1854
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1855
coroutine.resume(coroutine.create(function()
1856
	while wait() do
1857
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1858
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1859
	end
1860
end))
1861
-- UsedGun(Injustice) --
1862
1863
local Handle2 = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false)
1864
local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle2, RightArm, Handle2, CF(0, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1865
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
1866
MakeForm(Part,"Wedge")
1867
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1868
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false)
1869
MakeForm(Part,"Wedge")
1870
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1871
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false)
1872
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1873
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
1874
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1875
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
1876
MakeForm(Part,"Cyl")
1877
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1878
for i = 1, 8 do
1879
	local Piece = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
1880
	CreateWeldOrSnapOrMotor("Weld", Handle2, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1881
end
1882
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false)
1883
MakeForm(Part,"Cyl")
1884
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1885
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false)
1886
MakeForm(Part,"Ball")
1887
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1888
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false)
1889
MakeForm(Part,"Wedge")
1890
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1891
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false)
1892
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1893
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false)
1894
MakeForm(Part,"Cyl")
1895
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1896
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false)
1897
MakeForm(Part,"Cyl")
1898
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1899
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false)
1900
MakeForm(Part,"Cyl")
1901
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1902
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
1903
MakeForm(Part,"Wedge")
1904
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1905
local LASTPART = Handle2
1906
for i = 1, 10 do
1907
	if LASTPART == Handle then
1908
		local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "New Yeller", "Part", VT(0.1,0.2,0),false)
1909
		LASTPART = Part
1910
		CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1911
	else
1912
		local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "New Yeller", "Part", VT(0.1,0.05,0),false)
1913
		CreateWeldOrSnapOrMotor("Weld", Handle2, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1914
		LASTPART = Part
1915
	end
1916
end
1917
1918
local Barrel2 = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.15,2,0.15),false)
1919
MakeForm(Barrel,"Cyl")
1920
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Barrel2, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1921
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false)
1922
MakeForm(Part,"Cyl")
1923
CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1924
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false)
1925
MakeForm(Part,"Wedge")
1926
CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1927
local Hole2 = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "New Yeller", "Eye", VT(0.125,0,0.125),false)
1928
MakeForm(Hole,"Cyl")
1929
CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
1930
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "New Yeller", "Part", VT(0,0,0),false)
1931
local GEARWELD3 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1932
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1933
local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0.5, "New Yeller", "Eye", VT(0,0,0),false)
1934
local GEARWELD4 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1935
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1936
coroutine.resume(coroutine.create(function()
1937
	while wait() do
1938
		GEARWELD3.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1939
		GEARWELD4.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1940
	end
1941
end))
1942
1943
for _, q in pairs(TomYum:GetChildren()) do
1944
	if q.ClassName == "Part" then
1945
		q.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1946
	end
1947
end
1948
1949
for _, q in pairs(BlackMask:GetChildren()) do
1950
	if q.ClassName == "Part" then
1951
		q.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1952
	end
1953
end
1954
1955
for _, q in pairs(Superior:GetChildren()) do
1956
	if q.ClassName == "Part" then
1957
		q.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1958
	end
1959
end
1960
1961
for _, q in pairs(Voided:GetChildren()) do
1962
	if q.ClassName == "Part" then
1963
		q.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1964
	end
1965
end
1966
1967
for _, b in pairs(Injustice:GetChildren()) do
1968
	if b.ClassName == "Part" then
1969
		b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1970
	end
1971
end
1972
1973
for _, b in pairs(InjusticeGun2:GetChildren()) do
1974
	if b.ClassName == "Part" then
1975
		b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1976
	end
1977
end
1978
1979
for _, b in pairs(InjusticeGun:GetChildren()) do
1980
	if b.ClassName == "Part" then
1981
		b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1982
	end
1983
end
1984
1985
for _, b in pairs(LostHope:GetChildren()) do
1986
	if b.ClassName == "Part" then
1987
		b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1988
	end
1989
end
1990
1991
Neck.Name = "Weld"
1992
RootJoint.Name = "Weld"
1993
RightShoulder.Name = "Weld"
1994
LeftShoulder.Name = "Weld"
1995
RightHip.Name = "Weld"
1996
LeftHip.Name = "Weld"
1997
1998
local SKILLTEXTCOLOR = C3(255/255, 255/255, 255/255)
1999
local SKILLFONT = "Fantasy"
2000
local SKILLTEXTSIZE = 7
2001
2002
local FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(0.13, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "SNAP!!")
2003
local FACEME = {"PLZZZZ","MAX-LOCAL DANG","HAHAHA","BY NAMECLAN??!","IWANNAEATTOMYUM","AM I PRETTY?","YA HAHAH","PANDORA EDIT??!!","I CAN'T DO IT ANYMORE","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","I WANT VOID WARDEN","PLZ LEAK NEPTUNIAN BUFFED","KERMAT SENT ME FRIEND-REQUEST!!","THAT IT?","WHAT ARE YOU!!","I HAVE PIIZA","IF YOU FOUND THIS COMMENT #V.3ISHERE","OMGGGGGG","IDK WHAT TO TYPE IN","RANDOM TEXT","BUTTOM TEXT","FONT TEXT","I LOVE UNDERTALE","I HATE UNDERTALE","ARE YOU SERIOUS?!","SHACKLUSTER IS BEST SCRIPTER","PLEASE REMOVE FE UPDATE!!!","PLEASE HELP ME RIOT FE UPDATE!!!","I BROKE UP WITH BEE AGHH","ARE YOU STILL READING THIS???","LEAK REAL GALAXY GLITCHER!!","VENGEFUL PLZ BACK TO FD SHOWCASE!!!","STOP IT!","I'M NOT GAEY","I'M GAEY","PEOPLE CALLED ME 'U-KE'","WHY I STILL TYPE THIS?","I HAVE ALOT OF HARD WORK YA KNOW?","I REQUEST NAME TO SHOWCASE WANTH092 PANDORA PLZ WAIT"}
2004
local INSANITYGUIS = {}
2005
for e = 1, 28 do
2006
    for i = 1, 22 do
2007
        local MURDERFRAME = FRAME:Clone()
2008
        MURDERFRAME.Position = UD2(-0.05+i/30, 0, e/30, 0)
2009
        MURDERFRAME.Parent = WEAPONGUI
2010
        table.insert(INSANITYGUIS,MURDERFRAME)
2011
    end
2012
end
2013
coroutine.resume(coroutine.create(function()
2014
    while true do
2015
        wait()
2016
        coroutine.resume(coroutine.create(function()
2017
            local COLOR = C3(MRANDOM(100,255)/255, 0, 187)
2018
            local APPEARTEXT = FACEME[MRANDOM(1,#FACEME)]
2019
            local SHOW = ""
2020
            for i = 1,string.len(APPEARTEXT),1 do
2021
                local STRING = string.sub(APPEARTEXT,i,i)
2022
                if MRANDOM(1,5) == 1 then
2023
                    SHOW = SHOW..string.lower(STRING)
2024
                else
2025
                    SHOW = SHOW..STRING
2026
                end
2027
            end
2028
            local PARENT = INSANITYGUIS[MRANDOM(1,#INSANITYGUIS)]
2029
            local TEXT = CreateLabel(PARENT, SHOW, COLOR, 6, SKILLFONT, 1, 2, 1, "THISISYOURFAULTH")
2030
            if MODE == "TomYum" then
2031
            for i = 0.7, 15 do
2032
                Swait()
2033
                TEXT.Rotation = MRANDOM(-15,15)
2034
                TEXT.TextTransparency = TEXT.TextTransparency - 1/15
2035
            end
2036
            end
2037
            if MODE == "TomYum" then
2038
            for i = 0.7, 15 do
2039
                Swait()
2040
                TEXT.Rotation = MRANDOM(-15,15)
2041
                TEXT.TextTransparency = TEXT.TextTransparency + 1/15
2042
            end
2043
            end
2044
            TEXT:Remove()
2045
        end))
2046
    end
2047
end))
2048
FRAME:remove()
2049
2050
2051
TomYum.Parent = nil
2052
Weapon.Parent = Character
2053
Humanoid.Parent = Character
2054
LostHope.Parent = Character
2055
Superior.Parent = nil
2056
TomYum.Parent = nil
2057
BlackMask.Parent = nil
2058
2059
2060
Humanoid.Died:connect(function()
2061
	ATTACK = true
2062
end)
2063
2064
--//=================================\\
2065
--||			ANIM(WARDEN)
2066
--\\=================================//
2067
2068
function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
2069
	PLAYMAINANIM = false
2070
	if WhichPose == "Cast1" then
2071
		for i=0, Time, 0.1 / Animation_Speed do
2072
			Swait()
2073
			if Magic == true then
2074
				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"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2075
			end
2076
			if Gyro ~= nil and Gyro ~= false then
2077
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
2078
			end
2079
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE - 0.04 * SIN(SINE / 24)*SIZE, 0*SIZE + 0.04 * SIN(SINE / 12)*SIZE, 0*SIZE + 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)
2080
			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)
2081
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2082
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2083
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06*SIZE * 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)
2084
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06*SIZE * 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)
2085
        end
2086
	elseif WhichPose == "Cast2" then
2087
		for i=0, Time, 0.1 / Animation_Speed do
2088
			Swait()
2089
			if Magic == true then
2090
				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"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2091
			end
2092
			if Gyro ~= nil and Gyro ~= false then
2093
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
2094
			end
2095
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE - 0.04 * SIN(SINE / 24)*SIZE, 0*SIZE + 0.04 * SIN(SINE / 12)*SIZE, 0*SIZE + 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)
2096
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(10 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2097
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 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)
2098
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2099
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06*SIZE * 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)
2100
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06*SIZE * 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)
2101
		end
2102
	elseif WhichPose == "RightArmUp" then
2103
		for i=0, Time, 0.1 / Animation_Speed do
2104
			Swait()
2105
			if Magic == true then
2106
				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"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2107
			end
2108
			if Gyro ~= nil and Gyro ~= false then
2109
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
2110
			end
2111
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
2112
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
2113
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2114
			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)
2115
			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)
2116
			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)
2117
		end
2118
	elseif WhichPose == "Taunt" then
2119
		for i=0, Time, 0.1 / Animation_Speed do
2120
			Swait()
2121
			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)
2122
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
2123
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2124
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2125
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
2126
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
2127
		end
2128
		HATWELD.Part0 = RightArm
2129
		HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
2130
		CreateSound(221057812,Torso,10,1,false)
2131
		for i=0, Time*2, 0.1 / Animation_Speed do
2132
			Swait()
2133
			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)
2134
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
2135
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5*SIZE) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2136
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5*SIZE) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2137
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
2138
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
2139
		end
2140
		for i=0, Time, 0.1 / Animation_Speed do
2141
			Swait()
2142
			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)
2143
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
2144
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.5*SIZE) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2145
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2146
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
2147
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
2148
			HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
2149
		end
2150
		HATWELD.Part0 = Head
2151
		HATWELD.C0 = CF(0,1,0)
2152
	elseif WhichPose == "Prepare key" then
2153
		for i=0, Time, 0.1 / Animation_Speed do
2154
			Swait()
2155
			if Gyro ~= nil and Gyro ~= false then
2156
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
2157
			end
2158
			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(65)), Speed / Animation_Speed)
2159
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
2160
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
2161
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2162
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2163
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2164
		end
2165
	elseif WhichPose == "Turn key" then
2166
		for i=0, Time, 0.1 / Animation_Speed do
2167
			Swait()
2168
			if Gyro ~= nil and Gyro ~= false then
2169
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
2170
			end
2171
			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(75)), Speed / Animation_Speed)
2172
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
2173
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5*SIZE + 0.15*SIZE * 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)
2174
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
2175
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2176
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2177
		end
2178
	end
2179
	PLAYMAINANIM = true
2180
end
2181
2182
--//=================================\\
2183
--||			DAMAGING
2184
--\\=================================//
2185
2186
function killnearest(position,range,maxstrength,direction)
2187
    for i,v in ipairs(workspace:GetChildren()) do
2188
    local body = v:GetChildren()
2189
        for part = 1, #body do
2190
            if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2191
                if(body[part].Position - position).Magnitude < range then
2192
                    if v.ClassName == "Model" then
2193
                        --v:BreakJoints()
2194
                    end
2195
                    local POS = position
2196
                    coroutine.resume(coroutine.create(function()
2197
                        body[part].Anchored = true
2198
                        body[part].Parent = Effects
2199
                        body[part].CanCollide = true
2200
                        local SIZE = body[part].Size
2201
                        body[part].Material = "Neon"
2202
                        CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
2203
                        for i = 1, 75 do
2204
                            Swait()
2205
                            body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
2206
                            body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2207
                        end
2208
                        coroutine.resume(coroutine.create(function()
2209
                            while true do
2210
                                Swait()
2211
                                body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
2212
                                body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2213
                            end
2214
                        end))
2215
                        body[part].Anchored = false
2216
                        body[part].Velocity = direction.lookVector*maxstrength
2217
                    end))
2218
                end
2219
            end
2220
        end
2221
        if v.ClassName == "Part" then
2222
            if v.Anchored == false and (v.Position - position).Magnitude < range then
2223
                local POS = position
2224
                coroutine.resume(coroutine.create(function()
2225
                    v.Anchored = true
2226
                    v.Parent = Effects
2227
                    local SIZE = v.Size
2228
                    v.Material = "Neon"
2229
                    CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
2230
                    for i = 1, 75 do
2231
                        Swait()
2232
                        v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
2233
                        v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2234
                    end
2235
                    coroutine.resume(coroutine.create(function()
2236
                        while true do
2237
                            Swait()
2238
                            v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
2239
                            v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2240
                        end
2241
                    end))
2242
                    v.Anchored = false
2243
                    v.Velocity = direction.lookVector*maxstrength
2244
                end))
2245
            end
2246
        end
2247
    end
2248
end
2249
2250
function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
2251
	local TORSO = Torso
2252
	local HUM = Humanoid
2253
	if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
2254
		coroutine.wrap(function()
2255
			VT = Vector3.new
2256
			MRANDOM = math.random
2257
			local A = TIME
2258
			local B = INTENSITY
2259
			local C = true
2260
			local HUMANOID = Humanoid
2261
			local TIMER = A or 35
2262
			local SHAKE = B or 5
2263
			local FADE = C or true
2264
			if HUMANOID then
2265
				local FADER = SHAKE / TIMER
2266
				for i = 1, TIMER do
2267
					wait()
2268
					HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
2269
				end
2270
				HUMANOID.CameraOffset = VT(0, 0, 0)
2271
			end
2272
2273
		end)()
2274
	end
2275
end
2276
2277
function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,BESERK)
2278
	local dmg = math.random(10000,100000)
2279
	for i,v in ipairs(workspace:GetChildren()) do
2280
	if v:FindFirstChild("HitBy"..Player.Name) == nil then
2281
		local body = v:GetChildren()
2282
			for part = 1, #body do
2283
				if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2284
					if(body[part].Position - position).Magnitude < radius then
2285
						if v.ClassName == "Model" then
2286
							if v:FindFirstChildOfClass("Humanoid") then
2287
								ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier,BESERK)
2288
								local bv = Instance.new("BodyVelocity") 
2289
								bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2290
								bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
2291
								bv.Parent = body[part]
2292
								Debris:AddItem(bv,0.2)
2293
							end
2294
						end
2295
					end
2296
				end
2297
			end
2298
		end
2299
		if v:FindFirstChild("HitBy"..Player.Name) then
2300
			v:FindFirstChild("HitBy"..Player.Name):remove()
2301
		end
2302
	end
2303
end
2304
2305
function CameraEnshaking(Length, Intensity)
2306
	coroutine.resume(coroutine.create(function()
2307
		local intensity = 1 * Intensity
2308
		local rotM = 0.01 * Intensity
2309
		for i = 0, Length, 0.1 do
2310
			Swait()
2311
			intensity = intensity - 0.05 * Intensity / Length
2312
			rotM = rotM - 5.0E-4 * Intensity / Length
2313
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
2314
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
2315
		end
2316
		hum.CameraOffset = Vector3.new(0, 0, 0)
2317
	end))
2318
end
2319
2320
function ApplyDamage(Humanoid,Damage,TorsoPart)
2321
	local defence = Instance.new("BoolValue",Humanoid.Parent)
2322
	defence.Name = ("HitBy"..Player.Name)
2323
	game:GetService("Debris"):AddItem(defence, 0.001)
2324
	Damage = Damage * DAMAGEMULTIPLIER
2325
	if Humanoid.Health ~= 0 then
2326
		local CritChance = MRANDOM(1,100)
2327
		if Damage > Humanoid.Health then
2328
			Damage = math.ceil(Humanoid.Health)
2329
			if Damage == 0 then
2330
				Damage = 0.1
2331
			end
2332
		end
2333
		Humanoid.Health = Humanoid.Health - Damage
2334
	end
2335
end
2336
2337
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
2338
	local CHILDREN = workspace:GetDescendants()
2339
	for index, CHILD in pairs(CHILDREN) do
2340
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2341
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2342
			if HUM then
2343
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2344
				if TORSO then
2345
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
2346
						if INSTAKILL == true then
2347
							CHILD:BreakJoints()
2348
						else
2349
							local DMG = MRANDOM(MINDMG,MAXDMG)
2350
							ApplyDamage(HUM,DMG,TORSO)
2351
						end
2352
						if FLING > 0 then
2353
							for _, c in pairs(CHILD:GetChildren()) do
2354
								if c:IsA("BasePart") then
2355
									local bv = Instance.new("BodyVelocity") 
2356
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2357
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
2358
									bv.Parent = c
2359
									Debris:AddItem(bv,0.05)
2360
								end
2361
							end
2362
						end
2363
					end
2364
				end
2365
			end
2366
		end
2367
	end
2368
end
2369
2370
2371
2372
function MagicSphere2(size,waitt,cframe,color)
2373
	local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
2374
	local mesh = IT("SpecialMesh",wave)
2375
	mesh.MeshType = "Sphere"
2376
	mesh.Scale = VT(size,size,size)
2377
	mesh.Offset = VT(0,0,0)
2378
	wave.CFrame = cframe
2379
	coroutine.resume(coroutine.create(function(PART)
2380
		for i = 1, waitt do
2381
			Swait()
2382
			mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
2383
			wave.Transparency = wave.Transparency - (1/waitt)
2384
		end
2385
		wave:remove()
2386
	end))
2387
end
2388
2389
function MagicSphere(size,waitt,cframe,color)
2390
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
2391
	local mesh = IT("SpecialMesh",wave)
2392
	mesh.MeshType = "Sphere"
2393
	mesh.Scale = VT(size,size,size)
2394
	mesh.Offset = VT(0,0,0)
2395
	wave.CFrame = cframe
2396
	coroutine.resume(coroutine.create(function(PART)
2397
		for i = 1, waitt do
2398
			Swait()
2399
			mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
2400
			wave.Transparency = wave.Transparency + (1/waitt)
2401
			if wave.Transparency > 0.99 then
2402
				wave:remove()
2403
			end
2404
		end
2405
	end))
2406
end
2407
2408
local asd = Instance.new("ParticleEmitter")
2409
asd.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0), Color3.new(.3, .3, 0))
2410
asd.LightEmission = .1
2411
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
2412
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
2413
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
2414
asd.Transparency = bbb
2415
asd.Size = aaa
2416
asd.ZOffset = .9
2417
asd.Acceleration = Vector3.new(0, -15, 0)
2418
asd.LockedToPart = false
2419
asd.EmissionDirection = "Back"
2420
asd.Lifetime = NumberRange.new(1, 2)
2421
asd.Rotation = NumberRange.new(-100, 100)
2422
asd.RotSpeed = NumberRange.new(-100, 100)
2423
asd.Speed = NumberRange.new(10)
2424
asd.Enabled = false
2425
asd.VelocitySpread = 999
2426
2427
function getbloody(victim,amount)
2428
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
2429
	PART.CFrame = victim.CFrame
2430
	local HITPLAYERSOUNDS = {"356551938","264486467"}
2431
	Debris:AddItem(PART,5)
2432
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
2433
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
2434
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
2435
	local prtcl = asd:Clone()
2436
	prtcl.Parent = PART
2437
	prtcl:Emit(amount*10)
2438
end
2439
2440
function Kill(Char)
2441
	local NewCharacter = IT("Model",Effects)
2442
	NewCharacter.Name = "Ow im ded ;-;"
2443
	for _, c in pairs(Char:GetDescendants()) do
2444
		if c:IsA("BasePart") and c.Transparency == 0 then
2445
			if c.Parent == Char then
2446
				getbloody(c,5)
2447
			end
2448
			c:BreakJoints()
2449
			c.Material = "Glass"
2450
			c.Color = C3(0.5,0.5,0)
2451
			c.CanCollide = true
2452
			c.Transparency = 0.3
2453
			if c:FindFirstChildOfClass("SpecialMesh") then
2454
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
2455
			end
2456
			if c.Name == "Head" then
2457
				c:ClearAllChildren()
2458
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
2459
			end
2460
			if c.ClassName == "MeshPart" then
2461
				c.TextureID = ""
2462
			end
2463
			if c:FindFirstChildOfClass("BodyPosition") then
2464
				c:FindFirstChildOfClass("BodyPosition"):remove()
2465
			end
2466
			if c:FindFirstChildOfClass("ParticleEmitter") then
2467
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2468
			end
2469
			c.Parent = NewCharacter
2470
			c.Name = "DeadPart"
2471
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
2472
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
2473
		end
2474
	end
2475
	Char:remove()
2476
	Debris:AddItem(NewCharacter,5)
2477
end
2478
2479
--//=================================\\
2480
--||          SOME TAG EDIT
2481
--\\=================================//
2482
2483
m = game.Players.LocalPlayer
2484
char = m.Character
2485
local txt = Instance.new("BillboardGui", char)
2486
txt.Adornee = char.Head
2487
txt.Name = "_status"
2488
txt.Size = UDim2.new(2, 0, 1.2, 0)
2489
txt.StudsOffset = Vector3.new(-9, 10, 0)
2490
local text = Instance.new("TextLabel", txt)
2491
text.Size = UDim2.new(10, 0, 7, 0)
2492
text.FontSize = "Size24"
2493
text.TextScaled = true
2494
text.TextTransparency = 0
2495
text.BackgroundTransparency = 1
2496
text.TextTransparency = 0
2497
text.TextStrokeTransparency = 0
2498
text.Font = "Bodoni"
2499
text.TextStrokeColor3 = Color3.new(255/255, 255/255, 255/255)
2500
v = Instance.new("Part")
2501
v.Name = "ColorBrick"
2502
v.Parent = m.Character
2503
v.FormFactor = "Symmetric"
2504
v.Anchored = true
2505
v.CanCollide = false
2506
v.BottomSurface = "Smooth"
2507
v.TopSurface = "Smooth"
2508
v.Size = Vector3.new(10, 5, 3)
2509
v.Transparency = 1
2510
v.CFrame = char.Torso.CFrame
2511
v.BrickColor = BrickColor.new("Really black")
2512
v.Transparency = 1
2513
v.Shape = "Block"
2514
coroutine.resume(coroutine.create(function()
2515
sick.TimePosition = 12
2516
text.Text = "Switcher v.2"
2517
end))
2518
2519
--//=================================\\
2520
--||	     MODE SWITCHING
2521
--\\=================================//
2522
2523
function Intro()
2524
	ATTACK = true
2525
	Rooted = true
2526
coroutine.resume(coroutine.create(function()
2527
	    wait(7)
2528
	    top.ShirtTemplate = "rbxassetid://45695443"
2529
        bottom.PantsTemplate = "rbxassetid://45696190"
2530
        HeadColor = C3(0,0,0)
2531
        BodyColor = C3(0,0,0)
2532
        LostHope.Parent = nil
2533
        Superior.Parent = Character
2534
        Swait(30)
2535
        Superior.Parent = nil
2536
		Voided.Parent = Character
2537
        top.ShirtTemplate = "rbxassetid://236410507"
2538
        bottom.PantsTemplate = "rbxassetid://236412261"
2539
        HeadColor = C3(0,0,0)
2540
        BodyColor = C3(0,0,0)
2541
        BlackMask.Parent = Character
2542
        Swait(30)
2543
        top.ShirtTemplate = "rbxassetid://338740550"
2544
        bottom.PantsTemplate = "rbxassetid://338750779"
2545
        HeadColor = C3(1,1,1)
2546
        BodyColor = C3(1,1,1)
2547
        MaskColor = C3(255,0,0)
2548
        BlackMask.Parent = nil
2549
		Voided.Parent = nil
2550
		Injustice.Parent = Character
2551
		InjusticeGun.Parent = Character
2552
        Swait(30)
2553
        top.ShirtTemplate = "rbxassetid://1533635803"
2554
        bottom.PantsTemplate = "rbxassetid://1460022985"
2555
        HeadColor = C3(1,1,1)
2556
        BodyColor = C3(0,0,0)
2557
		Injustice.Parent = nil
2558
		InjusticeGun.Parent = nil
2559
		TomYum.Parent = Character
2560
		LostHope.Parent = Character
2561
        Swait(30)
2562
		TomYum.Parent = nil
2563
		end))
2564
	repeat 
2565
		Swait() 
2566
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2567
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2568
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2569
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2570
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2571
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0 - 2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2572
	until sick.TimePosition > 14
2573
	repeat 
2574
		Swait()
2575
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, -1 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed/8)
2576
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2577
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 1 * SIZE, 1 * SIZE) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed/8)
2578
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed/8)
2579
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.3 * SIZE, -1 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed/8)
2580
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -0.3 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed/8)
2581
	until sick.TimePosition > 16
2582
	repeat 
2583
		Swait() 
2584
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, -1 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
2585
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2586
            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, 0.2 / Animation_Speed)
2587
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2588
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.3 * SIZE, -1 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2589
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -0.3 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2590
	until sick.TimePosition > 20.7
2591
	tecks2.TextTransparency = 0
2592
	text.Text = "HopeLess"
2593
	TRANSFORMED = true
2594
	ATTACK = false
2595
	Rooted = false
2596
	end
2597
	
2598
function InsaneCameraText()
2599
	local FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(0.13, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "SNAP!!")
2600
local FACEME = {"PLZZZZ","MAX-LOCAL DANG","HAHAHA","BY NAMECLAN??!","IWANNAEATTOMYUM","AM I PRETTY?","YA HAHAH","PANDORA EDIT??!!","I CAN'T DO IT ANYMORE","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS"}
2601
local INSANITYGUIS = {}
2602
for e = 1, 28 do
2603
    for i = 1, 22 do
2604
        local MURDERFRAME = FRAME:Clone()
2605
        MURDERFRAME.Position = UD2(-0.05+i/30, 0, e/30, 0)
2606
        MURDERFRAME.Parent = WEAPONGUI
2607
        table.insert(INSANITYGUIS,MURDERFRAME)
2608
    end
2609
end
2610
coroutine.resume(coroutine.create(function()
2611
    while true do
2612
        wait()
2613
        coroutine.resume(coroutine.create(function()
2614
            local COLOR = C3(MRANDOM(100,255)/255,0,0)
2615
            local APPEARTEXT = FACEME[MRANDOM(1,#FACEME)]
2616
            local SHOW = ""
2617
            for i = 1,string.len(APPEARTEXT),1 do
2618
                local STRING = string.sub(APPEARTEXT,i,i)
2619
                if MRANDOM(1,2) == 1 then
2620
                    SHOW = SHOW..string.lower(STRING)
2621
                else
2622
                    SHOW = SHOW..STRING
2623
                end
2624
            end
2625
            local PARENT = INSANITYGUIS[MRANDOM(1,#INSANITYGUIS)]
2626
            local TEXT = CreateLabel(PARENT, SHOW, COLOR, 7, SKILLFONT, 1, 2, 1, "THISISYOURFAULTH")
2627
            for i = 1, 15 do
2628
                Swait()
2629
                TEXT.Rotation = MRANDOM(-15,15)
2630
                TEXT.TextTransparency = TEXT.TextTransparency - 1/15
2631
            end
2632
            for i = 1, 15 do
2633
                Swait()
2634
                TEXT.Rotation = MRANDOM(-15,15)
2635
                TEXT.TextTransparency = TEXT.TextTransparency + 1/15
2636
            end
2637
            TEXT:Remove()
2638
        end))
2639
    end
2640
end))
2641
FRAME:remove()
2642
end
2643
2644
2645
2646
2647
function SuperiorForm()
2648
	ATTACK = true
2649
	Rooted = true
2650
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2651
	if MODE == "Main" then
2652
		SONG = 1873219898
2653
		VOLUME = 3
2654
		PITCH = 0.96
2655
		sick.TimePosition = 1
2656
        top.ShirtTemplate = "rbxassetid://45695443"
2657
        bottom.PantsTemplate = "rbxassetid://45696190"
2658
        HeadColor = C3(0,0,0)
2659
        BodyColor = C3(0,0,0)
2660
        text.Text = "Superior"
2661
        text.TextStrokeColor3 = Color3.new(255/255, 0/255, 0/255)
2662
		-- Animation --
2663
		coroutine.resume(coroutine.create(function()
2664
		CameraEnshaking(5, 15)
2665
		WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(75,75,75), Size2 = VT(0.5,0.5,0.5), Transparency = 0, Transparency2 = 0.6, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2666
		Swait(25)
2667
        ApplyAoE(HITPOS,10,5,10,20,false)
2668
        WACKYEFFECT({Time = 10, 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(159/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
2669
        Swait(7.5)
2670
        ApplyAoE(HITPOS,10,5,10,20,false)
2671
        WACKYEFFECT({Time = 10, 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(159/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
2672
        Swait(7.5)
2673
        ApplyAoE(HITPOS,10,5,10,20,false)
2674
        WACKYEFFECT({Time = 10, 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(159/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
2675
        Swait(7.5)
2676
        ApplyAoE(HITPOS,10,5,10,20,false)
2677
        WACKYEFFECT({Time = 10, 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(159/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
2678
        Swait(7.5)
2679
        ApplyAoE(HITPOS,10,5,10,20,false)
2680
        WACKYEFFECT({Time = 10, 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(159/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
2681
        Swait(7.5)
2682
        ApplyAoE(HITPOS,10,5,10,20,false)
2683
        WACKYEFFECT({Time = 10, 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(159/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
2684
        Swait(7.5)
2685
        ApplyAoE(HITPOS,10,5,10,20,false)
2686
        WACKYEFFECT({Time = 10, 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(159/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
2687
        Swait(7.5)
2688
        ApplyAoE(HITPOS,10,5,10,20,false)
2689
        WACKYEFFECT({Time = 10, 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(159/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
2690
        Swait(7.5)
2691
        ApplyAoE(HITPOS,10,10,20,40,false)
2692
        WACKYEFFECT({Time = 30, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,4.5,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
2693
		end))
2694
		LostHope.Parent = nil
2695
		Superior.Parent = Character
2696
		BlackMask.Parent = Character
2697
		for i=0, 1.5, 0.1 / Animation_Speed do
2698
			Swait()
2699
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2700
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2701
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2702
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2703
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2704
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2705
		end
2706
		for i=0, 1.5, 0.1 / Animation_Speed do
2707
			Swait()
2708
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2709
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2710
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2711
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2712
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2713
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2714
		end
2715
		MODE = "Superior"
2716
		Speed = 20
2717
		CLOCKSPEED = 2
2718
	elseif MODE == "Superior" then
2719
		CreateSound(147722227, Torso, 4, 1.3, false)
2720
		SONG = 1382488262
2721
		VOLUME = 4
2722
		PITCH = 1
2723
		sick.TimePosition = 20.7
2724
		WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2725
		WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2726
        Swait(15)
2727
        text.Text = "HopeLess"
2728
        text.TextStrokeColor3 = Color3.new(255/255, 255/255, 255/255)
2729
        HeadColor = C3(1,1,1)
2730
        BodyColor = C3(0,0,0)
2731
        MaskColor = C3(159/255, 111/255, 183/255)
2732
        LostHope.Parent = Character
2733
        top.ShirtTemplate = "rbxassetid://1533635803"
2734
        bottom.PantsTemplate = "rbxassetid://1460022985"
2735
		CLOCKSPEED = 0
2736
		Speed = 16
2737
		BlackMask.Parent = nil
2738
		LostHope.Parent = Character
2739
		Superior.Parent = nil
2740
		MODE = "Main"
2741
	end
2742
	ATTACK = false
2743
	Rooted = false
2744
end
2745
2746
function VoidedForm()
2747
	ATTACK = true
2748
	Rooted = true
2749
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2750
	if MODE == "Main" then
2751
		-- Animation --
2752
		coroutine.resume(coroutine.create(function()
2753
        WACKYEFFECT({Time = 50, EffectType = "Box", Size = VT(8.5,0,8.5), Size2 = VT(8.5,12.5,8.5), Transparency = 0.3, Transparency2 = 0, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153, 0/255, 153), SoundID = nil, SoundPitch = 0.9, SoundVolume = 8})
2754
        wait(0.8)
2755
        WACKYEFFECT({Time = 60, EffectType = "Box", Size = VT(8.5,12.5,8.5), Size2 = VT(8.5,0,8.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153, 0/255, 153), SoundID = nil, SoundPitch = 0.9, SoundVolume = 8})
2756
		wait(0.7)
2757
		LostHope.Parent = nil
2758
		Voided.Parent = Character
2759
        top.ShirtTemplate = "rbxassetid://236410507"
2760
        bottom.PantsTemplate = "rbxassetid://236412261"
2761
        HeadColor = C3(0,0,0)
2762
        BodyColor = C3(0,0,0)
2763
        text.Text = "Voided"
2764
        text.TextStrokeColor3 = Color3.new(153/255, 0/255, 153/255)
2765
        BlackMask.Parent = Character
2766
        WACKYEFFECT({Time = 185, EffectType = "Box", Size = VT(12,0.22,12)*2, Size2 = VT(0,0.22,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(153, 0/255, 153), SoundID = 1820267018, SoundPitch = 0.9, SoundVolume = 8})
2767
        SONG = 1494340971
2768
        Swait(83)
2769
        VOLUME = 5
2770
		PITCH = 1
2771
		sick.TimePosition = 125
2772
        CameraEnshaking(2, 35)
2773
        WACKYEFFECT({Time = 105, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(70,70,70)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153, 0/255, 153), SoundID = 144699494, SoundPitch = 1, SoundVolume = 15})
2774
        ApplyAoE(HITPOS,50,25,75,30,false)
2775
        WACKYEFFECT({Time = 80, EffectType = "Wave", Size = VT(0,0.11,0), Size2 = VT(500,0.11,500), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = 1, SoundVolume = 15})
2776
        end))
2777
		for i=0, 1.5, 0.1 / Animation_Speed do
2778
			Swait()
2779
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
2780
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2781
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(140)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2782
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-20), RAD(0), RAD(-140)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2783
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2784
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2785
		end
2786
		for i=0, 3, 0.1 / Animation_Speed do
2787
			Swait()
2788
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 9999 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
2789
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2790
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(50), RAD(125)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2791
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-50), RAD(-125)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2792
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.71) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
2793
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30)), 1 / Animation_Speed)
2794
		end
2795
		for i=0, 1.8, 0.1 / Animation_Speed do
2796
			Swait()
2797
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.9 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(135), RAD(0), RAD(0)), 0.6 / Animation_Speed)
2798
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2799
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.4*SIZE, 0.5) * ANGLES(RAD(-50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2800
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.95*SIZE, -0.85) * ANGLES(RAD(150), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2801
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), 0.09) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2802
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.41) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2803
		end
2804
		MODE = "Voided"
2805
		Speed = 35
2806
		CLOCKSPEED = 0
2807
	elseif MODE == "Voided" then
2808
		CreateSound(147722227, Torso, 4, 1.3, false)
2809
		SONG = 1382488262
2810
		VOLUME = 4
2811
		PITCH = 1
2812
		sick.TimePosition = 20.7
2813
		WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2814
		WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2815
        Swait(15)
2816
        HeadColor = C3(1,1,1)
2817
        BodyColor = C3(0,0,0)
2818
        MaskColor = C3(159/255, 111/255, 183/255)
2819
        text.Text = "HopeLess"
2820
        text.TextStrokeColor3 = Color3.new(255/255, 255/255, 255/255)
2821
        LostHope.Parent = Character
2822
        top.ShirtTemplate = "rbxassetid://1533635803"
2823
        bottom.PantsTemplate = "rbxassetid://1460022985"
2824
		CLOCKSPEED = 0
2825
		Speed = 16
2826
		BlackMask.Parent = nil
2827
		LostHope.Parent = Character
2828
		Voided.Parent = nil
2829
		MODE = "Main"
2830
	end
2831
	ATTACK = false
2832
	Rooted = false
2833
end
2834
2835
function InjusticeForm()
2836
	ATTACK = true
2837
	Rooted = true
2838
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2839
	if MODE == "Main" then
2840
		SONG = 1092048938
2841
		VOLUME = 4
2842
		PITCH = 1.02
2843
		sick.TimePosition = 0.2
2844
		coroutine.resume(coroutine.create(function()
2845
        WACKYEFFECT({Time = 60, EffectType = "Wave", Size = VT(12,0.55,12)*SIZE, Size2 = VT(12,0.55,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 1, SoundVolume = 6})
2846
        Swait(10)
2847
        WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.5,0.55,0.5), Size2 = VT(0.5,4,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 1.15, SoundVolume = 6})
2848
        WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.55,0.5,0.5), Size2 = VT(4,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
2849
        Swait(57)
2850
        WACKYEFFECT({Time = 150, EffectType = "Wave", Size = VT(12,0.55,12)*SIZE, Size2 = VT(12,0.55,12), Transparency = 1, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 1259054947, SoundPitch = 1, SoundVolume = 6})
2851
        Swait(6.5)
2852
        CameraEnshaking(1.5, 25)
2853
        ApplyAoE(HITPOS,8,10,15,100,false)
2854
        text.Text = "Injustice"
2855
        text.TextStrokeColor3 = Color3.new(255/255, 255/255, 0/255)
2856
        for i=0, 1, 0.1 / Animation_Speed do
2857
		WACKYEFFECT({Time = 85, EffectType = "Crystal", Size = VT(8,8,8)*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"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2858
        end
2859
		end))
2860
		for i=0, 1.5, 0.1 / Animation_Speed do
2861
			Swait()
2862
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
2863
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2864
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2865
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2866
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2867
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2868
		end
2869
		for i=0, 0.4, 0.1 / Animation_Speed do
2870
			Swait()
2871
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
2872
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2873
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(50), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2874
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-50), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2875
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2876
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2877
		end
2878
		for i=0, 1, 0.1 / Animation_Speed do
2879
			Swait()
2880
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
2881
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2882
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, -0.7) * ANGLES(RAD(0), RAD(170), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2883
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, -0.7) * ANGLES(RAD(0), RAD(-170), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2884
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(10), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2885
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(10), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2886
		end
2887
        top.ShirtTemplate = "rbxassetid://338740550"
2888
        bottom.PantsTemplate = "rbxassetid://338750779"
2889
        HeadColor = C3(1,1,1)
2890
        BodyColor = C3(1,1,1)
2891
        MaskColor = C3(255,0,0)
2892
		LostHope.Parent = nil
2893
		Injustice.Parent = Character
2894
		InjusticeGun.Parent = Character
2895
		MODE = "Injustice"
2896
		Speed = 15
2897
		CLOCKSPEED = 0
2898
	elseif MODE == "Injustice" then
2899
		CreateSound(147722227, Torso, 4, 1.3, false)
2900
		SIZE = 1.4
2901
		SONG = 1382488262
2902
		VOLUME = 4
2903
		PITCH = 1
2904
		sick.TimePosition = 20.7
2905
		WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2906
		WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2907
        Swait(15)
2908
        HeadColor = C3(1,1,1)
2909
        BodyColor = C3(0,0,0)
2910
        MaskColor = C3(159/255, 111/255, 183/255)
2911
        text.Text = "HopeLess"
2912
        text.TextStrokeColor3 = Color3.new(255/255, 255/255, 255/255)
2913
        LostHope.Parent = Character
2914
        top.ShirtTemplate = "rbxassetid://1533635803"
2915
        bottom.PantsTemplate = "rbxassetid://1460022985"
2916
		CLOCKSPEED = 0
2917
		Speed = 16
2918
		LostHope.Parent = Character
2919
		Injustice.Parent = nil
2920
		InjusticeGun.Parent = nil
2921
		MODE = "Main"
2922
	end
2923
	ATTACK = false
2924
	Rooted = false
2925
end
2926
	
2927
function TomYumForm()
2928
	ATTACK = true
2929
	Rooted = true
2930
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2931
	if MODE == "Main" then
2932
		SONG = 534861083
2933
		VOLUME = 2
2934
		PITCH = 1
2935
		sick.TimePosition = 8
2936
		coroutine.resume(coroutine.create(function()
2937
	    Swait(75)
2938
	    VOLUME = 5
2939
		WACKYEFFECT({Time = 55, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(55,55,55), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(130/255, 80/255, 160/255), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
2940
		WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(0.55,0.5,0.5), Size2 = VT(130,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
2941
		WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(0.5,0.5,0.55), Size2 = VT(0.5,0.5,130), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
2942
		WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(0.5,0.55,0.5), Size2 = VT(0.5,130,0.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
2943
		CameraEnshaking(5,15)
2944
		ApplyAoE(HITPOS,20,20,35,50,false)
2945
        text.Text = "Maniac-TomYum"
2946
        text.TextStrokeColor3 = Color3.new(0/255, 0/255, 0/255)
2947
		Swait(15)
2948
		TomYum.Parent = Character
2949
		end))
2950
		for i=0, 1, 0.1 / Animation_Speed do
2951
			Swait()
2952
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2953
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2954
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2955
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2956
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2957
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2958
		end
2959
		CameraEnshaking(1,45)
2960
		CreateSound(363808674, Torso, 6, 1, false)
2961
		for i=0, 0.5, 0.1 / Animation_Speed do
2962
			Swait()
2963
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2964
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(25)), 1 / Animation_Speed)
2965
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2966
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2967
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2968
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2969
		end
2970
		CameraEnshaking(1,45)
2971
		CreateSound(363808674, Torso, 6, 1, false)
2972
		for i=0, 0.5, 0.1 / Animation_Speed do
2973
			Swait()
2974
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2975
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-25)), 1 / Animation_Speed)
2976
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(-50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2977
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(-50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2978
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2979
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2980
		end
2981
		CreateSound(363808674, Torso, 6, 0.9, false)
2982
		for i=0, 1, 0.1 / Animation_Speed do
2983
			Swait()
2984
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2985
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2986
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2987
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(0), RAD(-40)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2988
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-20), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2989
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-20), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2990
		end
2991
		MODE = "TomYum"
2992
		Speed = 15
2993
		CLOCKSPEED = 0
2994
	elseif MODE == "TomYum" then
2995
		TomYum.Parent = nil
2996
		CreateSound(147722227, Torso, 4, 1.3, false)
2997
		SIZE = 1.4
2998
		SONG = 1382488262
2999
		VOLUME = 4
3000
		PITCH = 1
3001
		sick.TimePosition = 20.7
3002
		WACKYEFFECT({Time = 50, EffectType = "Wave", Size = VT(500,0.11,500)*SIZE, Size2 = VT(0,0.11,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3003
		WACKYEFFECT({Time = 37.5, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 0.5, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3004
        Swait(15)
3005
        HeadColor = C3(1,1,1)
3006
        BodyColor = C3(0,0,0)
3007
        MaskColor = C3(159/255, 111/255, 183/255)
3008
        text.Text = "HopeLess"
3009
        text.TextStrokeColor3 = Color3.new(255/255, 255/255, 255/255)
3010
        top.ShirtTemplate = "rbxassetid://1533635803"
3011
        bottom.PantsTemplate = "rbxassetid://1460022985"
3012
		CLOCKSPEED = 0
3013
		Speed = 16
3014
		MODE = "Main"
3015
	end
3016
	ATTACK = false
3017
	Rooted = false
3018
end
3019
	
3020
--//=================================\\
3021
--||	ATTACK FUNCTIONS AND STUFF
3022
--\\=================================//
3023
3024
function MagicMissiles()
3025
	ATTACK = true
3026
	Rooted = true
3027
	local SELECTING = true
3028
	local SPOTS = {}
3029
	coroutine.resume(coroutine.create(function()
3030
		local LOOP = 0
3031
		repeat
3032
			LOOP = LOOP + 1
3033
			Swait()
3034
			if LOOP >= 10 then
3035
				LOOP = 0
3036
				for i = 1, #SPOTS do
3037
					if SPOTS[i] ~= nil then
3038
						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, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3039
						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, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3040
					end
3041
				end
3042
			end
3043
			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)
3044
			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)
3045
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3046
			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)
3047
			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(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
3048
			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(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
3049
		until SELECTING == false
3050
		Rooted = false
3051
		repeat
3052
			LOOP = LOOP + 1
3053
			Swait()
3054
			if LOOP >= 10 then
3055
				LOOP = 0
3056
				for i = 1, #SPOTS do
3057
					if SPOTS[i] ~= nil then
3058
						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, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3059
						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, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3060
					end
3061
				end
3062
			end
3063
			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)
3064
			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)
3065
			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)
3066
			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)
3067
			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(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
3068
			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(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
3069
		until ATTACK == false
3070
	end))
3071
	repeat
3072
		repeat Swait() until HOLD == true
3073
			local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
3074
			if DIST > 99999 then
3075
				DIST = 99999
3076
			end
3077
			local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
3078
			local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)	
3079
			if HITFLOOR ~= nil then
3080
				table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
3081
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * 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 = 90655239, SoundPitch = 1, SoundVolume = 6})
3082
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * 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})
3083
			end
3084
		repeat Swait() until HOLD == false
3085
	until #SPOTS == 1
3086
	SELECTING = false
3087
	for i = 1, #SPOTS do
3088
		if SPOTS[i] ~= nil then
3089
			local POS = SPOTS[i]
3090
			coroutine.resume(coroutine.create(function()
3091
				local MISSILE = IT("Model",Effects)
3092
				MISSILE.Name = "Missile"
3093
				local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Miduim stone gray", "Part", VT(2,2,2))
3094
				MakeForm(BASEPART,"Cyl")
3095
				MISSILE.PrimaryPart = BASEPART
3096
				BASEPART.CFrame = POS*CF(0,-30*3,0)
3097
				local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Miduim stone gray", "Part", VT(2,4,2))
3098
				MakeForm(HEAD,"Ball")
3099
				HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
3100
				local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Miduim stone gray", "Part", VT(2.5,0.1,2.5))
3101
				MakeForm(TAIL,"Cyl")
3102
				TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
3103
				for i = 1, 10 do
3104
					Swait()
3105
					for _, c in pairs(MISSILE:GetChildren()) do
3106
						if c.ClassName == "Part" then
3107
							c.Transparency = c.Transparency - 1/10
3108
						end
3109
					end
3110
				end
3111
				for i = 1, 15*1.5 do
3112
					Swait()
3113
					MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
3114
				end
3115
				ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
3116
				WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), 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})
3117
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
3118
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), 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(155/255, 155/255, 155/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3119
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), 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(155/255, 155/255, 155/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3120
				MISSILE:remove()
3121
			end))
3122
		end
3123
	end
3124
	wait(0.6)
3125
	ATTACK = false
3126
	Rooted = false
3127
end
3128
3129
function TimesUp()
3130
	CLOCKTARGET = nil
3131
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3132
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
3133
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
3134
		if TORSO then
3135
			ATTACK = true
3136
			Rooted = false
3137
			coroutine.resume(coroutine.create(function()
3138
				repeat
3139
					Swait()
3140
					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)
3141
					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)
3142
					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)
3143
					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)
3144
					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)
3145
					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)
3146
				until ATTACK == false
3147
			end))
3148
			if Effects:FindFirstChild("NeonDoll") then
3149
				repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
3150
			end
3151
			wait(0.5)
3152
			local FAKECHARACTER = IT("Model",Effects)
3153
			FAKECHARACTER.Name = "NeonDoll"
3154
			local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really red", "Part", VT(0.3,0.3,0.15),false)
3155
			CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
3156
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really red", "Part", VT(0.15,0.3,0.15),false)
3157
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
3158
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really red", "Part", VT(0.15,0.3,0.15),false)
3159
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
3160
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really red", "Part", VT(0.15,0.3,0.15),false)
3161
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
3162
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really red", "Part", VT(0.15,0.3,0.15),false)
3163
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
3164
			local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really red", "Part", VT(0.15,0.15,0.15),false)
3165
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
3166
			CreateSound(201858045, TORS, 5, 0.4, false)
3167
			for i = 1, 150 do
3168
				Swait()
3169
				CLOCKSPEED = 6
3170
				for _, c in pairs(FAKECHARACTER:GetChildren()) do
3171
					if c.ClassName == "Part" then
3172
						c.Transparency = c.Transparency - 0.5/150
3173
					end
3174
				end
3175
			end
3176
			CLOCKTARGET = HUM
3177
			coroutine.resume(coroutine.create(function()
3178
				repeat Swait() CLOCKSPEED = 4 until CLOCKTARGET == nil
3179
				for i = 1, 25 do
3180
					Swait()
3181
					for _, c in pairs(FAKECHARACTER:GetChildren()) do
3182
						if c.ClassName == "Part" then
3183
							c.Transparency = c.Transparency + 0.5/25
3184
						end
3185
					end
3186
				end
3187
				CLOCKSPEED = 2
3188
				FAKECHARACTER:remove()
3189
			end))
3190
			wait(0.5)
3191
			ATTACK = false
3192
			Rooted = false
3193
		end
3194
	end
3195
end
3196
3197
function ChainPunch()
3198
	ATTACK = true
3199
	Rooted = false
3200
	local GYRO = IT("BodyGyro",RootPart)
3201
	GYRO.D = 25
3202
	GYRO.P = 2000
3203
	GYRO.MaxTorque = VT(0,40000,0)
3204
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3205
	repeat
3206
		Swait()
3207
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3208
		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)
3209
		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)
3210
		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)
3211
		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)
3212
		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(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
3213
		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(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
3214
	until HOLD == true
3215
	local POS = Mouse.Hit.p
3216
	local CHAINS = false
3217
	local CHAINLINKS = {}
3218
	local A = IT("Attachment",RightArm)
3219
	A.Position = VT(1,-1,0)*SIZE
3220
	A.Orientation = VT(-90, -89.982, 0)
3221
	local B = IT("Attachment",RightArm)
3222
	B.Position = VT(-1,-1,0)*SIZE
3223
	B.Orientation = VT(-90, 89.988, 0)
3224
	local C = IT("Attachment",RightArm)
3225
	C.Position = VT(0.5,-1.3,0)*SIZE
3226
	C.Orientation = VT(-90, -89.982, 0)
3227
	local D = IT("Attachment",RightArm)
3228
	D.Position = VT(-0.5,-1.3,0)*SIZE
3229
	D.Orientation = VT(-90, 89.988, 0)
3230
	local LIGHT = IT("Attachment",RightArm)
3231
	LIGHT.Position = VT(0,-1,0)*SIZE
3232
	local LIGHT2 = IT("PointLight",LIGHT)
3233
	LIGHT2.Range = 7
3234
	LIGHT2.Brightness = 5
3235
	LIGHT2.Color = SKILLTEXTCOLOR
3236
	for i = 1, 2 do
3237
		local TWIST = -2
3238
		local START = A
3239
		local END = B
3240
		if i == 1 then
3241
			START = B
3242
			END = A
3243
		end
3244
		local ChainLink = IT("Beam",Torso)
3245
		ChainLink.Texture = "rbxassetid://73042633"
3246
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
3247
		ChainLink.TextureSpeed = 1
3248
		ChainLink.Width0 = 1
3249
		ChainLink.Width1 = 1
3250
		ChainLink.TextureLength = 2.5
3251
		ChainLink.Attachment0 = START
3252
		ChainLink.Attachment1 = END
3253
		ChainLink.CurveSize0 = TWIST
3254
		ChainLink.CurveSize1 = TWIST
3255
		--ChainLink.FaceCamera = true
3256
		ChainLink.Segments = 45
3257
		ChainLink.Transparency = NumberSequence.new(1)
3258
		table.insert(CHAINLINKS,ChainLink)
3259
	end
3260
	for i = 1, 2 do
3261
		local TWIST = -1
3262
		local START = C
3263
		local END = D
3264
		if i == 1 then
3265
			START = D
3266
			END = C
3267
		end
3268
		local ChainLink = IT("Beam",Torso)
3269
		ChainLink.Texture = "rbxassetid://73042633"
3270
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
3271
		ChainLink.TextureSpeed = 1
3272
		ChainLink.Width0 = 1
3273
		ChainLink.Width1 = 1
3274
		ChainLink.TextureLength = 5
3275
		ChainLink.Attachment0 = START
3276
		ChainLink.Attachment1 = END
3277
		ChainLink.CurveSize0 = TWIST
3278
		ChainLink.CurveSize1 = TWIST
3279
		--ChainLink.FaceCamera = true
3280
		ChainLink.Segments = 25
3281
		ChainLink.LightEmission = 0.5
3282
		ChainLink.Transparency = NumberSequence.new(1)
3283
		table.insert(CHAINLINKS,ChainLink)
3284
	end
3285
	coroutine.resume(coroutine.create(function()
3286
		repeat
3287
			Swait()
3288
			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)
3289
			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)
3290
			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)
3291
			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)
3292
			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)
3293
			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)
3294
		until CHAINS == true
3295
		repeat
3296
			Swait()
3297
			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)
3298
			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)
3299
			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)
3300
			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)
3301
			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)
3302
			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)
3303
		until ATTACK == false
3304
		for e = 1, 15 do
3305
			Swait()
3306
			for i = 1, #CHAINLINKS do
3307
				CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
3308
			end
3309
		end
3310
		A:remove()
3311
		B:remove()
3312
		C:remove()
3313
		D:remove()
3314
	end))
3315
	CreateSound(233856115, RightArm, 5, 1.2, false)
3316
	for e = 1, 15 do
3317
		Swait()
3318
		for i = 1, #CHAINLINKS do
3319
			CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
3320
		end
3321
	end
3322
	CHAINS = true
3323
	Rooted = true
3324
	wait(0.25)
3325
	local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Midium stone gray", "Part", VT(2,2,2))
3326
	FIST.Color = C3(1, 1, 1)
3327
	FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0)) 
3328
	local LIGHT3 = IT("PointLight",FIST)
3329
	LIGHT3.Range = 7
3330
	LIGHT3.Brightness = 5
3331
	LIGHT3.Color = SKILLTEXTCOLOR
3332
	CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
3333
	local FISTA = IT("Attachment",FIST)
3334
	FISTA.Position = VT(0.062, 0.977, 0)
3335
	local ChainLink = IT("Beam",Torso)
3336
	ChainLink.Texture = "rbxassetid://73042633"
3337
	ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
3338
	ChainLink.TextureSpeed = 0
3339
	ChainLink.Width0 = 3
3340
	ChainLink.Width1 = 3
3341
	ChainLink.TextureLength = 12
3342
	ChainLink.Attachment0 = LIGHT
3343
	ChainLink.Attachment1 = FISTA
3344
	ChainLink.FaceCamera = true
3345
	ChainLink.Segments = 45
3346
	ChainLink.LightEmission = 0.5
3347
	ChainLink.Transparency = NumberSequence.new(0.25)
3348
	local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
3349
	for i = 1, 85 do
3350
		Swait()
3351
		FIST.CFrame = FIST.CFrame*CF(0,-2,0)
3352
		ChainLink.TextureLength = 12+(i*2)
3353
		ApplyAoE(FIST.Position,10,15,25,100,false)
3354
		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, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3355
		local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
3356
		if HITFLOOR ~= nil then
3357
			HITFLOOR:BreakJoints()
3358
			coroutine.resume(coroutine.create(function()
3359
				for i = 1, 15 do
3360
					Swait()
3361
					FISTSOUND.Volume = FISTSOUND.Volume - 0.15
3362
					ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
3363
					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, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3364
				end
3365
			end))
3366
			break
3367
		end
3368
	end
3369
	coroutine.resume(coroutine.create(function()
3370
		for i = 1, 50 do
3371
			Swait()
3372
			FIST.Transparency = FIST.Transparency + 0.5/50
3373
			LIGHT3.Range = LIGHT3.Range - 7/50
3374
		end
3375
		FIST:remove()
3376
	end))
3377
	LIGHT:remove()
3378
	GYRO:remove()
3379
	ATTACK = false
3380
	Rooted = false
3381
end
3382
3383
function WarpMeteor()
3384
	local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
3385
	if DIST > 99999 then
3386
		DIST = 99999
3387
	end
3388
	local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
3389
	local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
3390
	if HITFLOOR then
3391
		local POS = HITPOS	
3392
		ATTACK = true
3393
		Rooted = true
3394
		local WARPED = false
3395
		local SMASHED = false
3396
		local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
3397
		coroutine.resume(coroutine.create(function()
3398
			repeat
3399
				Swait()
3400
				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)
3401
				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)
3402
				RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3403
				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)
3404
				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)
3405
				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)
3406
			until WARPED == true
3407
			repeat
3408
				Swait()
3409
				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)
3410
				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)
3411
				RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3412
				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)
3413
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*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)
3414
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*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)
3415
			until SMASHED == true
3416
			repeat
3417
				Swait()
3418
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
3419
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
3420
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3421
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3422
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
3423
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
3424
			until ATTACK == false
3425
		end))
3426
		VALUE1 = true
3427
		CreateSound(233856115, Torso, 5, 1.6, false)
3428
		for i = 1, 25 do
3429
			Swait()
3430
			for _, c in pairs(Character:GetChildren()) do
3431
				if c.ClassName == "Part" then
3432
					c.Transparency = c.Transparency + 1/25
3433
				end
3434
			end
3435
			for _, c in pairs(Weapon:GetChildren()) do
3436
				if c.ClassName == "Part" then
3437
					c.Transparency = c.Transparency + 1/25
3438
				end
3439
			end
3440
		end
3441
		UNANCHOR = false
3442
		RootPart.Anchored = true
3443
		RootPart.Velocity = VT(0,0,0)
3444
		local ROOTPOS = RootPart.Position
3445
		RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
3446
		WARPED = true
3447
		for i = 1, 25 do
3448
			Swait()
3449
			for _, c in pairs(Character:GetChildren()) do
3450
				if c.ClassName == "Part" then
3451
					c.Transparency = c.Transparency - 1/25
3452
				end
3453
			end
3454
			for _, c in pairs(Weapon:GetChildren()) do
3455
				if c.ClassName == "Part" then
3456
					c.Transparency = c.Transparency - 1/25
3457
				end
3458
			end
3459
		end
3460
		local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Really white", "Part", VT(0,0,0))
3461
		SHELL.CFrame = RootPart.CFrame
3462
		MakeForm(SHELL,"Ball")
3463
		CreateSound(402981977, SHELL, 5, 1.6, false)
3464
		for i = 1, 10 do
3465
			Swait()
3466
			SHELL.Transparency = SHELL.Transparency - 1/10
3467
			SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
3468
		end
3469
		for i = 1, math.ceil(75/2) do
3470
			Swait()
3471
			RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
3472
			SHELL.CFrame = CF(RootPart.Position)
3473
			WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
3474
		end
3475
		RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
3476
		SHELL.CFrame = CF(RootPart.Position)
3477
		WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
3478
		WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
3479
		WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
3480
		for i = 1, 5 do
3481
			WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.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, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3482
		end
3483
		SHELL:remove()
3484
		ApplyAoE(RootPart.Position,75,35,75,175,false)
3485
		SMASHED = true
3486
		wait(1)
3487
		VALUE1 = false
3488
		UNANCHOR = true
3489
		ATTACK = false
3490
		Rooted = false
3491
	end
3492
end
3493
3494
function PandorasBox()
3495
	local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
3496
	if HITFLOOR ~= nil then
3497
		ATTACK = true
3498
		Rooted = true
3499
		local RINGSPIN = true
3500
		local CONSTRUCTING = true
3501
		local RING = CreatePart(3, Effects, "Neon", 0, 1, "Really white", "Ring", VT(0,0,0))
3502
		RING.Color = C3(1,1,1)
3503
		MakeForm(RING,"Cyl")
3504
		RING.CFrame = CF(HITPOS)
3505
		CreateSound(402981977, RING, 5, 1.2, false)
3506
		coroutine.resume(coroutine.create(function()
3507
			repeat
3508
				Swait()
3509
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
3510
				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)
3511
				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)
3512
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3513
				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)
3514
				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)
3515
				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)
3516
			until CONSTRUCTING == false
3517
			repeat 
3518
				Swait() 
3519
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
3520
			until RINGSPIN == false
3521
			for i = 1, 25 do
3522
				Swait()
3523
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
3524
				RING.Size = RING.Size - VT(0.15,0,0.15)
3525
				--DECAL.Transparency = DECAL.Transparency + 1/25
3526
				RING.Transparency = RING.Transparency + 1/25
3527
			end
3528
			RING:remove()
3529
		end))
3530
		for i = 1, 15 do
3531
			Swait()
3532
			RING.Size = RING.Size + VT(0.75,0,0.75)
3533
			RING.Transparency = RING.Transparency - 1/15
3534
		end
3535
		local BOXSPIN = true
3536
		local PANDORASBOX = IT("Model",Effects)
3537
		PANDORASBOX.Name = "Pandora's Box"
3538
		local BOX = IT("Model",PANDORASBOX)
3539
		BOX.Name = "Body"
3540
		local LID = IT("Model",PANDORASBOX)
3541
		LID.Name = "Lid"
3542
		--BUILDING THE BOX--
3543
			local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Really white", "Black", VT(2,1.8,2))
3544
			BASE.Color = C3(1,1,1)
3545
			PANDORASBOX.PrimaryPart = BASE
3546
			BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
3547
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
3548
			WOOD.CFrame = BASE.CFrame*CF(1,0,1)
3549
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
3550
			WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
3551
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
3552
			WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
3553
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
3554
			WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
3555
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
3556
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
3557
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
3558
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
3559
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
3560
			WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
3561
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
3562
			WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
3563
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
3564
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
3565
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
3566
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
3567
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
3568
			WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
3569
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
3570
			WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
3571
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
3572
			WOOD.CFrame = BASE.CFrame*CF(0,0,1)
3573
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
3574
			WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
3575
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
3576
			WOOD.CFrame = BASE.CFrame*CF(1,0,0)
3577
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
3578
			WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
3579
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
3580
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
3581
			-------------
3582
			local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
3583
			LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
3584
			LID.PrimaryPart = LIDPART
3585
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
3586
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
3587
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
3588
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
3589
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
3590
			WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
3591
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
3592
			WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
3593
			local DECAL = IT("Decal",LIDPART)
3594
			DECAL.Face = "Top"
3595
			DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
3596
			DECAL.Color3 = C3(0,0,0)
3597
		--BUILDING THE BOX--
3598
		coroutine.resume(coroutine.create(function()
3599
			repeat
3600
				Swait()
3601
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
3602
			until BOXSPIN == false
3603
		end))
3604
		for i = 1, 25 do
3605
			Swait()
3606
			PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
3607
		end
3608
		wait(0.5)
3609
		BOXSPIN = false
3610
		CONSTRUCTING = false	
3611
		coroutine.resume(coroutine.create(function()
3612
			WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
3613
			--[[for i = 1, 45 do
3614
				Swait()
3615
				LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
3616
			end-
3617
			LID:remove()]]--
3618
			for _, c in pairs(LID:GetChildren()) do
3619
				if c.ClassName == "Part" then
3620
					c.Anchored = false
3621
					c.CanCollide = true
3622
					if c ~= LIDPART then
3623
						weldBetween(LIDPART,c)
3624
					end
3625
				end
3626
			end
3627
			LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
3628
			Debris:AddItem(LID,15)
3629
			wait(0.5)
3630
			local RANDOMEFFECT = MRANDOM(1,4)
3631
			if RANDOMEFFECT == 1 then
3632
				for i = 1, 45 do
3633
					wait((2-(i/15))/15)
3634
					WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
3635
				end	
3636
				wait(1)
3637
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
3638
				WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
3639
				WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
3640
				for i = 1, 5 do
3641
					WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.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(1,1,1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3642
				end
3643
				ApplyAoE(BASE.Position,50,1,200,375,false)
3644
				ApplyAoE(BASE.Position,250,35,75,175,false)
3645
			elseif RANDOMEFFECT == 2 then
3646
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Really white", "Field", VT(0.3,0.3,0.3))
3647
				FIELD.CFrame = BASE.CFrame
3648
				MakeForm(FIELD,"Ball")
3649
				for i = 1, 50 do
3650
					Swait()
3651
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
3652
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
3653
				end
3654
				wait(0.2)
3655
				local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
3656
				coroutine.resume(coroutine.create(function()
3657
					for i = 1, 75 do
3658
						Swait()
3659
						LOOP.Volume = LOOP.Volume + 10/75
3660
						LOOP.Parent = FIELD
3661
						local CHILDREN = workspace:GetDescendants()
3662
						for index, CHILD in pairs(CHILDREN) do
3663
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
3664
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3665
								if HUM then
3666
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3667
									if TORSO then
3668
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
3669
											HUM.Health = HUM.Health - 0.1
3670
											TORSO.Velocity = VT(0,5,0)
3671
											HUM.PlatformStand = true
3672
											if TORSO.RotVelocity.Magnitude < 15 then
3673
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
3674
											end
3675
										end
3676
									end
3677
								end
3678
							end
3679
						end
3680
						FIELD.Size = FIELD.Size + VT(3,3,3)
3681
						FIELD.Transparency = FIELD.Transparency + 0.8/75
3682
					end
3683
					for i = 1, 500 do
3684
						Swait()
3685
						LOOP.Parent = FIELD
3686
						local CHILDREN = workspace:GetDescendants()
3687
						for index, CHILD in pairs(CHILDREN) do
3688
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
3689
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3690
								if HUM then
3691
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3692
									if TORSO then
3693
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
3694
											TORSO.Velocity = VT(0,5,0)
3695
											HUM.Health = HUM.Health - 0.1
3696
											HUM.PlatformStand = true
3697
											if TORSO.RotVelocity.Magnitude < 15 then
3698
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
3699
											end
3700
										end
3701
									end
3702
								end
3703
							end
3704
						end
3705
					end
3706
					for i = 1, 25 do
3707
						Swait()
3708
						LOOP.Volume = LOOP.Volume + 10/25
3709
						LOOP.Parent = FIELD
3710
						local CHILDREN = workspace:GetDescendants()
3711
						for index, CHILD in pairs(CHILDREN) do
3712
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
3713
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3714
								if HUM then
3715
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3716
									if TORSO then
3717
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
3718
											TORSO.Velocity = VT(0,5,0)
3719
											HUM.Health = HUM.Health - 0.1
3720
											HUM.PlatformStand = false
3721
											if TORSO.RotVelocity.Magnitude < 15 then
3722
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
3723
											end
3724
										end
3725
									end
3726
								end
3727
							end
3728
						end
3729
						FIELD.Size = FIELD.Size - VT(3,3,3)
3730
						FIELD.Transparency = FIELD.Transparency + 0.2/25
3731
					end	
3732
					FIELD:remove()
3733
				end))
3734
			elseif RANDOMEFFECT == 3 then
3735
				for i = 1, 10 do
3736
					wait(0.15)
3737
					WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
3738
					coroutine.resume(coroutine.create(function()
3739
						local MINION = CLONE:Clone()
3740
						MINION.Parent = Effects
3741
						MINION.Name = "Shadow"
3742
						MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
3743
						MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
3744
						for _, c in pairs(MINION:GetChildren()) do
3745
							if c.ClassName == "Part" then
3746
								c.Material = "Neon"
3747
								c.Color = C3(0,0,0)
3748
								c.Transparency = 0.25
3749
								if c.Name == "Head" then
3750
									c:ClearAllChildren()
3751
									local MSH = IT("BlockMesh",c)
3752
									MSH.Scale = VT(0.5,1,1)
3753
								end
3754
							end
3755
						end
3756
						local TORSO = MINION.Torso
3757
						local HUMAN = MINION.Humanoid
3758
						HUMAN.WalkSpeed = 20
3759
						HUMAN.MaxHealth = math.huge
3760
						HUMAN.Health = math.huge
3761
						HUMAN.DisplayDistanceType = "None"
3762
						HUMAN.Died:connect(function()
3763
							MINION:remove()
3764
							--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
3765
						end)
3766
						wait(1)
3767
						local findNearestTorso = function(POS)
3768
							local list = game.Workspace:GetDescendants()
3769
							local torso = nil
3770
							local dist = 500
3771
							local temp = nil
3772
							local human = nil
3773
							local temp2 = nil
3774
							for x = 1, #list do
3775
								temp2 = list[x]
3776
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
3777
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
3778
									human = temp2:findFirstChildOfClass("Humanoid")
3779
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
3780
										if (temp.Position - POS).magnitude < dist then
3781
											torso = temp
3782
											dist = (temp.Position - POS).magnitude
3783
										end
3784
									end
3785
								end
3786
							end
3787
							return torso, dist
3788
						end
3789
						for i = 1, 40 do
3790
							if HUMAN.Health == 0 then
3791
								break
3792
							end
3793
							wait(0.3)
3794
							local target,dist= findNearestTorso(TORSO.Position)
3795
							if target then
3796
								HUMAN:MoveTo(target.Position)
3797
								if dist < 25 then
3798
									CreateSound(348663022, TORSO, 10, 1, true)
3799
									wait(2)
3800
									--local ANIM = HUMAN:LoadAnimation(ATANIM)
3801
									--ANIM:Play()
3802
									--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
3803
									ApplyAoE(TORSO.Position,10,0,0,85,true)
3804
									WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
3805
									for i = 1, 5 do
3806
										WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3807
									end
3808
									break
3809
								end
3810
							end
3811
						end
3812
						MINION:remove()
3813
					end))
3814
				end
3815
			elseif RANDOMEFFECT == 4 then
3816
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Really white", "Field", VT(0.3,0.3,0.3))
3817
				FIELD.Color = C3(1,1,1)
3818
				FIELD.CFrame = BASE.CFrame
3819
				MakeForm(FIELD,"Ball")
3820
				FIELD.CanCollide = true
3821
				for i = 1, 50 do
3822
					Swait()
3823
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
3824
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
3825
				end
3826
				wait(0.2)
3827
				local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
3828
				coroutine.resume(coroutine.create(function()
3829
					local E = 0
3830
					for i = 1, 75 do
3831
						E = E + 1
3832
						Swait()
3833
						if E >= 35 then
3834
							E = 0
3835
							WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
3836
						end
3837
						LOOP.Volume = LOOP.Volume + 10/75
3838
						LOOP.Parent = FIELD
3839
						local CHILDREN = workspace:GetDescendants()
3840
						for index, CHILD in pairs(CHILDREN) do
3841
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
3842
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3843
								if HUM then
3844
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3845
									if TORSO then
3846
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
3847
											for _, c in pairs(CHILD:GetChildren()) do
3848
												if c:IsA("BasePart") then
3849
													local bv = Instance.new("BodyVelocity") 
3850
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3851
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
3852
													bv.Parent = c
3853
													Debris:AddItem(bv,0.05)
3854
												end
3855
											end
3856
											HUM.Health = HUM.Health - 0.3
3857
										end
3858
									end
3859
								end
3860
							end
3861
						end
3862
						FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
3863
					end
3864
					for i = 1, 180 do
3865
						E = E + 1
3866
						Swait()
3867
						if E >= 35 then
3868
							E = 0
3869
							WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
3870
						end
3871
						LOOP.Parent = FIELD
3872
						local CHILDREN = workspace:GetDescendants()
3873
						for index, CHILD in pairs(CHILDREN) do
3874
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
3875
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3876
								if HUM then
3877
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3878
									if TORSO then
3879
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
3880
											for _, c in pairs(CHILD:GetChildren()) do
3881
												if c:IsA("BasePart") then
3882
													local bv = Instance.new("BodyVelocity") 
3883
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3884
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
3885
													bv.Parent = c
3886
													Debris:AddItem(bv,0.05)
3887
												end
3888
											end
3889
											HUM.Health = HUM.Health - 0.3
3890
										end
3891
									end
3892
								end
3893
							end
3894
						end
3895
					end
3896
					ApplyAoE(FIELD.Position,40,15,20,375,false)
3897
					WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
3898
					for i = 1, 5 do
3899
						WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.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(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
3900
					end
3901
					FIELD:remove()
3902
				end))
3903
			elseif RANDOMEFFECT == 5 then
3904
			end
3905
			wait(0.5)
3906
			for i = 1, 25 do
3907
				Swait()
3908
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
3909
			end
3910
			PANDORASBOX:remove()
3911
			RINGSPIN = false
3912
		end))
3913
		ATTACK = false
3914
		Rooted = false
3915
	end
3916
end
3917
3918
function Taunt()
3919
	ATTACK = true
3920
	local LAUGH = nil
3921
	coroutine.resume(coroutine.create(function()
3922
		repeat
3923
			Swait()
3924
			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)
3925
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
3926
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3927
			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)
3928
			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)
3929
			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)
3930
		until LAUGH ~= nil
3931
		repeat
3932
			Swait()
3933
			LAUGH.Parent = Head
3934
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 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)
3935
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
3936
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3937
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3938
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 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)
3939
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 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)
3940
		until LAUGH.Playing == false
3941
	ATTACK = false
3942
	end))
3943
	wait(0.1)
3944
	LAUGH = CreateSound(525166232, Head, 10, 1, false)
3945
end
3946
3947
function SuperiorLaugh()
3948
	ATTACK = true
3949
	local LAUGH = nil
3950
	coroutine.resume(coroutine.create(function()
3951
		repeat
3952
			Swait()
3953
			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)
3954
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
3955
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3956
			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)
3957
			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)
3958
			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)
3959
		until LAUGH ~= nil
3960
		repeat
3961
			Swait()
3962
			LAUGH.Parent = Head
3963
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 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)
3964
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
3965
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3966
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3967
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 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)
3968
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 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)
3969
		until LAUGH.Playing == false
3970
	ATTACK = false
3971
	end))
3972
	wait(0.1)
3973
	VOLUME = 2
3974
	sick:Pause()
3975
	LAUGH = CreateSound(333446256, Head, 10, 1, false)
3976
	wait(8.5)
3977
	VOLUME = 3
3978
	sick:Resume()
3979
end
3980
3981
function SpawnSmite(POS)
3982
	local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
3983
	local EMITPOS = HITPOS
3984
	if HITFLOOR ~= nil then
3985
		if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
3986
			HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
3987
			EMITPOS = HITPOS
3988
		elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
3989
			HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
3990
			EMITPOS = HITPOS
3991
		end
3992
	end
3993
	if HITFLOOR ~= nil then
3994
		ApplyAoE(EMITPOS,20,35,75,25,false)
3995
		WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(20,100000,20), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
3996
		WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(20,20,20)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3997
		WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(20,20,20)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3998
		for i = 1, 5 do
3999
			local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
4000
			WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.4,0,0.4), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
4001
		end
4002
	end
4003
end
4004
4005
function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
4006
	coroutine.resume(coroutine.create(function()
4007
		local METEOR = IT("Model",Effects)
4008
		METEOR.Name = "Meteorite"
4009
		local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
4010
		METEOR.PrimaryPart = CENTER
4011
		local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
4012
		PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
4013
		for i = 1, 15 do
4014
			local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Dark indigo", "Fire", VT(5.1,1,5.1)*SIZE)
4015
			FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
4016
		end
4017
		if ISDEBREE ~= true then
4018
			METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
4019
		else
4020
			METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
4021
		end
4022
		local IMPACT = false
4023
		CreateSound(463593339, CENTER, 10, 0.6)
4024
		if SIZE >= 3.5 then
4025
			for i = 1, MRANDOM(3,7) do
4026
				SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
4027
			end
4028
		end
4029
		for i = 1, 200 do
4030
			Swait()
4031
			local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
4032
			if HITFLOOR == nil then
4033
				local ORI = CENTER.Orientation
4034
				METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
4035
			else
4036
				if HITFLOOR.Anchored == true then
4037
					CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
4038
					CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
4039
				end
4040
				IMPACT = true
4041
				break
4042
			end
4043
		end
4044
		if IMPACT == true then
4045
			WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
4046
			WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
4047
			WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
4048
			ApplyAoE(CENTER.Position,30*SIZE,35,80,50,false)
4049
		end
4050
		METEOR:remove()
4051
	end))
4052
end
4053
4054
function Smite()
4055
	ATTACK = true
4056
	Rooted = true
4057
	CreateSound(1368573150, RightArm, 3, 1.5)
4058
	for i=0, 0.6, 0.1 / Animation_Speed do
4059
		Swait()
4060
		WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(6,6,6)/6, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
4061
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(-25 - 3 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
4062
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(23 - 3 * SIN(SINE / 12)), RAD(0), RAD(30)), 1 / Animation_Speed)
4063
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
4064
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
4065
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4066
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4067
	end
4068
	local POWER = 0
4069
	repeat 
4070
		Swait() 
4071
		WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6)/6, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
4072
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(-25 - 3 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
4073
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(23 - 3 * SIN(SINE / 12)), RAD(0), RAD(30)), 1 / Animation_Speed)
4074
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, -0.3*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(110), RAD(40), RAD(30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
4075
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
4076
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4077
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4078
		POWER = POWER + 0.5 
4079
		if POWER >= 85 then
4080
			POWER = 85
4081
		end
4082
	until KEYHOLD == false
4083
	if POWER < 0.6 then
4084
		SpawnSmite(Mouse.Hit.p)
4085
	else
4086
		if POWER < 15 then
4087
			POWER = 15
4088
		end
4089
		SpawnSmite(Mouse.Hit.p)
4090
	end
4091
	ATTACK = false
4092
	Rooted = false
4093
end
4094
4095
function Meteor()
4096
	ATTACK = true
4097
	Rooted = true
4098
	CreateSound(1368573150, RightArm, 3, 1.5)
4099
	for i=0, 0.6, 0.1 / Animation_Speed do
4100
		Swait()
4101
		WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(7,7,7)/7, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
4102
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(-25 - 3 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
4103
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(23 - 3 * SIN(SINE / 12)), RAD(0), RAD(30)), 1 / Animation_Speed)
4104
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
4105
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
4106
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4107
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4108
	end
4109
	local POWER = 0
4110
	repeat 
4111
		Swait() 
4112
		WACKYEFFECT({EffectType = "Block", Size = VT(7,7,7)/7, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
4113
		WACKYEFFECT({EffectType = "Block", Size = VT(7,7,7)/7, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
4114
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(-25 - 3 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
4115
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(23 - 3 * SIN(SINE / 12)), RAD(0), RAD(30)), 1 / Animation_Speed)
4116
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, -0.3*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(110), RAD(40), RAD(30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
4117
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, -0.3*SIZE) * ANGLES(RAD(90), RAD(40), RAD(-50)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
4118
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4119
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4120
		POWER = POWER + 1 
4121
		if POWER >= 85 then
4122
			POWER = 85
4123
		end
4124
	until KEYHOLD == false
4125
	if POWER < 0.8 then
4126
		SpawnMeteor(Mouse.Hit.p,POWER/0.8)
4127
	else
4128
		if POWER < 20 then
4129
			POWER = 20
4130
		end
4131
        SpawnMeteor(Mouse.Hit.p,POWER/20)
4132
	end
4133
	ATTACK = false
4134
	Rooted = false
4135
end
4136
4137
function Buzzsaw()
4138
	ATTACK = true
4139
	Rooted = false
4140
	local ARMSPEED = 0.1
4141
	local TARGET = nil
4142
	local ROOT = nil
4143
	local HUMAN = nil
4144
	local DIST = 4
4145
	local SAWBLADE = CreatePart(3, Weapon, "Glass", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
4146
	local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
4147
	local BLADE = true
4148
	CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(2,2,1), VT(0,0,0))
4149
	coroutine.resume(coroutine.create(function()
4150
		repeat
4151
			Swait()
4152
			WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
4153
		until BLADE == false
4154
		SAWBLADE:remove()
4155
	end))
4156
	CreateSound(1165167936, SAWBLADE, 2, 1, true)
4157
	for i=0, 1, 0.1 / Animation_Speed do
4158
		Swait()
4159
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
4160
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.6 + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
4161
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.9, -0.5) * ANGLES(RAD(115), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4162
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.9, 0.7, 0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4163
		RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.4, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4164
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.4, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4165
	end
4166
	for i=0, 2, 0.1 / Animation_Speed do
4167
		Swait()
4168
		local CHILDREN = workspace:GetDescendants()
4169
		for index, CHILD in pairs(CHILDREN) do
4170
			if CHILD.ClassName == "Model" and CHILD ~= Character then
4171
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4172
				if HUM then
4173
					local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4174
					if TORSO and HUM.Health > 0 then
4175
						if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
4176
							DIST = (TORSO.Position - RightArm.Position).Magnitude
4177
							ROOT = TORSO
4178
							HUMAN = HUM
4179
							TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4180
						end
4181
					end
4182
				end
4183
			end
4184
		end
4185
		if ROOT then
4186
			break
4187
		end
4188
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
4189
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.6 + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
4190
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.9, -0.5) * ANGLES(RAD(15), RAD(0), RAD(25)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
4191
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.9, 0.7, 0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4192
		RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.4, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4193
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.4, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4194
	end
4195
	if ROOT then
4196
		ARMSPEED = 0.01
4197
		Rooted = true
4198
		RootPart.CFrame = ROOT.CFrame*CF(0,0,2.5)
4199
		repeat
4200
			HUMAN.Health = HUMAN.Health - 1.2
4201
			HUMAN.RootPart.CFrame = ROOT.CFrame*CF(0,0.02,0)
4202
			Swait()
4203
			ROOT.Anchored = true
4204
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
4205
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.6 + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
4206
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, -0.4, 0) * ANGLES(RAD(15), RAD(0), RAD(25)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
4207
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.9, 0.7, 0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4208
			RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.4, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4209
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.4, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4210
		until RightArm.Position.Y < Torso.Position.Y-0.15 or HUMAN.Health == 0
4211
		ROOT.Anchored = false
4212
		if HUMAN.Health == 0 then
4213
			if ROOT.Name ~= "Torso" then
4214
				ROOT:remove()
4215
			end
4216
			if TARGET.Name == "Torso" then
4217
				Ragdoll(HUMAN.Parent,Torso,true)
4218
			elseif TARGET.Name == "UpperTorso" then
4219
				R15Ragdoll(HUMAN.Parent,true)
4220
			end
4221
		end
4222
	end
4223
	BLADE = false
4224
	ATTACK = false
4225
	Rooted = false
4226
	end
4227
	
4228
	function template()
4229
		ATTACK = true
4230
		Rooted = true
4231
		for i=0, 1, 0.1 / Animation_Speed do
4232
			Swait()
4233
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4234
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
4235
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-25), RAD(-105)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4236
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(30), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4237
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4238
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4239
		end
4240
		ATTACK = false
4241
		Rooted = false
4242
	end
4243
	
4244
	function SuperStomp()
4245
		ATTACK = true
4246
		Rooted = true
4247
		local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
4248
		coroutine.resume(coroutine.create(function()
4249
        Swait(65)
4250
        CameraEnshaking(3,25)
4251
        CreateSound(262562442,RightLeg,60,1,false)
4252
        CreateFlyingDebree(HITFLOOR,CF(HITPOS),10,VT(5,5,5),4,125)
4253
        WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0.55,0)*SIZE, Size2 = VT(90,3,90), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.96, SoundVolume = 10})
4254
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,7.5,0)*SIZE, Size2 = VT(60,6.5,60), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.96, SoundVolume = 10})
4255
        ApplyAoE(HITPOS,35,35,50,75,false)
4256
		    	end))
4257
		CreateSound(163619849,RightLeg,10,1,false)
4258
		for i=0, 2, 0.1 / Animation_Speed do
4259
			WACKYEFFECT({EffectType = "Block", Size = VT(2,2,2), Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
4260
			Swait()
4261
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(40)), 0.5 / Animation_Speed)
4262
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-40)), 0.5 / Animation_Speed)
4263
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(-45), RAD(-55)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4264
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(30), RAD(85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4265
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.4*SIZE - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4266
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4267
		end
4268
		for i=0, 1, 0.1 / Animation_Speed do
4269
			Swait()
4270
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
4271
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
4272
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(105), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4273
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-105), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4274
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.7*SIZE - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(10), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
4275
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), 0.13) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
4276
		end
4277
		ATTACK = false
4278
		Rooted = false
4279
	end
4280
	
4281
function RavagingOverthrower()
4282
	ATTACK = true
4283
	Rooted = true
4284
    coroutine.resume(coroutine.create(function()
4285
	CreateSound("348663022", Torso, 5, 1)
4286
	local StartPos = RootPart.CFrame * CF(0,15,0).p
4287
	for i = 1, 5 do
4288
		MagicSphere2(25,25,CF(StartPos),"Bright red")
4289
		Swait(15)
4290
	end
4291
	local soundeffect = IT("Sound",Torso)
4292
	soundeffect.SoundId = "rbxassetid://487186990"
4293
	soundeffect.Looped = true
4294
	soundeffect.Volume = 3
4295
	soundeffect.Playing = true
4296
	repeat
4297
		turnto(Mouse.Hit.p)
4298
		MagicSphere2(25,25,CF(StartPos),"Bright red")
4299
		MagicSphere(25/10,25,CF(StartPos),"Bright red")
4300
		local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
4301
		local distance = (StartPos - RayPos).magnitude
4302
		local RayBeam = IT("Part",Effects)
4303
		RayBeam.Material = "Neon"
4304
		RayBeam.Anchored = true
4305
		RayBeam.BrickColor = BRICKC"Bright red"
4306
		local mesh = IT("SpecialMesh",RayBeam)
4307
		mesh.MeshType = "Cylinder"
4308
		RayBeam.Size = Vector3.new(distance+10, 5, 5)
4309
		RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
4310
		MagicSphere(15,5,CF(RayPos),"Bright red")
4311
		ApplyAoE(RayPos,15,1,2,25,false)
4312
		Swait()
4313
		if KEYHOLD == false then
4314
			coroutine.resume(coroutine.create(function()
4315
				Rooted = false
4316
				MODE = "Superior"
4317
				for i = 1, 5 do
4318
					RayBeam.Transparency = RayBeam.Transparency + 1/5
4319
					Swait()
4320
				end
4321
				RayBeam:remove()
4322
			end))
4323
		else
4324
			RayBeam:remove()
4325
		end
4326
	until KEYHOLD == false
4327
	soundeffect:remove()
4328
end))
4329
for i=0, 2, 0.1 / Animation_Speed do
4330
		Swait()
4331
			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)
4332
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-15 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4333
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4334
			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)
4335
			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)
4336
			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)
4337
    end
4338
    MODE = "Sun"
4339
	ATTACK = false
4340
end
4341
4342
function Earthquake()
4343
	ATTACK = true
4344
	Rooted = true
4345
	local GYRO = IT("BodyGyro", RootPart)
4346
	GYRO.D = 20
4347
	GYRO.P = 4000
4348
	GYRO.MaxTorque = VT(0, 40000, 0)
4349
	local RING, MESH, DELET = MakeRing()
4350
	local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
4351
	RING.CFrame = CF(HITPOS)
4352
	for i = 0, 0.6, 0.1 / Animation_Speed do
4353
		GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
4354
		Swait()
4355
		MESH.Scale = MESH.Scale + VT(53, 0, 53)
4356
		RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
4357
		WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
4358
		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)
4359
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
4360
	end
4361
	local BLASTS = {468991944, 468991990}
4362
	coroutine.resume(coroutine.create(function()
4363
		local CFRAME = RootPart.CFrame
4364
		for i = 1, 100 do
4365
			CFRAME = CFRAME * CF(0, 0, -35)
4366
			do
4367
				local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
4368
				if HITFLOOR then
4369
					Swait()
4370
					do
4371
						local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
4372
						coroutine.resume(coroutine.create(function()
4373
							local RING, MESH, DELET = MakeRing()
4374
							RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
4375
							for i = 1, 25 do
4376
								Swait()
4377
								MESH.Scale = MESH.Scale + VT(42, 0, 42)
4378
								RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
4379
							end
4380
							ApplyAoE(RING.Position,25,50,90,90,false)
4381
							SHAKECAM(RING.Position, 80, 30, 15)
4382
							local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
4383
							WACKYEFFECT({
4384
								Time = 25,
4385
								EffectType = "Sphere",
4386
								Size = VT(22, 22, 22),
4387
								Size2 = VT(85, 85, 85),
4388
								Transparency = 0,
4389
								Transparency2 = 1,
4390
								CFrame = CF(RING.Position),
4391
								MoveToPos = nil,
4392
								RotationX = 0,
4393
								RotationY = 0,
4394
								RotationZ = 0,
4395
								Material = "Neon",
4396
								Color = C3(0, 0, 0),
4397
								SoundID = BLASTS[MRANDOM(1, #BLASTS)],
4398
								SoundPitch = MRANDOM(9, 12) / 10,
4399
								SoundVolume = 10
4400
							})
4401
							for e = 1, 3 do
4402
								WACKYEFFECT({
4403
									EffectType = "Wave",
4404
									Size = VT(25, 0, 25),
4405
									Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
4406
									Transparency = 0,
4407
									Transparency2 = 1,
4408
									CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
4409
									MoveToPos = nil,
4410
									RotationX = 0,
4411
									RotationY = 3,
4412
									RotationZ = 0,
4413
									Material = "Neon",
4414
									Color = C3(0, 0, 0),
4415
									SoundID = nil,
4416
									SoundPitch = nil,
4417
									SoundVolume = nil
4418
								})
4419
								WACKYEFFECT({
4420
									Time = 35,
4421
									EffectType = "Sphere",
4422
									Size = VT(22, 45, 22),
4423
									Size2 = VT(25, 45 + e * 75, 25),
4424
									Transparency = 0,
4425
									Transparency2 = 1,
4426
									CFrame = CF(RING.Position) * TURN,
4427
									MoveToPos = nil,
4428
									RotationX = 0,
4429
									RotationY = 0,
4430
									RotationZ = 0,
4431
									Material = "Neon",
4432
									Color = C3(0, 0, 0),
4433
									SoundID = nil,
4434
									SoundPitch = MRANDOM(9, 12) / 10,
4435
									SoundVolume = 10
4436
								})
4437
							end
4438
							wait(0.3)
4439
							DELET()
4440
						end))
4441
					end
4442
				end
4443
			end
4444
		end
4445
	end))
4446
	Rooted = false
4447
	DELET()
4448
	GYRO:remove()
4449
	ATTACK = false
4450
	Rooted = false
4451
end
4452
4453
function Warp()
4454
	ATTACK = true
4455
	Rooted = true
4456
	coroutine.resume(coroutine.create(function()
4457
    Swait(38)
4458
	WACKYEFFECT({Time = 50, EffectType = "Box", Size = VT(20,20,20)*SIZE, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153, 0/255, 153), SoundID = 289556450, SoundPitch = 0.96, SoundVolume = 10})
4459
    end))
4460
	for i=0, 0.5, 0.1 / Animation_Speed do
4461
		Swait()
4462
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4463
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4464
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.5*SIZE, -0.8*SIZE) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4465
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.5*SIZE, -0.8*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
4466
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4467
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4468
	end
4469
	for i=0, 1, 0.1 / Animation_Speed do
4470
		Swait()
4471
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 10) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4472
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4473
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.5*SIZE, -0.8*SIZE) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4474
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.5*SIZE, -0.8*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
4475
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4476
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4477
	end
4478
	local ORIGIN = RootPart.Position
4479
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,4,0),ORIGIN)
4480
	for i=0, 0.3, 0.1 / Animation_Speed do
4481
		Swait()
4482
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
4483
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4484
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5*SIZE, -0.8*SIZE) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4485
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5*SIZE, -0.8*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
4486
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4487
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4488
	end
4489
	RootPart.Anchored = false
4490
	ATTACK = false
4491
	Rooted = false
4492
end
4493
4494
function Shriek()
4495
	ATTACK = true
4496
	Rooted = false
4497
local TAUNTS = {"368794227","368794903","368794985"}
4498
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
4499
	for i=0, 2.5, 0.1 / Animation_Speed do
4500
		Swait()
4501
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0*SIZE + 0.05 * COS(SINE / 12)*SIZE) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4502
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4503
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(160), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4504
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(160), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
4505
		RightHip.C0 = Clerp(RightHip.C0, CF(1.1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12)*SIZE, -0.4*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
4506
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12)*SIZE, -0.4*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
4507
	end
4508
	Rooted = true
4509
	CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Effects, 10, 1)
4510
	for i=0, 4.5, 0.1 / Animation_Speed do
4511
		Swait()
4512
		ApplyAoE(HITPOS,38,.4,.7,5,false)
4513
		MagicSphere3(VT(0,0,0),5,Head.CFrame,"Pearl",VT(15,15,15))
4514
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4*SIZE, -0*SIZE + 0.05 * COS(SINE / 12)) * ANGLES(RAD(55), RAD(0), RAD(0)), 0.7 / Animation_Speed)
4515
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-35+MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,1))), 1)
4516
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-15), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
4517
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-15), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
4518
		RightHip.C0 = Clerp(RightHip.C0, CF(1.1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12)*SIZE, -0.4*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(15)), 0.75 / Animation_Speed)
4519
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12)*SIZE, -0.4*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-55)), 0.75 / Animation_Speed)
4520
	end
4521
	ATTACK = false
4522
	Rooted = false
4523
end
4524
4525
function Thunder()
4526
	ATTACK = true
4527
	Rooted = false
4528
    local BOLTSOUNDS = {168586621,168586586,178452241}
4529
	local GYRO = IT("BodyGyro",RootPart)
4530
	GYRO.D = 750
4531
	GYRO.P = 20000
4532
	GYRO.MaxTorque = VT(0,40000000,0)
4533
	CreateSound(469345336,Torso,3,2,false)
4534
	Pose("Cast2",1.5,2,true,GYRO)
4535
	coroutine.resume(coroutine.create(function()
4536
		local FRAME = RootPart.CFrame
4537
		for i = 1, 25 do
4538
			local POS = FRAME*CF(MRANDOM(-17,17),0,-i*15)
4539
			local LightningTable = Lightning({Color = C3(1,1,0), Start = POS*CF(0,85,0).p, End = POS*CF(0,-15,0).p, SegmentL = 3, Thickness = 0.4, DoesFade = true, Ignore = Character, MaxDist = 200, Branches = true})
4540
			local Hitpos = LightningTable.End
4541
			ApplyAoE(Hitpos,15,20,75,50,false)
4542
			WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
4543
			for i = 1, 4 do
4544
				WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,75,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4545
			end
4546
			wait(0.05)
4547
		end
4548
	end))
4549
	Pose("Cast2",1.5,0.7,true)
4550
	GYRO:remove()
4551
	ATTACK = false
4552
	Rooted = false
4553
end
4554
4555
function Hat()
4556
	ATTACK = true
4557
	Rooted = false
4558
	Pose("Taunt",0.4,1.2,false)
4559
	ATTACK = false
4560
	Rooted = false
4561
end
4562
4563
function Bullet()
4564
	ATTACK = true
4565
	Rooted = false
4566
	InjusticeGun2.Parent = Character
4567
	WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame =  Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4568
	InjusticeGun.Parent = nil
4569
	for i=0, 0.4, 0.1 / Animation_Speed do
4570
		Swait()
4571
		turnto(Mouse.Hit.p)
4572
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
4573
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4574
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4575
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4576
			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)
4577
			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)
4578
	end
4579
	repeat
4580
		for i=0, 0.2, 0.1 / Animation_Speed do
4581
			Swait()
4582
			turnto(Mouse.Hit.p)
4583
			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(40)), 1 / Animation_Speed)
4584
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(-10), RAD(0), RAD(-32)), 0.5 / Animation_Speed)
4585
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4586
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)			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)
4587
			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)
4588
		end
4589
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
4590
		SpawnTrail(Hole2.Position,POS)
4591
		ApplyAoE(POS,3,5,15,0,false)
4592
		if HIT ~= nil then
4593
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
4594
			end
4595
		end
4596
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4597
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 213603013, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4598
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4599
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4600
		for i=0, 0.3, 0.1 / Animation_Speed do
4601
			Swait()
4602
			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(40)), 1 / Animation_Speed)
4603
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-32)), 0.25 / Animation_Speed)
4604
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(15), RAD(40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4605
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)			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)
4606
			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)
4607
		end
4608
	until KEYHOLD == false
4609
	InjusticeGun2.Parent = nil
4610
	InjusticeGun.Parent = Character
4611
	WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame =  Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4612
    WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame =  Barrel2.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4613
	ATTACK = false
4614
	Rooted = false
4615
end
4616
4617
function Void_Pusher()
4618
	local target = nil
4619
	local targettorso = nil
4620
	if Mouse.Target ~= nil then
4621
		if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
4622
			target = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
4623
			targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
4624
		end
4625
	end
4626
	if target ~= nil then
4627
		VALUE1 = true
4628
		targettorso.Anchored = true
4629
		CreateSound("191456748", Head, 10, 0.85, false)
4630
		local GYRO = IT("BodyGyro",RootPart)
4631
		GYRO.D = 100
4632
		GYRO.P = 2000
4633
		GYRO.MaxTorque = VT(0,999999999999999999,0)
4634
		GYRO.cframe = CF(RootPart.Position,targettorso.Position)
4635
		wait(1)
4636
		WACKYEFFECT({Time = 75, EffectType = "Ring", Size = VT(0.01,0.01,0.01), Size2 = VT(5,5,0.01), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 314970790, SoundPitch = 1, SoundVolume = 3})
4637
		GYRO:remove()
4638
		targettorso.CFrame = CF(targettorso.Position,RootPart.Position)
4639
		targettorso.Anchored = false
4640
		target.PlatformStand = true
4641
		CreateSound("330010786", targettorso, 10, 1, false)
4642
		local bv = Instance.new("BodyVelocity") 
4643
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4644
		bv.velocity = CF(VT(RootPart.Position.X,targettorso.Position.Y-10,RootPart.Position.Z),targettorso.Position).lookVector*350
4645
		bv.Parent = targettorso
4646
		Debris:AddItem(bv,0.05)
4647
		VALUE1 = false
4648
			coroutine.resume(coroutine.create(function()
4649
			for i=0, 1.5, 0.1 / Animation_Speed do
4650
			Swait()
4651
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(-25 - 3 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
4652
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(23 - 3 * SIN(SINE / 12)), RAD(0), RAD(30)), 1 / Animation_Speed)
4653
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*SIZE, 0.5*SIZE, -0.01*SIZE) * ANGLES(RAD(70), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4654
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.5*SIZE, -0.01*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4655
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
4656
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*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)
4657
			end
4658
		end))
4659
	end
4660
end
4661
4662
function JusticeBeam()
4663
	ATTACK = true
4664
	Rooted = false
4665
	coroutine.resume(coroutine.create(function()
4666
	local AIMPOS = Mouse.Hit.p
4667
	local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
4668
		local RAYS = {}
4669
		for i = 1, 4 do
4670
			local RAY = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ray", VT(15,2000,15))
4671
			MakeForm(RAY,"Cyl")
4672
			RAY.Mesh.Scale = VT(1,1.1,1)
4673
			table.insert(RAYS,RAY)
4674
		end
4675
		CreateSound(348663022, Effects, 2, 1.2, false)
4676
		for i = 1, 100 do
4677
			Swait()
4678
			for e = 1, #RAYS do
4679
				if RAYS[e] ~= nil then
4680
					local RAY = RAYS[e]
4681
					RAY.CFrame = CF(AIMPOS+VT(0,1000,0))*ANGLES(RAD(0),RAD(90*e),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(50-(i/2)))*CF(0,-1000,0)
4682
					RAY.Transparency = RAY.Transparency - 0.01
4683
				end
4684
			end
4685
		end
4686
		for i = 1, 20 do
4687
			Swait()
4688
			for e = 1, #RAYS do
4689
				if RAYS[e] ~= nil then
4690
					local RAY = RAYS[e]
4691
					RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
4692
				end
4693
			end
4694
		end
4695
		wait(0.3)
4696
		for i = 1, 16 do
4697
			local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
4698
			SpawnTrail(POS+VT(0,200,0),POS)
4699
		end
4700
        WACKYEFFECT({Time = 20, EffectType = "Sphere", Size = VT(0,0.55,0), Size2 = VT(90,2,90), Transparency = 0, Transparency2 = 1, CFrame = CF(AIMPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4701
		CreateDebreeRing(AIM,AIMPOS-VT(15,15,15),20,VT(5,5,5),5)
4702
		CreateFlyingDebree(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
4703
		CreateSound(130972023, Effects, 2, 1, false)
4704
		ApplyAoE(AIMPOS,35,50,95,100,false)
4705
	        end))
4706
	        for i=0, 1.9, 0.1 / Animation_Speed do
4707
		    WACKYEFFECT({Time = 20, EffectType = "Block", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4708
		    WACKYEFFECT({Time = 20, EffectType = "Block", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4709
		    Swait()
4710
			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)
4711
			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)
4712
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(120), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(25 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4713
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(120), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-25 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4714
            end
4715
	ATTACK = false
4716
	Rooted = false
4717
	end
4718
4719
4720
function Bullet_Rain()
4721
	ATTACK = true
4722
	Rooted = true
4723
    InjusticeGun2.Parent = Character
4724
	WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame =  Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4725
	InjusticeGun.Parent = nil
4726
	for i=0, 0.6, 0.1 / Animation_Speed do
4727
		Swait()
4728
		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)
4729
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)
4730
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)
4731
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4732
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6*SIZE, 0.75*SIZE, -0.5*SIZE) * 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)
4733
	end
4734
	local DONE = false
4735
	local GATE = nil
4736
	local GATESPIN = true
4737
	coroutine.resume(coroutine.create(function()
4738
		repeat
4739
			Swait()
4740
			if GATE ~= nil then
4741
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
4742
			end
4743
		until GATESPIN == false
4744
	end))
4745
	coroutine.resume(coroutine.create(function()
4746
		repeat
4747
			Swait()
4748
		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)
4749
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)
4750
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.01 - 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)
4751
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0.01, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4752
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.75*SIZE, -0.5*SIZE) * 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)
4753
		until DONE == true
4754
		Swait(10)
4755
		for i = 1, 75 do
4756
			Swait(1.5)
4757
			local FIRED = false
4758
			local CHILDREN = workspace:GetDescendants()
4759
			for index, CHILD in pairs(CHILDREN) do
4760
				if CHILD.ClassName == "Model" and CHILD ~= Character then
4761
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4762
					if HUM then
4763
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4764
						if TORSO then
4765
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
4766
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
4767
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
4768
								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,0), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 3})
4769
								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,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4770
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)	
4771
								ApplyAoE(CFRAME.p,3,0.25,1,2,false)	
4772
								FIRED = true
4773
								break
4774
							end
4775
						end
4776
					end
4777
				end
4778
			end
4779
			if FIRED == false then
4780
				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)))
4781
				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,0), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
4782
				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,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4783
				SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
4784
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
4785
				if HITBOD ~= nil then
4786
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
4787
						ApplyAoE(HITBOD,3,0.25,1,0,false)
4788
					end
4789
				end
4790
			end
4791
		end
4792
		for i = 1, 45 do
4793
			Swait()
4794
			GATE.Size = GATE.Size - VT(3,0,3)
4795
		end
4796
		GATESPIN = false
4797
		GATE:remove()
4798
		end))
4799
	Swait(5)
4800
	local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p, (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 15, Character)
4801
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Gate", VT(0,0,0))
4802
	local DECAL = IT("Decal",GATE)
4803
	DECAL.Texture = "http://www.roblox.com/asset/?id=0"
4804
	DECAL.Face = "Top"
4805
	GATE.CFrame = CF(HITPOS)
4806
	CreateSound(160772554, GATE, 7, 1.3, false)
4807
	for i = 1, 45 do
4808
		Swait()
4809
		GATE.Size = GATE.Size + VT(3,0,3)
4810
	end
4811
	CreateSound(145080998, Hole2, 7, 1, false)
4812
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4813
	InjusticeGun.Parent = Character
4814
	WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame =  Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4815
    WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame =  Barrel2.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
4816
	InjusticeGun2.Parent = nil
4817
	ATTACK = false
4818
	Rooted = false
4819
	DONE = true
4820
end
4821
4822
function Ring()
4823
	ATTACK = true
4824
	Rooted = false
4825
	local GYRO = IT("BodyGyro",RootPart)
4826
	GYRO.D = 750
4827
	GYRO.P = 20000
4828
	GYRO.MaxTorque = VT(0,40000000,0)
4829
	local FIRE = IT("Model",Effects)
4830
	FIRE.Name = "Fire"
4831
	local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "New Yeller", "Center", VT(0,0,0))
4832
	FIRE.PrimaryPart = MAIN
4833
	local FIRES = {}
4834
	for i = 1, 45 do
4835
		local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "New Yeller", "RingPart", VT(3,3,3))
4836
		PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
4837
		local F = Fire(PRT)
4838
		table.insert(FIRES,F)
4839
	end
4840
	repeat
4841
		FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
4842
		Pose("Cast1",1.5,0.01,false,GYRO)
4843
	until HOLD == true
4844
	coroutine.resume(coroutine.create(function()
4845
		for i = 1, 4 do
4846
			ApplyAoE(MAIN.Position,25,15,25,0,false)
4847
			CreateSound(463598785,MAIN,3,1,false)
4848
			for E = 1, #FIRES do
4849
				if FIRES[E] ~= nil then
4850
					FIRES[E].Acceleration = VT(0,300,0)
4851
					FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
4852
				end
4853
			end
4854
			wait(0.3)
4855
		end
4856
		for E = 1, #FIRES do
4857
			if FIRES[E] ~= nil then
4858
				FIRES[E].Enabled = false
4859
			end
4860
		end
4861
		Debris:AddItem(FIRE,5)
4862
	end))
4863
	CreateSound(215395388,RightArm,3,2,false)
4864
	Pose("Cast2",1.5,0.5,true)
4865
	GYRO:remove()
4866
	ATTACK = false
4867
	Rooted = false
4868
end
4869
4870
function Grasp()
4871
    ATTACK = true
4872
    Rooted = false
4873
    local HASGRABBED = false
4874
    local WELD = nil
4875
    local TORS = nil
4876
    local hitting = RightArm.Touched:connect(function(hit)
4877
        if hit.Parent:FindFirstChild("Humanoid") then
4878
            if hit.Parent.Humanoid.Health ~= 0 then
4879
                UNANCHOR = false
4880
                TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
4881
                TORS.Anchored = true
4882
                TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
4883
                WELD = weldBetween(RightArm,TORS)
4884
                HASGRABBED = true
4885
                Rooted = true
4886
            end
4887
        end
4888
    end)
4889
    for i=0, 1, 0.1 / Animation_Speed do
4890
        Swait()
4891
        if HASGRABBED == true then
4892
            break
4893
        end
4894
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
4895
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 2 / Animation_Speed)
4896
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(75 + 11 * COS(SINE / 1)), RAD(0), RAD(-12 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 2 / Animation_Speed)
4897
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(75 + 11 * COS(SINE / 1)), RAD(0), RAD(-12 + 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 2 / Animation_Speed)
4898
        RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8 + 11 * COS(SINE / 1)), RAD(0), RAD(0 + 11 * COS(SINE / 1))), 2 / Animation_Speed)
4899
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8 + 11 * COS(SINE / 1)), RAD(0), RAD(0 + 11 * COS(SINE / 1))), 2 / Animation_Speed)
4900
    end
4901
    hitting:disconnect()
4902
    if HASGRABBED == true then
4903
        TORS.Anchored = false
4904
        RootPart.Anchored = true
4905
        for i=0, 2, 0.1 / Animation_Speed do
4906
            Swait()
4907
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4908
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0), RAD(0 + 11 * COS(SINE / 1))), 0.2 / Animation_Speed)
4909
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40 + 11 * COS(SINE / 1)), RAD(0), RAD(20 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
4910
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40 + 11 * COS(SINE / 1)), RAD(0), RAD(-20 + 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
4911
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.3*SIZE, -1*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20 + 11 * COS(SINE / 1))), 0.2 / Animation_Speed)
4912
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.3*SIZE, -1*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4913
        end
4914
        CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
4915
        CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
4916
        local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
4917
        SOUNDPART.CFrame = RootPart.CFrame
4918
        Debris:AddItem(SOUNDPART,5)
4919
        CreateSound("1295446488", SOUNDPART, 2, 1)
4920
        for i = 1, 15 do
4921
            Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
4922
        end
4923
        for i=0, 2, 0.1 / Animation_Speed do
4924
            Swait()
4925
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
4926
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4927
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
4928
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
4929
            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)), 0.2 / Animation_Speed)
4930
            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)), 0.2 / Animation_Speed)
4931
        end
4932
        for i=0, 0.25, 0.1 / Animation_Speed do
4933
            Swait()
4934
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
4935
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
4936
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
4937
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
4938
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4939
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4940
        end
4941
        if HITFLOOR ~= nil then
4942
            CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
4943
        end
4944
        CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
4945
        WELD:remove()
4946
        for i = 1, 25 do
4947
            Swait()
4948
            ApplyAoE(RootPart.Position,55,2.5,5,20,false)
4949
            CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
4950
            CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Lavender",VT(1,0.4,1))
4951
            CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Lavender",VT(2.3,0.3,2.3))
4952
            Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
4953
            Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Lavender", 1 + MRANDOM(1,30)/15)
4954
        end
4955
    end
4956
    UNANCHOR = true
4957
    ATTACK = false
4958
    Rooted = false
4959
end
4960
4961
function Evening_Star()
4962
	ATTACK = true
4963
	Rooted = true
4964
	coroutine.resume(coroutine.create(function()
4965
    WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(0,0,0), Transparency = 0.2, Transparency2 = 1, CFrame = Torso.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153,0,153), SoundID = 588738949, SoundPitch = 1, SoundVolume = 5})
4966
	Swait(30)
4967
	WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(0,0,0), Transparency = 0.2, Transparency2 = 1, CFrame = Torso.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153,0,153), SoundID = 588739384, SoundPitch = 1, SoundVolume = 5})
4968
	Swait(30)
4969
    WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(0,0,0), Transparency = 0.2, Transparency2 = 1, CFrame = Torso.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153,0,153), SoundID = 588739712, SoundPitch = 1, SoundVolume = 5})
4970
	Swait(30)
4971
	WACKYEFFECT({Time = 55, EffectType = "Sphere", Size = VT(100,100,100), Size2 = VT(0,0,0), Transparency = 0.2, Transparency2 = 1, CFrame = Torso.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153,0,153), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4972
	end))
4973
	for i=0, 4.5, 0.1 / Animation_Speed do
4974
		Swait()
4975
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
4976
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4977
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, -0.5*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4978
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4979
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.75*SIZE, -0.01*SIZE) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4980
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.25*SIZE, -0.5*SIZE) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4981
	end	
4982
	coroutine.resume(coroutine.create(function()
4983
		Swait(15)
4984
		local POS = Mouse.Hit.p
4985
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Dark indigo", "Strike", VT(0,2000,0))
4986
		MakeForm(RAY,"Cyl")
4987
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Dark indigo", "Strike", VT(0,0,0))
4988
		MakeForm(SPHERE,"Ball")
4989
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
4990
		MakeForm(SHIELD,"Ball")
4991
		SHIELD.CFrame = CF(POS)
4992
		RAY.CFrame = CF(POS)
4993
		SPHERE.CFrame = CF(POS)
4994
		CreateSound(440145570, SPHERE, 10, 0.8, false)
4995
		CreateSound(415700134, SPHERE, 10, 0.8, false)
4996
		for i = 1, 200 do
4997
			Swait()
4998
			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(153,0,153), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4999
			RAY.Size = RAY.Size + VT(0.5*1.18,0,0.5*1.18)
5000
			SPHERE.Size = SPHERE.Size + VT(2.7*1.18,2.7*1.18,2.7*1.18)
5001
			SHIELD.Size = SPHERE.Size + VT(4*1.18,4*1.18,4*1.18)
5002
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2.7*1.3,0.25,1.5,0,false)
5003
		end	
5004
		for i = 1, 45 do
5005
			Swait()
5006
			RAY.Transparency = RAY.Transparency + 1/45
5007
			SPHERE.Transparency = RAY.Transparency 
5008
			SHIELD.Transparency = SPHERE.Transparency + 1/45
5009
		end
5010
		RAY:remove()
5011
		SHIELD:remove()
5012
		SPHERE:remove()
5013
	end))
5014
	for i=0, 1, 0.1 / Animation_Speed do
5015
		Swait()
5016
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
5017
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5018
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, -0.15*SIZE) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5019
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, -0.15*SIZE) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5020
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5021
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5022
	end
5023
	ATTACK = false
5024
	Rooted = false
5025
end
5026
5027
function EarthBreak()
5028
	ATTACK = true
5029
	Rooted = true
5030
	local CHARGE = false
5031
	local BLASTS = {468991944, 468991990}
5032
	coroutine.resume(coroutine.create(function()
5033
		repeat
5034
			Swait()
5035
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
5036
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1*SIZE - 1)) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
5037
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.5*SIZE + 0.25 * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
5038
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.5*SIZE + 0.25 * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
5039
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.15 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
5040
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE + 0.25 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
5041
		until CHARGE == true
5042
		for i = 0, 0.4, 0.1 / Animation_Speed do
5043
			Swait()
5044
			WACKYEFFECT({
5045
				Time = 15,
5046
				EffectType = "Sphere",
5047
				Size = VT(60, 60, 60),
5048
				Size2 = VT(0, 0, 0),
5049
				Transparency = 1,
5050
				Transparency2 = 0.7,
5051
				CFrame = CF(RootPart.Position),
5052
				MoveToPos = nil,
5053
				RotationX = 0,
5054
				RotationY = 0,
5055
				RotationZ = 0,
5056
				Material = "Neon",
5057
				Color = C3(1, 0, 1),
5058
				SoundID = nil,
5059
				SoundPitch = nil,
5060
				SoundVolume = nil
5061
			})
5062
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 6)), RAD(0), RAD(5 + 1 * SIN(SINE / 6))), 1 / Animation_Speed)
5063
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1*SIZE - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5064
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.5*SIZE + 0.25 * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 6)), RAD(-7.5 * SIN(SINE / 6)), RAD(-50 + 7.5 * SIN(SINE / 6))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5065
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.5*SIZE + 0.25 * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 6)), RAD(7.5 * SIN(SINE / 6)), RAD(50 - 7.5 * SIN(SINE / 6))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5066
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.15 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 6)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5067
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE + 0.25 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 6)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5068
		end
5069
		coroutine.resume(coroutine.create(function()
5070
			local POS = RootPart.Position
5071
			wait(0.2)
5072
			for i = 1, 5 do
5073
				WACKYEFFECT({
5074
					Time = 65,
5075
					EffectType = "Sphere",
5076
					Size = VT(2, 2, 2),
5077
					Size2 = VT(0, 0, 500),
5078
					Transparency = 1,
5079
					Transparency2 = 0,
5080
					CFrame = CF(POS),
5081
					MoveToPos = nil,
5082
					RotationX = MRANDOM(-2, 2),
5083
					RotationY = MRANDOM(-12, 12),
5084
					RotationZ = MRANDOM(-2, 2),
5085
					Material = "Neon",
5086
					Color = C3(1, 0, 1),
5087
					SoundID = nil,
5088
					SoundPitch = nil,
5089
					SoundVolume = nil
5090
				})
5091
			end
5092
			wait(1)
5093
			SHAKECAM(POS, 9999999999, 25, 25)
5094
			ApplyAoE(POS,168,25,50,250,false)
5095
			WACKYEFFECT({
5096
				Time = 85,
5097
				EffectType = "Sphere",
5098
				Size = VT(120, 120, 120),
5099
				Size2 = VT(350, 350, 350),
5100
				Transparency = 0,
5101
				Transparency2 = 1,
5102
				CFrame = CF(POS),
5103
				MoveToPos = nil,
5104
				RotationX = 0,
5105
				RotationY = 0,
5106
				RotationZ = 0,
5107
				Material = "Neon",
5108
				Color = C3(1, 0, 1),
5109
				SoundID = nil,
5110
				SoundPitch = 1,
5111
				SoundVolume = 5
5112
			})
5113
			for i = 1, 20 do
5114
				WACKYEFFECT({
5115
					Time = 85,
5116
					EffectType = "Sphere",
5117
					Size = VT(120, 120, 120),
5118
					Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
5119
					Transparency = 0.8,
5120
					Transparency2 = 1,
5121
					CFrame = CF(POS),
5122
					MoveToPos = nil,
5123
					RotationX = 0,
5124
					RotationY = 0,
5125
					RotationZ = 0,
5126
					Material = "Neon",
5127
					Color = C3(1, 0, 1),
5128
					SoundID = nil,
5129
					SoundPitch = 1,
5130
					SoundVolume = 5
5131
				})
5132
				WACKYEFFECT({
5133
					Time = 100,
5134
					EffectType = "Wave",
5135
					Size = VT(25, 2, 25),
5136
					Size2 = VT(400, 0, 400) * 1.2,
5137
					Transparency = 0,
5138
					Transparency2 = 1,
5139
					CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
5140
					MoveToPos = nil,
5141
					RotationX = 0,
5142
					RotationY = 0,
5143
					RotationZ = 0,
5144
					Material = "Neon",
5145
					Color = C3(1, 0, 1),
5146
					SoundID = nil,
5147
					SoundPitch = nil,
5148
					SoundVolume = nil
5149
				})
5150
			end
5151
			local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
5152
			for i = 1, 5 do
5153
				CreateSound(438666077, Effects, 15, 1 - i / 10, false)
5154
				WACKYEFFECT({
5155
					Time = 120,
5156
					EffectType = "Wave",
5157
					Size = VT(150, 2, 150),
5158
					Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
5159
					Transparency = 0,
5160
					Transparency2 = 1,
5161
					CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
5162
					MoveToPos = nil,
5163
					RotationX = 0,
5164
					RotationY = 0,
5165
					RotationZ = 0,
5166
					Material = "Neon",
5167
					Color = C3(1, 0, 1),
5168
					SoundID = nil,
5169
					SoundPitch = nil,
5170
					SoundVolume = nil
5171
				})
5172
			end
5173
		end))
5174
		for i = 0, 1, 0.1 / Animation_Speed do
5175
			Swait()
5176
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
5177
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1*SIZE - 1)) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5178
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5179
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5180
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.15 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
5181
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE + 0.25 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
5182
		end
5183
		ATTACK = false
5184
		Rooted = false
5185
	end))
5186
	for i = 0.55, 90 do
5187
		wait(0.008)
5188
		local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(15, 250))
5189
		local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
5190
		if HITFLOOR then
5191
			ApplyAoE(HITPOS,35,5,10,75,false)
5192
			local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
5193
			WACKYEFFECT({
5194
				Time = 25,
5195
				EffectType = "Sphere",
5196
				Size = VT(22, 22, 22),
5197
				Size2 = VT(85, 85, 85),
5198
				Transparency = 0,
5199
				Transparency2 = 1,
5200
				CFrame = CF(HITPOS),
5201
				MoveToPos = nil,
5202
				RotationX = 0,
5203
				RotationY = 0,
5204
				RotationZ = 0,
5205
				Material = "Neon",
5206
				Color = C3(1, 0, 1),
5207
				SoundID = BLASTS[MRANDOM(1, #BLASTS)],
5208
				SoundPitch = MRANDOM(9, 12) / 10,
5209
				SoundVolume = 5
5210
			})
5211
			for e = 1, 3 do
5212
				WACKYEFFECT({
5213
					EffectType = "Wave",
5214
					Size = VT(25, 0, 25),
5215
					Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
5216
					Transparency = 0,
5217
					Transparency2 = 1,
5218
					CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
5219
					MoveToPos = nil,
5220
					RotationX = 0,
5221
					RotationY = 3,
5222
					RotationZ = 0,
5223
					Material = "Neon",
5224
					Color = C3(153, 0, 153),
5225
					SoundID = nil,
5226
					SoundPitch = nil,
5227
					SoundVolume = nil
5228
				})
5229
				WACKYEFFECT({
5230
					Time = 35,
5231
					EffectType = "Sphere",
5232
					Size = VT(22, 45, 22),
5233
					Size2 = VT(25, 45 + e * 75, 25),
5234
					Transparency = 0,
5235
					Transparency2 = 1,
5236
					CFrame = CF(HITPOS) * TURN,
5237
					MoveToPos = nil,
5238
					RotationX = 0,
5239
					RotationY = 0,
5240
					RotationZ = 0,
5241
					Material = "Neon",
5242
					Color = C3(1, 0, 1),
5243
					SoundID = nil,
5244
					SoundPitch = MRANDOM(9, 12) / 10,
5245
					SoundVolume = 5
5246
				})
5247
			end
5248
		end
5249
	end
5250
	CHARGE = true
5251
end
5252
5253
function Maniac_Wave()
5254
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
5255
	if HITFLOOR ~= nil then
5256
		ATTACK = true
5257
		Rooted = false
5258
		local GYRO = IT("BodyGyro",RootPart)
5259
		GYRO.D = 100
5260
		GYRO.P = 2000
5261
		GYRO.MaxTorque = VT(0,4000000,0)
5262
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
5263
		for i=0, 1, 0.1 / Animation_Speed do
5264
			Swait()
5265
			WACKYEFFECT({Time = 100, EffectType = "Skull", Size = VT(5,5,5), Size2 = VT(1.8,1.8,1.8), Transparency = 0.8, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(90))*ANGLES(RAD(0),RAD(180),RAD(0)), MoveToPos = LeftArm.CFrame*CF(0,-1,0)*CF(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15)).p, RotationX = MRANDOM(-25,25)/15, RotationY = MRANDOM(-25,25)/15, RotationZ = MRANDOM(-25,25)/15, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5266
			GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
5267
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
5268
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(90)), 0.5 / Animation_Speed)
5269
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5270
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5271
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
5272
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
5273
		end
5274
		GYRO:remove()
5275
		coroutine.resume(coroutine.create(function()
5276
			local PITS = {}
5277
			local FRAME = RootPart.CFrame
5278
			for i = 1, 120 do
5279
				Swait()
5280
				local CFRAME = FRAME*CF(MRANDOM(-10,10)/10,0,5-(i)).p
5281
				local HITFLOOR,HITPOS,NORMAL = Raycast(CFRAME, (CF(CFRAME, CFRAME + VT(0, -1, 0))).lookVector, 25, Character)
5282
				if HITFLOOR ~= nil then
5283
					if MRANDOM(1, 2) == 1 then
5284
						local ICICLE = IT("CornerWedgePart",Effects)
5285
						ICICLE.Locked = true
5286
						ICICLE.CanCollide = false
5287
						ICICLE.Anchored = true
5288
						ICICLE.BrickColor = BRICKC"Really black"
5289
						ICICLE.Material = "Marble"
5290
						ICICLE.Size = VT(i/10,i/2,i/10)
5291
						ICICLE.CFrame = CF(HITPOS)*CF(MRANDOM(-i/10,i/10),0,MRANDOM(-i/10,i/10))*ANGLES(RAD(MRANDOM(-25,25)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-25,25)))
5292
						table.insert(PITS,ICICLE)
5293
						CreateSound("588693156", ICICLE, 3, MRANDOM(8,12)/10, false)
5294
						ApplyAoE(ICICLE.Position,ICICLE.Size.X,12.5,30,25,false)
5295
						WACKYEFFECT({EffectType = "Wave", Size = VT(ICICLE.Size.X*3,2,ICICLE.Size.X*3), Size2 = VT(0,6,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Fabric", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5296
					end
5297
				else
5298
					break
5299
				end
5300
			end
5301
			wait(2)
5302
			coroutine.resume(coroutine.create(function()
5303
				for i = 1, 10 do
5304
					Swait()
5305
					for e=1,#PITS do
5306
						if PITS[e]~=nil then
5307
							local E = PITS[e]
5308
							E.Transparency = E.Transparency + 0.1
5309
						end
5310
					end
5311
				end
5312
				for e=1,#PITS do
5313
					if PITS[e]~=nil then
5314
						local E = PITS[e]
5315
						E:remove()
5316
					end
5317
				end
5318
			end))
5319
		end))
5320
		ATTACK = false
5321
		Rooted = false
5322
	end
5323
end
5324
5325
function CreatePart2(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
5326
    local NEWPART = IT("Part")
5327
    NEWPART.formFactor = FORMFACTOR
5328
    NEWPART.Reflectance = REFLECTANCE
5329
    NEWPART.Transparency = TRANSPARENCY
5330
    NEWPART.CanCollide = false
5331
    NEWPART.Locked = true
5332
    NEWPART.Anchored = true
5333
    if ANCHOR == false then
5334
        NEWPART.Anchored = false
5335
    end
5336
    NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
5337
    NEWPART.Name = NAME
5338
    NEWPART.Size = SIZE
5339
    NEWPART.Position = Torso.Position
5340
    NEWPART.Material = MATERIAL
5341
    NEWPART:BreakJoints()
5342
    NEWPART.Parent = PARENT
5343
    return NEWPART
5344
end
5345
5346
function CreateWave3(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
5347
    local wave = CreatePart2(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
5348
    local mesh = IT("SpecialMesh",wave)
5349
    mesh.MeshType = "FileMesh"
5350
    mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
5351
    mesh.Scale = SIZE
5352
    mesh.Offset = VT(0,0,-SIZE.X/8)
5353
    wave.CFrame = CFRAME
5354
    coroutine.resume(coroutine.create(function(PART)
5355
        for i = 1, WAIT do
5356
            Swait()
5357
            mesh.Scale = mesh.Scale + GROW
5358
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
5359
            if DOESROT == true then
5360
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
5361
            end
5362
            wave.Transparency = wave.Transparency + (0.5/WAIT)
5363
            if wave.Transparency > 0.99 then
5364
                wave:remove()
5365
            end
5366
        end
5367
    end))
5368
end
5369
5370
function CreateSwirl3(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
5371
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
5372
    local mesh = IT("SpecialMesh",wave)
5373
    mesh.MeshType = "FileMesh"
5374
    mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
5375
    mesh.Scale = SIZE
5376
    wave.CFrame = CFRAME
5377
    coroutine.resume(coroutine.create(function(PART)
5378
        for i = 1, WAIT do
5379
            Swait()
5380
            mesh.Scale = mesh.Scale + GROW
5381
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
5382
            if DOESROT == true then
5383
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
5384
            end
5385
            wave.Transparency = wave.Transparency + (0.5/WAIT)
5386
            if wave.Transparency > 0.99 then
5387
                wave:remove()
5388
            end
5389
        end
5390
    end))
5391
end
5392
5393
function MagicSphere4(SIZE,WAIT,CFRAME,COLOR,GROW)
5394
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
5395
    local mesh = IT("SpecialMesh",wave)
5396
    mesh.MeshType = "Sphere"
5397
    mesh.Scale = SIZE
5398
    mesh.Offset = VT(0,0,0)
5399
    wave.CFrame = CFRAME
5400
    coroutine.resume(coroutine.create(function(PART)
5401
        for i = 1, WAIT do
5402
            Swait()
5403
            mesh.Scale = mesh.Scale + GROW
5404
            wave.Transparency = wave.Transparency + (1/WAIT)
5405
            if wave.Transparency > 0.99 then
5406
                wave:remove()
5407
            end
5408
        end
5409
    end))
5410
end
5411
5412
function GoldenPunch()
5413
    ATTACK = true
5414
    Rooted = false
5415
    local SPEED = Speed
5416
    Speed = 8
5417
    CreateSound("169445572", RightArm, 10, 0.9)
5418
    for i=0, 4, 0.1 / Animation_Speed do
5419
        Swait()
5420
        turnto(Mouse.Hit.p)
5421
        MagicSphere4(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lavender",VT(-1/15,-1/15,-1/15))
5422
        MagicSphere4(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Hot pink",VT(-2/15,-2/15,-2/15))
5423
        MagicSphere4(VT(1,1,1),15,LeftArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lavender",VT(-1/15,-1/15,-1/15))
5424
        MagicSphere4(VT(2,2,2),15,LeftArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Hot pink",VT(-2/15,-2/15,-2/15))
5425
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, -0.2 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5426
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1.2 * SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 0.2 / Animation_Speed)
5427
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90 + 11 * COS(SINE / 1)), RAD(-30 + 11 * COS(SINE / 1)), RAD(-65 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 3 / Animation_Speed)
5428
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90 + 11 * COS(SINE / 1)), RAD(30 + 11 * COS(SINE / 1)), RAD(65 + 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
5429
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 0.15 / Animation_Speed)
5430
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 0.15 / Animation_Speed)
5431
    end
5432
    for i=0, 0.15, 0.1 / Animation_Speed do
5433
        Swait()
5434
        turnto(Mouse.Hit.p)
5435
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, -0.2 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
5436
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1.2 * SIZE) - 1)) * ANGLES(RAD(25 + 11 * COS(SINE / 1)), RAD(0), RAD(35 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
5437
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90 + 11 * COS(SINE / 1)), RAD(0), RAD(85 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5438
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90 + 11 * COS(SINE / 1)), RAD(0), RAD(-85 + 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5439
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
5440
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
5441
    end
5442
    local PART = CreatePart2(3, Effects, "Neon", 0, 0.8, "Dark indigo", "Punch", VT(50,50,50),false)
5443
    PART.CFrame = RootPart.CFrame * CF(0,0,-25)
5444
    PART.Shape = "Ball"
5445
    local bv = Instance.new("BodyVelocity")
5446
    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5447
    bv.velocity = RootPart.CFrame.lookVector*600
5448
    bv.Parent = PART
5449
    bv.Name = "PROJECTILEVELOCITY"
5450
    CreateWave3(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lavender",VT(2.5,0.2,2.5))
5451
    CreateWave3(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lavender",VT(3,0.2,3))
5452
    CreateSwirl3(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lavender",VT(2,0.6,2))
5453
    CreateSwirl3(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lavender",VT(2.2,0.6,2.2))
5454
    CreateSound(414517163, Effects, 10, MRANDOM(7, 12) / 10)
5455
    coroutine.resume(coroutine.create(function()
5456
        for i = 1, 10 do
5457
            Swait()
5458
            PART.Transparency = PART.Transparency + 0.2/10
5459
            PART.Size = PART.Size + VT(5,5,5)
5460
            ApplyAoE(PART.Position,35,10,15,100,false)
5461
        end
5462
        PART:Destroy()
5463
    end))
5464
    for i=0, 1, 0.1 / Animation_Speed do
5465
        Swait()
5466
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, -0.2 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
5467
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(25 + 11 * COS(SINE / 1)), RAD(0), RAD(35 + 11 * COS(SINE / 1))), 3 / Animation_Speed)
5468
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90 + 11 * COS(SINE / 1)), RAD(0), RAD(0 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 3 / Animation_Speed)
5469
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-70 + 11 * COS(SINE / 1)), RAD(0), RAD(-25 + 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 3 / Animation_Speed)
5470
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.8 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 3 / Animation_Speed)
5471
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))), 3 / Animation_Speed)
5472
    end
5473
    Speed = SPEED
5474
    ATTACK = false
5475
    Rooted = false
5476
end
5477
5478
function VoidedTaunt()
5479
ATTACK = true
5480
Rooted = true
5481
local LAUGHS = {834001699,834001752,834001797,834001828}
5482
CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 30, 1, false)
5483
	coroutine.resume(coroutine.create(function()
5484
        for i=0, 3, 0.1 / Animation_Speed do
5485
            Swait()
5486
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.5) * ANGLES(RAD(0), RAD(180), RAD(0)), 0.2 / Animation_Speed)
5487
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0), RAD(0 + 11 * COS(SINE / 1))), 0.2 / Animation_Speed)
5488
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40 + 11 * COS(SINE / 1)), RAD(0), RAD(20 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
5489
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40 + 11 * COS(SINE / 1)), RAD(0), RAD(-20 + 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
5490
            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 + 11 * COS(SINE / 1))), 0.2 / Animation_Speed)
5491
            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(0)), 0.2 / Animation_Speed)
5492
        end
5493
ATTACK = false
5494
Rooted = false
5495
end))
5496
end
5497
5498
function TomYumTaunt()
5499
	    ATTACK = true
5500
	    Rooted = true
5501
		for i=0, 1, 0.1 / Animation_Speed do
5502
			Swait()
5503
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5504
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
5505
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5506
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5507
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5508
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5509
		end
5510
		CameraEnshaking(1,45)
5511
		CreateSound(363808674, Torso, 6, 1, false)
5512
		for i=0, 0.5, 0.1 / Animation_Speed do
5513
			Swait()
5514
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5515
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(25)), 1 / Animation_Speed)
5516
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5517
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5518
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5519
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5520
		end
5521
		CameraEnshaking(1,45)
5522
		CreateSound(363808674, Torso, 6, 1, false)
5523
		for i=0, 0.5, 0.1 / Animation_Speed do
5524
			Swait()
5525
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5526
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-25)), 1 / Animation_Speed)
5527
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(-50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5528
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(-50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5529
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5530
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5531
		end
5532
		ATTACK = false
5533
		Rooted = false
5534
end
5535
--//=================================\\
5536
--||	  ASSIGN THINGS TO KEYS
5537
--\\=================================//
5538
5539
function MouseDown(Mouse)
5540
	HOLD = true
5541
	if ATTACK == false then
5542
	end
5543
end
5544
5545
function MouseUp(Mouse)
5546
HOLD = false
5547
end
5548
5549
function KeyDown(Key)
5550
	KEYHOLD = true
5551
	if Key == "q" and ATTACK == false then
5552
		SuperiorForm()
5553
	end
5554
	
5555
	if Key == "e" and ATTACK == false then
5556
		VoidedForm()
5557
	end
5558
5559
	if Key == "r" and ATTACK == false then
5560
		TomYumForm()
5561
	end
5562
	
5563
	if Key == "f" and ATTACK == false then
5564
		InjusticeForm()
5565
	end
5566
	
5567
	if Key == "z" and ATTACK == false then
5568
		if MODE == "Main" then
5569
		MagicMissiles()
5570
		elseif MODE == "Superior" then
5571
		SuperStomp()
5572
		elseif MODE == "Voided" then
5573
		Warp()
5574
		elseif MODE == "Injustice" then
5575
		Bullet()
5576
		elseif MODE == "TomYum" then
5577
		GoldenPunch()
5578
	end
5579
end
5580
5581
	if Key == "b" and ATTACK == false then
5582
		if MODE == "Main" then
5583
        
5584
		elseif MODE == "Superior" then 
5585
			TimesUp()
5586
		elseif MODE == "Voided" then
5587
			Void_Pusher()
5588
		elseif MODE == "Injustice" then
5589
		    Ring()
5590
		elseif MODE == "TomYum" then
5591
			Grasp()
5592
		end
5593
	end
5594
5595
	if Key == "c" and ATTACK == false then
5596
		if MODE == "Main" then
5597
		ChainPunch()
5598
		elseif MODE == "Superior" then
5599
		Buzzsaw()
5600
		elseif MODE == "Voided" then
5601
		Smite()
5602
		elseif MODE == "Injustice" then
5603
		JusticeBeam()
5604
		elseif MODE == "TomYum" then
5605
		Maniac_Wave()
5606
		end
5607
	end
5608
5609
	if Key == "v" and ATTACK == false then
5610
		if MODE == "Main" then
5611
		WarpMeteor()
5612
		elseif MODE == "Superior" then
5613
		RavagingOverthrower()
5614
		elseif MODE == "Voided" then
5615
		Meteor()
5616
		elseif MODE == "TomYum" then
5617
		Shriek()
5618
		elseif MODE == "Injustice" then
5619
		Thunder()
5620
		end
5621
	end
5622
5623
	if Key == "x" and ATTACK == false then
5624
		if MODE == "Main" then
5625
		PandorasBox()
5626
		elseif MODE == "Superior" then
5627
	    Earthquake()
5628
		elseif MODE == "Voided" then
5629
		Evening_Star()
5630
		elseif MODE == "Injustice" then
5631
		Bullet_Rain()
5632
		elseif MODE == "TomYum" then
5633
		EarthBreak()
5634
		end
5635
	end
5636
5637
	if Key == "t" and ATTACK == false then
5638
		if MODE == "Main" then
5639
		Taunt()
5640
		elseif MODE == "Superior" then
5641
	    SuperiorLaugh()
5642
		elseif MODE == "Injustice" then
5643
		Hat()
5644
		elseif MODE == "Voided" then
5645
		VoidedTaunt()
5646
		elseif MODE == "TomYum" then
5647
	    TomYumTaunt()
5648
	   end
5649
	end
5650
end
5651
5652
function KeyUp(Key)
5653
	KEYHOLD = false
5654
end
5655
5656
	Mouse.Button1Down:connect(function(NEWKEY)
5657
		MouseDown(NEWKEY)
5658
	end)
5659
	Mouse.Button1Up:connect(function(NEWKEY)
5660
		MouseUp(NEWKEY)
5661
	end)
5662
	Mouse.KeyDown:connect(function(NEWKEY)
5663
		KeyDown(NEWKEY)
5664
	end)
5665
	Mouse.KeyUp:connect(function(NEWKEY)
5666
		KeyUp(NEWKEY)
5667
	end)
5668
5669
--//=================================\\
5670
--\\=================================//
5671
5672
5673
function unanchor()
5674
	if UNANCHOR == true then
5675
		RootPart.Anchored = false
5676
	end
5677
	g = Character:GetChildren()
5678
	for i = 1, #g do
5679
		if g[i].ClassName == "Part" and g[i] ~= RootPart then
5680
			g[i].Anchored = false
5681
		end
5682
	end
5683
	g = Weapon:GetChildren()
5684
	for i = 1, #g do
5685
		if g[i].ClassName == "Part" then
5686
			g[i].Anchored = false
5687
		end
5688
	end
5689
end
5690
5691
5692
--//=================================\\
5693
--||	WRAP THE WHOLE SCRIPT UP
5694
--\\=================================//
5695
5696
Humanoid.Changed:connect(function(Jump)
5697
	if Jump == "Jump" and (Disable_Jump == true) then
5698
		Humanoid.Jump = false
5699
	end
5700
end)
5701
5702
while true do
5703
	Swait()
5704
	script.Parent = WEAPONGUI
5705
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
5706
	    v:Stop();
5707
	end
5708
	ANIMATE.Parent = nil
5709
	SINE = SINE + CHANGE*1.5
5710
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
5711
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
5712
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
5713
	local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
5714
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
5715
		if MODE == "Main" then
5716
		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)
5717
		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)
5718
		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)
5719
		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)
5720
		elseif MODE == "Superior" then
5721
		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)
5722
		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)
5723
		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)
5724
		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)
5725
        elseif MODE == "Voided" then
5726
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5727
        Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5728
		elseif MODE == "Injustice" then
5729
		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)
5730
		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)
5731
		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(5) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5732
		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(5) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5733
		elseif MODE == "TomYum" then
5734
		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)
5735
		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)
5736
		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(5) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5737
		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(5) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
5738
		end
5739
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
5740
        if MODE == "Main" then
5741
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5742
		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)
5743
		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)
5744
		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)
5745
        elseif MODE == "Superior" then
5746
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5747
		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)
5748
		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)
5749
		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)
5750
        elseif MODE == "Voided" then
5751
	    RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5752
        Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5753
        elseif MODE == "Injustice" then
5754
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5755
		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)
5756
		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)
5757
		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)
5758
        elseif MODE == "TomYum" then
5759
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5760
		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)
5761
		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)
5762
		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)
5763
5764
	end
5765
end
5766
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
5767
		ANIM = "Jump"
5768
		if ATTACK == false then
5769
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5770
			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)
5771
			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)
5772
			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)
5773
			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)
5774
			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)
5775
	    end
5776
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
5777
		ANIM = "Fall"
5778
		if ATTACK == false then
5779
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5780
			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)
5781
			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)
5782
			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)
5783
			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)
5784
			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)
5785
		end
5786
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
5787
		ANIM = "Idle"
5788
		if ATTACK == false then
5789
			if MODE == "Main" then
5790
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.05*SIZE * COS(SINE / 12), 0*SIZE, 0*SIZE + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5791
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
5792
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5793
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5794
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE + 0.05 * COS(SINE / 12), -1*SIZE - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5795
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE + 0.05 * COS(SINE / 12), -1*SIZE - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5796
             elseif MODE == "Superior" then
5797
			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)
5798
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5799
            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)
5800
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(9.71), RAD(3.14 - -2.5 * SIN(SINE / 12)), RAD(0.2 - -2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5801
			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)
5802
			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)
5803
			elseif MODE == "Sun" then
5804
			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)
5805
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5806
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5807
			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)
5808
			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)
5809
			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)
5810
			elseif MODE == "Voided" then
5811
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(-25 - 3 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
5812
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(23 - 3 * SIN(SINE / 12)), RAD(0), RAD(30)), 1 / Animation_Speed)
5813
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
5814
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
5815
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5816
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5817
            elseif MODE == "Injustice" then
5818
			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)
5819
			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)
5820
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(40), RAD(-20 + 2.5 * SIN(SINE / 12)), RAD(-85 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5821
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(40), RAD(20 - 2.5 * SIN(SINE / 12)), RAD(85 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5822
			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)
5823
			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)
5824
            elseif MODE == "TomYum" then
5825
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1))), 1 / Animation_Speed)
5826
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 + 11 * COS(SINE / 1)), RAD(-15 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
5827
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(52 - 11 * COS(SINE / 1))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5828
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(-42 + 11 * COS(SINE / 1))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5829
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20 + 11 * COS(SINE / 1)), RAD(55 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
5830
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10 + 11 * COS(SINE / 1)), RAD(-74 + 11 * COS(SINE / 1)), RAD(0 - 11 * COS(SINE / 1))) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
5831
			if MRANDOM(1,20) == 1 then
5832
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30))), 1)
5833
			end
5834
         end
5835
      end
5836
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
5837
		ANIM = "Walk"
5838
		if ATTACK == false then
5839
			if MODE == "Main" then
5840
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
5841
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
5842
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5843
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5844
			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)
5845
			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)
5846
			elseif MODE == "Superior" then
5847
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
5848
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
5849
            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)
5850
			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)
5851
			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)
5852
			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)
5853
			elseif MODE == "Voided" then
5854
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.25 / Animation_Speed)
5855
		    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
5856
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.6*SIZE, -0.35*SIZE) * ANGLES(RAD(175), RAD(0 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-35 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5857
			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)
5858
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5859
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5860
            elseif MODE == "Injustice" then
5861
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
5862
			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)
5863
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(45), RAD(-10 + 2.5 * SIN(SINE / 12)), RAD(-75 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5864
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.4*SIZE) * ANGLES(RAD(50), RAD(10 - 2.5 * SIN(SINE / 12)), RAD(75 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5865
			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)
5866
			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)
5867
            elseif MODE == "TomYum" then
5868
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(15 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1)), RAD(-8*SIN(SINE/WALKSPEEDVALUE))), 1 / Animation_Speed)
5869
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(5), RAD(-2*SIN(SINE/WALKSPEEDVALUE)), RAD(8*SIN(SINE/WALKSPEEDVALUE))), 1/ Animation_Speed)
5870
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE-0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(22 + 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(-70 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5871
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE+0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(-22 - 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(70 + 11 * COS(SINE / 1)), RAD(0 - 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5872
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(25), RAD(75), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(-15 + 11 * COS(SINE / 1))), 2 / Animation_Speed)
5873
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(25), RAD(-75), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(15 - 11 * COS(SINE / 1))), 2 / Animation_Speed)
5874
			if MRANDOM(1,15) == 1 then
5875
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30))), 1)
5876
			end
5877
			end
5878
       end
5879
	end
5880
	unanchor()
5881
	Humanoid.MaxHealth = "inf"
5882
	Humanoid.Health = "inf"
5883
	if Rooted == false then
5884
		Disable_Jump = false
5885
		Humanoid.WalkSpeed = Speed
5886
	elseif Rooted == true then
5887
		Disable_Jump = true
5888
		Humanoid.WalkSpeed = 0
5889
	end
5890
	for _, c in pairs(Character:GetChildren()) do
5891
		if c.ClassName == "Part" and c.Name ~= "Detail" then
5892
			c.Material = "Fabric"
5893
			if c:FindFirstChildOfClass("ParticleEmitter") then
5894
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
5895
			end
5896
			if c ~= Head then
5897
				c.Color = BodyColor
5898
			else
5899
				c.Color = HeadColor
5900
			end
5901
			if c == Head then
5902
				if c:FindFirstChild("face") then
5903
					c.face:remove()
5904
				end
5905
			end
5906
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
5907
			c:remove()
5908
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
5909
			c:remove()
5910
		end
5911
		end
5912
	
5913
	sick.SoundId = "rbxassetid://"..SONG
5914
	sick.Looped = true
5915
	sick.Pitch = PITCH
5916
	sick.Volume = VOLUME
5917
	sick.Parent = Torso
5918
	sick:Resume()
5919
if INTRO == false and INSTANT == false then
5920
        INTRO = true
5921
        coroutine.resume(coroutine.create(function()
5922
            sick:Play()
5923
            sick:Resume()
5924
            Intro()
5925
        end))
5926
    end
5927
    if INSTANT == true then
5928
        if TRANSFORMED == false then
5929
            sick.TimePosition = 20.7
5930
            sick:Play()
5931
            sick:Resume()
5932
        end
5933
        TRANSFORMED = true
5934
    end
5935
    script.Parent = PlayerGui
5936
    Character.Parent = workspace
5937
    Humanoid.Parent = Character
5938
end
5939
5940
	--sick.Playing = false
5941
	Humanoid.Name = "Switcher = "..Player.Name
5942
--//=================================\\
5943
--\\=================================//
5944
5945
5946
5947
5948
5949
--//====================================================\\--
5950
--||			  		 END OF SCRIPT
5951
--\\====================================================//--