View difference between Paste ID: ujjC6Fu4 and bxihGH9e
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2
--||			   EDITED BY ADAM222334II
3
--\\====================================================//--
4
5
print([[
6
___________________________________________________________
7
8
Hello skids, this is Fallen Cyber, an edit by adam222334II
9
I still have a lot of stuff to add into this script edit so let's say this is
10
just a demo edit
11
I hope you all like this script edit. Peace out!
12
___________________________________________________________
13
]])
14
15
local l = game.Lighting
16
local sky = Instance.new("Sky",l)
17
l.TimeOfDay = "00:00:00"
18
l.Brightness = 1
19
l.Ambient = Color3.new(1, 1, 1)
20
21
game.Lighting.FogEnd = 100
22
game.Lighting.FogStart = 0.5
23-
game.Lighting.OutdoorAmbient = Color3.fromRGB(15, 15, 15)
23+
game.Lighting.OutdoorAmbient = Color3.fromRGB(236, 232, 222)
24
25
wait(0.2)
26
27
local msg = game:GetService("Chat")
28
Player = game:GetService("Players").LocalPlayer
29
PlayerGui = Player.PlayerGui
30
Cam = workspace.CurrentCamera
31
Backpack = Player.Backpack
32
Character = Player.Character
33
Humanoid = Character.Humanoid
34
Mouse = Player:GetMouse()
35
RootPart = Character["HumanoidRootPart"]
36
Torso = Character["Torso"]
37
Head = Character["Head"]
38
RightArm = Character["Right Arm"]
39
LeftArm = Character["Left Arm"]
40
RightLeg = Character["Right Leg"]
41
LeftLeg = Character["Left Leg"]
42
RootJoint = RootPart["RootJoint"]
43
Neck = Torso["Neck"]
44
RightShoulder = Torso["Right Shoulder"]
45
LeftShoulder = Torso["Left Shoulder"]
46
RightHip = Torso["Right Hip"]
47
LeftHip = Torso["Left Hip"]
48
local sick = Instance.new("Sound",Character)
49
sick.SoundId = "rbxassetid://795345879"
50
sick.Looped = true
51
sick.Volume = 3.5
52
53
IT = Instance.new
54
CF = CFrame.new
55
VT = Vector3.new
56
RAD = math.rad
57
C3 = Color3.new
58
UD2 = UDim2.new
59
BRICKC = BrickColor.new
60
ANGLES = CFrame.Angles
61
EULER = CFrame.fromEulerAnglesXYZ
62
COS = math.cos
63
ACOS = math.acos
64
SIN = math.sin
65
ASIN = math.asin
66
ABS = math.abs
67
MRANDOM = math.random
68
FLOOR = math.floor
69
70
--//=================================\\
71
--|| 	      USEFUL VALUES
72
--\\=================================//
73
74
Animation_Speed = 3
75
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
76
local Speed = 45
77
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
78
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
79
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
80
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
81
local DAMAGEMULTIPLIER = 1
82
local ANIM = "Idle"
83
local ATTACK = false
84
local EQUIPPED = false
85
local HOLD = false
86
local COMBO = 1
87
local Rooted = false
88
local SINE = 0
89
local KEYHOLD = false
90
local CHANGE = 2 / Animation_Speed
91
local WALKINGANIM = false
92
local VALUE1 = false
93
local VALUE2 = false
94
local ROBLOXIDLEANIMATION = IT("Animation")
95
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
96
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
97
--ROBLOXIDLEANIMATION.Parent = Humanoid
98
local WEAPONGUI = IT("ScreenGui", PlayerGui)
99
WEAPONGUI.Name = "Weapon GUI"
100
local Effects = IT("Folder", Character)
101
Effects.Name = "Effects"
102
local ANIMATOR = Humanoid.Animator
103
local ANIMATE = Character.Animate
104
local UNANCHOR = true
105
local HITPOS = nil
106
local HITFLOOR = nil
107
local LEFTWINGS = {}
108
local RIGHTWINGS = {}
109
local BODY = {}
110
111
--//=================================\\
112
--\\=================================//
113
114
115
--//=================================\\
116
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
117
--\\=================================//
118
119
ArtificialHB = Instance.new("BindableEvent", script)
120
ArtificialHB.Name = "ArtificialHB"
121
122
script:WaitForChild("ArtificialHB")
123
124
frame = Frame_Speed
125
tf = 0
126
allowframeloss = false
127
tossremainder = false
128
lastframe = tick()
129
script.ArtificialHB:Fire()
130
131
game:GetService("RunService").Heartbeat:connect(function(s, p)
132
	tf = tf + s
133
	if tf >= frame then
134
		if allowframeloss then
135
			script.ArtificialHB:Fire()
136
			lastframe = tick()
137
		else
138
			for i = 1, math.floor(tf / frame) do
139
				script.ArtificialHB:Fire()
140
			end
141
		lastframe = tick()
142
		end
143
		if tossremainder then
144
			tf = 0
145
		else
146
			tf = tf - frame * math.floor(tf / frame)
147
		end
148
	end
149
end)
150
151
--//=================================\\
152
--\\=================================//
153
154
--//=================================\\
155
--|| 	      SOME FUNCTIONS
156
--\\=================================//
157
158
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
159
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
160
end
161
162
function PositiveAngle(NUMBER)
163
	if NUMBER >= 0 then
164
		NUMBER = 0
165
	end
166
	return NUMBER
167
end
168
169
function NegativeAngle(NUMBER)
170
	if NUMBER <= 0 then
171
		NUMBER = 0
172
	end
173
	return NUMBER
174
end
175
176
function Swait(NUMBER)
177
	if NUMBER == 0 or NUMBER == nil then
178
		ArtificialHB.Event:wait()
179
	else
180
		for i = 1, NUMBER do
181
			ArtificialHB.Event:wait()
182
		end
183
	end
184
end
185
186
function swait(num)
187
	if num == 0 or num == nil then
188
		ArtificialHB.Event:wait()
189
	else
190
		for i = 0, num do
191
			ArtificialHB.Event:wait()
192
		end
193
	end
194
end
195
196
197
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
198
	local NEWMESH = IT(MESH)
199
	if MESH == "SpecialMesh" then
200
		NEWMESH.MeshType = MESHTYPE
201
		if MESHID ~= "nil" and MESHID ~= "" then
202
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
203
		end
204
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
205
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
206
		end
207
	end
208
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
209
	NEWMESH.Scale = SCALE
210
	NEWMESH.Parent = PARENT
211
	return NEWMESH
212
end
213
214
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
215
	local NEWPART = IT("Part")
216
	NEWPART.formFactor = FORMFACTOR
217
	NEWPART.Reflectance = REFLECTANCE
218
	NEWPART.Transparency = TRANSPARENCY
219
	NEWPART.CanCollide = false
220
	NEWPART.Locked = true
221
	NEWPART.Anchored = true
222
	if ANCHOR == false then
223
		NEWPART.Anchored = false
224
	end
225
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
226
	NEWPART.Name = NAME
227
	NEWPART.Size = SIZE
228
	NEWPART.Position = Torso.Position
229
	NEWPART.Material = MATERIAL
230
	NEWPART:BreakJoints()
231
	NEWPART.Parent = PARENT
232
	return NEWPART
233
end
234
235
	local function weldBetween(a, b)
236
	    local weldd = Instance.new("ManualWeld")
237
	    weldd.Part0 = a
238
	    weldd.Part1 = b
239
	    weldd.C0 = CFrame.new()
240
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
241
	    weldd.Parent = a
242
	    return weldd
243
	end
244
245
246
function QuaternionFromCFrame(cf)
247
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
248
	local trace = m00 + m11 + m22
249
	if trace > 0 then 
250
		local s = math.sqrt(1 + trace)
251
		local recip = 0.5 / s
252
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
253
	else
254
		local i = 0
255
		if m11 > m00 then
256
			i = 1
257
		end
258
		if m22 > (i == 0 and m00 or m11) then
259
			i = 2
260
		end
261
		if i == 0 then
262
			local s = math.sqrt(m00 - m11 - m22 + 1)
263
			local recip = 0.5 / s
264
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
265
		elseif i == 1 then
266
			local s = math.sqrt(m11 - m22 - m00 + 1)
267
			local recip = 0.5 / s
268
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
269
		elseif i == 2 then
270
			local s = math.sqrt(m22 - m00 - m11 + 1)
271
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
272
		end
273
	end
274
end
275
 
276
function QuaternionToCFrame(px, py, pz, x, y, z, w)
277
	local xs, ys, zs = x + x, y + y, z + z
278
	local wx, wy, wz = w * xs, w * ys, w * zs
279
	local xx = x * xs
280
	local xy = x * ys
281
	local xz = x * zs
282
	local yy = y * ys
283
	local yz = y * zs
284
	local zz = z * zs
285
	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))
286
end
287
 
288
function QuaternionSlerp(a, b, t)
289
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
290
	local startInterp, finishInterp;
291
	if cosTheta >= 0.0001 then
292
		if (1 - cosTheta) > 0.0001 then
293
			local theta = ACOS(cosTheta)
294
			local invSinTheta = 1 / SIN(theta)
295
			startInterp = SIN((1 - t) * theta) * invSinTheta
296
			finishInterp = SIN(t * theta) * invSinTheta
297
		else
298
			startInterp = 1 - t
299
			finishInterp = t
300
		end
301
	else
302
		if (1 + cosTheta) > 0.0001 then
303
			local theta = ACOS(-cosTheta)
304
			local invSinTheta = 1 / SIN(theta)
305
			startInterp = SIN((t - 1) * theta) * invSinTheta
306
			finishInterp = SIN(t * theta) * invSinTheta
307
		else
308
			startInterp = t - 1
309
			finishInterp = t
310
		end
311
	end
312
	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
313
end
314
315
function Clerp(a, b, t)
316
	local qa = {QuaternionFromCFrame(a)}
317
	local qb = {QuaternionFromCFrame(b)}
318
	local ax, ay, az = a.x, a.y, a.z
319
	local bx, by, bz = b.x, b.y, b.z
320
	local _t = 1 - t
321
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
322
end
323
324
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
325
	local frame = IT("Frame")
326
	frame.BackgroundTransparency = TRANSPARENCY
327
	frame.BorderSizePixel = BORDERSIZEPIXEL
328
	frame.Position = POSITION
329
	frame.Size = SIZE
330
	frame.BackgroundColor3 = COLOR
331
	frame.BorderColor3 = BORDERCOLOR
332
	frame.Name = NAME
333
	frame.Parent = PARENT
334
	return frame
335
end
336
337
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
338
	local label = IT("TextLabel")
339
	label.BackgroundTransparency = 1
340
	label.Size = UD2(1, 0, 1, 0)
341
	label.Position = UD2(0, 0, 0, 0)
342
	label.TextColor3 = TEXTCOLOR
343
	label.TextStrokeColor3 = BRICKC"Really white".Color
344
	label.TextStrokeTransparency = STROKETRANSPARENCY
345
	label.TextTransparency = TRANSPARENCY
346
	label.FontSize = TEXTFONTSIZE
347
	label.Font = TEXTFONT
348
	label.BorderSizePixel = BORDERSIZEPIXEL
349
	label.TextScaled = false
350
	label.Text = TEXT
351
	label.Name = NAME
352
	label.Parent = PARENT
353
	return label
354
end
355
356
function NoOutlines(PART)
357
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
358
end
359
360
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
361
	local NEWWELD = IT(TYPE)
362
	NEWWELD.Part0 = PART0
363
	NEWWELD.Part1 = PART1
364
	NEWWELD.C0 = C0
365
	NEWWELD.C1 = C1
366
	NEWWELD.Parent = PARENT
367
	return NEWWELD
368
end
369
370
local S = IT("Sound")
371
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
372
	local NEWSOUND = nil
373
	coroutine.resume(coroutine.create(function()
374
		NEWSOUND = S:Clone()
375
		NEWSOUND.Parent = PARENT
376
		NEWSOUND.Volume = VOLUME
377
		NEWSOUND.Pitch = PITCH
378
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
379
		NEWSOUND:play()
380
		NEWSOUND.Name = "Audio"
381
		if DOESLOOP == true then
382
			NEWSOUND.Looped = true
383
		else
384
			repeat Swait() until NEWSOUND.Playing == false
385
			NEWSOUND:remove()
386
		end
387
	end))
388
	return NEWSOUND
389
end
390
391
function CFrameFromTopBack(at, top, back)
392
	local right = top:Cross(back)
393
	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)
394
end
395
396
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
397
function WACKYEFFECT(Table)
398
	local TYPE = (Table.EffectType or "Sphere")
399
	local SIZE = (Table.Size or VT(1,1,1))
400
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
401
	local TRANSPARENCY = (Table.Transparency or 0)
402
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
403
	local CFRAME = (Table.CFrame or Torso.CFrame)
404
	local MOVEDIRECTION = (Table.MoveToPos or nil)
405
	local ROTATION1 = (Table.RotationX or 0)
406
	local ROTATION2 = (Table.RotationY or 0)
407
	local ROTATION3 = (Table.RotationZ or 0)
408
	local MATERIAL = (Table.Material or "Neon")
409
	local COLOR = (Table.Color or C3(1,1,1))
410
	local TIME = (Table.Time or 45)
411
	local SOUNDID = (Table.SoundID or nil)
412
	local SOUNDPITCH = (Table.SoundPitch or nil)
413
	local SOUNDVOLUME = (Table.SoundVolume or nil)
414
	coroutine.resume(coroutine.create(function()
415
		local PLAYSSOUND = false
416
		local SOUND = nil
417
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
418
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
419
			PLAYSSOUND = true
420
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
421
		end
422
		EFFECT.Color = COLOR
423
		local MSH = nil
424
		if TYPE == "Sphere" then
425
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
426
		elseif TYPE == "Block" then
427
			MSH = IT("BlockMesh",EFFECT)
428
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
429
		elseif TYPE == "Box" then
430
			MSH = IT("BlockMesh",EFFECT)
431
			MSH.Scale = SIZE
432
		elseif TYPE == "Wave" then
433
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
434
		elseif TYPE == "Ring" then
435
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
436
		elseif TYPE == "Slash" then
437
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
438
		elseif TYPE == "Round Slash" then
439
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
440
		elseif TYPE == "Swirl" then
441
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
442
		elseif TYPE == "Skull" then
443
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
444
		elseif TYPE == "Crystal" then
445
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
446
		end
447
		if MSH ~= nil then
448
			local MOVESPEED = nil
449
			if MOVEDIRECTION ~= nil then
450
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
451
			end
452
			local GROWTH = SIZE - ENDSIZE
453
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
454
			if TYPE == "Block" then
455
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
456
			else
457
				EFFECT.CFrame = CFRAME
458
			end
459
			for LOOP = 1, TIME do
460
				Swait()
461
				MSH.Scale = MSH.Scale - GROWTH/TIME
462
				if TYPE == "Wave" then
463
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
464
				end
465
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
466
				if TYPE == "Block" then
467
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
468
				else
469
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
470
				end
471
				if MOVEDIRECTION ~= nil then
472
					local ORI = EFFECT.Orientation
473
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
474
					EFFECT.Orientation = ORI
475
				end
476
			end
477
			if PLAYSSOUND == false then
478
				EFFECT:remove()
479
			else
480
				repeat Swait() until SOUND.Playing == false
481
				EFFECT:remove()
482
			end
483
		else
484
			if PLAYSSOUND == false then
485
				EFFECT:remove()
486
			else
487
				repeat Swait() until SOUND.Playing == false
488
				EFFECT:remove()
489
			end
490
		end
491
	end))
492
end
493
494
function Shatter(Part)
495
	if Part.Transparency == 0 then
496
		local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
497
		Debris:AddItem(SOUNDPART,5)
498
		CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
499
		local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
500
		local SIZESET = SIZE/4
501
		local XOffset = Part.Size.X*1.5/SIZESET
502
		local YOffset = Part.Size.Y*1.5/SIZESET
503
		local ZOffset = Part.Size.Z*1.5/SIZESET
504
		for x = 1, math.ceil(XOffset) do
505
			for y = 1, math.ceil(YOffset) do
506
				for z = 1, math.ceil(ZOffset) do
507
					local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
508
					SHARD.CanCollide = true
509
					SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
510
					SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
511
					Debris:AddItem(SHARD,MRANDOM(10,25)/3)
512
				end
513
			end
514
		end
515
	end
516
	Part:remove()
517
end
518
519
function MakeForm(PART,TYPE)
520
	if TYPE == "Cyl" then
521
		local MSH = IT("CylinderMesh",PART)
522
	elseif TYPE == "Ball" then
523
		local MSH = IT("SpecialMesh",PART)
524
		MSH.MeshType = "Sphere"
525
	elseif TYPE == "Wedge" then
526
		local MSH = IT("SpecialMesh",PART)
527
		MSH.MeshType = "Wedge"
528
	end
529
end
530
531
Debris = game:GetService("Debris")
532
533
function CastProperRay(StartPos, EndPos, Distance, Ignore)
534
	local DIRECTION = CF(StartPos,EndPos).lookVector
535
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
536
end
537
538
function turnto(position)
539
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
540
end
541
542
--//=================================\\
543
--||	     WEAPON CREATION
544
--\\=================================//
545
546
local ANGLE = 35
547
--[[for i = 1, 5 do
548
	--local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Wing", VT(0.15,2+(i/2),0.15),false)
549
	--local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
550
	--local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Wing", VT(0.25,1,0.25),false)
551
	--CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
552
	--ANGLE = ANGLE - 15
553
	--table.insert(LEFTWINGS,WingWeld)
554
end
555
]]
556
ANGLE = 0.5
557
for i = 1, 5 do
558
	local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Wing", VT(0.15,2+(i/2),0.15),false)
559
	local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
560
	local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Wing", VT(0.25,1,0.25),false)
561
	CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
562
	ANGLE = ANGLE - 20.5
563
	table.insert(RIGHTWINGS,WingWeld)
564
end
565
566
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.3,0.3,0.3),false)
567
local EyeWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
568
local Eye2 = CreatePart(3, Character, "Neon", 0, 0.5, "Really red", "Eye", VT(0.5,0.5,0.29),false)
569
local EyeWeld2 = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye2, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
570
571
local SKILLTEXTCOLOR = BRICKC"Really white".Color
572
local SKILLFONT = "Antique"
573
local SKILLTEXTSIZE = 10
574
575
Circle = nil
576
CircleParts = {}
577
Equipped = false
578
579
local Aura = Instance.new('ParticleEmitter')
580
Aura.Name = "Aura"
581
Aura.Texture = "rbxassetid://131765579"
582
Aura.Parent = CirclePart
583
Aura.LightEmission = 0.3
584
Aura.Transparency = NumberSequence.new(0,0.6,1)
585
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255))
586
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
587
Aura.LockedToPart = false
588
Aura.Lifetime = NumberRange.new(2)
589
Aura.Rate = 25
590
Aura.Speed = NumberRange.new(1)
591
Aura.EmissionDirection = "Top"
592
593
function RayCast(Position, Direction, MaxDistance, IgnoreList)
594
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
595
end
596
	Humanoid = Character:FindFirstChildOfClass("Humanoid")
597
	Torso = Character:FindFirstChild("Torso")
598
	if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
599
		return
600
	end
601
	Equipped = true
602
	Circle = Instance.new("Model")
603
	Circle.Name = "Circle"
604
	Angle = 0
605
	for i = 1, 1 do
606
		local CirclePart = Instance.new("Part")
607
		CirclePart.Name = "CirclePart"
608
		CirclePart.Transparency = 1
609
		CirclePart.BrickColor = BrickColor.new("Really black")
610
		CirclePart.Material = Enum.Material.Plastic
611
		CirclePart.Shape = Enum.PartType.Block
612
		CirclePart.FormFactor = Enum.FormFactor.Custom
613
		CirclePart.TopSurface = Enum.SurfaceType.Smooth
614
		CirclePart.BottomSurface = Enum.SurfaceType.Smooth
615
		CirclePart.Anchored = true
616
		CirclePart.CanCollide = false
617
		CirclePart.Locked = true
618
		CirclePart.Size = Vector3.new(10, 0.1, 10)
619
620
		local BlockMesh = Instance.new("BlockMesh")
621
		BlockMesh.Scale = Vector3.new(1.5, (1.5 + (0.05 * i)), 1.5)
622
		BlockMesh.Parent = CirclePart
623
		CirclePart.Parent = Circle
624
		local Star = Instance.new("Decal", CirclePart)
625
		Star.Texture = "http://www.roblox.com/asset/?id=124339738"
626
		Star.Face = "Top"
627
		local Light = Instance.new("PointLight", CirclePart)
628
		Light.Color = Color3.new(1,1,1)
629
		Light.Brightness = 100
630
		Light.Range = 25
631
		table.insert(CircleParts, CirclePart)
632
	end
633
	Spawn(function()
634
		while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
635
			if Angle == 360 then
636
				Angle = 0
637
			end
638
			Angle = Angle + 0.03
639
			local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
640
			if Hit then
641
				if not Circle.Parent then
642
					Circle.Parent = Character
643
				end
644
				for i, v in pairs(CircleParts) do
645
					v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
646
				end
647
			else
648
				Circle.Parent = nil
649
			end
650
			wait()
651
		end
652
	end)
653
function chatfunc(text)
654
	local chat = coroutine.wrap(function()
655
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
656
		Character:FindFirstChild("TalkingBillBoard"):destroy()
657
	end
658
	local Bill = Instance.new("BillboardGui",Character)
659
	Bill.Size = UDim2.new(0,100,0,40)
660
	Bill.StudsOffset = Vector3.new(0,3.5,0)
661
	Bill.Adornee = Character.Head
662
	Bill.Name = "TalkingBillBoard"
663
	local Hehe = Instance.new("TextLabel",Bill)
664
	Hehe.BackgroundTransparency = 1
665
	Hehe.BorderSizePixel = 0
666
	Hehe.Text = ""
667
	Hehe.Font = "Antique"
668
	Hehe.TextSize = 40
669
	Hehe.TextStrokeTransparency = 0
670
	Hehe.Size = UDim2.new(1,0,0.5,0)
671
	coroutine.resume(coroutine.create(function()
672
		while Hehe ~= nil do
673
			swait()	
674
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
675
			Hehe.Rotation = math.random(-5,5)
676
			Hehe.TextColor3 = Color3.new(1,1,1)
677
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
678
		end
679
	end))
680
	for i = 1,string.len(text),1 do
681
		swait()
682
		Hehe.Text = string.sub(text,1,i)
683
	end
684
	swait(90)--Re[math.random(1, 93)]
685
	for i = 0, 1, .025 do
686
		swait()
687
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
688
		Hehe.TextStrokeTransparency = i
689
		Hehe.TextTransparency = i
690
	end
691
	Bill:Destroy()
692
	end)
693
chat()
694
end
695
696
function onChatted(msg)
697
	chatfunc(msg)
698
end
699
700
Player.Chatted:connect(onChatted)
701
702
local naeeym2 = Instance.new("BillboardGui",Character)
703
naeeym2.AlwaysOnTop = true
704
naeeym2.Size = UDim2.new(5,35,2,15)
705
naeeym2.StudsOffset = Vector3.new(0,1.2,0)
706
naeeym2.Adornee = Character.Head
707
naeeym2.Name = "Name"
708
naeeym2.PlayerToHideFrom = None
709
local tecks2 = Instance.new("TextLabel",naeeym2)
710
tecks2.BackgroundTransparency = 1
711
tecks2.TextScaled = true
712
tecks2.BorderSizePixel = 0
713
tecks2.Text = "Fallen Cyber"
714
tecks2.Font = SKILLFONT
715
tecks2.TextSize = 30
716
tecks2.TextStrokeTransparency = 0
717
tecks2.TextColor3 = C3(0,0,0)
718
tecks2.TextStrokeColor3 = BRICKC"Really white".Color
719
tecks2.Size = UDim2.new(1,0,0.5,0)
720
tecks2.Parent = naeeym2
721
722
for _, c in pairs(Character:GetChildren()) do
723
	if c.ClassName == "Part" then
724
		table.insert(BODY,{c,Character})
725
		for _, q in pairs(c:GetChildren()) do
726
			if q.ClassName == "Motor6D" or q.ClassName == "Weld" or q.ClassName == "ManualWeld" then
727
				table.insert(BODY,{q,c})
728
			end
729
		end
730
	end
731
end
732
733
function refit()
734
	Character.Parent = workspace
735
	for e = 1, #BODY do
736
		if BODY[e] ~= nil then
737
			local STUFF = BODY[e]
738
			local PART = STUFF[1]
739
			local PARENT = STUFF[2]
740
                                          local Circle = STUFF[3]
741
                                          local BlockMesh = STUFF[4]
742
			PART.Parent = PARENT
743
		end
744
	end
745
end
746
747
Humanoid.HealthChanged:connect(function()
748
	Humanoid.Parent = nil
749
	Humanoid.MaxHealth = "inf"
750
	Humanoid.Health = "inf"
751
	refit()
752
	Humanoid.Parent = Character
753
end)
754
755
Humanoid.Died:connect(function()
756
	Humanoid.Parent = nil
757
	Humanoid.MaxHealth = "inf"
758
	Humanoid.Health = "inf"
759
	refit()
760
	Humanoid.Parent = Character
761
end)
762
763
local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
764
local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
765
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
766
local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
767
768
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Pain", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
769
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Laser Beam", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
770
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Teleport", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
771
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Cube Smash", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
772
773
--//=================================\\
774
--||			DAMAGING
775
--\\=================================//
776
777
function killnearest(position,range,EFFECT)
778
	for i,v in ipairs(workspace:GetChildren()) do
779
	local body = v:GetChildren()
780
		for part = 1, #body do
781
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
782
				local SIZE = body[part].Size.Magnitude
783
				if(body[part].Position - position).Magnitude < range + SIZE/2 then
784
					if v.ClassName == "Model" then
785
						if v:FindFirstChildOfClass("Humanoid") ~= nil then
786
							if v:FindFirstChildOfClass("Humanoid").Health > 0 then
787
								v:BreakJoints()
788
								if EFFECT == "Glitch" then
789
									coroutine.resume(coroutine.create(function()
790
										local ORIGINPOS = body[part].CFrame
791
										local SIZE = body[part].Size
792
										for i = 1, 100 do
793
											Swait()
794
											local PART = body[part]
795
											PART.Anchored = true
796
											PART.Size = SIZE*MRANDOM(5,15)/10
797
											PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15)
798
										end
799
										body[part]:remove()
800
									end))
801
								elseif EFFECT == "Shatter" then
802
									for _, c in pairs(v:GetChildren()) do
803
										if c.ClassName == "Part" or c.ClassName == "MeshPart" then
804
											Shatter(c)
805
										end
806
									end
807
								end
808
							end
809
						end
810
					end
811
				end
812
			end
813
		end
814
	end
815
end
816
817
--//=================================\\
818
--||	ATTACK FUNCTIONS AND STUFF
819
--\\=================================//
820
821
function CyberOutburst()
822
	if HITFLOOR ~= nil then
823
		ATTACK = true
824
		Rooted = true
825
		for i=0, 2, 0.1 / Animation_Speed do
826
			Swait()
827
			WACKYEFFECT({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0), MoveToPos = Torso.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
828
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
829
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
830
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
831
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
832
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
833
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
834
		end
835
		for i=0, 2, 0.1 / Animation_Speed do
836
			Swait()
837
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
838
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
839
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
840
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
841
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
842
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
843
		end
844
		WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(25,25,25), Transparency = 0.25, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = 0.6, SoundVolume = 6})
845
		WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(35,35,35), Transparency = 0.5, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 178452241, SoundPitch = 0.8, SoundVolume = 4})
846
		WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(40,40,40), Transparency = 0.75, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 178452241, SoundPitch = 1, SoundVolume = 2})
847
		for i=0, 0.4, 0.1 / Animation_Speed do
848
			Swait()
849
			killnearest(Torso.Position,45,"Glitch")
850
			WACKYEFFECT({Time = 75, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
851
			WACKYEFFECT({Time = 45, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(-180,180)),RAD(0))*CF(0,0,55).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
852
			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(0)), 1 / Animation_Speed)
853
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
854
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
855
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
856
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
857
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
858
		end
859
		ATTACK = false
860
		Rooted = false
861
	end
862
end
863
864
function Technobeam()
865
	ATTACK = true
866
	Rooted = false
867
	local GYRO = IT("BodyGyro",RootPart)
868
	GYRO.D = 100
869
	GYRO.P = 2000
870
	GYRO.MaxTorque = VT(0,4000000,0)
871
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
872
	CreateSound("93724183", RightArm, 5, 1, false)
873
	for i=1, 35 do
874
		Swait()
875
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
876
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
877
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
878
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
879
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
880
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
881
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
882
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
883
	end
884
	local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really white", "Lazer", VT(0,0,0))
885
	local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
886
	local TOCH = BEAM.Touched:Connect(function(hit)
887
		if hit.Anchored == false and hit.Parent ~= Head and  hit.Parent ~= Character and hit.Parent ~= Effects then
888
			Shatter(hit)
889
		end
890
	end)
891
	local I = 0
892
	repeat
893
		Swait()
894
		I = I + 1
895
		if I <= 10 then
896
			BEAM.Transparency = BEAM.Transparency - 0.1
897
		end
898
		local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
899
		local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
900
		local DISTANCE = (STARTPOS - ENDPOS).Magnitude
901
		BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
902
		BEAM.Size = VT(2,2,DISTANCE)
903
		WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
904
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
905
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
906
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
907
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
908
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
909
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
910
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
911
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
912
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
913
		if ENDHIT ~= nil then
914
			if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
915
				Shatter(ENDHIT)
916
			end
917
		end
918
	until LOOP.Playing == false
919
	GYRO:remove()
920
	BEAM:remove()
921
	ATTACK = false
922
	Rooted = false
923
end
924
925
function Technowarp()
926
	local FRAME = RootPart.Position
927
	for i = 1, 6 do
928
		WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})	
929
	end
930
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0),VT(FRAME.X,RootPart.Position.Y,FRAME.Z))
931
	for i = 1, 6 do
932
		WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})	
933
	end
934
end
935
936
function CyberSmash()
937
	ATTACK = true
938
	Rooted = false
939
	local GYRO = IT("BodyGyro",RootPart)
940
	GYRO.D = 100
941
	GYRO.P = 2000
942
	GYRO.MaxTorque = VT(0,4000000,0)
943
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
944
	local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Really white", "Block", VT(50,25,50))
945
	SMASH.CanCollide = true
946
	SMASH.Color = C3(1,1,1)
947
	local EF = Instance.new("SelectionBox",SMASH)
948
	EF.Adornee = SMASH
949
	EF.Color = BrickColor.new("Really white")
950
	EF.LineThickness = 0.2
951
	EF.Transparency = 1
952
	coroutine.resume(coroutine.create(function()
953
		for i = 1, 20 do
954
			Swait()
955
			SMASH.Transparency = SMASH.Transparency - 0.05
956
			EF.Transparency = SMASH.Transparency
957
		end
958
	end))
959
	repeat
960
		SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
961
		Swait()
962
		GYRO.cframe = CF(RootPart.Position,SMASH.Position)
963
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
964
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
965
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
966
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
967
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
968
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(10)), 0.15 / Animation_Speed)
969
	until HOLD == true and SMASH.Transparency < 0.99
970
	for i = 1, 25 do
971
                            chatfunc("I will never let you live", 2.5)
972
		Swait()
973
		SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
974
		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(45)), 1 / Animation_Speed)
975
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
976
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
977
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
978
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
979
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(10)), 0.15 / Animation_Speed)
980
	end
981
	local TOCH = SMASH.Touched:Connect(function(hit)
982
		if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
983
			Shatter(hit)
984
		end
985
	end)
986
	local n0 = nil
987
	local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
988
	if HITFLOOR ~= nil then
989
		if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
990
			if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
991
				if HITFLOOR.Parent.ClassName == "Model" then
992
					HITFLOOR.Parent:BreakJoints()
993
				elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
994
					HITFLOOR.Parent.Parent:BreakJoints()
995
				end
996
			end
997
			local POS = HITPOS
998
			n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
999
		end
1000
	end
1001
	killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter")
1002
	SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
1003
	WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
1004
	for i = 1, 25 do
1005
		Swait()
1006
		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(45)), 1 / Animation_Speed)
1007
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
1008
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1009
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1010
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
1011
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(10)), 0.15 / Animation_Speed)
1012
	end
1013
	coroutine.resume(coroutine.create(function()
1014
		wait(0.2)
1015
		TOCH:disconnect()
1016
		wait(1.8)
1017
		for i = 1, 100 do
1018
			Swait()
1019
			SMASH.Transparency = i/100
1020
		end
1021
		for i = 1, 10 do
1022
			Swait()
1023
			EF.Transparency = EF.Transparency + 0.1
1024
		end
1025
		SMASH:remove()
1026
	end))
1027
	GYRO:remove()
1028
	ATTACK = false
1029
	Rooted = false
1030
end
1031
1032
--//=================================\\
1033
--||	  ASSIGN THINGS TO KEYS
1034
--\\=================================//
1035
1036
function MouseDown(Mouse)
1037
	HOLD = true
1038
	if ATTACK == false then
1039
	end
1040
end
1041
1042
function MouseUp(Mouse)
1043
HOLD = false
1044
end
1045
1046
function KeyDown(Key)
1047
	if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
1048
		KEYHOLD = true
1049
		if Key == "z" and ATTACK == false then
1050
			CyberOutburst()
1051
		end
1052
	
1053
		if Key == "b" and ATTACK == false then
1054
			Technobeam()
1055
		end
1056
	
1057
		if Key == "c" and ATTACK == false then
1058
			Technowarp()
1059
		end
1060
	
1061
		if Key == "v" and ATTACK == false then
1062
			CyberSmash()
1063
		end
1064
1065
		if Key == "t" then
1066
			local TAUNT = CreateSound("132392118", Head, 10, 0.8)
1067
                                          chatfunc("My attacks will tear you apart", 3)
1068
			TAUNT.TimePosition = 1.1
1069
		end
1070
	end
1071
end
1072
1073
function KeyUp(Key)
1074
	if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
1075
		KEYHOLD = false
1076
	end
1077
end
1078
1079
	Mouse.Button1Down:connect(function(NEWKEY)
1080
		MouseDown(NEWKEY)
1081
	end)
1082
	Mouse.Button1Up:connect(function(NEWKEY)
1083
		MouseUp(NEWKEY)
1084
	end)
1085
	Mouse.KeyDown:connect(function(NEWKEY)
1086
		KeyDown(NEWKEY)
1087
	end)
1088
	Mouse.KeyUp:connect(function(NEWKEY)
1089
		KeyUp(NEWKEY)
1090
	end)
1091
1092
--//=================================\\
1093
--\\=================================//
1094
1095
1096
function unanchor()
1097
	if UNANCHOR == true then
1098
		g = Character:GetChildren()
1099
		for i = 1, #g do
1100
			if g[i].ClassName == "Part" then
1101
				g[i].Anchored = false
1102
			end
1103
		end
1104
	end
1105
end
1106
1107
1108
--//=================================\\
1109
--||	WRAP THE WHOLE SCRIPT UP
1110
--\\=================================//
1111
1112
Humanoid.Changed:connect(function(Jump)
1113
	if Jump == "Jump" and (Disable_Jump == true) then
1114
		Humanoid.Jump = false
1115
	end
1116
end)
1117
1118
Humanoid.HipHeight = 2
1119
1120
while true do
1121
	Swait()
1122
	refit()
1123
	Character.Parent = workspace
1124
	Humanoid.Parent = Character
1125
	ANIMATE.Parent = nil
1126
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1127
	IDLEANIMATION:Play()
1128
	SINE = SINE + CHANGE
1129
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1130
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1131
	HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25, Character)
1132
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1133
	EyeWeld2.C1 = Clerp(EyeWeld2.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-SINE*2)), 1 / Animation_Speed)
1134
	EyeWeld.C1 = Clerp(EyeWeld.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(SINE*2)), 1 / Animation_Speed)
1135
	--[[for LW = 1, #LEFTWINGS do
1136
		--if LEFTWINGS[LW] ~= nil then
1137
			--LEFTWINGS[LW].C1 = Clerp(LEFTWINGS[LW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(-3 + 3 * SIN(SINE / 12))), 1 / Animation_Speed)
1138
		end
1139
	end
1140
]]
1141
	for RW = 1, #RIGHTWINGS do
1142
		if RIGHTWINGS[RW] ~= nil then
1143
			RIGHTWINGS[RW].C1 = Clerp(RIGHTWINGS[RW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(3 - 3 * SIN(SINE / 12))), 1 / Animation_Speed)
1144
		end
1145
	end
1146
	if ATTACK == false then
1147
		if TORSOVELOCITY < 1 then
1148
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1149
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
1150
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(-45))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1151
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1152
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
1153
			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)
1154
		elseif TORSOVELOCITY > 1 then
1155
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1156
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-2.5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1157
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(-45))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1158
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1159
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
1160
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(10)), 0.15 / Animation_Speed)
1161
		end
1162
	end
1163
	for _, c in pairs(Character:GetChildren()) do
1164
		if c.ClassName == "Part" and c.Name ~= "Eye" then
1165
			c.Material = "Neon"
1166
			if c:FindFirstChildOfClass("ParticleEmitter") then
1167
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1168
			end
1169
			if c ~= Head and c ~= RootPart and c:FindFirstChild("BoxEffect") == nil then
1170
				local EF = Instance.new("SelectionBox",c)
1171
				EF.Adornee = c
1172
				EF.Color = BrickColor.new("Really white")
1173
				EF.LineThickness = 0.01
1174
				EF.Transparency = 0
1175
				EF.Name = "BoxEffect"
1176
			end
1177
			c.Color = C3(0,0,0)
1178
			if c == Head then
1179
				if c:FindFirstChild("Hood") == nil then
1180
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "16952952", "1648794868", VT(1,1,1)*1.1, VT(0,0.3,0))
1181
					M.Name = "Hood"
1182
                                                        end
1183
				if c:FindFirstChild("face") then
1184
					c.face:remove()
1185
				end
1186
			end
1187
		elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1188
			c:remove()
1189
		end
1190
	end
1191
	if HITFLOOR ~= nil and MRANDOM(1,6) == 1 then
1192
		local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(MRANDOM(5,15),0,0).p
1193
		local BOXFLOOR,BOXPOS = Raycast(POSITION+VT(0,1,0), (CF(POSITION, POSITION + VT(0, -1, 0))).lookVector, 5, Character)
1194
		if BOXFLOOR ~= nil then
1195
			WACKYEFFECT({EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,15,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(BOXPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1196
		end
1197
	end
1198
	unanchor()
1199
	Humanoid.MaxHealth = "inf"
1200
	Humanoid.Health = "inf"
1201
	if Rooted == false then
1202
		Disable_Jump = false
1203
		Humanoid.WalkSpeed = Speed
1204
	elseif Rooted == true then
1205
		Disable_Jump = true
1206
		Humanoid.WalkSpeed = 0
1207
	end
1208
	for _, c in pairs(workspace:GetChildren()) do
1209
		if c.ClassName == "Model" and c:FindFirstChild("Humanoid") and c ~= Character then
1210
		end
1211
	end
1212
	script.Parent = WEAPONGUI
1213
	Humanoid.Name = "Monarch"
1214
	sick.Parent = Effects
1215
	sick.Pitch = 1
1216
	sick:Resume()
1217
	for _, q in pairs(Head:GetChildren()) do
1218
		if q.ClassName == "Sound" and q.Name ~= "Audio" then
1219
			q:remove()
1220
		end
1221
	end
1222
	Humanoid.DisplayDistanceType = "None"
1223
end
1224
1225
--//=================================\\
1226
--\\=================================//
1227
1228
1229
1230
1231
1232
--//====================================================\\--
1233
--||			  		 END OF SCRIPT
1234
--\\====================================================//--