View difference between Paste ID: qQuxHwcN and Vt6yqfDC
SHOW: | | - or go back to the newest paste.
1-
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
1+
2-
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
2+
3-
local RealPlayer = Player
3+
4-
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
4+
--||	     By edit xXoOMzOoXx
5
--\\=================================//
6-
--||			   CREATED BY SHACKLUSTER
6+
7-
--\\====================================================//--
7+
8
PRT.Color = C3(0,0,0)
9-
script:ClearAllChildren()
9+
10-
wait(0.2)
10+
11
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
12-
Player = game:GetService("Players").LocalPlayer
12+
13-
PlayerGui = Player.PlayerGui
13+
14-
Cam = workspace.CurrentCamera
14+
15-
Backpack = Player.Backpack
15+
16-
Character = Player.Character
16+
17-
Humanoid = Character.Humanoid
17+
18-
Mouse = Player:GetMouse()
18+
19-
RootPart = Character["HumanoidRootPart"]
19+
20-
Torso = Character["Torso"]
20+
21-
Head = Character["Head"]
21+
22-
RightArm = Character["Right Arm"]
22+
23-
LeftArm = Character["Left Arm"]
23+
24-
RightLeg = Character["Right Leg"]
24+
25-
LeftLeg = Character["Left Leg"]
25+
26-
RootJoint = RootPart["RootJoint"]
26+
27-
Neck = Torso["Neck"]
27+
28-
RightShoulder = Torso["Right Shoulder"]
28+
29-
LeftShoulder = Torso["Left Shoulder"]
29+
30-
RightHip = Torso["Right Hip"]
30+
31-
LeftHip = Torso["Left Hip"]
31+
32-
local TIME = 0
32+
33-
local sick = Instance.new("Sound",Torso)
33+
34
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
35-
IT = Instance.new
35+
36-
CF = CFrame.new
36+
37-
VT = Vector3.new
37+
38-
RAD = math.rad
38+
39-
C3 = Color3.new
39+
40-
UD2 = UDim2.new
40+
41-
BRICKC = BrickColor.new
41+
42-
ANGLES = CFrame.Angles
42+
43-
EULER = CFrame.fromEulerAnglesXYZ
43+
44-
COS = math.cos
44+
45-
ACOS = math.acos
45+
46-
SIN = math.sin
46+
47-
ASIN = math.asin
47+
48-
ABS = math.abs
48+
49-
MRANDOM = math.random
49+
50-
FLOOR = math.floor
50+
51
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
52
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
53-
--|| 	      USEFUL VALUES
53+
54
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
55
for i = 1, 8 do
56-
Animation_Speed = 3
56+
57-
local FORCERESET = false
57+
58-
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
58+
59-
local Speed = 16
59+
60-
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
60+
61-
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
61+
62-
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
62+
63-
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
63+
64-
local DAMAGEMULTIPLIER = 1
64+
65-
local ANIM = "Idle"
65+
66-
local ATTACK = false
66+
67-
local EQUIPPED = false
67+
68-
local HOLD = false
68+
69-
local COMBO = 1
69+
70-
local Rooted = false
70+
71-
local SINE = 0
71+
72-
local KEYHOLD = false
72+
73-
local CHANGE = 2 / Animation_Speed
73+
74-
local WALKINGANIM = false
74+
75-
local VALUE1 = false
75+
76-
local VALUE2 = false
76+
77-
local ROBLOXIDLEANIMATION = IT("Animation")
77+
78-
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
78+
79-
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
79+
80-
--ROBLOXIDLEANIMATION.Parent = Humanoid
80+
81-
local WEAPONGUI = IT("ScreenGui", PlayerGui)
81+
82-
WEAPONGUI.Name = "BanishV3Gui"
82+
83-
local Weapon = IT("Model")
83+
84-
Weapon.Name = "Adds"
84+
85-
local Effects = IT("Folder", Weapon)
85+
86-
Effects.Name = "Effects"
86+
87-
local ANIMATOR = Humanoid.Animator
87+
88-
local ANIMATE = Character:FindFirstChild("Animate")
88+
89-
local UNANCHOR = true
89+
90-
local TOBANISH = {}
90+
91-
script.Parent = PlayerGui
91+
92-
local LAUGHS = {834001699,834001752,834001797,834001828}
92+
93-
local VOCALS_ENRAGES = {528589078,528589175,528589274,528589382}
93+
94-
local VOCALS_TAUNT = {468973055,468973159}
94+
95-
local VOCALS_BASIC = {468972244,468972378,468972711,468972944}
95+
96-
local VOCAL_GROWL = 468971411
96+
97
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
98
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
99
MakeForm(Part,"Cyl")
100
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
101
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
102
MakeForm(Part,"Wedge")
103-
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
103+
104
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
105
MakeForm(Hole,"Cyl")
106-
ArtificialHB = Instance.new("BindableEvent", script)
106+
107-
ArtificialHB.Name = "ArtificialHB"
107+
108
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
109-
script:WaitForChild("ArtificialHB")
109+
110
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
111-
frame = Frame_Speed
111+
112-
tf = 0
112+
113-
allowframeloss = false
113+
114-
tossremainder = false
114+
115-
lastframe = tick()
115+
116-
script.ArtificialHB:Fire()
116+
117
	end
118-
game:GetService("RunService").Heartbeat:connect(function(s, p)
118+
119-
	tf = tf + s
119+
120-
	if tf >= frame then
120+
121-
		if allowframeloss then
121+
122-
			script.ArtificialHB:Fire()
122+
123-
			lastframe = tick()
123+
124
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
125-
			for i = 1, math.floor(tf / frame) do
125+
126-
				script.ArtificialHB:Fire()
126+
127
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
128-
		lastframe = tick()
128+
129
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
130-
		if tossremainder then
130+
131-
			tf = 0
131+
132
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
133-
			tf = tf - frame * math.floor(tf / frame)
133+
134
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
135
for i = 1, 8 do
136
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
137
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
138
end
139
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
140
MakeForm(Part,"Cyl")
141
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
142-
--|| 	      SOME FUNCTIONS
142+
143
MakeForm(Part,"Ball")
144
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
145-
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
145+
146-
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
146+
147
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
148
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
149-
function PositiveAngle(NUMBER)
149+
150-
	if NUMBER >= 0 then
150+
151-
		NUMBER = 0
151+
152
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
153-
	return NUMBER
153+
154
MakeForm(Part,"Cyl")
155
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
156-
function NegativeAngle(NUMBER)
156+
157-
	if NUMBER <= 0 then
157+
158-
		NUMBER = 0
158+
159
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
160-
	return NUMBER
160+
161
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
162
local LASTPART = Handle
163-
function Swait(NUMBER)
163+
164-
	if NUMBER == 0 or NUMBER == nil then
164+
165-
		ArtificialHB.Event:wait()
165+
166
		LASTPART = Part
167-
		for i = 1, NUMBER do
167+
168-
			ArtificialHB.Event:wait()
168+
169
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
170
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
171
		LASTPART = Part
172
	end
173-
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
173+
174-
	local NEWMESH = IT(MESH)
174+
175-
	if MESH == "SpecialMesh" then
175+
176-
		NEWMESH.MeshType = MESHTYPE
176+
177-
		if MESHID ~= "nil" and MESHID ~= "" then
177+
178-
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
178+
179
MakeForm(Part,"Cyl")
180-
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
180+
181-
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
181+
182
MakeForm(Part,"Wedge")
183
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
184-
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
184+
185-
	NEWMESH.Scale = SCALE
185+
186-
	NEWMESH.Parent = PARENT
186+
187-
	return NEWMESH
187+
188
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
189
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
190-
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
190+
191-
	local NEWPART = IT("Part")
191+
192-
	NEWPART.formFactor = FORMFACTOR
192+
193-
	NEWPART.Reflectance = REFLECTANCE
193+
194-
	NEWPART.Transparency = TRANSPARENCY
194+
195-
	NEWPART.CanCollide = false
195+
196-
	NEWPART.Locked = true
196+
197-
	NEWPART.Anchored = true
197+
198-
	if ANCHOR == false then
198+
199-
		NEWPART.Anchored = false
199+
200
for _, c in pairs(Weapon:GetDescendants()) do
201-
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
201+
202-
	NEWPART.Name = NAME
202+
203-
	NEWPART.Size = SIZE
203+
204-
	NEWPART.Position = Torso.Position
204+
205-
	NEWPART.Material = MATERIAL
205+
206-
	NEWPART:BreakJoints()
206+
207-
	NEWPART.Parent = PARENT
207+
208-
	return NEWPART
208+
209
210
Weapon.Parent = Character
211-
	local function weldBetween(a, b)
211+
212-
	    local weldd = Instance.new("ManualWeld")
212+
213-
	    weldd.Part0 = a
213+
214-
	    weldd.Part1 = b
214+
215-
	    weldd.C0 = CFrame.new()
215+
216-
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
216+
217-
	    weldd.Parent = a
217+
218-
	    return weldd
218+
219
local SKILLTEXTSIZE = 7.3
220
221
Humanoid.Died:connect(function()
222-
function QuaternionFromCFrame(cf)
222+
223-
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
223+
224-
	local trace = m00 + m11 + m22
224+
225-
	if trace > 0 then 
225+
226-
		local s = math.sqrt(1 + trace)
226+
227-
		local recip = 0.5 / s
227+
228-
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
228+
229
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
230-
		local i = 0
230+
231-
		if m11 > m00 then
231+
232-
			i = 1
232+
233
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Oblivion of Doom", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
234-
		if m22 > (i == 0 and m00 or m11) then
234+
235-
			i = 2
235+
236
--]]
237-
		if i == 0 then
237+
238-
			local s = math.sqrt(m00 - m11 - m22 + 1)
238+
239-
			local recip = 0.5 / s
239+
240-
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
240+
241-
		elseif i == 1 then
241+
242-
			local s = math.sqrt(m11 - m22 - m00 + 1)
242+
243-
			local recip = 0.5 / s
243+
244-
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
244+
245-
		elseif i == 2 then
245+
246-
			local s = math.sqrt(m22 - m00 - m11 + 1)
246+
247-
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
247+
248
					instance:ClearAllChildren()
249
					Debris:AddItem(instance,0.0005)
250
				end))
251-
 
251+
252-
function QuaternionToCFrame(px, py, pz, x, y, z, w)
252+
253-
	local xs, ys, zs = x + x, y + y, z + z
253+
254-
	local wx, wy, wz = w * xs, w * ys, w * zs
254+
255-
	local xx = x * xs
255+
256-
	local xy = x * ys
256+
257-
	local xz = x * zs
257+
258-
	local yy = y * ys
258+
259-
	local yz = y * zs
259+
260-
	local zz = z * zs
260+
261-
	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))
261+
262
		coroutine.resume(coroutine.create(function()
263-
 
263+
264-
function QuaternionSlerp(a, b, t)
264+
265-
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
265+
266-
	local startInterp, finishInterp;
266+
267-
	if cosTheta >= 0.0001 then
267+
268-
		if (1 - cosTheta) > 0.0001 then
268+
269-
			local theta = ACOS(cosTheta)
269+
270-
			local invSinTheta = 1 / SIN(theta)
270+
271-
			startInterp = SIN((1 - t) * theta) * invSinTheta
271+
272-
			finishInterp = SIN(t * theta) * invSinTheta
272+
273
			for _, c in pairs(CLONE:GetDescendants()) do
274-
			startInterp = 1 - t
274+
275-
			finishInterp = t
275+
276
 						CreateSound(340722848, c, 10, 1, false)
277
					end
278-
		if (1 + cosTheta) > 0.0001 then
278+
279-
			local theta = ACOS(-cosTheta)
279+
280-
			local invSinTheta = 1 / SIN(theta)
280+
281-
			startInterp = SIN((t - 1) * theta) * invSinTheta
281+
282-
			finishInterp = SIN(t * theta) * invSinTheta
282+
283
						c.TextureID = ""
284-
			startInterp = t - 1
284+
285-
			finishInterp = t
285+
286
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
287
					end
288-
	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
288+
289
						c:FindFirstChildOfClass("Decal"):remove()
290
					end
291-
function Clerp(a, b, t)
291+
292-
	local qa = {QuaternionFromCFrame(a)}
292+
293-
	local qb = {QuaternionFromCFrame(b)}
293+
294-
	local ax, ay, az = a.x, a.y, a.z
294+
295-
	local bx, by, bz = b.x, b.y, b.z
295+
296-
	local _t = 1 - t
296+
297-
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
297+
298
			for i = 1, 35 do
299
				if A == false then
300-
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
300+
301-
	local frame = IT("Frame")
301+
302-
	frame.BackgroundTransparency = TRANSPARENCY
302+
303-
	frame.BorderSizePixel = BORDERSIZEPIXEL
303+
304-
	frame.Position = POSITION
304+
305-
	frame.Size = SIZE
305+
306-
	frame.BackgroundColor3 = COLOR
306+
307-
	frame.BorderColor3 = BORDERCOLOR
307+
308-
	frame.Name = NAME
308+
309-
	frame.Parent = PARENT
309+
310-
	return frame
310+
311
						elseif A == true then
312
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
313-
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
313+
314-
	local label = IT("TextLabel")
314+
315-
	label.BackgroundTransparency = 1
315+
316-
	label.Size = UD2(1, 0, 1, 0)
316+
317-
	label.Position = UD2(0, 0, 0, 0)
317+
318-
	label.TextColor3 = TEXTCOLOR
318+
319-
	label.TextStrokeTransparency = STROKETRANSPARENCY
319+
320-
	label.TextTransparency = TRANSPARENCY
320+
321-
	label.FontSize = TEXTFONTSIZE
321+
322-
	label.Font = TEXTFONT
322+
323-
	label.BorderSizePixel = BORDERSIZEPIXEL
323+
324-
	label.TextScaled = false
324+
325-
	label.Text = TEXT
325+
326-
	label.Name = NAME
326+
327-
	label.Parent = PARENT
327+
328-
	return label
328+
329
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
330
				if TORSO then
331-
function NoOutlines(PART)
331+
332-
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
332+
333
							Banish(CHILD)
334
						else
335-
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
335+
336-
	local NEWWELD = IT(TYPE)
336+
337-
	NEWWELD.Part0 = PART0
337+
338-
	NEWWELD.Part1 = PART1
338+
339-
	NEWWELD.C0 = C0
339+
340-
	NEWWELD.C1 = C1
340+
341-
	NEWWELD.Parent = PARENT
341+
342-
	return NEWWELD
342+
343
									grav.Name = "V3BanishForce"..Player.Name
344
								else
345-
local S = IT("Sound")
345+
346-
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
346+
347-
	local NEWSOUND = nil
347+
348
							else
349-
		NEWSOUND = S:Clone()
349+
350-
		NEWSOUND.Parent = PARENT
350+
351-
		NEWSOUND.Volume = VOLUME
351+
352-
		NEWSOUND.Pitch = PITCH
352+
353-
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
353+
354-
		NEWSOUND:play()
354+
355-
		if DOESLOOP == true then
355+
356-
			NEWSOUND.Looped = true
356+
357
					end
358-
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
358+
359-
			NEWSOUND:remove()
359+
360
		end
361
	end
362-
	return NEWSOUND
362+
363
364
--//=================================\\
365-
function CFrameFromTopBack(at, top, back)
365+
366-
	local right = top:Cross(back)
366+
367-
	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)
367+
368
function Ground_Star()
369
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
370-
--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})
370+
371-
function WACKYEFFECT(Table)
371+
372-
	local TYPE = (Table.EffectType or "Sphere")
372+
373-
	local SIZE = (Table.Size or VT(1,1,1))
373+
374-
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
374+
375-
	local TRANSPARENCY = (Table.Transparency or 0)
375+
376-
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
376+
377-
	local CFRAME = (Table.CFrame or Torso.CFrame)
377+
378-
	local MOVEDIRECTION = (Table.MoveToPos or nil)
378+
379-
	local ROTATION1 = (Table.RotationX or 0)
379+
380-
	local ROTATION2 = (Table.RotationY or 0)
380+
381-
	local ROTATION3 = (Table.RotationZ or 0)
381+
382-
	local MATERIAL = (Table.Material or "Neon")
382+
383-
	local COLOR = (Table.Color or C3(1,1,1))
383+
384-
	local TIME = (Table.Time or 45)
384+
385-
	local SOUNDID = (Table.SoundID or nil)
385+
386-
	local SOUNDPITCH = (Table.SoundPitch or nil)
386+
387-
	local SOUNDVOLUME = (Table.SoundVolume or nil)
387+
388
		CreateSound(12222200, RightArm, 10, 1)
389-
		local PLAYSSOUND = false
389+
390-
		local SOUND = nil
390+
391-
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
391+
392-
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
392+
393-
			PLAYSSOUND = true
393+
394-
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
394+
395
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
396-
		EFFECT.Color = COLOR
396+
397-
		local MSH = nil
397+
398-
		if TYPE == "Sphere" then
398+
399-
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
399+
400-
		elseif TYPE == "Block" then
400+
401-
			MSH = IT("BlockMesh",EFFECT)
401+
402-
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
402+
403-
		elseif TYPE == "Wave" then
403+
404-
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
404+
405-
		elseif TYPE == "Ring" then
405+
406-
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
406+
407-
		elseif TYPE == "Slash" then
407+
408-
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
408+
409-
		elseif TYPE == "Round Slash" then
409+
410-
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
410+
411-
		elseif TYPE == "Swirl" then
411+
412-
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
412+
413-
		elseif TYPE == "Skull" then
413+
414-
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
414+
415-
		elseif TYPE == "Crystal" then
415+
416-
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
416+
417
				end
418-
		if MSH ~= nil then
418+
419-
			local MOVESPEED = nil
419+
420-
			if MOVEDIRECTION ~= nil then
420+
421-
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
421+
422
				WACKYEFFECT({EffectType = "Sphere", Size = VT(30,150,30)*SIZE, Size2 = VT(50,300,50)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
423-
			local GROWTH = SIZE - ENDSIZE
423+
424-
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
424+
425-
			if TYPE == "Block" then
425+
426-
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
426+
427
					WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
428-
				EFFECT.CFrame = CFRAME
428+
429
				ApplyAoE(POS,30*SIZE)
430-
			for LOOP = 1, TIME+1 do
430+
431
				CreateDebreeRing1(HITFLOOR,POS,50*SIZE,VT(2,2,2)*SIZE,5)
432-
				MSH.Scale = MSH.Scale - GROWTH/TIME
432+
433-
				if TYPE == "Wave" then
433+
434-
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
434+
435
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
436-
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
436+
437-
				if TYPE == "Block" then
437+
438-
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
438+
439
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
440-
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
440+
441
		end
442-
				if MOVEDIRECTION ~= nil then
442+
443-
					local ORI = EFFECT.Orientation
443+
444-
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
444+
445-
					EFFECT.Orientation = ORI
445+
446
end
447
448-
			if PLAYSSOUND == false then
448+
449-
				EFFECT:remove()
449+
450
	Rooted = false
451-
				SOUND.Stopped:Connect(function()
451+
452-
					EFFECT:remove()
452+
453-
				end)
453+
454
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
455
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
456-
			if PLAYSSOUND == false then
456+
457-
				EFFECT:remove()
457+
458
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
459-
				repeat Swait() until SOUND.Playing == false
459+
460-
				EFFECT:remove()
460+
461
	repeat
462
		for i=0, 0.2, 0.1 / Animation_Speed do
463
			Swait()
464
			turnto(Mouse.Hit.p)
465
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
466-
function MakeForm(PART,TYPE)
466+
467-
	if TYPE == "Cyl" then
467+
468-
		local MSH = IT("CylinderMesh",PART)
468+
469-
	elseif TYPE == "Ball" then
469+
470-
		local MSH = IT("SpecialMesh",PART)
470+
471-
		MSH.MeshType = "Sphere"
471+
472-
	elseif TYPE == "Wedge" then
472+
473-
		local MSH = IT("SpecialMesh",PART)
473+
474-
		MSH.MeshType = "Wedge"
474+
475
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
476
				Banish(HIT.Parent)
477
			end
478-
function CreateDebreeRing1(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
478+
479-
	if FLOOR ~= nil then
479+
480
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
481-
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
481+
482-
			PART.CFrame = CF(POSITION)
482+
483-
			for i = 1, 45 do
483+
484-
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
484+
485-
				RingPiece.Material = FLOOR.Material
485+
486-
				RingPiece.Color = FLOOR.Color
486+
487-
				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)))
487+
488-
				Debris:AddItem(RingPiece,SWAIT)
488+
489
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
490-
			PART:remove()
490+
491
		end
492
	until KEYHOLD == false
493
	ATTACK = false
494
	Rooted = false
495-
function CreateFlyingDebree1(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
495+
496-
	if FLOOR ~= nil then
496+
497-
		for i = 1, AMOUNT do
497+
498-
			local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
498+
499-
			DEBREE.Material = FLOOR.Material
499+
500-
			DEBREE.Color = FLOOR.Color
500+
501-
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
501+
502-
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
502+
503-
			coroutine.resume(coroutine.create(function()
503+
504-
				Swait(15)
504+
505-
				DEBREE.Parent = workspace
505+
506-
				DEBREE.CanCollide = true
506+
507-
				Debris:AddItem(DEBREE,SWAIT)
507+
508-
			end))
508+
509
	if HITFLOOR ~= nil then
510
		ApplyAoE(EMITPOS,10)
511
		WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), 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(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
512
		WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
513-
function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
513+
514-
	if FLOOR ~= nil then
514+
515
			local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
516-
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really black", "DebreeCenter", VT(0,0,0))
516+
517-
			PART.CFrame = CF(POSITION)
517+
518-
			for i = 1, 45 do
518+
519-
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really black", "DebreePart", BLOCKSIZE)
519+
520-
				RingPiece.Material = FLOOR.Material
520+
521-
				RingPiece.Color = FLOOR.Color
521+
522-
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
522+
523-
				Debris:AddItem(RingPiece,SWAIT)
523+
524
		METEOR.Name = "Meteorite"
525-
			PART:remove()
525+
526
		METEOR.PrimaryPart = CENTER
527
		local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
528
		PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
529
		for i = 1, 15 do
530-
function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
530+
531-
	if FLOOR ~= nil then
531+
532-
		for i = 1, AMOUNT do
532+
533-
			local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Debree", BLOCKSIZE, false)
533+
534-
			DEBREE.Material = FLOOR.Material
534+
535-
			DEBREE.Color = FLOOR.Color
535+
536-
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
536+
537-
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
537+
538-
			coroutine.resume(coroutine.create(function()
538+
539-
				Swait(15)
539+
540-
				DEBREE.Parent = workspace
540+
541-
				DEBREE.CanCollide = true
541+
542-
				Debris:AddItem(DEBREE,SWAIT)
542+
543-
			end))
543+
544
		end
545
		for i = 1, 200 do
546
			Swait()
547
			local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
548-
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
548+
549-
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
549+
550-
	local mesh = IT("SpecialMesh",wave)
550+
551-
	mesh.MeshType = "FileMesh"
551+
552-
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
552+
553-
	mesh.Scale = SIZE
553+
554-
	mesh.Offset = VT(0,0,0)
554+
555-
	wave.CFrame = CFRAME
555+
556-
	coroutine.resume(coroutine.create(function(PART)
556+
557-
		for i = 1, WAIT do
557+
558
			end
559-
			mesh.Scale = mesh.Scale + GROW
559+
560-
			if DOESROT == true then
560+
561-
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
561+
562
			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(0,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
563-
			wave.Transparency = wave.Transparency + (0.5/WAIT)
563+
564-
			if wave.Transparency > 0.99 then
564+
565-
				wave:remove()
565+
566
		METEOR:remove()
567
	end))
568
end
569
570
function Oblivion_of_Doom()
571-
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
571+
572-
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
572+
573-
	local mesh = IT("SpecialMesh",wave)
573+
574-
	mesh.MeshType = "Sphere"
574+
575-
	mesh.Scale = SIZE
575+
576-
	mesh.Offset = VT(0,0,0)
576+
577-
	wave.CFrame = CFRAME
577+
578-
	coroutine.resume(coroutine.create(function(PART)
578+
579-
		for i = 1, WAIT do
579+
580
	local POWER = 0
581-
			mesh.Scale = mesh.Scale + GROW
581+
582-
			wave.Transparency = wave.Transparency + (1/WAIT)
582+
583-
			if wave.Transparency > 0.99 then
583+
584-
				wave:remove()
584+
585
		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)
586
		POWER = POWER + 0.5 
587
		if POWER >= 85 then
588
			POWER = 85
589-
function MagicSpheres(size,waitt,cframe,color)
589+
590-
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
590+
591-
    local mesh = IT("SpecialMesh",wave)
591+
592-
    mesh.MeshType = "Sphere"
592+
593-
    mesh.Scale = VT(size,size,size)
593+
594-
    mesh.Offset = VT(0,0,0)
594+
595-
    wave.CFrame = cframe
595+
596-
    coroutine.resume(coroutine.create(function(PART)
596+
597-
        for i = 1, waitt do
597+
598-
            Swait()
598+
599-
            mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
599+
600-
            wave.Transparency = wave.Transparency + (1/waitt)
600+
601-
            if wave.Transparency > 0.99 then
601+
602-
                wave:remove()
602+
603-
            end
603+
604-
        end
604+
605-
    end))
605+
606
	local AIMPOS = Mouse.Hit.p
607
	local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
608-
function MagicSpheres2(size,waitt,cframe,color)
608+
609-
    local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
609+
610-
    local mesh = IT("SpecialMesh",wave)
610+
611-
    mesh.MeshType = "Sphere"
611+
612-
    mesh.Scale = VT(size,size,size)
612+
613-
    mesh.Offset = VT(0,0,0)
613+
614-
    wave.CFrame = cframe
614+
615-
    coroutine.resume(coroutine.create(function(PART)
615+
616-
        for i = 1, waitt do
616+
617-
            Swait()
617+
618-
            mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
618+
619-
            wave.Transparency = wave.Transparency - (1/waitt)
619+
620-
        end
620+
621-
        wave:remove()
621+
622-
    end))
622+
623
					RAY.Transparency = RAY.Transparency - 0.01
624
				end
625-
function MagicBlock(size,waitt,part,offset,color)
625+
626-
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
626+
627-
    local mesh = IT("BlockMesh",wave)
627+
628-
    wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
628+
629-
    coroutine.resume(coroutine.create(function(PART)
629+
630-
        for i = 1, waitt do
630+
631-
            Swait()
631+
632-
            mesh.Scale = mesh.Scale + VT(size/15,size/15,size/15)
632+
633-
            wave.CFrame = CF(wave.Position) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
633+
634-
            wave.Transparency = wave.Transparency + (1/waitt)
634+
635-
            if wave.Transparency > 0.99 then
635+
636-
                wave:remove()
636+
637-
            end
637+
638-
        end
638+
639-
    end))
639+
640
		end
641
		for i = 1, 4 do
642-
function SpawnTrail(FROM,TO,BIG)
642+
643-
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Trail", VT(0,0,0))
643+
644-
	MakeForm(TRAIL,"Cyl")
644+
645-
	local DIST = (FROM - TO).Magnitude
645+
646-
	if BIG == true then
646+
647-
		TRAIL.Size = VT(0.5,DIST,0.5)
647+
648
		local POS = Mouse.Hit.p
649-
		TRAIL.Size = VT(0.25,DIST,0.25)
649+
650
		MakeForm(RAY,"Cyl")
651-
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
651+
652
		MakeForm(SPHERE,"Ball")
653
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(120,120,120))
654
		MakeForm(SHIELD,"Ball")
655-
			TRAIL.Transparency = TRAIL.Transparency + 0.1
655+
656
		RAY.CFrame = CF(AIMPOS)
657-
		TRAIL:remove()
657+
658
		local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
659
		CreateSound(415700134, SPHERE, 10, 0.8, false)
660
		for i = 1, 200 do
661-
Debris = game:GetService("Debris")
661+
662
		WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(SPHERE.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = CF(RAY.Position), RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,1,1), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
663-
function CastProperRay(StartPos, EndPos, Distance, Ignore)
663+
664-
	local DIRECTION = CF(StartPos,EndPos).lookVector
664+
665-
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
665+
666
			SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
667
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
668-
function turnto(position)
668+
669-
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
669+
670
			Swait()
671
			RAY.Transparency = RAY.Transparency + 1/45
672
			SPHERE.Transparency = RAY.Transparency 
673-
--||	     WEAPON CREATION
673+
674
		end
675
		RAY:remove()
676
		SHIELD:remove()
677
		SPHERE:remove()
678
	end))
679
	ATTACK = false
680
	Rooted = false
681
end
682
683
function Nightfall()
684
	ATTACK = true
685
	Rooted = true
686
	CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 0.64, false)
687
	for i=0, 1, 0.1 / Animation_Speed do
688
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
689
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
690
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
691
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
692
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * 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)
693
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * 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)
694
	end	
695
	coroutine.resume(coroutine.create(function()
696
		local POS = Mouse.Hit.p
697
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Black", "Strike", VT(0,2000,0))
698
		MakeForm(RAY,"Cyl")
699
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,0,0))
700
		MakeForm(SPHERE,"Ball")
701
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Black", "Strike", VT(0,0,0))
702
		MakeForm(SHIELD,"Ball")
703
		SHIELD.CFrame = CF(POS)
704
		RAY.CFrame = CF(POS)
705
		SPHERE.CFrame = CF(POS)
706
		CreateSound(440145570, SPHERE, 10, 0.8, false)
707
		CreateSound(415700134, SPHERE, 10, 0.8, false)
708
		for i = 1, 200 do
709
			Swait()
710
			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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
711
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
712
			SPHERE.Size = SPHERE.Size + VT(2,2,2)
713
			SHIELD.Size = SPHERE.Size + VT(3,3,3)
714
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
715
		end	
716
		for i = 1, 45 do
717
			Swait()
718
			RAY.Transparency = RAY.Transparency + 1/45
719
			SPHERE.Transparency = RAY.Transparency 
720
			SHIELD.Transparency = SPHERE.Transparency + 1/45
721
		end
722
		RAY:remove()
723
		SHIELD:remove()
724
		SPHERE:remove()
725
	end))
726
	for i=0, 1, 0.1 / Animation_Speed do
727
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
728
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
729
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
730
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
731
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * 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)
732
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * 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)
733
	end
734
	ATTACK = false
735
	Rooted = false
736
end
737
738
--//=================================\\
739
--||	  ASSIGN THINGS TO KEYS
740
--\\=================================//
741
742
function MouseDown(Mouse)
743
	if ATTACK == false then
744
		Click()
745
	end
746
end
747
748
function MouseUp(Mouse)
749
HOLD = false
750
end
751
752
function KeyDown(Key)
753
	KEYHOLD = true
754
	if Key == "z" and ATTACK == false then
755
		Shot()
756
	end
757
758
	if Key == "b" and ATTACK == false then
759
		Vanish()
760
	end
761
762
	if Key == "c" and ATTACK == false then
763
		Oblivion_of_Doom()
764
	end
765
766
	if Key == "v" and ATTACK == false then
767
		Pure_Night()
768
	end
769
770
	if Key == "x" and ATTACK == false then
771
                Nightfall()
772
	end
773
774
	if Key == "t" and ATTACK == false then
775
                CreateSound(VOCALS_TAUNT[MRANDOM(1,#VOCALS_TAUNT)], Head, 20, 0.60, false)
776
	end
777
778
	if Key == "p" and ATTACK == false then
779
		Ground_Star()
780
	end
781
782
	if Key == "1" and ATTACK == false then
783
		CreateSound(VOCALS_ENRAGES[MRANDOM(1,#VOCALS_ENRAGES)], Head, 20, 0.70, false)
784
	end
785
786
	if Key == "f" and ATTACK == false then
787
		CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, 20, 0.50, false)
788
	end
789
790
	if Key == "2" and ATTACK == false then
791
		CreateSound(468971411, Head, 20, 0.40, false)
792
	end
793
end
794
795
function KeyUp(Key)
796
	KEYHOLD = false
797
end
798
799
	Mouse.Button1Down:connect(function(NEWKEY)
800
		MouseDown(NEWKEY)
801
	end)
802
	Mouse.Button1Up:connect(function(NEWKEY)
803
		MouseUp(NEWKEY)
804
	end)
805
	Mouse.KeyDown:connect(function(NEWKEY)
806
		KeyDown(NEWKEY)
807
	end)
808
	Mouse.KeyUp:connect(function(NEWKEY)
809
		KeyUp(NEWKEY)
810
	end)
811
812
--//=================================\\
813
--\\=================================//
814
815
816
function unanchor()
817
	if UNANCHOR == true then
818
		g = Character:GetChildren()
819
		for i = 1, #g do
820
			if g[i].ClassName == "Part" then
821
				g[i].Anchored = false
822
			end
823
		end
824
	end
825
end
826
827
828
--//=================================\\
829
--||	WRAP THE WHOLE SCRIPT UP
830
--\\=================================//
831
832
Humanoid.Changed:connect(function(Jump)
833
	if Jump == "Jump" and (Disable_Jump == true) then
834
		Humanoid.Jump = false
835
	end
836
end)
837
838
local CONNECT = nil
839
840
while true do
841
	Swait()
842
	ANIMATE.Parent = nil
843
	if Character:FindFirstChildOfClass("Humanoid") == nil then
844
		Humanoid = IT("Humanoid",Character)
845
	end
846
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
847
	    v:Stop();
848
	end
849
	SINE = SINE + CHANGE
850
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
851
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
852
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
853
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
854
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
855
		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)
856
		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)
857
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
858
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
859
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
860
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
861
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
862
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
863
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
864
	end
865
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
866
		ANIM = "Jump"
867
		if ATTACK == false then
868
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
869
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
870
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
871
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, -0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(-25))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
872
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
873
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
874
	    end
875
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
876
		ANIM = "Fall"
877
		if ATTACK == false then
878
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
879
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
880
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
881
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, -0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
882
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
883
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
884
		end
885
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
886
		ANIM = "Idle"
887
		if ATTACK == false then
888
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
889
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
890
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
891
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -0.4) * ANGLES(RAD(75), RAD(45), RAD(25))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
892
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
893
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
894
		end
895
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
896
		ANIM = "Walk"
897
		if ATTACK == false then
898
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
899
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
900
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
901
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
902
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
903
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
904
		end
905
	end
906
907
	if Head:FindFirstChild("face") then
908
		Head.face.Texture = "rbxassetid://900134257"
909
	end
910
911
	unanchor()
912
	Humanoid.MaxHealth = "inf"
913
	Humanoid.Health = "inf"
914
	if Rooted == false then
915
		Disable_Jump = false
916
		Humanoid.WalkSpeed = Speed
917
	elseif Rooted == true then
918
		Disable_Jump = true
919
		Humanoid.WalkSpeed = 0
920
	end
921
	sick.Parent = Torso
922
	sick:resume()
923
	sick.Volume = 6.5
924
	sick.Pitch = 1
925
	sick.SoundId = "rbxassetid://590936038"
926
	sick.Name = "Nightfall"
927
end
928
929
--//=================================\\
930
--\\=================================//
931
932
933
934
935
936
--//====================================================\\--
937
--||			  		 END OF SCRIPT
938
--\\====================================================//--