View difference between Paste ID: JfZpT9k5 and VEKntVyE
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2
--||			   CREATED BY SHACKLUSTER
3
--\\====================================================//--
4
5
local p = game:GetService("Players").LocalPlayer
6
local char = p.Character
7
local hed = char.Head
8
local torso = char.Torso
9
local hum = char.Humanoid
10
local cam = game.Workspace.CurrentCamera
11
local root = char.HumanoidRootPart
12
local deb = false
13
local Neck = torso:WaitForChild("Neck")
14
local shot = 0
15
local debris=game:service"Debris"
16
local CanAttack = true
17
local l = game:GetService("Lighting")
18
local rs = game:GetService("RunService").RenderStepped
19
local animpose = "Idle"
20
local lastanimpose = "Idle"
21
local stanceToggle = "Normal"
22
local Hood = false
23
local holy = false --[[ change to true if u want him flying ]]
24
local Trails = true --[[ change to true for glow trails comming from eyes ]]--
25
local Shield = false
26
local eColors = {"Really black", "Really White"}
27
local cf = CFrame.new
28
local euler = CFrame.fromEulerAnglesXYZ
29
local vt = Vector3.new
30
local angles = CFrame.Angles
31
local attacktype=1
32
local Melee = true
33
ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
34
math.randomseed(os.time())
35
36
RA,LA,RL,LL,H,T = char["Right Arm"],char["Left Arm"],char["Right Leg"],char["Left Leg"],char.Head,char.Torso
37
RS,LS,RH,LH,N = T["Right Shoulder"],T["Left Shoulder"],T["Right Hip"],T["Left Hip"],T.Neck
38
Settings,Pr0mMode,ArielMode,InternalMode,Heart = {Colors = {BrickColor.new("Really black"),BrickColor.new("New Yeller")};ExplosionColors = {BrickColor.new("Really black"),BrickColor.new("New Yeller"),BrickColor.new("Really red"),BrickColor.new("Institutional white")}},p.Name == "Fir3bl4ze",p.Name == "Paul072" or p.Name == "KillBecca62",p.Name == "InternalRecursion" or p.Name == "RecursionAltInternal",p.Name == "heartstar1"
39
Debounces = {
40
CanAttack = true;
41
CanJoke = true;
42
NoIdl = false;
43
Slashing = false;
44
Slashed = false;
45
Slapping = false;
46
Slapped = false;
47
ks = false;
48
}
49
50
local Touche = {char.Name, }
51
local Character = p.Character
52
53
54
55
56
57
local Shockwave = function()
58
                
59
                Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
60
                
61
                
62
                delay(0, function()
63
64
                    if Daytime == false then
65
                       for i = 1, 50, 1 do
66
                            Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
67
                            Wave.CFrame = Character.Torso.CFrame
68
                            local t = i / 50
69
                            Wave.Transparency = t
70
                            wait()
71
                        end
72
                    else
73
                        for i = 1, 50, 1 do
74
                            Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
75
                            Wave.CFrame = Character.Torso.CFrame
76
                            local t = i / 50
77
                            Wave.Transparency = t
78
                            wait()
79
                        end
80
                    end
81
                    Wave:Destroy()
82
                end)
83
                delay(0, function()
84
                    while wait() do
85
                        if Wave ~= nil then
86
                            Wave.CFrame = Character.Torso.CFrame
87
                        else
88
                            break
89
                        end
90
                    end
91
                end)
92
            end
93
94
95
function Shockwave2()
96
	local ENERGY = Instance.new("Part", Character)
97
		ENERGY.Name = "ENERGY"
98
		ENERGY.CanCollide = false
99
		ENERGY.Transparency = 0.2
100
		ENERGY.TopSurface = 0
101
		ENERGY.BottomSurface = 0
102
		ENERGY.Anchored = true
103
		ENERGY.BrickColor = BrickColor.new("Really black")
104
		 ENERGY.Touched:connect(function(hit)
105
                    if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
106
                        local Occlude = true
107
                        local NotOccludes = {
108
                            Character.Name;
109
                            "Wings";
110
                            "Scythe";
111
                            "Thingy";
112
                            "Thingy2"; -- put all of the names in a table pls
113
                        }
114
                        for i,v in pairs(NotOccludes) do
115
                            if hit.Parent.Name == v then
116
                                Occlude = false
117
                            end
118
                        end
119
                        --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name     ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and     hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
120
                        if Occlude then
121
                            hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 50
122
                            hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * 220
123
                        end
124
                    end
125
                end)
126
		local cm = Instance.new("CylinderMesh", ENERGY)
127
		cm.Scale = Vector3.new(1, 20, 1)
128
		ENERGY.Size = Vector3.new(5, 20, 5)
129
		ENERGY.CFrame = char.Torso.CFrame
130
		for i = 1, 50 do
131
			ENERGY.CFrame = char.Torso.CFrame
132
			ENERGY.Transparency = ENERGY.Transparency + 0.012
133
			ENERGY.Size = ENERGY.Size + Vector3.new(0.2, 0, 0.2)
134
			wait()
135
		end
136
		ENERGY:Destroy()
137
end
138
139
140
141
local RbxUtility = LoadLibrary("RbxUtility")
142
local Create = RbxUtility.Create
143
144
function RemoveOutlines(part)
145
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
146
end
147
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
148
	local Part = Create("Part"){
149
		Parent = Parent,
150
		Reflectance = Reflectance,
151
		Transparency = Transparency,
152
		CanCollide = false,
153
		Locked = true,
154
		BrickColor = BrickColor.new(tostring(BColor)),
155
		Name = Name,
156
		Size = Size,
157
		Material = Material,
158
	}
159
	RemoveOutlines(Part)
160
	return Part
161
end
162
local Effects = {}
163
164
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
165
	local Msh = Create(Mesh){
166
		Parent = Part,
167
		Offset = OffSet,
168
		Scale = Scale,
169
	}
170
	if Mesh == "SpecialMesh" then
171
		Msh.MeshType = MeshType
172
		Msh.MeshId = MeshId
173
	end
174
	return Msh
175
end
176
177
function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
178
	local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
179
	prt.Anchored = true
180
	prt.CFrame = cframe
181
	local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
182
	game:GetService("Debris"):AddItem(prt, 10)
183
	table.insert(Effects, {
184
		prt,
185
		"Cylinder",
186
		delay,
187
		x3,
188
		y3,
189
		z3,
190
		msh
191
	})
192
end
193
194
195
196
function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
197
	local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
198
	prt.Anchored = true
199
	prt.CFrame = cframe
200
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
201
	game:GetService("Debris"):AddItem(prt, 10)
202
	table.insert(Effects, {
203
		prt,
204
		"Cylinder",
205
		delay,
206
		x3,
207
		y3,
208
		z3,
209
		msh
210
	})
211
end
212
213
function rayCast(Position, Direction, Range, Ignore)
214
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
215
end
216
z = Instance.new("Sound",char)
217
z.SoundId = "rbxassetid://242942414"--..SIDz[math.random(1,#SIDz)] --MUSIC OF GOD
218
z.Looped = true
219
z.Volume = 666
220
z.Pitch = 1
221
wait(1)
222
z:Play()
223
--184881743 - scary
224
--413641131 Nemesis?
225
-- 632243735 Scary too
226
--553013173     Horror-music
227
--537578929     Horror-Vania 
228
-- 200514784     Scary-Music
229
-- 421358540     Scary-Calming-Creepy
230
-- 133795072     Scary-Chill-Sound
231
-- 154564700     Scary sound
232
-- 160453802     war sound
233
-- 792238435     Scary!!!! VERY!!!
234
-- 568927358     Donald-trump-We-Are-Number-One
235
-- 152201694
236
-- 142720946
237
-- 670607453     Bendy
238
-- 242942414
239
--986718663 Sad Song
240
--230885926 Never Surrender 
241
--892185800 Rammstein - Sonne
242
--188095869 Dorado
243
--792520360 Last Battle
244
--171224177 Some Good Song
245
--153406097 MLG!
246
--538514291 Hail the king!
247-
local Transformation = function()
247+
local TBlast, TBMesh = Instance.new("Part"), Instance.new("SpecialMesh")
248-
		
248+
249-
		hum.WalkSpeed = 0
249+
250-
		Neck.C0 = Neck.C0 * CFrame.Angles(0.6,0,0)
250+
251-
		wait(0.7)
251+
252-
		Neck.C0 = Neck.C0 * CFrame.Angles(-0.9,0,0)
252+
253-
		l.TimeOfDay = 24
253+
254-
		wait(0.1)
254+
255-
		l.TimeOfDay = 14
255+
256-
        Shockwave2()
256+
257-
		wait(2)
257+
258-
		Neck.C0 = Neck.C0 * CFrame.Angles(0.6,0,0)
258+
259-
		wait(2.4)
259+
260-
		Neck.C0 = Neck.C0 * CFrame.Angles(-0.6,0,0)
260+
		game.Lighting.FogColor = TBlast.BrickColor.Color	
261-
		l.TimeOfDay = 24
261+
262-
		wait(0.1)
262+
263-
		l.TimeOfDay = 14
263+
264-
		Shockwave2()
264+
265-
		wait(0.3)
265+
266-
		Neck.C0 = Neck.C0 * CFrame.Angles(0.6,0,0)
266+
267-
		wait(0.6)
267+
268-
		Neck.C0 = Neck.C0 * CFrame.Angles(-0.6,0,0)
268+
269-
		l.TimeOfDay = 24
269+
270-
		wait(0.1)
270+
271-
		l.TimeOfDay = 14
271+
272-
		Shockwave2()
272+
273
274-
		Neck.C0 = Neck.C0 * CFrame.Angles(0.6,0,0)
274+
275-
		wait(2)
275+
276-
		Neck.C0 = Neck.C0 * CFrame.Angles(-0.3,0,0)
276+
277-
		local TBlast, TBMesh = Instance.new("Part"), Instance.new("SpecialMesh")
277+
278
    for i=0,num do
279
    game:service'RunService'.Stepped:wait(0)
280
    end
281
    end
282
end
283
284
285
hum.WalkSpeed = 16
286
287
so = function(id,par,vol,pit)
288
	coroutine.resume(coroutine.create(function()
289
local sou = Instance.new("Sound",par or workspace)
290-
		game.Lighting.FogColor = TBlast.BrickColor.Color
290+
291-
	local hit, pos = rayCast(root.Position, (CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0))).lookVector, 6, Character)
291+
292-
	if hit ~= nil then
292+
293-
		local Color = hit.BrickColor
293+
294-
		local refpart = CreatePart(workspace, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
294+
295-
		refpart.Anchored = true
295+
296-
		refpart.CFrame = CFrame.new(pos)
296+
297-
		game:GetService("Debris"):AddItem(refpart, 1)
297+
298-
		for i = 1, 5 do
298+
299-
			local Color = hit.BrickColor
299+
300-
			local Materials = hit.Material
300+
301-
			local groundpart = CreatePart(workspace, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(500, 1000) / 1000, math.random(500, 1000) / 1000, math.random(500, 1000) / 1000))
301+
302-
			groundpart.Anchored = false
302+
303-
			groundpart.Material = Materials
303+
304-
			groundpart.CanCollide = true
304+
305-
			groundpart.Friction = 0.1
305+
306-
			groundpart.Velocity = Vector3.new(math.random(-50, 50), math.random(25, 50), math.random(-50, 50))
306+
function checkfriendlist(model)
307-
			groundpart.CFrame = CFrame.new(pos) * CFrame.new(math.random(-250, 250) / 100, 0.5, math.random(-250, 250) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
307+
local friend = false
308-
			game:GetService("Debris"):AddItem(groundpart, 10)
308+
local target = nil
309
if model.ClassName == "Player" then
310-
		for i = 1, 6 do
310+
target = model
311-
			local Color = hit.BrickColor
311+
else
312-
			local Materials = hit.Material
312+
target = game:GetService("Players"):GetPlayerFromCharacter(model)
313-
			local actualgroundpart = CreatePart(workspace, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(1000, 2000) / 1000, math.random(1000, 2000) / 1000, math.random(1000, 2000) / 1000))
313+
314-
			actualgroundpart.Anchored = true
314+
if target ~= nil then
315-
			actualgroundpart.Material = Materials
315+
if target:IsFriendsWith(479948747) then friend = true end
316-
			actualgroundpart.CanCollide = true
316+
317-
			actualgroundpart.Friction = 1
317+
return friend
318-
			actualgroundpart.CFrame = CFrame.new(pos) * CFrame.new(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
318+
319-
			game:GetService("Debris"):AddItem(actualgroundpart, 10)
319+
if checkfriendlist(game:GetService("Players").LocalPlayer) == true then
320-
		end 
320+
	warn('You are friend with tamloveeif02! good luck!')
321-
		WaveEffect(hit.BrickColor, refpart.CFrame, .2, .2, .2, .5, .5, .5, .04)
321+
322-
		SphereEffect(hit.BrickColor, refpart.CFrame, .2, .2, .2, 3, 3, 3, .04)	
322+
323
if checkfriendlist(game:GetService("Players").LocalPlayer) == false then
324-
	Shockwave()
324+
	warn('Really? ')
325
	warn('Sorry! you are bot friend with me.)' ..plr.Name)
326-
Transformation()
326+
327
328
Player = game:GetService("Players").LocalPlayer
329
PlayerGui = Player.PlayerGui
330
Cam = workspace.CurrentCamera
331
Backpack = Player.Backpack
332
Character = Player.Character
333
Humanoid = Character.Humanoid
334
Mouse = Player:GetMouse()
335
RootPart = Character["HumanoidRootPart"]
336
Torso = Character["Torso"]
337
Head = Character["Head"]
338
RightArm = Character["Right Arm"]
339
LeftArm = Character["Left Arm"]
340
RightLeg = Character["Right Leg"]
341
LeftLeg = Character["Left Leg"]
342
RootJoint = RootPart["RootJoint"]
343
Neck = Torso["Neck"]
344
RightShoulder = Torso["Right Shoulder"]
345
LeftShoulder = Torso["Left Shoulder"]
346
RightHip = Torso["Right Hip"]
347
LeftHip = Torso["Left Hip"]
348
local sick = Instance.new("Sound",Character)
349
sick.SoundId = "rbxassetid://143889072"
350
sick.Looped = true
351
sick.Volume = 5
352
353
IT = Instance.new
354
CF = CFrame.new
355
VT = Vector3.new
356
RAD = math.rad
357
C3 = Color3.new
358
UD2 = UDim2.new
359
BRICKC = BrickColor.new
360
ANGLES = CFrame.Angles
361
EULER = CFrame.fromEulerAnglesXYZ
362
COS = math.cos
363
ACOS = math.acos
364
SIN = math.sin
365
ASIN = math.asin
366
ABS = math.abs
367
MRANDOM = math.random
368
FLOOR = math.floor
369
370
-----------------------------------------
371
Void = nil
372
VoidParts = {}
373
Equipped = false
374
375
function RayCast(Position, Direction, MaxDistance, IgnoreList)
376
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
377
end
378
379
	Player = Player
380
	Character = Character
381
382
	Humanoid = Character:FindFirstChildOfClass("Humanoid")
383
	Torso = Character:FindFirstChild("Torso")
384
	if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
385
		return
386
	end
387
	Equipped = true
388
	Void = Instance.new("Model")
389
	Void.Name = "Void"
390
	Angle = 0
391
	for i = 1, 1 do
392
		local VoidPart = Instance.new("Part")
393
		VoidPart.Name = "VoidPart"
394
		VoidPart.Transparency = 1
395
		VoidPart.BrickColor = BrickColor.new("Really black")
396
		VoidPart.Material = Enum.Material.Plastic
397
		VoidPart.Shape = Enum.PartType.Block
398
		VoidPart.FormFactor = Enum.FormFactor.Custom
399
		VoidPart.TopSurface = Enum.SurfaceType.Smooth
400
		VoidPart.BottomSurface = Enum.SurfaceType.Smooth
401
		VoidPart.Anchored = true
402
		VoidPart.CanCollide = false
403
		VoidPart.Locked = true
404
		VoidPart.Size = Vector3.new(18, 0.2, 18)
405
		local BlockMesh = Instance.new("BlockMesh")
406
		BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
407
		BlockMesh.Parent = VoidPart
408
		VoidPart.Parent = Void
409
		local Star = Instance.new("Decal", VoidPart)
410
		Star.Texture = "http://www.roblox.com/asset/?id=732683707"
411
		--CricleForTarget
412
--121028264 MagicCircle1
413
--160506713 MagicCircle2
414
--327794305 MagicCircle3 (Death)
415
--160508788 MagicCircle4 (Scary)
416
--124339738 CoolCircle5
417
--268043891 Abyss-Demon-Magic-Circle
418
		Star.Face = "Top"
419
		local Light = Instance.new("PointLight", VoidPart)
420
		Light.Color = Color3.new(255,255,0)
421
		Light.Brightness = 100
422
		Light.Range = 15
423
		table.insert(VoidParts, VoidPart)
424
	end
425
	Spawn(function()
426
		while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
427
			if Angle == 360 then
428
				Angle = 0
429
			end
430
			Angle = Angle + 0.05
431
			local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
432
			if Hit then
433
				if not Void.Parent then
434
					Void.Parent = Character
435
				end
436
				for i, v in pairs(VoidParts) do
437
					v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
438
				end
439
			else
440
				Void.Parent = nil
441
			end
442
			wait()
443
		end
444
	end)
445
446
local EyeSizes={
447
	NumberSequenceKeypoint.new(0,0.65,0),
448
	NumberSequenceKeypoint.new(0.5,0.7,0),
449
	NumberSequenceKeypoint.new(1,0,0)
450
}
451
local EyeTrans={
452
	NumberSequenceKeypoint.new(0,0,0),
453
	NumberSequenceKeypoint.new(0.5,0,0),
454
	NumberSequenceKeypoint.new(1,1,0)
455
}
456
local PE22=Instance.new("ParticleEmitter", RIGHTWINGS)
457
PE22.LightEmission=.9
458
PE22.Color = ColorSequence.new(BRICKC("Gold").Color,BRICKC("Deep orange").Color)
459
PE22.Size=NumberSequence.new(EyeSizes)
460
PE22.Transparency=NumberSequence.new(EyeTrans)
461
PE22.Lifetime=NumberRange.new(0.35)
462
PE22.Rotation=NumberRange.new(0,360)
463
PE22.Rate=999
464
PE22.VelocitySpread = 10000
465
PE22.Acceleration = Vector3.new(0,25,0)
466
PE22.ZOffset = 0.5
467
PE22.Drag = 0
468
PE22.Speed = NumberRange.new(0,0,0)
469
PE22.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
470
PE22.Name = "PE22"
471
PE22.Enabled = true
472
PE22.LockedToPart = true
473
474
local EyeSizes={
475
	NumberSequenceKeypoint.new(0,0.65,0),
476
	NumberSequenceKeypoint.new(0.5,0.7,0),
477
	NumberSequenceKeypoint.new(1,0,0)
478
}
479
local EyeTrans={
480
	NumberSequenceKeypoint.new(0,0,0),
481
	NumberSequenceKeypoint.new(0.5,0,0),
482
	NumberSequenceKeypoint.new(1,1,0)
483
}
484
local PE2=Instance.new("ParticleEmitter", LEFTWINGS)
485
PE2.LightEmission=.9
486
PE2.Color = ColorSequence.new(BRICKC("Gold").Color,BRICKC("Deep orange").Color)
487
PE2.Size=NumberSequence.new(EyeSizes)
488
PE2.Transparency=NumberSequence.new(EyeTrans)
489
PE2.Lifetime=NumberRange.new(0.35)
490
PE2.Rotation=NumberRange.new(0,360)
491
PE2.Rate=999
492
PE2.VelocitySpread = 10000
493
PE2.Acceleration = Vector3.new(0,25,0)
494
PE2.ZOffset = 0.5
495
PE2.Drag = 0
496
PE2.Speed = NumberRange.new(0,0,0)
497
PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
498
PE2.Name = "PE2"
499
PE2.Enabled = true
500
PE2.LockedToPart = true
501
502
503
local EyeSizes={
504
	NumberSequenceKeypoint.new(0,0.65,0),
505
	NumberSequenceKeypoint.new(0.5,0.7,0),
506
	NumberSequenceKeypoint.new(1,0,0)
507
}
508
local EyeTrans={
509
	NumberSequenceKeypoint.new(0,0,0),
510
	NumberSequenceKeypoint.new(0.5,0,0),
511
	NumberSequenceKeypoint.new(1,1,0)
512
}
513
local PE3=Instance.new("ParticleEmitter", LeftLeg)
514
PE3.LightEmission=.9
515
PE3.Color = ColorSequence.new(BRICKC("Gold").Color,BRICKC("Deep orange").Color)
516
PE3.Size=NumberSequence.new(EyeSizes)
517
PE3.Transparency=NumberSequence.new(EyeTrans)
518
PE3.Lifetime=NumberRange.new(0.35)
519
PE3.Rotation=NumberRange.new(0,360)
520
PE3.Rate=999
521
PE3.VelocitySpread = 10000
522
PE3.Acceleration = Vector3.new(0,25,0)
523
PE3.ZOffset = 0.5
524
PE3.Drag = 0
525
PE3.Speed = NumberRange.new(0,0,0)
526
PE3.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
527
PE3.Name = "PE3"
528
PE3.Enabled = true
529
PE3.LockedToPart = true
530
531
local EyeSizes={
532
	NumberSequenceKeypoint.new(0,0.65,0),
533
	NumberSequenceKeypoint.new(0.5,0.7,0),
534
	NumberSequenceKeypoint.new(1,0,0)
535
}
536
local EyeTrans={
537
	NumberSequenceKeypoint.new(0,0,0),
538
	NumberSequenceKeypoint.new(0.5,0,0),
539
	NumberSequenceKeypoint.new(1,1,0)
540
}
541
local PE4=Instance.new("ParticleEmitter", RightLeg)
542
PE4.LightEmission=.9
543
PE4.Color = ColorSequence.new(BRICKC("Gold").Color,BRICKC("Deep orange").Color)
544
PE4.Size=NumberSequence.new(EyeSizes)
545
PE4.Transparency=NumberSequence.new(EyeTrans)
546
PE4.Lifetime=NumberRange.new(0.35)
547
PE4.Rotation=NumberRange.new(0,360)
548
PE4.Rate=999
549
PE4.VelocitySpread = 10000
550
PE4.Acceleration = Vector3.new(0,25,0)
551
PE4.ZOffset = 0.5
552
PE4.Drag = 0
553
PE4.Speed = NumberRange.new(0,0,0)
554
PE4.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
555
PE4.Name = "PE4"
556
PE4.Enabled = true
557
PE4.LockedToPart = true
558
559
local EyeSizes={
560
	NumberSequenceKeypoint.new(0,0.65,0),
561
	NumberSequenceKeypoint.new(0.5,0.7,0),
562
	NumberSequenceKeypoint.new(1,0,0)
563
}
564
local EyeTrans={
565
	NumberSequenceKeypoint.new(0,0,0),
566
	NumberSequenceKeypoint.new(0.5,0,0),
567
	NumberSequenceKeypoint.new(1,1,0)
568
}
569
local PE5=Instance.new("ParticleEmitter", Torso)
570
PE5.LightEmission=.9
571
PE5.Color = ColorSequence.new(BRICKC("Gold").Color,BRICKC("Deep orange").Color)
572
PE5.Size=NumberSequence.new(EyeSizes)
573
PE5.Transparency=NumberSequence.new(EyeTrans)
574
PE5.Lifetime=NumberRange.new(0.35)
575
PE5.Rotation=NumberRange.new(0,360)
576
PE5.Rate=999
577
PE5.VelocitySpread = 10000
578
PE5.Acceleration = Vector3.new(0,25,0)
579
PE5.ZOffset = 0.5
580
PE5.Drag = 0
581
PE5.Speed = NumberRange.new(0,0,0)
582
PE5.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
583
PE5.Name = "PE5"
584
PE5.Enabled = true
585
PE5.LockedToPart = true
586
587
local EyeSizes={
588
	NumberSequenceKeypoint.new(0,0.65,0),
589
	NumberSequenceKeypoint.new(0.5,0.7,0),
590
	NumberSequenceKeypoint.new(1,0,0)
591
}
592
local EyeTrans={
593
	NumberSequenceKeypoint.new(0,0,0),
594
	NumberSequenceKeypoint.new(0.5,0,0),
595
	NumberSequenceKeypoint.new(1,1,0)
596
}
597
local PE6=Instance.new("ParticleEmitter", Head)
598
PE6.LightEmission=.9
599
PE6.Color = ColorSequence.new(BRICKC("Gold").Color,BRICKC("Deep orange").Color)
600
PE6.Size=NumberSequence.new(EyeSizes)
601
PE6.Transparency=NumberSequence.new(EyeTrans)
602
PE6.Lifetime=NumberRange.new(0.35)
603
PE6.Rotation=NumberRange.new(0,360)
604
PE6.Rate=999
605
PE6.VelocitySpread = 10000
606
PE6.Acceleration = Vector3.new(0,25,0)
607
PE6.ZOffset = 0.5
608
PE6.Drag = 0
609
PE6.Speed = NumberRange.new(0,0,0)
610
PE6.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
611
PE6.Name = "PE6"
612
PE6.Enabled = true
613
PE6.LockedToPart = true
614
615
function fireparticles(art)
616
	local PARTICLES = PE:Clone()
617
	PARTICLES.Parent = art
618
end
619
620
local Hood = Instance.new("Part", Character)
621
Hood.Name = "Hood"
622
Hood.CanCollide = false
623
Hood.BrickColor = BrickColor.new("Really black")
624
Hood.Transparency = 0
625
Hood.Material = "Plastic"
626
Hood.Size = Vector3.new(0.1, 0.1, 0.1)
627
Hood.TopSurface = Enum.SurfaceType.Smooth
628
Hood.BottomSurface = Enum.SurfaceType.Smooth
629
630
local Weld = Instance.new("Weld", Hood)
631
Weld.Part0 = Character.Head
632
Weld.Part1 = Hood
633
Weld.C1 = CFrame.new(0, -0.2, 0)
634
635
local M2 = Instance.new("SpecialMesh")
636
M2.Parent = Hood
637
M2.MeshId = "http://www.roblox.com/asset/?id=83499032"
638
M2.Scale = Vector3.new( 1, 1.2, 1.1)
639
 
640
Character.Shirt:Destroy()
641
Character.Pants:Destroy()
642
shirt = Instance.new("Shirt", Character)
643
shirt.Name = "Shirt"
644
pants = Instance.new("Pants", Character)
645
pants.Name = "Pants"
646
Character.Shirt.ShirtTemplate = "rbxassetid://250281606"
647
Character.Pants.PantsTemplate = "rbxassetid://296647969"
648
649
650
Reaper2 = Instance.new("Model")
651
Reaper2.Parent = Player.Character
652
Reaper2.Name = "Reaper2"
653
rh2 = Instance.new("Part")
654
rh2.BrickColor = BrickColor.new("Gold")
655
rh2.Parent = Reaper2
656
rh2.Locked = true
657
rh2.CanCollide = false
658
mesh2 = Instance.new("SpecialMesh")
659
rh2.formFactor =  "Symmetric"
660
mesh2.MeshType = "FileMesh"
661
mesh2.MeshId = "http://www.roblox.com/asset/?id=212966179"
662
mesh2.Parent = rh2
663
local weld2 = Instance.new("Weld")
664
weld2.Parent = rh2
665
rh2.Transparency = 0
666
weld2.Part0 = rh2
667
weld2.Part1 = Player.Character.Head
668
weld2.C0 = CFrame.new(-0, -0.3, 0)*CFrame.Angles(0, 0, 0)
669
670
--//=================================\\
671
--|| 	      USEFUL VALUES
672
--\\=================================//
673
674
Animation_Speed = 3
675
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
676
local Speed = 45
677
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
678
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
679
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
680
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
681
local DAMAGEMULTIPLIER = 1
682
local ANIM = "Idle"
683
local ATTACK = false
684
local EQUIPPED = false
685
local HOLD = false
686
local COMBO = 1
687
local Rooted = false
688
local SINE = 0
689
local KEYHOLD = false
690
local CHANGE = 2 / Animation_Speed
691
local WALKINGANIM = false
692
local VALUE1 = false
693
local VALUE2 = false
694
local ROBLOXIDLEANIMATION = IT("Animation")
695
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
696
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
697
--ROBLOXIDLEANIMATION.Parent = Humanoid
698
local WEAPONGUI = IT("ScreenGui", PlayerGui)
699
WEAPONGUI.Name = "Weapon GUI"
700
local Effects = IT("Folder", Character)
701
Effects.Name = "Effects"
702
local ANIMATOR = Humanoid.Animator
703
local ANIMATE = Character.Animate
704
local UNANCHOR = true
705
local HITPOS = nil
706
local HITFLOOR = nil
707
local LEFTWINGS = {}
708
local RIGHTWINGS = {}
709
local BODY = {}
710
711
--//=================================\\
712
--\\=================================//
713
714
715
--//=================================\\
716
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
717
--\\=================================//
718
719
ArtificialHB = Instance.new("BindableEvent", script)
720
ArtificialHB.Name = "ArtificialHB"
721
722
script:WaitForChild("ArtificialHB")
723
724
frame = Frame_Speed
725
tf = 0
726
allowframeloss = false
727
tossremainder = false
728
lastframe = tick()
729
script.ArtificialHB:Fire()
730
731
game:GetService("RunService").Heartbeat:connect(function(s, p)
732
	tf = tf + s
733
	if tf >= frame then
734
		if allowframeloss then
735
			script.ArtificialHB:Fire()
736
			lastframe = tick()
737
		else
738
			for i = 1, math.floor(tf / frame) do
739
				script.ArtificialHB:Fire()
740
			end
741
		lastframe = tick()
742
		end
743
		if tossremainder then
744
			tf = 0
745
		else
746
			tf = tf - frame * math.floor(tf / frame)
747
		end
748
	end
749
end)
750
751
--//=================================\\
752
--\\=================================//
753
754
--//=================================\\
755
--|| 	      SOME FUNCTIONS
756
--\\=================================//
757
758
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
759
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
760
end
761
762
function PositiveAngle(NUMBER)
763
	if NUMBER >= 0 then
764
		NUMBER = 0
765
	end
766
	return NUMBER
767
end
768
769
function NegativeAngle(NUMBER)
770
	if NUMBER <= 0 then
771
		NUMBER = 0
772
	end
773
	return NUMBER
774
end
775
776
function Swait(NUMBER)
777
	if NUMBER == 0 or NUMBER == nil then
778
		ArtificialHB.Event:wait()
779
	else
780
		for i = 1, NUMBER do
781
			ArtificialHB.Event:wait()
782
		end
783
	end
784
end
785
786
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
787
	local NEWMESH = IT(MESH)
788
	if MESH == "SpecialMesh" then
789
		NEWMESH.MeshType = MESHTYPE
790
		if MESHID ~= "nil" and MESHID ~= "" then
791
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
792
		end
793
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
794
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
795
		end
796
	end
797
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
798
	NEWMESH.Scale = SCALE
799
	NEWMESH.Parent = PARENT
800
	return NEWMESH
801
end
802
803
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
804
	local NEWPART = IT("Part")
805
	NEWPART.formFactor = FORMFACTOR
806
	NEWPART.Reflectance = REFLECTANCE
807
	NEWPART.Transparency = TRANSPARENCY
808
	NEWPART.CanCollide = false
809
	NEWPART.Locked = true
810
	NEWPART.Anchored = true
811
	if ANCHOR == false then
812
		NEWPART.Anchored = false
813
	end
814
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
815
	NEWPART.Name = NAME
816
	NEWPART.Size = SIZE
817
	NEWPART.Position = Torso.Position
818
	NEWPART.Material = MATERIAL
819
	NEWPART:BreakJoints()
820
	NEWPART.Parent = PARENT
821
	return NEWPART
822
end
823
824
	local function weldBetween(a, b)
825
	    local weldd = Instance.new("ManualWeld")
826
	    weldd.Part0 = a
827
	    weldd.Part1 = b
828
	    weldd.C0 = CFrame.new()
829
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
830
	    weldd.Parent = a
831
	    return weldd
832
	end
833
834
835
function QuaternionFromCFrame(cf)
836
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
837
	local trace = m00 + m11 + m22
838
	if trace > 0 then 
839
		local s = math.sqrt(1 + trace)
840
		local recip = 0.5 / s
841
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
842
	else
843
		local i = 0
844
		if m11 > m00 then
845
			i = 1
846
		end
847
		if m22 > (i == 0 and m00 or m11) then
848
			i = 2
849
		end
850
		if i == 0 then
851
			local s = math.sqrt(m00 - m11 - m22 + 1)
852
			local recip = 0.5 / s
853
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
854
		elseif i == 1 then
855
			local s = math.sqrt(m11 - m22 - m00 + 1)
856
			local recip = 0.5 / s
857
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
858
		elseif i == 2 then
859
			local s = math.sqrt(m22 - m00 - m11 + 1)
860
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
861
		end
862
	end
863
end
864
 
865
function QuaternionToCFrame(px, py, pz, x, y, z, w)
866
	local xs, ys, zs = x + x, y + y, z + z
867
	local wx, wy, wz = w * xs, w * ys, w * zs
868
	local xx = x * xs
869
	local xy = x * ys
870
	local xz = x * zs
871
	local yy = y * ys
872
	local yz = y * zs
873
	local zz = z * zs
874
	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))
875
end
876
 
877
function QuaternionSlerp(a, b, t)
878
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
879
	local startInterp, finishInterp;
880
	if cosTheta >= 0.0001 then
881
		if (1 - cosTheta) > 0.0001 then
882
			local theta = ACOS(cosTheta)
883
			local invSinTheta = 1 / SIN(theta)
884
			startInterp = SIN((1 - t) * theta) * invSinTheta
885
			finishInterp = SIN(t * theta) * invSinTheta
886
		else
887
			startInterp = 1 - t
888
			finishInterp = t
889
		end
890
	else
891
		if (1 + cosTheta) > 0.0001 then
892
			local theta = ACOS(-cosTheta)
893
			local invSinTheta = 1 / SIN(theta)
894
			startInterp = SIN((t - 1) * theta) * invSinTheta
895
			finishInterp = SIN(t * theta) * invSinTheta
896
		else
897
			startInterp = t - 1
898
			finishInterp = t
899
		end
900
	end
901
	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
902
end
903
904
function Clerp(a, b, t)
905
	local qa = {QuaternionFromCFrame(a)}
906
	local qb = {QuaternionFromCFrame(b)}
907
	local ax, ay, az = a.x, a.y, a.z
908
	local bx, by, bz = b.x, b.y, b.z
909
	local _t = 1 - t
910
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
911
end
912
913
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
914
	local frame = IT("Frame")
915
	frame.BackgroundTransparency = TRANSPARENCY
916
	frame.BorderSizePixel = BORDERSIZEPIXEL
917
	frame.Position = POSITION
918
	frame.Size = SIZE
919
	frame.BackgroundColor3 = COLOR
920
	frame.BorderColor3 = BORDERCOLOR
921
	frame.Name = NAME
922
	frame.Parent = PARENT
923
	return frame
924
end
925
926
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
927
	local label = IT("TextLabel")
928
	label.BackgroundTransparency = 1
929
	label.Size = UD2(1, 0, 1, 0)
930
	label.Position = UD2(0, 0, 0, 0)
931
	label.TextColor3 = TEXTCOLOR
932
	label.TextStrokeColor3 = BRICKC"Deep orange".Color
933
	label.TextStrokeTransparency = STROKETRANSPARENCY
934
	label.TextTransparency = TRANSPARENCY
935
	label.FontSize = TEXTFONTSIZE
936
	label.Font = TEXTFONT
937
	label.BorderSizePixel = BORDERSIZEPIXEL
938
	label.TextScaled = false
939
	label.Text = TEXT
940
	label.Name = NAME
941
	label.Parent = PARENT
942
	return label
943
end
944
945
function NoOutlines(PART)
946
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
947
end
948
949
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
950
	local NEWWELD = IT(TYPE)
951
	NEWWELD.Part0 = PART0
952
	NEWWELD.Part1 = PART1
953
	NEWWELD.C0 = C0
954
	NEWWELD.C1 = C1
955
	NEWWELD.Parent = PARENT
956
	return NEWWELD
957
end
958
959
local S = IT("Sound")
960
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
961
	local NEWSOUND = nil
962
	coroutine.resume(coroutine.create(function()
963
		NEWSOUND = S:Clone()
964
		NEWSOUND.Parent = PARENT
965
		NEWSOUND.Volume = VOLUME
966
		NEWSOUND.Pitch = PITCH
967
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
968
		NEWSOUND:play()
969
		NEWSOUND.Name = "Audio"
970
		if DOESLOOP == true then
971
			NEWSOUND.Looped = true
972
		else
973
			repeat Swait() until NEWSOUND.Playing == false
974
			NEWSOUND:remove()
975
		end
976
	end))
977
	return NEWSOUND
978
end
979
980
function CFrameFromTopBack(at, top, back)
981
	local right = top:Cross(back)
982
	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)
983
end
984
985
--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})
986
function WACKYEFFECT(Table)
987
	local TYPE = (Table.EffectType or "Sphere")
988
	local SIZE = (Table.Size or VT(1,1,1))
989
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
990
	local TRANSPARENCY = (Table.Transparency or 0)
991
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
992
	local CFRAME = (Table.CFrame or Torso.CFrame)
993
	local MOVEDIRECTION = (Table.MoveToPos or nil)
994
	local ROTATION1 = (Table.RotationX or 0)
995
	local ROTATION2 = (Table.RotationY or 0)
996
	local ROTATION3 = (Table.RotationZ or 0)
997
	local MATERIAL = (Table.Material or "Neon")
998
	local COLOR = (Table.Color or C3(1,1,1))
999
	local TIME = (Table.Time or 45)
1000
	local SOUNDID = (Table.SoundID or nil)
1001
	local SOUNDPITCH = (Table.SoundPitch or nil)
1002
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1003
	coroutine.resume(coroutine.create(function()
1004
		local PLAYSSOUND = false
1005
		local SOUND = nil
1006
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1007
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1008
			PLAYSSOUND = true
1009
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1010
		end
1011
		EFFECT.Color = COLOR
1012
		local MSH = nil
1013
		if TYPE == "Sphere" then
1014
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1015
		elseif TYPE == "Block" then
1016
			MSH = IT("BlockMesh",EFFECT)
1017
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1018
		elseif TYPE == "Box" then
1019
			MSH = IT("BlockMesh",EFFECT)
1020
			MSH.Scale = SIZE
1021
		elseif TYPE == "Wave" then
1022
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1023
		elseif TYPE == "Ring" then
1024
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1025
		elseif TYPE == "Slash" then
1026
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1027
		elseif TYPE == "Round Slash" then
1028
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1029
		elseif TYPE == "Swirl" then
1030
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1031
		elseif TYPE == "Skull" then
1032
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1033
		elseif TYPE == "Crystal" then
1034
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1035
		end
1036
		if MSH ~= nil then
1037
			local MOVESPEED = nil
1038
			if MOVEDIRECTION ~= nil then
1039
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1040
			end
1041
			local GROWTH = SIZE - ENDSIZE
1042
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1043
			if TYPE == "Block" then
1044
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1045
			else
1046
				EFFECT.CFrame = CFRAME
1047
			end
1048
			for LOOP = 1, TIME do
1049
				Swait()
1050
				MSH.Scale = MSH.Scale - GROWTH/TIME
1051
				if TYPE == "Wave" then
1052
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1053
				end
1054
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1055
				if TYPE == "Block" then
1056
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1057
				else
1058
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1059
				end
1060
				if MOVEDIRECTION ~= nil then
1061
					local ORI = EFFECT.Orientation
1062
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1063
					EFFECT.Orientation = ORI
1064
				end
1065
			end
1066
			if PLAYSSOUND == false then
1067
				EFFECT:remove()
1068
			else
1069
				repeat Swait() until SOUND.Playing == false
1070
				EFFECT:remove()
1071
			end
1072
		else
1073
			if PLAYSSOUND == false then
1074
				EFFECT:remove()
1075
			else
1076
				repeat Swait() until SOUND.Playing == false
1077
				EFFECT:remove()
1078
			end
1079
		end
1080
	end))
1081
end
1082
1083
function Shatter(Part)
1084
	if Part.Transparency == 0 then
1085
		local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
1086
		Debris:AddItem(SOUNDPART,5)
1087
		CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
1088
		local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
1089
		local SIZESET = SIZE/4
1090
		local XOffset = Part.Size.X*1.5/SIZESET
1091
		local YOffset = Part.Size.Y*1.5/SIZESET
1092
		local ZOffset = Part.Size.Z*1.5/SIZESET
1093
		for x = 1, math.ceil(XOffset) do
1094
			for y = 1, math.ceil(YOffset) do
1095
				for z = 1, math.ceil(ZOffset) do
1096
					local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
1097
					SHARD.CanCollide = true
1098
					SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
1099
					SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
1100
					Debris:AddItem(SHARD,MRANDOM(10,25)/3)
1101
				end
1102
			end
1103
		end
1104
	end
1105
	Part:remove()
1106
end
1107
1108
function MakeForm(PART,TYPE)
1109
	if TYPE == "Cyl" then
1110
		local MSH = IT("CylinderMesh",PART)
1111
	elseif TYPE == "Ball" then
1112
		local MSH = IT("SpecialMesh",PART)
1113
		MSH.MeshType = "Sphere"
1114
	elseif TYPE == "Wedge" then
1115
		local MSH = IT("SpecialMesh",PART)
1116
		MSH.MeshType = "Wedge"
1117
	end
1118
end
1119
1120
Debris = game:GetService("Debris")
1121
1122
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1123
	local DIRECTION = CF(StartPos,EndPos).lookVector
1124
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1125
end
1126
1127
function turnto(position)
1128
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1129
end
1130
1131
--//=================================\\
1132
--||	     WEAPON CREATION
1133
--\\=================================//
1134
1135
local Back = CreatePart(3, Character, "Neon", 0, 0, "Gold", "Wing", VT(1,1,0.35),false)
1136
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
1137
1138
local ANGLE = 35
1139
for i = 1, 5 do
1140
	local Wing = CreatePart(3, Character, "Neon", 0, 0, "Gold", "Wing", VT(0.15,2+(i/2),0.15),false)
1141
	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))
1142
	local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Gold", "Wing", VT(0.25,1,0.25),false)
1143
	CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
1144
	ANGLE = ANGLE - 15
1145
	table.insert(LEFTWINGS,WingWeld)
1146
end
1147
ANGLE = 35
1148
for i = 1, 5 do
1149
	local Wing = CreatePart(3, Character, "Neon", 0, 0, "Gold", "Wing", VT(0.15,2+(i/2),0.15),false)
1150
	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))
1151
	local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Gold", "Wing", VT(0.25,1,0.25),false)
1152
	CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
1153
	ANGLE = ANGLE - 15
1154
	table.insert(RIGHTWINGS,WingWeld)
1155
end
1156
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "Eye", VT(0.3,0.3,0.3),false)
1157
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))
1158
local Eye2 = CreatePart(3, Character, "Neon", 0, 0.5, "Gold", "Eye", VT(0.5,0.5,0.29),false)
1159
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))
1160
1161
local Eye3 = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "Eye", VT(0.1,0.1,0.31),false)
1162
local EyeWeld3 = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye3, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(-25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
1163
1164
local SKILLTEXTCOLOR = BRICKC"Gold".Color
1165
local SKILLFONT = "Code"
1166
local SKILLTEXTSIZE = 6
1167
1168
local naeeym2 = Instance.new("BillboardGui",Character)
1169
naeeym2.AlwaysOnTop = true
1170
naeeym2.Size = UDim2.new(5,35,2,15)
1171
naeeym2.StudsOffset = Vector3.new(0,1.2,0)
1172
naeeym2.Adornee = Character.Head
1173
naeeym2.Name = "Name"
1174
naeeym2.PlayerToHideFrom = Player
1175
local tecks2 = Instance.new("TextLabel",naeeym2)
1176
tecks2.BackgroundTransparency = 1
1177
tecks2.TextScaled = true
1178
tecks2.BorderSizePixel = 0
1179
tecks2.Text = "Dragon The Fallen Star"
1180
tecks2.Font = SKILLFONT
1181
tecks2.TextSize = 30
1182
tecks2.TextStrokeTransparency = 0
1183
tecks2.TextColor3 = C3(0,0,0)
1184
tecks2.TextStrokeColor3 = BRICKC"Deep orange".Color
1185
tecks2.Size = UDim2.new(1,0,0.5,0)
1186
tecks2.Parent = naeeym2
1187
1188
for _, c in pairs(Character:GetChildren()) do
1189
	if c.ClassName == "Part" then
1190
		table.insert(BODY,{c,Character})
1191
		for _, q in pairs(c:GetChildren()) do
1192
			if q.ClassName == "Motor6D" or q.ClassName == "Weld" or q.ClassName == "ManualWeld" then
1193
				table.insert(BODY,{q,c})
1194
			end
1195
		end
1196
	end
1197
end
1198
1199
function refit()
1200
	Character.Parent = workspace
1201
	for e = 1, #BODY do
1202
		if BODY[e] ~= nil then
1203
			local STUFF = BODY[e]
1204
			local PART = STUFF[1]
1205
			local PARENT = STUFF[2]
1206
			PART.Parent = PARENT
1207
		end
1208
	end
1209
end
1210
1211
Humanoid.HealthChanged:connect(function()
1212
	Humanoid.Parent = nil
1213
	Humanoid.MaxHealth = "inf"
1214
	Humanoid.Health = "inf"
1215
	refit()
1216
	Humanoid.Parent = Character
1217
end)
1218
1219
Humanoid.Died:connect(function()
1220
	Humanoid.Parent = nil
1221
	Humanoid.MaxHealth = "inf"
1222
	Humanoid.Health = "inf"
1223
	refit()
1224
	Humanoid.Parent = Character
1225
end)
1226
1227
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")
1228
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")
1229
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")
1230
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")
1231
1232
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Star Burst!", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
1233
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Star Light Stream", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
1234
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Star Warp", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
1235
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Star Rage", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
1236
1237
--//=================================\\
1238
--||			DAMAGING
1239
--\\=================================//
1240
1241
function killnearest(position,range,EFFECT)
1242
	for i,v in ipairs(workspace:GetChildren()) do
1243
	local body = v:GetChildren()
1244
		for part = 1, #body do
1245
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1246
				local SIZE = body[part].Size.Magnitude
1247
				if(body[part].Position - position).Magnitude < range + SIZE/2 then
1248
					if v.ClassName == "Model" then
1249
						if v:FindFirstChildOfClass("Humanoid") ~= nil then
1250
							if v:FindFirstChildOfClass("Humanoid").Health > 0 then
1251
								v:BreakJoints()
1252
								if EFFECT == "Glitch" then
1253
									coroutine.resume(coroutine.create(function()
1254
										local ORIGINPOS = body[part].CFrame
1255
										local SIZE = body[part].Size
1256
										for i = 1, 100 do
1257
											Swait()
1258
											local PART = body[part]
1259
											PART.Anchored = true
1260
											PART.Size = SIZE*MRANDOM(5,15)/10
1261
											PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15)
1262
										end
1263
										body[part]:remove()
1264
									end))
1265
								elseif EFFECT == "Shatter" then
1266
									for _, c in pairs(v:GetChildren()) do
1267
										if c.ClassName == "Part" or c.ClassName == "MeshPart" then
1268
											Shatter(c)
1269
										end
1270
									end
1271
								end
1272
							end
1273
						end
1274
					end
1275
				end
1276
			end
1277
		end
1278
	end
1279
end
1280
1281
--//=================================\\
1282
--||	ATTACK FUNCTIONS AND STUFF
1283
--\\=================================//
1284
1285
function CyberOutburst()
1286
	if HITFLOOR ~= nil then
1287
		ATTACK = true
1288
		Rooted = true
1289
		for i=0, 2, 0.1 / Animation_Speed do
1290
			Swait()
1291
			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})
1292
			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)
1293
			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)
1294
			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)
1295
			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)
1296
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1297
			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)
1298
		end
1299
		for i=0, 2, 0.1 / Animation_Speed do
1300
			Swait()
1301
			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)
1302
			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)
1303
			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)
1304
			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)
1305
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1306
			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)
1307
		end
1308
		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})
1309
		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})
1310
		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})
1311
		for i=0, 0.4, 0.1 / Animation_Speed do
1312
			Swait()
1313
			killnearest(Torso.Position,45,"Glitch")
1314
			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})
1315
			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})
1316
			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)
1317
			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)
1318
			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)
1319
			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)
1320
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(20.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1321
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(20.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1322
		end
1323
		ATTACK = false
1324
		Rooted = false
1325
	end
1326
end
1327
1328
function Technobeam()
1329
	ATTACK = true
1330
	Rooted = false
1331
	local GYRO = IT("BodyGyro",RootPart)
1332
	GYRO.D = 100
1333
	GYRO.P = 2000
1334
	GYRO.MaxTorque = VT(0,4000000,0)
1335
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1336
	CreateSound("93724183", RightArm, 5, 1, false)
1337
	for i=1, 35 do
1338
		Swait()
1339
		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})
1340
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1341
		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)
1342
		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)
1343
		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)
1344
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1345
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1346
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1347
	end
1348
	local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "Lazer", VT(0,0,0))
1349
	local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
1350
	local TOCH = BEAM.Touched:Connect(function(hit)
1351
		if hit.Anchored == false and hit.Parent ~= Head and  hit.Parent ~= Character and hit.Parent ~= Effects then
1352
			Shatter(hit)
1353
		end
1354
	end)
1355
	local I = 0
1356
	repeat
1357
		Swait()
1358
		I = I + 1
1359
		if I <= 10 then
1360
			BEAM.Transparency = BEAM.Transparency - 0.1
1361
		end
1362
		local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
1363
		local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
1364
		local DISTANCE = (STARTPOS - ENDPOS).Magnitude
1365
		BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
1366
		BEAM.Size = VT(2,2,DISTANCE)
1367
		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})
1368
		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})
1369
		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})
1370
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1371
		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)
1372
		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)
1373
		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)
1374
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1375
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1376
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1377
		if ENDHIT ~= nil then
1378
			if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
1379
				Shatter(ENDHIT)
1380
			end
1381
		end
1382
	until LOOP.Playing == false
1383
	GYRO:remove()
1384
	BEAM:remove()
1385
	ATTACK = false
1386
	Rooted = false
1387
end
1388
1389
function Technowarp()
1390
	local FRAME = RootPart.Position
1391
	for i = 1, 6 do
1392
		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"Deep orange".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})	
1393
	end
1394
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0),VT(FRAME.X,RootPart.Position.Y,FRAME.Z))
1395
	for i = 1, 6 do
1396
		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"Gold".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})	
1397
	end
1398
end
1399
1400
function CyberSmash()
1401
	ATTACK = true
1402
	Rooted = false
1403
	local GYRO = IT("BodyGyro",RootPart)
1404
	GYRO.D = 100
1405
	GYRO.P = 2000
1406
	GYRO.MaxTorque = VT(0,4000000,0)
1407
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1408
	local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Deep orange", "Block", VT(25,25,25))
1409
	SMASH.CanCollide = true
1410
	SMASH.Color = C3(0,0,0)
1411
	local EF = Instance.new("SelectionBox",SMASH)
1412
	EF.Adornee = SMASH
1413
	EF.Color = BrickColor.new("Gold")
1414
	EF.LineThickness = 0.2
1415
	EF.Transparency = 1
1416
	coroutine.resume(coroutine.create(function()
1417
		for i = 1, 20 do
1418
			Swait()
1419
			SMASH.Transparency = SMASH.Transparency - 0.05
1420
			EF.Transparency = SMASH.Transparency
1421
		end
1422
	end))
1423
	repeat
1424
		SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
1425
		Swait()
1426
		GYRO.cframe = CF(RootPart.Position,SMASH.Position)
1427
		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)
1428
		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)
1429
		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)
1430
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1431
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1432
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1433
	until HOLD == true and SMASH.Transparency < 0.99
1434
	for i = 1, 25 do
1435
		Swait()
1436
		SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
1437
		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)
1438
		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)
1439
		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)
1440
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1441
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1442
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1443
	end
1444
	local TOCH = SMASH.Touched:Connect(function(hit)
1445
		if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
1446
			Shatter(hit)
1447
		end
1448
	end)
1449
	local n0 = nil
1450
	local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
1451
	if HITFLOOR ~= nil then
1452
		if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
1453
			if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1454
				if HITFLOOR.Parent.ClassName == "Model" then
1455
					HITFLOOR.Parent:BreakJoints()
1456
				elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
1457
					HITFLOOR.Parent.Parent:BreakJoints()
1458
				end
1459
			end
1460
			local POS = HITPOS
1461
			n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
1462
		end
1463
	end
1464
	killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter")
1465
	SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
1466
	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})
1467
	for i = 1, 25 do
1468
		Swait()
1469
		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)
1470
		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)
1471
		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)
1472
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1473
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1474
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1475
	end
1476
	coroutine.resume(coroutine.create(function()
1477
		wait(0.2)
1478
		TOCH:disconnect()
1479
		wait(1.8)
1480
		for i = 1, 100 do
1481
			Swait()
1482
			SMASH.Transparency = i/100
1483
		end
1484
		for i = 1, 10 do
1485
			Swait()
1486
			EF.Transparency = EF.Transparency + 0.1
1487
		end
1488
		SMASH:remove()
1489
	end))
1490
	GYRO:remove()
1491
	ATTACK = false
1492
	Rooted = false
1493
end
1494
1495
--//=================================\\
1496
--||	  ASSIGN THINGS TO KEYS
1497
--\\=================================//
1498
1499
function MouseDown(Mouse)
1500
	HOLD = true
1501
	if ATTACK == false then
1502
	end
1503
end
1504
1505
function MouseUp(Mouse)
1506
HOLD = false
1507
end
1508
1509
function KeyDown(Key)
1510
	if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
1511
		KEYHOLD = true
1512
		if Key == "z" and ATTACK == false then
1513
			CyberOutburst()
1514
		end
1515
	
1516
		if Key == "b" and ATTACK == false then
1517
			Technobeam()
1518
		end
1519
	
1520
		if Key == "c" and ATTACK == false then
1521
			Technowarp()
1522
		end
1523
	
1524
		if Key == "v" and ATTACK == false then
1525
			CyberSmash()
1526
		end
1527
1528
		if Key == "t" then
1529
			local TAUNT = CreateSound("132392118", Head, 10, 0.8)
1530
			TAUNT.TimePosition = 1.1
1531
		end
1532
	end
1533
end
1534
1535
function KeyUp(Key)
1536
	if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
1537
		KEYHOLD = false
1538
	end
1539
end
1540
1541
	Mouse.Button1Down:connect(function(NEWKEY)
1542
		MouseDown(NEWKEY)
1543
	end)
1544
	Mouse.Button1Up:connect(function(NEWKEY)
1545
		MouseUp(NEWKEY)
1546
	end)
1547
	Mouse.KeyDown:connect(function(NEWKEY)
1548
		KeyDown(NEWKEY)
1549
	end)
1550
	Mouse.KeyUp:connect(function(NEWKEY)
1551
		KeyUp(NEWKEY)
1552
	end)
1553
1554
--//=================================\\
1555
--\\=================================//
1556
1557
1558
function unanchor()
1559
	if UNANCHOR == true then
1560
		g = Character:GetChildren()
1561
		for i = 1, #g do
1562
			if g[i].ClassName == "Part" then
1563
				g[i].Anchored = false
1564
			end
1565
		end
1566
	end
1567
end
1568
1569
1570
--//=================================\\
1571
--||	WRAP THE WHOLE SCRIPT UP
1572
--\\=================================//
1573
1574
Humanoid.Changed:connect(function(Jump)
1575
	if Jump == "Jump" and (Disable_Jump == true) then
1576
		Humanoid.Jump = false
1577
	end
1578
end)
1579
1580
Humanoid.HipHeight = 2
1581
1582
while true do
1583
	Swait()
1584
	refit()
1585
	Character.Parent = workspace
1586
	Humanoid.Parent = Character
1587
	ANIMATE.Parent = nil
1588
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1589
	IDLEANIMATION:Play()
1590
	SINE = SINE + CHANGE
1591
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1592
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1593
	HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25, Character)
1594
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1595
	EyeWeld3.C1 = Clerp(EyeWeld3.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-SINE*2)), 1 / Animation_Speed)
1596
	EyeWeld2.C1 = Clerp(EyeWeld2.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-SINE*2)), 1 / Animation_Speed)
1597
	EyeWeld.C1 = Clerp(EyeWeld.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(SINE*2)), 1 / Animation_Speed)
1598
	for LW = 1, #LEFTWINGS do
1599
		if LEFTWINGS[LW] ~= nil then
1600
			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)
1601
		end
1602
	end
1603
	for RW = 1, #RIGHTWINGS do
1604
		if RIGHTWINGS[RW] ~= nil then
1605
			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)
1606
		end
1607
	end
1608
	if ATTACK == false then
1609
		if TORSOVELOCITY < 1 then
1610
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1611
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1612
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1613
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1614
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1615
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(25)), 0.15 / Animation_Speed)
1616
		elseif TORSOVELOCITY > 1 then
1617
			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)
1618
			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)
1619
			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)
1620
			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)
1621
			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)
1622
			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)
1623
		end
1624
	end
1625
	for _, c in pairs(Character:GetChildren()) do
1626
		if c.ClassName == "Part" and c.Name ~= "Eye" then
1627
			c.Material = "Neon"
1628
			if c:FindFirstChildOfClass("ParticleEmitter") then
1629
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1630
			end
1631
			if c ~= Head and c ~= RootPart and c:FindFirstChild("BoxEffect") == nil then
1632
				local EF = Instance.new("SelectionBox",c)
1633
				EF.Adornee = c
1634
				EF.Color = BrickColor.new("Gold")
1635
				EF.LineThickness = 0.01
1636
				EF.Transparency = 0
1637
				EF.Name = "BoxEffect"
1638
			end
1639
			c.Color = C3(0,0,0)
1640
			if c == Head then
1641
				--[[if c:FindFirstChild("Dominus") == nil then
1642
					local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
1643
					M.Name = "Dominus"
1644
				end]]--
1645
				if c:FindFirstChild("face") then
1646
					c.face:remove()
1647
				end
1648
			end
1649
                elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1650
		        end
1651
	        end
1652
	if HITFLOOR ~= nil and MRANDOM(1,6) == 1 then
1653
		local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(MRANDOM(5,15),0,0).p
1654
		local BOXFLOOR,BOXPOS = Raycast(POSITION+VT(0,1,0), (CF(POSITION, POSITION + VT(0, -1, 0))).lookVector, 5, Character)
1655
		if BOXFLOOR ~= nil then
1656
			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"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1657
		end
1658
	end
1659
	unanchor()
1660
	Humanoid.MaxHealth = "inf"
1661
	Humanoid.Health = "inf"
1662
	if Rooted == false then
1663
		Disable_Jump = false
1664
		Humanoid.WalkSpeed = Speed
1665
	elseif Rooted == true then
1666
		Disable_Jump = true
1667
		Humanoid.WalkSpeed = 0
1668
	end
1669
	for _, c in pairs(workspace:GetChildren()) do
1670
		if c.ClassName == "Model" and c:FindFirstChild("Humanoid") and c ~= Character then
1671
		end
1672
	end
1673
	script.Parent = WEAPONGUI
1674
	Humanoid.Name = "Monarch"
1675
	sick.Parent = Effects
1676
	sick.Pitch = 1
1677
	sick.Playing = true
1678
	for _, q in pairs(Head:GetChildren()) do
1679
		if q.ClassName == "Sound" and q.Name ~= "Audio" then
1680
			q:remove()
1681
		end
1682
	end
1683
	Humanoid.DisplayDistanceType = "None"
1684
end
1685
1686
--//=================================\\
1687
--\\=================================//
1688
1689
1690
1691
1692
1693
--//====================================================\\--
1694
--||			  		 END OF SCRIPT
1695
--\\====================================================//--