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