View difference between Paste ID: Hqx4eTdR and vequN6mC
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by iPxter
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
10-
Player = game:GetService("Players").LocalPlayer
10+
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16-
Mouse = Player:GetMouse()
16+
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
print("Pretty old collab but ok i'll leak this myself")
88
print("also F##K OFF LOGGER!!")
89
90
--//====================================================\\--
91
--||			 CREATED BY KILLERZTH_1596/WANTH092
92
--\\====================================================//--
93
94
wait(0.2)
95
96
Player = owner
97
PlayerGui = Player.PlayerGui
98
Cam = workspace.CurrentCamera
99
Backpack = Player.Backpack
100
Character = Player.Character
101
Humanoid = Character.Humanoid
102
RootPart = Character["HumanoidRootPart"]
103
Torso = Character["Torso"]
104
Head = Character["Head"]
105
RightArm = Character["Right Arm"]
106
LeftArm = Character["Left Arm"]
107
RightLeg = Character["Right Leg"]
108
LeftLeg = Character["Left Leg"]
109
RootJoint = RootPart["RootJoint"]
110
Neck = Torso["Neck"]
111
RightShoulder = Torso["Right Shoulder"]
112
LeftShoulder = Torso["Left Shoulder"]
113
RightHip = Torso["Right Hip"]
114
LeftHip = Torso["Left Hip"]
115
Character.Archivable = true
116
Player:ClearCharacterAppearance()
117
118
IT = Instance.new
119
CF = CFrame.new
120
VT = Vector3.new
121
RAD = math.rad
122
C3 = Color3.new
123
UD2 = UDim2.new
124
BRICKC = BrickColor.new
125
ANGLES = CFrame.Angles
126
EULER = CFrame.fromEulerAnglesXYZ
127
COS = math.cos
128
ACOS = math.acos
129
SIN = math.sin
130
ASIN = math.asin
131
ABS = math.abs
132
MRANDOM = math.random
133
FLOOR = math.floor
134
135
--//=================================\\
136
--|| 	      USEFUL VALUES
137
--\\=================================//
138
139
Animation_Speed = 3
140
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
141
local Speed = 20
142
local SIZE = 1.4
143
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
144
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
145
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
146
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
147
local DAMAGEMULTIPLIER = 1
148
local ANIM = "Idle"
149
local ATTACK = false
150
local EQUIPPED = false
151
local HOLD = false
152
local COMBO = 1
153
local Rooted = false
154
local SINE = 0
155
local KEYHOLD = false
156
local CHANGE = 2 / Animation_Speed
157
local WALKINGANIM = false
158
local VALUE1 = false
159
local VALUE2 = false
160
local ROBLOXIDLEANIMATION = IT("Animation")
161
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
162
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
163
local ATANIM = IT("Animation")
164
ATANIM.Name = "Attack Animation"
165
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
166
--ROBLOXIDLEANIMATION.Parent = Humanoid
167
local WEAPONGUI = IT("ScreenGui", PlayerGui)
168
WEAPONGUI.Name = "Weapon GUI"
169
local Weapon = IT("Model")
170
Weapon.Name = "Adds"
171
local Clock = IT("Model")
172
Clock.Name = "Adds"
173
local Clock2 = IT("Model")
174
Clock.Name = "Adds"
175
local Effects = IT("Folder", Weapon)
176
Effects.Name = "Effects"
177
local ANIMATOR = Humanoid.Animator
178
local ANIMATE = Character.Animate
179
local UNANCHOR = true
180
TRANSFORMED = false
181
local CLOCKLOOP = 0
182
local sick = Instance.new("Sound",Torso)
183
local SONG = 1873219898
184
local CLOCKTARGET = nil
185
local CLOCKSPEED = 0
186
local CLOCKSPEED2 = 0
187
script.Parent = WEAPONGUI
188
local CLONE = Character:Clone()
189
CLONE.Parent = nil
190
Character.Archivable = false
191
local GHOSTS = {}
192
ANIMATE:remove()
193
Character.Archivable = true
194
script.Parent = WEAPONGUI
195
local GHOSTBASE = Character:Clone()
196
GHOSTBASE.Parent = nil
197
GHOSTBASE.Name = "Infected"
198
for _, c in pairs(GHOSTBASE:GetChildren()) do
199
	if c.ClassName == "Part" and c.Transparency < 1 then
200
		c.Color = C3(0,0,0)
201
		if c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
202
			c:remove()
203
		end
204
	end
205
end
206
local HeadC = C3(0,0,0)
207
local BodyC = C3(0,0,0)
208
local HITFLOOR = nil
209
local INTRO = true
210
local INSTANT = false
211
local MODE = "Superior"
212
	sick.SoundId = "rbxassetid://"..SONG
213
	sick.Looped = true
214
	sick.Pitch = 0.98
215
	sick.Volume = 5
216
	sick.Parent = Torso
217
	sick:Play()
218
    sick:Resume()
219
	--sick.Playing = false
220
--//=================================\\
221
--\\=================================//
222
223
224
--//=================================\\
225
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
226
--\\=================================//
227
228
ArtificialHB = Instance.new("BindableEvent", script)
229
ArtificialHB.Name = "ArtificialHB"
230
231
script:WaitForChild("ArtificialHB")
232
233
frame = Frame_Speed
234
tf = 0
235
allowframeloss = false
236
tossremainder = false
237
lastframe = tick()
238
script.ArtificialHB:Fire()
239
240
game:GetService("RunService").Heartbeat:connect(function(s, p)
241
	tf = tf + s
242
	if tf >= frame then
243
		if allowframeloss then
244
			script.ArtificialHB:Fire()
245
			lastframe = tick()
246
		else
247
			for i = 1, math.floor(tf / frame) do
248
				script.ArtificialHB:Fire()
249
			end
250
		lastframe = tick()
251
		end
252
		if tossremainder then
253
			tf = 0
254
		else
255
			tf = tf - frame * math.floor(tf / frame)
256
		end
257
	end
258
end)
259
260
--//=================================\\
261
--\\=================================//
262
263
--//=================================\\
264
--//       MAKHAIL07 STUFF
265
--\\=================================//
266
267
local plr = game:service'Players'.LocalPlayer
268
local char = plr.Character
269
local hum = char.Humanoid
270
local mouse = plr:GetMouse()
271
cam = workspace.CurrentCamera
272
Rad = math.rad
273
Mrandom = math.random
274
275
--//=================================\\
276
--||	     RAGDOLL STUFF
277
--\\=================================//
278
279
function recurse(root,callback,i)
280
	i= i or 0
281
	for _,v in pairs(root:GetChildren()) do
282
		i = i + 1
283
		callback(i,v)
284
		
285
		if #v:GetChildren() > 0 then
286
			i = recurse(v,callback,i)
287
		end
288
	end
289
	
290
	return i
291
end
292
293
function ragdollJoint(character, part0, part1, attachmentName, className, properties)
294
	attachmentName = attachmentName.."RigAttachment"
295
	local constraint = Instance.new(className.."Constraint")
296
	constraint.Attachment0 = part0:FindFirstChild(attachmentName)
297
	constraint.Attachment1 = part1:FindFirstChild(attachmentName)
298
	constraint.Name = "RagdollConstraint"..part1.Name
299
	
300
	for _,propertyData in next,properties or {} do
301
		constraint[propertyData[1]] = propertyData[2]
302
	end
303
	
304
	constraint.Parent = character
305
end
306
307
function getAttachment0(character, attachmentName)
308
	for _,child in next,character:GetChildren() do
309
		local attachment = child:FindFirstChild(attachmentName)
310
		if attachment then
311
			return attachment
312
		end
313
	end
314
end
315
316
function ArtificialHitbox(Part)
317
	local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
318
	HITBOX.CanCollide = true
319
	HITBOX.CFrame = Part.CFrame
320
	weldBetween(Part,HITBOX)
321
end
322
323
function R15Ragdoll(character,KeepArms)
324
	character:BreakJoints()
325
	coroutine.resume(coroutine.create(function()
326
		recurse(character, function(_,v)
327
			if v:IsA("Attachment") then
328
				v.Axis = Vector3.new(0, 1, 0)
329
				v.SecondaryAxis = Vector3.new(0, 0, 1)
330
				v.Rotation = Vector3.new(0, 0, 0)
331
			end
332
		end)
333
		for _,child in next,character:GetChildren() do
334
			if child:IsA("Accoutrement") then
335
				for _,part in next,child:GetChildren() do
336
					if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
337
						local attachment1 = part:FindFirstChildOfClass("Attachment")
338
						local attachment0 = getAttachment0(character,attachment1.Name)
339
						if attachment0 and attachment1 then
340
							local constraint = Instance.new("HingeConstraint")
341
							constraint.Attachment0 = attachment0
342
							constraint.Attachment1 = attachment1
343
							constraint.LimitsEnabled = true
344
							constraint.UpperAngle = 0
345
							constraint.LowerAngle = 0
346
							constraint.Parent = character
347
						end
348
						ArtificialHitbox(part)
349
					elseif part.Name == "HumanoidRootPart" then
350
						part:remove()
351
					end
352
				end
353
			end
354
		end
355
		
356
		ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
357
			{"LimitsEnabled",true};
358
			{"UpperAngle",5};
359
		})
360
		if character:FindFirstChild("Head") then
361
			ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
362
				{"LimitsEnabled",true};
363
				{"UpperAngle",15};
364
			})
365
		end
366
		
367
		local handProperties = {
368
			{"LimitsEnabled", true};
369
			{"UpperAngle",0};
370
			{"LowerAngle",0};
371
		}
372
		ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
373
		ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
374
		
375
		local shinProperties = {
376
			{"LimitsEnabled", true};
377
			{"UpperAngle", 0};
378
			{"LowerAngle", -75};
379
		}
380
		ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
381
		ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
382
		
383
		local footProperties = {
384
			{"LimitsEnabled", true};
385
			{"UpperAngle", 15};
386
			{"LowerAngle", -45};
387
		}
388
		ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
389
		ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
390
		if KeepArms == true then
391
			ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
392
			ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
393
			ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
394
			ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
395
		end
396
		ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
397
		ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
398
		Debris:AddItem(character,5)
399
	end))
400
end
401
402
function Ragdoll(Character2,CharTorso,KeepArms)
403
	coroutine.resume(coroutine.create(function()
404
		Character2:BreakJoints()
405
		local hum = Character2:findFirstChild("Humanoid")
406
		hum:remove()
407
		local function Scan(ch)
408
			local e
409
			for e = 1,#ch do
410
				Scan(ch[e]:GetChildren())
411
				if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
412
					ch[e]:remove()
413
				end
414
			end
415
		end
416
		local NEWHUM = IT("Humanoid")
417
		NEWHUM.Name = "Corpse"
418
		NEWHUM.Health = 0
419
		NEWHUM.MaxHealth = 0
420
		NEWHUM.PlatformStand = true
421
		NEWHUM.Parent = Character2
422
		NEWHUM.DisplayDistanceType = "None"
423
	
424
		local ch = Character2:GetChildren()
425
		local i
426
		for i = 1,#ch do
427
			if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
428
				ch[i]:remove()
429
			end
430
		end
431
	
432
		local Torso2 = Character2.Torso
433
		local movevector = Vector3.new()
434
	
435
		if Torso2 then
436
			movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
437
			local Head = Character2:FindFirstChild("Head")
438
			if Head then
439
				local Neck = Instance.new("Weld")
440
				Neck.Name = "Neck"
441
				Neck.Part0 = Torso2
442
				Neck.Part1 = Head
443
				Neck.C0 = CFrame.new(0, 1.5, 0)
444
				Neck.C1 = CFrame.new()
445
				Neck.Parent = Torso2
446
	
447
			end
448
			local Limb = Character2:FindFirstChild("Right Arm")
449
			if Limb and KeepArms == true then
450
	
451
				Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
452
				local Joint = Instance.new("Glue")
453
				Joint.Name = "RightShoulder"
454
				Joint.Part0 = Torso2
455
				Joint.Part1 = Limb
456
				Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
457
				Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
458
				Joint.Parent = Torso2
459
	
460
				local B = Instance.new("Part")
461
				B.TopSurface = 0
462
				B.BottomSurface = 0
463
				B.formFactor = "Symmetric"
464
				B.Size = Vector3.new(1, 1, 1)
465
				B.Transparency = 1
466
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
467
				B.Parent = Character2
468
				local W = Instance.new("Weld")
469
				W.Part0 = Limb
470
				W.Part1 = B
471
				W.C0 = CFrame.new(0, -0.5, 0)
472
				W.Parent = Limb
473
	
474
			end
475
			local Limb = Character2:FindFirstChild("Left Arm")
476
			if Limb and KeepArms == true then
477
	
478
				Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
479
				local Joint = Instance.new("Glue")
480
				Joint.Name = "LeftShoulder"
481
				Joint.Part0 = Torso2
482
				Joint.Part1 = Limb
483
				Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
484
				Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
485
				Joint.Parent = Torso2
486
	
487
				local B = Instance.new("Part")
488
				B.TopSurface = 0
489
				B.BottomSurface = 0
490
				B.formFactor = "Symmetric"
491
				B.Size = Vector3.new(1, 1, 1)
492
				B.Transparency = 1
493
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
494
				B.Parent = Character2
495
				local W = Instance.new("Weld")
496
				W.Part0 = Limb
497
				W.Part1 = B
498
				W.C0 = CFrame.new(0, -0.5, 0)
499
				W.Parent = Limb
500
	
501
			end
502
			local Limb = Character2:FindFirstChild("Right Leg")
503
			if Limb then
504
	
505
				Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
506
				local Joint = Instance.new("Glue")
507
				Joint.Name = "RightHip"
508
				Joint.Part0 = Torso2
509
				Joint.Part1 = Limb
510
				Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
511
				Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
512
				Joint.Parent = Torso2
513
	
514
				local B = Instance.new("Part")
515
				B.TopSurface = 0
516
				B.BottomSurface = 0
517
				B.formFactor = "Symmetric"
518
				B.Size = Vector3.new(1, 1, 1)
519
				B.Transparency = 1
520
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
521
				B.Parent = Character2
522
				local W = Instance.new("Weld")
523
				W.Part0 = Limb
524
				W.Part1 = B
525
				W.C0 = CFrame.new(0, -0.5, 0)
526
				W.Parent = Limb
527
	
528
			end
529
			local Limb = Character2:FindFirstChild("Left Leg")
530
			if Limb then
531
	
532
				Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
533
				local Joint = Instance.new("Glue")
534
				Joint.Name = "LeftHip"
535
				Joint.Part0 = Torso2
536
				Joint.Part1 = Limb
537
				Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
538
				Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
539
				Joint.Parent = Torso2
540
	
541
				local B = Instance.new("Part")
542
				B.TopSurface = 0
543
				B.BottomSurface = 0
544
				B.formFactor = "Symmetric"
545
				B.Size = Vector3.new(1, 1, 1)
546
				B.Transparency = 1
547
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
548
				B.Parent = Character2
549
				local W = Instance.new("Weld")
550
				W.Part0 = Limb
551
				W.Part1 = B
552
				W.C0 = CFrame.new(0, -0.5, 0)
553
				W.Parent = Limb
554
	
555
			end
556
			--[
557
			local Bar = Instance.new("Part")
558
			Bar.TopSurface = 0
559
			Bar.BottomSurface = 0
560
			Bar.formFactor = "Symmetric"
561
			Bar.Size = Vector3.new(1, 1, 1)
562
			Bar.Transparency = 1
563
			Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
564
			Bar.Parent = Character2
565
			local Weld = Instance.new("Weld")
566
			Weld.Part0 = Torso2
567
			Weld.Part1 = Bar
568
			Weld.C0 = CFrame.new(0, 0.5, 0)
569
			Weld.Parent = Torso2
570
			--]]
571
		end
572
		Character2.Parent = workspace
573
		Debris:AddItem(Character2,5)
574
	
575
		return Character2,Torso2
576
	end))
577
end
578
579
--//=================================\\
580
--|| 	      SOME FUNCTIONS
581
--\\=================================//
582
583
function MagicSphere2(size,waitt,cframe,color)
584
	local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
585
	local mesh = IT("SpecialMesh",wave)
586
	mesh.MeshType = "Sphere"
587
	mesh.Scale = VT(size,size,size)
588
	mesh.Offset = VT(0,0,0)
589
	wave.CFrame = cframe
590
	coroutine.resume(coroutine.create(function(PART)
591
		for i = 1, waitt do
592
			Swait()
593
			mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
594
			wave.Transparency = wave.Transparency - (1/waitt)
595
		end
596
		wave:remove()
597
	end))
598
end
599
600
function MagicSphere(size,waitt,cframe,color)
601
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
602
	local mesh = IT("SpecialMesh",wave)
603
	mesh.MeshType = "Sphere"
604
	mesh.Scale = VT(size,size,size)
605
	mesh.Offset = VT(0,0,0)
606
	wave.CFrame = cframe
607
	coroutine.resume(coroutine.create(function(PART)
608
		for i = 1, waitt do
609
			Swait()
610
			mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
611
			wave.Transparency = wave.Transparency + (1/waitt)
612
			if wave.Transparency > 0.99 then
613
				wave:remove()
614
			end
615
		end
616
	end))
617
end
618
619
function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
620
	if FLOOR ~= nil then
621
		for i = 1, AMOUNT do
622
			local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
623
			DEBREE.Material = FLOOR.Material
624
			DEBREE.Color = FLOOR.Color
625
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
626
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
627
			coroutine.resume(coroutine.create(function()
628
				Swait(15)
629
				DEBREE.Parent = workspace
630
				DEBREE.CanCollide = true
631
				Debris:AddItem(DEBREE,SWAIT)
632
			end))
633
		end
634
	end
635
end
636
637
function CameraEnshaking(Length, Intensity)
638
	coroutine.resume(coroutine.create(function()
639
		local intensity = 1 * Intensity
640
		local rotM = 0.01 * Intensity
641
		for i = 0, Length, 0.1 do
642
			Swait()
643
			intensity = intensity - 0.05 * Intensity / Length
644
			rotM = rotM - 5.0E-4 * Intensity / Length
645
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
646
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
647
		end
648
		hum.CameraOffset = Vector3.new(0, 0, 0)
649
	end))
650
end
651
652
local DECAL = IT("Decal")
653
function MakeRing()
654
	local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
655
	local MSH = IT("BlockMesh", RING)
656
	local TOP = DECAL:Clone()
657
	local BOTTOM = DECAL:Clone()
658
	TOP.Parent = RING
659
	BOTTOM.Parent = RING
660
	TOP.Face = "Top"
661
	BOTTOM.Face = "Bottom"
662
	TOP.Texture = "http://www.roblox.com/asset/?id=273474310"
663
	BOTTOM.Texture = "http://www.roblox.com/asset/?id=273474310"
664
	local function REMOVE()
665
		coroutine.resume(coroutine.create(function()
666
			local SIZE = MSH.Scale.X
667
			for i = 1, 35 do
668
				Swait()
669
				MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
670
				TOP.Transparency = TOP.Transparency + 0.02857142857142857
671
				BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
672
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
673
			end
674
			RING:remove()
675
		end))
676
	end
677
	return RING, MSH, REMOVE
678
end
679
680
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
681
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
682
end
683
684
function PositiveAngle(NUMBER)
685
	if NUMBER >= 0 then
686
		NUMBER = 0
687
	end
688
	return NUMBER
689
end
690
691
function NegativeAngle(NUMBER)
692
	if NUMBER <= 0 then
693
		NUMBER = 0
694
	end
695
	return NUMBER
696
end
697
698
function Swait(NUMBER)
699
	if NUMBER == 0 or NUMBER == nil then
700
		ArtificialHB.Event:wait()
701
	else
702
		for i = 1, NUMBER do
703
			ArtificialHB.Event:wait()
704
		end
705
	end
706
end
707
708
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
709
	local NEWMESH = IT(MESH)
710
	if MESH == "SpecialMesh" then
711
		NEWMESH.MeshType = MESHTYPE
712
		if MESHID ~= "nil" and MESHID ~= "" then
713
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
714
		end
715
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
716
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
717
		end
718
	end
719
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
720
	NEWMESH.Scale = SCALE
721
	NEWMESH.Parent = PARENT
722
	return NEWMESH
723
end
724
725
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
726
	local NEWPART = IT("Part")
727
	NEWPART.formFactor = FORMFACTOR
728
	NEWPART.Reflectance = REFLECTANCE
729
	NEWPART.Transparency = TRANSPARENCY
730
	NEWPART.CanCollide = false
731
	NEWPART.Locked = true
732
	NEWPART.Anchored = true
733
	if ANCHOR == false then
734
		NEWPART.Anchored = false
735
	end
736
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
737
	NEWPART.Name = NAME
738
	NEWPART.Size = SIZE
739
	NEWPART.Position = Torso.Position
740
	NEWPART.Material = MATERIAL
741
	NEWPART:BreakJoints()
742
	NEWPART.Parent = PARENT
743
	return NEWPART
744
end
745
746
	local function weldBetween(a, b)
747
	    local weldd = Instance.new("ManualWeld")
748
	    weldd.Part0 = a
749
	    weldd.Part1 = b
750
	    weldd.C0 = CFrame.new()
751
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
752
	    weldd.Parent = a
753
	    return weldd
754
	end
755
756
757
function QuaternionFromCFrame(cf)
758
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
759
	local trace = m00 + m11 + m22
760
	if trace > 0 then 
761
		local s = math.sqrt(1 + trace)
762
		local recip = 0.5 / s
763
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
764
	else
765
		local i = 0
766
		if m11 > m00 then
767
			i = 1
768
		end
769
		if m22 > (i == 0 and m00 or m11) then
770
			i = 2
771
		end
772
		if i == 0 then
773
			local s = math.sqrt(m00 - m11 - m22 + 1)
774
			local recip = 0.5 / s
775
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
776
		elseif i == 1 then
777
			local s = math.sqrt(m11 - m22 - m00 + 1)
778
			local recip = 0.5 / s
779
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
780
		elseif i == 2 then
781
			local s = math.sqrt(m22 - m00 - m11 + 1)
782
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
783
		end
784
	end
785
end
786
 
787
function QuaternionToCFrame(px, py, pz, x, y, z, w)
788
	local xs, ys, zs = x + x, y + y, z + z
789
	local wx, wy, wz = w * xs, w * ys, w * zs
790
	local xx = x * xs
791
	local xy = x * ys
792
	local xz = x * zs
793
	local yy = y * ys
794
	local yz = y * zs
795
	local zz = z * zs
796
	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))
797
end
798
 
799
function QuaternionSlerp(a, b, t)
800
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
801
	local startInterp, finishInterp;
802
	if cosTheta >= 0.0001 then
803
		if (1 - cosTheta) > 0.0001 then
804
			local theta = ACOS(cosTheta)
805
			local invSinTheta = 1 / SIN(theta)
806
			startInterp = SIN((1 - t) * theta) * invSinTheta
807
			finishInterp = SIN(t * theta) * invSinTheta
808
		else
809
			startInterp = 1 - t
810
			finishInterp = t
811
		end
812
	else
813
		if (1 + cosTheta) > 0.0001 then
814
			local theta = ACOS(-cosTheta)
815
			local invSinTheta = 1 / SIN(theta)
816
			startInterp = SIN((t - 1) * theta) * invSinTheta
817
			finishInterp = SIN(t * theta) * invSinTheta
818
		else
819
			startInterp = t - 1
820
			finishInterp = t
821
		end
822
	end
823
	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
824
end
825
826
function Clerp(a, b, t)
827
	local qa = {QuaternionFromCFrame(a)}
828
	local qb = {QuaternionFromCFrame(b)}
829
	local ax, ay, az = a.x, a.y, a.z
830
	local bx, by, bz = b.x, b.y, b.z
831
	local _t = 1 - t
832
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
833
end
834
835
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
836
	local frame = IT("Frame")
837
	frame.BackgroundTransparency = TRANSPARENCY
838
	frame.BorderSizePixel = BORDERSIZEPIXEL
839
	frame.Position = POSITION
840
	frame.Size = SIZE
841
	frame.BackgroundColor3 = COLOR
842
	frame.BorderColor3 = BORDERCOLOR
843
	frame.Name = NAME
844
	frame.Parent = PARENT
845
	return frame
846
end
847
848
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
849
	local label = IT("TextLabel")
850
	label.BackgroundTransparency = 1
851
	label.Size = UD2(1, 0, 1, 0)
852
	label.Position = UD2(0, 0, 0, 0)
853
	label.TextColor3 = TEXTCOLOR
854
	label.TextStrokeTransparency = STROKETRANSPARENCY
855
	label.TextTransparency = TRANSPARENCY
856
	label.FontSize = TEXTFONTSIZE
857
	label.Font = TEXTFONT
858
	label.BorderSizePixel = BORDERSIZEPIXEL
859
	label.TextStrokeColor3 = C3(1,1,1)
860
	label.TextScaled = false
861
	label.Text = TEXT
862
	label.Name = NAME
863
	label.Parent = PARENT
864
	return label
865
end
866
867
function NoOutlines(PART)
868
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
869
end
870
871
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
872
	local NEWWELD = IT(TYPE)
873
	NEWWELD.Part0 = PART0
874
	NEWWELD.Part1 = PART1
875
	NEWWELD.C0 = C0
876
	NEWWELD.C1 = C1
877
	NEWWELD.Parent = PARENT
878
	return NEWWELD
879
end
880
881
local S = IT("Sound")
882
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
883
	local NEWSOUND = nil
884
	coroutine.resume(coroutine.create(function()
885
		NEWSOUND = S:Clone()
886
		NEWSOUND.Parent = PARENT
887
		NEWSOUND.Volume = VOLUME
888
		NEWSOUND.Pitch = PITCH
889
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
890
		NEWSOUND:play()
891
		if DOESLOOP == true then
892
			NEWSOUND.Looped = true
893
		else
894
			repeat wait(1) until NEWSOUND.Playing == false
895
			NEWSOUND:remove()
896
		end
897
	end))
898
	return NEWSOUND
899
end
900
901
function CFrameFromTopBack(at, top, back)
902
	local right = top:Cross(back)
903
	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)
904
end
905
906
--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})
907
function WACKYEFFECT(Table)
908
	local TYPE = (Table.EffectType or "Sphere")
909
	local SIZE = (Table.Size or VT(1,1,1))
910
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
911
	local TRANSPARENCY = (Table.Transparency or 0)
912
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
913
	local CFRAME = (Table.CFrame or Torso.CFrame)
914
	local MOVEDIRECTION = (Table.MoveToPos or nil)
915
	local ROTATION1 = (Table.RotationX or 0)
916
	local ROTATION2 = (Table.RotationY or 0)
917
	local ROTATION3 = (Table.RotationZ or 0)
918
	local MATERIAL = (Table.Material or "Neon")
919
	local COLOR = (Table.Color or C3(1,1,1))
920
	local TIME = (Table.Time or 45)
921
	local SOUNDID = (Table.SoundID or nil)
922
	local SOUNDPITCH = (Table.SoundPitch or nil)
923
	local SOUNDVOLUME = (Table.SoundVolume or nil)
924
	coroutine.resume(coroutine.create(function()
925
		local PLAYSSOUND = false
926
		local SOUND = nil
927
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
928
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
929
			PLAYSSOUND = true
930
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
931
		end
932
		EFFECT.Color = COLOR
933
		local MSH = nil
934
		if TYPE == "Sphere" then
935
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
936
		elseif TYPE == "Block" then
937
			MSH = IT("BlockMesh",EFFECT)
938
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
939
		elseif TYPE == "Wave" then
940
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
941
		elseif TYPE == "Ring" then
942
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
943
		elseif TYPE == "Slash" then
944
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
945
		elseif TYPE == "Round Slash" then
946
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
947
		elseif TYPE == "Swirl" then
948
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
949
		elseif TYPE == "Skull" then
950
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
951
		elseif TYPE == "Crystal" then
952
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
953
		end
954
		if MSH ~= nil then
955
			local MOVESPEED = nil
956
			if MOVEDIRECTION ~= nil then
957
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
958
			end
959
			local GROWTH = SIZE - ENDSIZE
960
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
961
			if TYPE == "Block" then
962
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
963
			else
964
				EFFECT.CFrame = CFRAME
965
			end
966
			for LOOP = 1, TIME+1 do
967
				Swait()
968
				MSH.Scale = MSH.Scale - GROWTH/TIME
969
				if TYPE == "Wave" then
970
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
971
				end
972
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
973
				if TYPE == "Block" then
974
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
975
				else
976
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
977
				end
978
				if MOVEDIRECTION ~= nil then
979
					local ORI = EFFECT.Orientation
980
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
981
					EFFECT.Orientation = ORI
982
				end
983
			end
984
			if PLAYSSOUND == false then
985
				EFFECT:remove()
986
			else
987
				repeat Swait() until SOUND.Playing == false
988
				EFFECT:remove()
989
			end
990
		else
991
			if PLAYSSOUND == false then
992
				EFFECT:remove()
993
			else
994
				repeat Swait() until SOUND.Playing == false
995
				EFFECT:remove()
996
			end
997
		end
998
	end))
999
end
1000
1001
function MakeForm(PART,TYPE)
1002
	if TYPE == "Cyl" then
1003
		local MSH = IT("CylinderMesh",PART)
1004
	elseif TYPE == "Ball" then
1005
		local MSH = IT("SpecialMesh",PART)
1006
		MSH.MeshType = "Sphere"
1007
	elseif TYPE == "Wedge" then
1008
		local MSH = IT("SpecialMesh",PART)
1009
		MSH.MeshType = "Wedge"
1010
	end
1011
end
1012
1013
Debris = game:GetService("Debris")
1014
1015
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1016
	local DIRECTION = CF(StartPos,EndPos).lookVector
1017
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1018
end
1019
1020
function turnto(position)
1021
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1022
end
1023
1024
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
1025
	local Direction = CFrame.new(StartPos, Vec).lookVector
1026
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
1027
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
1028
	if RayHit and CheckIntangible(RayHit) then
1029
		if DelayIfHit then
1030
			wait()
1031
		end
1032
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
1033
	end
1034
	return RayHit, RayPos, RayNormal
1035
end
1036
1037
function CheckIntangible(Hit)
1038
	local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
1039
	if Hit and Hit.Parent then
1040
		if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
1041
			return true
1042
		end
1043
	end
1044
	return false
1045
end
1046
1047
function CheckTableForString(Table, String)
1048
	for i, v in pairs(Table) do
1049
		if string.find(string.lower(String), string.lower(v)) then
1050
			return true
1051
		end
1052
	end
1053
	return false
1054
end
1055
1056
--//=================================\\
1057
--||	     WEAPON CREATION
1058
--\\=================================//
1059
1060
Humanoid.Parent = nil
1061
RootPart.Size = RootPart.Size*SIZE
1062
Torso.Size = Torso.Size*SIZE
1063
RightArm.Size = RightArm.Size*SIZE
1064
RightLeg.Size = RightLeg.Size*SIZE
1065
LeftArm.Size = LeftArm.Size*SIZE
1066
LeftLeg.Size = LeftLeg.Size*SIZE
1067
RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
1068
RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
1069
Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
1070
Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
1071
RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
1072
LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
1073
RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
1074
LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
1075
RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
1076
LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
1077
Head.Size = Head.Size*SIZE
1078
RootJoint.Parent = RootPart
1079
Neck.Parent = Torso
1080
RightShoulder.Parent = Torso
1081
LeftShoulder.Parent = Torso
1082
RightHip.Parent = Torso
1083
LeftHip.Parent = Torso
1084
1085
local Player = game:GetService("Players").LocalPlayer
1086
repeat
1087
	wait()
1088
until Player.Character
1089
local Character = Player.Character
1090
TrailSettings = {
1091
	Lifetime = 1,
1092
	Texture = "http://www.roblox.com/asset/?id=1097260739",
1093
	Color1 = ColorSequence.new(BrickColor.new("Really red").Color),
1094
	Color2 = ColorSequence.new(BrickColor.new("Really red").Color),
1095
	AllBody = true,
1096
	UpperBodyOnly = false,
1097
	LowerBodyOnly = false,
1098
	Accessories = false,
1099
	Extras = true,
1100
	R15 = false,
1101
	R15Parts = {"UpperTorso", "LowerTorso"}
1102
}
1103
local Trail
1104
function UpperBody()
1105
	if TrailSettings.R15 == false then
1106
		A0 = Instance.new("Attachment", Character.Torso)
1107
		A1 = Instance.new("Attachment", Character.Head)
1108
		A2 = Instance.new("Attachment", Character["Right Arm"])
1109
		A3 = Instance.new("Attachment", Character["Left Arm"])
1110
		Trail = Instance.new("Trail", Character)
1111
		Trail.Attachment0 = A0
1112
		Trail.Attachment1 = A1
1113
		Trail.Texture = TrailSettings.Texture
1114
		Trail.Color = TrailSettings.Color1
1115
		Trail.Lifetime = TrailSettings.Lifetime
1116
		local Trail2 = Trail:Clone()
1117
		Trail2.Parent = Character
1118
		Trail2.Attachment1 = A2
1119
		local Trail3 = Trail:Clone()
1120
		Trail3.Parent = Character
1121
		Trail3.Attachment1 = A3
1122
		local Trail6 = Trail:Clone()
1123
		Trail6.Parent = Character
1124
		Trail6.Attachment0 = A1
1125
		Trail6.Attachment1 = A2
1126
		local Trail7 = Trail:Clone()
1127
		Trail7.Parent = Character
1128
		Trail7.Attachment0 = A1
1129
		Trail7.Attachment1 = A3
1130
	else
1131
		A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
1132
		A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
1133
		A1 = Instance.new("Attachment", Character.Head)
1134
		A2 = Instance.new("Attachment", Character.RightUpperArm)
1135
		A2R = Instance.new("Attachment", Character.RightLowerArm)
1136
		A3 = Instance.new("Attachment", Character.LeftUpperArm)
1137
		A3R = Instance.new("Attachment", Character.LeftLowerArm)
1138
		Trail = Instance.new("Trail", Character)
1139
		Trail.Attachment0 = A0
1140
		Trail.Attachment1 = A1
1141
		Trail.Texture = TrailSettings.Texture
1142
		Trail.Color = TrailSettings.Color1
1143
		Trail.Lifetime = TrailSettings.Lifetime
1144
		local Trail2 = Trail:Clone()
1145
		Trail2.Parent = Character
1146
		Trail2.Attachment1 = A2
1147
		local Trail3 = Trail:Clone()
1148
		Trail3.Parent = Character
1149
		Trail3.Attachment1 = A3
1150
		local Trail6 = Trail:Clone()
1151
		Trail6.Parent = Character
1152
		Trail6.Attachment0 = A1
1153
		Trail6.Attachment1 = A2
1154
		local Trail7 = Trail:Clone()
1155
		Trail7.Parent = Character
1156
		Trail7.Attachment0 = A1
1157
		Trail7.Attachment1 = A3
1158
		local Trail1R = Trail:Clone()
1159
		Trail1R.Parent = Character
1160
		Trail1R.Attachment1 = A2R
1161
		local Trail2R = Trail:Clone()
1162
		Trail2R.Parent = Character
1163
		Trail2R.Attachment1 = A3R
1164
		local Trail6R = Trail:Clone()
1165
		Trail6.Parent = Character
1166
		Trail6.Attachment0 = A1
1167
		Trail6.Attachment1 = A2R
1168
		local Trail7R = Trail:Clone()
1169
		Trail7.Parent = Character
1170
		Trail7.Attachment0 = A1
1171
		Trail7.Attachment1 = A3R
1172
	end
1173
end
1174
function LowerBody()
1175
	if TrailSettings.R15 == false then
1176
		A4 = Instance.new("Attachment", Character["Right Leg"])
1177
		A5 = Instance.new("Attachment", Character["Left Leg"])
1178
		local Trail4 = Trail:Clone()
1179
		Trail4.Parent = Character
1180
		Trail4.Attachment1 = A4
1181
		local Trail5 = Trail:Clone()
1182
		Trail5.Parent = Character
1183
		Trail5.Attachment1 = A5
1184
		local Trail8 = Trail:Clone()
1185
		Trail8.Parent = Character
1186
		Trail8.Attachment0 = A2
1187
		Trail8.Attachment1 = A4
1188
		Trail8.Color = TrailSettings.Color2
1189
		local Trail9 = Trail:Clone()
1190
		Trail9.Parent = Character
1191
		Trail9.Attachment0 = A3
1192
		Trail9.Attachment1 = A5
1193
		Trail9.Color = TrailSettings.Color2
1194
		local FT = Trail:Clone()
1195
		FT.Parent = Character
1196
		FT.Attachment0 = A4
1197
		FT.Attachment1 = A5
1198
		FT.Color = TrailSettings.Color2
1199
	else
1200
		A4 = Instance.new("Attachment", Character.RightLowerLeg)
1201
		A4R = Instance.new("Attachment", Character.RightUpperLeg)
1202
		A5 = Instance.new("Attachment", Character.LeftLowerLeg)
1203
		A5R = Instance.new("Attachment", Character.LeftUpperLeg)
1204
		local Trail4 = Trail:Clone()
1205
		Trail4.Parent = Character
1206
		Trail4.Attachment1 = A4
1207
		local Trail5 = Trail:Clone()
1208
		Trail5.Parent = Character
1209
		Trail5.Attachment1 = A5
1210
		local Trail8 = Trail:Clone()
1211
		Trail8.Parent = Character
1212
		Trail8.Attachment0 = A2
1213
		Trail8.Attachment1 = A4
1214
		Trail8.Color = TrailSettings.Color2
1215
		local Trail9 = Trail:Clone()
1216
		Trail9.Parent = Character
1217
		Trail9.Attachment0 = A3
1218
		Trail9.Attachment1 = A5
1219
		Trail9.Color = TrailSettings.Color2
1220
		local FT = Trail:Clone()
1221
		FT.Parent = Character
1222
		FT.Attachment0 = A4
1223
		FT.Attachment1 = A5
1224
		FT.Color = TrailSettings.Color2
1225
		local Trail3R = Trail:Clone()
1226
		Trail3R.Parent = Character
1227
		Trail3R.Attachment1 = A4R
1228
		local Trail4R = Trail:Clone()
1229
		Trail4R.Parent = Character
1230
		Trail4R.Attachment1 = A5R
1231
		local Trail8 = Trail:Clone()
1232
		Trail8.Parent = Character
1233
		Trail8.Attachment0 = A2R
1234
		Trail8.Attachment1 = A4R
1235
		Trail8.Color = TrailSettings.Color2
1236
		local Trail9 = Trail:Clone()
1237
		Trail9.Parent = Character
1238
		Trail9.Attachment0 = A3R
1239
		Trail9.Attachment1 = A5R
1240
		Trail9.Color = TrailSettings.Color2
1241
		local FT2R = Trail:Clone()
1242
		FT2R.Parent = Character
1243
		FT2R.Attachment0 = A4R
1244
		FT2R.Attachment1 = A5R
1245
		FT2R.Color = TrailSettings.Color2
1246
	end
1247
end
1248
function AllBody()
1249
	UpperBody()
1250
	LowerBody()
1251
end
1252
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
1253
	TrailSettings.UpperBodyOnly = false
1254
	TrailSettings.LowerBodyOnly = false
1255
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
1256
	TrailSettings.UpperBodyOnly = false
1257
	TrailSettings.LowerBodyOnly = false
1258
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
1259
	TrailSettings.UpperBodyOnly = false
1260
	TrailSettings.LowerBodyOnly = false
1261
elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
1262
	TrailSettings.AllBody = true
1263
	TrailSettings.UpperBodyOnly = false
1264
	TrailSettings.LowerBodyOnly = false
1265
end
1266
if TrailSettings.UpperBodyOnly == true then
1267
	UpperBody()
1268
	print("Called Upper Body Trail")
1269
elseif TrailSettings.LowerBodyOnly == true then
1270
	LowerBody()
1271
	print("Called Lower Body Trail")
1272
elseif TrailSettings.AllBody == true then
1273
	AllBody()
1274
	print("Called Full Body Trail")
1275
end
1276
if TrailSettings.Accessories == true then
1277
	for Index, Item in pairs(Character:GetChildren()) do
1278
		if Item:IsA("Accessory") then
1279
			local AA = Instance.new("Attachment", Item.Handle)
1280
			local ATrail = Trail:Clone()
1281
			ATrail.Parent = Character
1282
			ATrail.Attachment1 = AA
1283
		end
1284
	end
1285
end
1286
if TrailSettings.Extras == true then
1287
	spawn(function()
1288
		repeat
1289
			wait()
1290
		until Trail
1291
		local AB = Instance.new("Attachment", a)
1292
		local ABT = Trail:Clone()
1293
		ABT.Parent = Character
1294
		ABT.Attachment0 = A4
1295
		ABT.Attachment1 = AB
1296
		ABT.Color = TrailSettings.Color2
1297
		local ABT2 = Trail:Clone()
1298
		ABT2.Parent = Character
1299
		ABT2.Attachment0 = A5
1300
		ABT2.Attachment1 = AB
1301
		ABT2.Color = TrailSettings.Color2
1302
	end)
1303
end
1304
wait()
1305
1306
local top = Instance.new("Shirt")
1307
top.ShirtTemplate = "rbxassetid://45695443"
1308
top.Parent = Character
1309
top.Name = "Cloth"
1310
local bottom = Instance.new("Pants")
1311
bottom.PantsTemplate = "rbxassetid://45696190"
1312
bottom.Parent = Character
1313
bottom.Name = "Cloth"
1314
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
1315
PRT.Color = C3(0,0,0)
1316
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
1317
CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
1318
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
1319
PRT.Color = C3(0,0,0)
1320
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1321
CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
1322
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
1323
PRT.Color = C3(255/255, 0/255, 0/255)
1324
MakeForm(PRT,"Ball")
1325
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1326
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
1327
PRT.Color = C3(255/255, 0/255, 0/255)
1328
MakeForm(PRT,"Ball")
1329
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
1330
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
1331
PRT.Color = C3(255/255, 0/255, 0/255)
1332
MakeForm(PRT,"Ball")
1333
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
1334
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
1335
PRT.Color = C3(255/255, 0/255, 0/255)
1336
MakeForm(PRT,"Ball")
1337
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
1338
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
1339
PRT.Color = C3(255/255, 0/255, 0/255)
1340
MakeForm(PRT,"Ball")
1341
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
1342
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
1343
PRT.Color = C3(255/255, 0/255, 0/255)
1344
MakeForm(PRT,"Ball")
1345
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
1346
1347
local LASTPART = Head
1348
for i = 1, 24 do
1349
	local MATH = (1-(i/30))
1350
	if LASTPART == Head then
1351
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1352
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
1353
		LASTPART = Horn
1354
		Horn.Color = C3((i*3-3)/255,0,0)
1355
	else
1356
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1357
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1358
		LASTPART = Horn
1359
		Horn.Color = C3((i*3-3)/255,0,0)
1360
	end
1361
end
1362
local LASTPART = Head
1363
for i = 1, 24 do
1364
	local MATH = (1-(i/30))
1365
	if LASTPART == Head then
1366
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1367
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
1368
		LASTPART = Horn
1369
		Horn.Color = C3((i*3-3)/255,0,0)
1370
	else
1371
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1372
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1373
		LASTPART = Horn
1374
		Horn.Color = C3((i*3-3)/255,0,0)
1375
	end
1376
end
1377
local LASTPART = Head
1378
for i = 1, 8 do
1379
	local MATH = (1-(i/14))
1380
	if LASTPART == Head then
1381
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1382
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
1383
		LASTPART = Horn
1384
		Horn.Color = C3((i*3-3)/255,0,0)
1385
	else
1386
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1387
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1388
		LASTPART = Horn
1389
		Horn.Color = C3((i*3-3)/255,0,0)
1390
	end
1391
end
1392
local LASTPART = Head
1393
for i = 1, 8 do
1394
	local MATH = (1-(i/14))
1395
	if LASTPART == Head then
1396
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1397
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
1398
		LASTPART = Horn
1399
		Horn.Color = C3((i*3-3)/255,0,0)
1400
	else
1401
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1402
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1403
		LASTPART = Horn
1404
		Horn.Color = C3((i*3-3)/255,0,0)
1405
	end
1406
end
1407
1408
local PRT = CreatePart(3, Clock, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
1409
CreateWeldOrSnapOrMotor("Weld", Clock, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1410
local PRT = CreatePart(3, Clock, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
1411
CreateWeldOrSnapOrMotor("Weld", Clock, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1412
MakeForm(PRT,"Cyl")
1413
local PRT = CreatePart(3, Clock, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
1414
CreateWeldOrSnapOrMotor("Weld", Clock, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1415
MakeForm(PRT,"Cyl")
1416
PRT.Color = C3(255/255, 0/255, 0/255)
1417
local RING = CreatePart(3, Clock, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
1418
CreateWeldOrSnapOrMotor("Weld", Clock, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1419
MakeForm(RING,"Cyl")
1420
RING.Color = C3(0,0,0)
1421
for i = 1, 12 do
1422
	local PRT = CreatePart(3, Clock, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
1423
	PRT.Color = C3(0,0,0)
1424
	local MSH = IT("BlockMesh",PRT)
1425
	MSH.Scale = VT(0.6,1,1)
1426
	CreateWeldOrSnapOrMotor("Weld", Clock, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
1427
end
1428
local PRT = CreatePart(3, Clock, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
1429
PRT.Color = C3(0,0,0)
1430
local MSH = IT("BlockMesh",PRT)
1431
MSH.Scale = VT(0.4,1,1)
1432
local WATCH1 = CreateWeldOrSnapOrMotor("Weld", Clock, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
1433
local PRT = CreatePart(3, Clock, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
1434
PRT.Color = C3(0,0,0)
1435
local MSH = IT("BlockMesh",PRT)
1436
MSH.Scale = VT(0.4,1,1)
1437
local WATCH2 = CreateWeldOrSnapOrMotor("Weld", Clock, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
1438
coroutine.resume(coroutine.create(function()
1439
	while true do
1440
		Swait()
1441
		CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
1442
		WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
1443
		WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
1444
		if CLOCKLOOP <= -150 then
1445
			if VALUE1 == false then
1446
				CLOCKLOOP = 0
1447
				WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
1448
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1449
				ApplyAoE(HITPOS,10,15,45,75,false)
1450
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1451
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1452
				if CLOCKTARGET ~= nil then
1453
					CLOCKTARGET.Health = CLOCKTARGET.Health - 20
1454
					if CLOCKTARGET.Torso ~= nil then
1455
						CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
1456
					end
1457
					if CLOCKTARGET.Health == 0 then
1458
						CLOCKTARGET = nil
1459
					end
1460
				end
1461
			end
1462
		end
1463
	end
1464
end))
1465
1466
local PRT2 = CreatePart(3, Clock2, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
1467
CreateWeldOrSnapOrMotor("Weld", Clock2, LeftArm, PRT2, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1468
local PRT2 = CreatePart(3, Clock2, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
1469
CreateWeldOrSnapOrMotor("Weld", Clock2, LeftArm, PRT2, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1470
MakeForm(PRT2,"Cyl")
1471
local PRT2 = CreatePart(3, Clock2, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
1472
CreateWeldOrSnapOrMotor("Weld", Clock2, LeftArm, PRT2, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1473
MakeForm(PRT2,"Cyl")
1474
PRT2.Color = C3(255/255, 0/255, 0/255)
1475
local RING2 = CreatePart(3, Clock2, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
1476
CreateWeldOrSnapOrMotor("Weld", Clock2, LeftArm, RING2, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1477
MakeForm(RING2,"Cyl")
1478
RING2.Color = C3(0,0,0)
1479
for i = 1, 12 do
1480
	local PRT2 = CreatePart(3, Clock2, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
1481
	PRT2.Color = C3(0,0,0)
1482
	local MSH2 = IT("BlockMesh",PRT2)
1483
	MSH2.Scale = VT(0.6,1,1)
1484
	CreateWeldOrSnapOrMotor("Weld", Clock2, LeftArm, PRT2, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
1485
end
1486
local PRT2 = CreatePart(3, Clock2, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
1487
PRT2.Color = C3(0,0,0)
1488
local MSH2 = IT("BlockMesh",PRT2)
1489
MSH2.Scale = VT(0.4,1,1)
1490
local WATCH3 = CreateWeldOrSnapOrMotor("Weld", Clock2, LeftArm, PRT2, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
1491
local PRT2 = CreatePart(3, Clock2, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
1492
PRT2.Color = C3(0,0,0)
1493
local MSH2 = IT("BlockMesh",PRT2)
1494
MSH2.Scale = VT(0.4,1,1)
1495
local WATCH4 = CreateWeldOrSnapOrMotor("Weld", Clock2, LeftArm, PRT2, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
1496
coroutine.resume(coroutine.create(function()
1497
	while true do
1498
		Swait()
1499
		CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED2
1500
		WATCH3.C0 = Clerp(WATCH3.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
1501
		WATCH4.C0 = Clerp(WATCH4.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
1502
		if CLOCKLOOP <= -150 then
1503
			if VALUE1 == false then
1504
				CLOCKLOOP = 0
1505
				WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
1506
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1507
				ApplyAoE(HITPOS,10,15,45,75,false)
1508
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1509
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1510
				if CLOCKTARGET ~= nil then
1511
					CLOCKTARGET.Health = CLOCKTARGET.Health - 10
1512
					if CLOCKTARGET.Torso ~= nil then
1513
						CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
1514
					end
1515
					if CLOCKTARGET.Health == 0 then
1516
						CLOCKTARGET = nil
1517
					end
1518
				end
1519
			end
1520
		end
1521
	end
1522
end))
1523
1524
for _, c in pairs(Clock2:GetChildren()) do
1525
	if c.ClassName == "Part" then
1526
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1527
	end
1528
end
1529
1530
for _, c in pairs(Weapon:GetChildren()) do
1531
	if c.ClassName == "Part" then
1532
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1533
	end
1534
end
1535
1536
for _, c in pairs(Clock:GetChildren()) do
1537
	if c.ClassName == "Part" then
1538
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1539
	end
1540
end
1541
1542
Neck.Name = "Weld"
1543
RootJoint.Name = "Weld"
1544
RightShoulder.Name = "Weld"
1545
LeftShoulder.Name = "Weld"
1546
RightHip.Name = "Weld"
1547
LeftHip.Name = "Weld"
1548
1549
local SKILLTEXTCOLOR = C3(255/255, 0/255, 0/255)
1550
local SKILLFONT = "Fantasy"
1551
local SKILLTEXTSIZE = 7
1552
1553
Weapon.Parent = Character
1554
Humanoid.Parent = Character
1555
Clock.Parent = nil
1556
Clock2.Parent = nil
1557
1558
Humanoid.Died:connect(function()
1559
	ATTACK = true
1560
end)
1561
1562
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1563
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1564
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 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")
1565
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 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")
1566
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.825, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1567
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.265, 0, 0.755, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
1568
local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.465, 0, 0.755, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
1569
1570
1571
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Superior Stomp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
1572
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[Q] TimeSweep", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
1573
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Buzzsaw", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
1574
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Superior Sun", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
1575
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E] Infection Fog", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
1576
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[F] Booster", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
1577
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[X] The End", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
1578
1579
--//=================================\\
1580
--||			DAMAGING
1581
--\\=================================//
1582
1583
function Ghostify(POSITION,RANGE)
1584
	local CHILDREN = workspace:GetDescendants()
1585
	for index, CHILD in pairs(CHILDREN) do
1586
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1587
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1588
			if HUM then
1589
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1590
				if TORSO then
1591
					if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
1592
						local GHOST = GHOSTBASE:Clone()
1593
						GHOST.Parent = Effects
1594
						GHOST.Torso.CFrame = TORSO.CFrame
1595
						table.insert(GHOSTS,GHOST)
1596
						CHILD:remove()
1597
					end
1598
				end
1599
			end
1600
		end
1601
	end
1602
end
1603
1604
function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
1605
	local TORSO = Torso
1606
	local HUM = Humanoid
1607
	if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
1608
		coroutine.wrap(function()
1609
			VT = Vector3.new
1610
			MRANDOM = math.random
1611
			local A = TIME
1612
			local B = INTENSITY
1613
			local C = true
1614
			local HUMANOID = Humanoid
1615
			local TIMER = A or 35
1616
			local SHAKE = B or 5
1617
			local FADE = C or true
1618
			if HUMANOID then
1619
				local FADER = SHAKE / TIMER
1620
				for i = 1, TIMER do
1621
					wait()
1622
					HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
1623
				end
1624
				HUMANOID.CameraOffset = VT(0, 0, 0)
1625
			end
1626
1627
		end)()
1628
	end
1629
end
1630
1631
function ApplyDamage(Humanoid,Damage,TorsoPart)
1632
	local defence = Instance.new("BoolValue",Humanoid.Parent)
1633
	defence.Name = ("HitBy"..Player.Name)
1634
	game:GetService("Debris"):AddItem(defence, 0.001)
1635
	Damage = Damage * DAMAGEMULTIPLIER
1636
	if Humanoid.Health ~= 0 then
1637
		local CritChance = MRANDOM(1,100)
1638
		if Damage > Humanoid.Health then
1639
			Damage = math.ceil(Humanoid.Health)
1640
			if Damage == 0 then
1641
				Damage = 0.1
1642
			end
1643
		end
1644
		Humanoid.Health = Humanoid.Health - Damage
1645
	end
1646
end
1647
1648
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
1649
	local CHILDREN = workspace:GetDescendants()
1650
	for index, CHILD in pairs(CHILDREN) do
1651
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1652
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1653
			if HUM then
1654
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1655
				if TORSO then
1656
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1657
						if INSTAKILL == true then
1658
							CHILD:BreakJoints()
1659
						else
1660
							local DMG = MRANDOM(MINDMG,MAXDMG)
1661
							ApplyDamage(HUM,DMG,TORSO)
1662
						end
1663
						if FLING > 0 then
1664
							for _, c in pairs(CHILD:GetChildren()) do
1665
								if c:IsA("BasePart") then
1666
									local bv = Instance.new("BodyVelocity") 
1667
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1668
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1669
									bv.Parent = c
1670
									Debris:AddItem(bv,0.05)
1671
								end
1672
							end
1673
						end
1674
					end
1675
				end
1676
			end
1677
		end
1678
	end
1679
end
1680
1681
--//=================================\\
1682
--||	ATTACK FUNCTIONS AND STUFF
1683
--\\=================================//
1684
1685
function Earthquake()
1686
	ATTACK = true
1687
	Rooted = true
1688
	local GYRO = IT("BodyGyro", RootPart)
1689
	GYRO.D = 20
1690
	GYRO.P = 4000
1691
	GYRO.MaxTorque = VT(0, 40000, 0)
1692
	local RING, MESH, DELET = MakeRing()
1693
	local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
1694
	RING.CFrame = CF(HITPOS)
1695
	for i = 0, 0.6, 0.1 / Animation_Speed do
1696
		GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1697
		Swait()
1698
		MESH.Scale = MESH.Scale + VT(53, 0, 53)
1699
		RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1700
		WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1701
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1702
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
1703
	end
1704
	local BLASTS = {468991944, 468991990}
1705
	coroutine.resume(coroutine.create(function()
1706
		local CFRAME = RootPart.CFrame
1707
		for i = 1, 100 do
1708
			CFRAME = CFRAME * CF(0, 0, -35)
1709
			do
1710
				local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
1711
				if HITFLOOR then
1712
					Swait()
1713
					do
1714
						local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
1715
						coroutine.resume(coroutine.create(function()
1716
							local RING, MESH, DELET = MakeRing()
1717
							RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
1718
							for i = 1, 25 do
1719
								Swait()
1720
								MESH.Scale = MESH.Scale + VT(42, 0, 42)
1721
								RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1722
							end
1723
							ApplyAoE(RING.Position,25,50,90,90,false)
1724
							SHAKECAM(RING.Position, 80, 30, 15)
1725
							local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
1726
							WACKYEFFECT({
1727
								Time = 25,
1728
								EffectType = "Sphere",
1729
								Size = VT(22, 22, 22),
1730
								Size2 = VT(85, 85, 85),
1731
								Transparency = 0,
1732
								Transparency2 = 1,
1733
								CFrame = CF(RING.Position),
1734
								MoveToPos = nil,
1735
								RotationX = 0,
1736
								RotationY = 0,
1737
								RotationZ = 0,
1738
								Material = "Neon",
1739
								Color = C3(0, 0, 0),
1740
								SoundID = BLASTS[MRANDOM(1, #BLASTS)],
1741
								SoundPitch = MRANDOM(9, 12) / 10,
1742
								SoundVolume = 10
1743
							})
1744
							for e = 1, 3 do
1745
								WACKYEFFECT({
1746
									EffectType = "Wave",
1747
									Size = VT(25, 0, 25),
1748
									Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
1749
									Transparency = 0,
1750
									Transparency2 = 1,
1751
									CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
1752
									MoveToPos = nil,
1753
									RotationX = 0,
1754
									RotationY = 3,
1755
									RotationZ = 0,
1756
									Material = "Neon",
1757
									Color = C3(0, 0, 0),
1758
									SoundID = nil,
1759
									SoundPitch = nil,
1760
									SoundVolume = nil
1761
								})
1762
								WACKYEFFECT({
1763
									Time = 35,
1764
									EffectType = "Sphere",
1765
									Size = VT(22, 45, 22),
1766
									Size2 = VT(25, 45 + e * 75, 25),
1767
									Transparency = 0,
1768
									Transparency2 = 1,
1769
									CFrame = CF(RING.Position) * TURN,
1770
									MoveToPos = nil,
1771
									RotationX = 0,
1772
									RotationY = 0,
1773
									RotationZ = 0,
1774
									Material = "Neon",
1775
									Color = C3(0, 0, 0),
1776
									SoundID = nil,
1777
									SoundPitch = MRANDOM(9, 12) / 10,
1778
									SoundVolume = 10
1779
								})
1780
							end
1781
							wait(0.3)
1782
							DELET()
1783
						end))
1784
					end
1785
				end
1786
			end
1787
		end
1788
	end))
1789
	Rooted = false
1790
	DELET()
1791
	GYRO:remove()
1792
	ATTACK = false
1793
	Rooted = false
1794
end
1795
1796
function TimeSweep()
1797
    chatfunc("SEE YA.") 
1798
    ATTACK = true
1799
    Rooted = false
1800
    for i=0, 0.5, 0.1 / Animation_Speed do
1801
        Swait()
1802
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1803
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1804
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
1805
    end
1806
    CreateSound(217767125, Torso, 10, 1)
1807
    local POS = RootPart.Orientation
1808
    RootPart.CFrame = CF(Mouse.Hit.p+VT(0,4,0))
1809
    RootPart.Orientation = POS
1810
    RootJoint.Parent = RootPart
1811
    for i=0, 0.5, 0.1 / Animation_Speed do
1812
        Swait()
1813
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1814
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
1815
    end
1816
    for i=0, 0.1, 0.1 / Animation_Speed do
1817
        Swait()
1818
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1819
    end
1820
    ATTACK = false
1821
    Rooted = false
1822
end
1823
1824
1825
function Taunt()
1826
	ATTACK = true
1827
	local LAUGH = nil
1828
	coroutine.resume(coroutine.create(function()
1829
		repeat
1830
			Swait()
1831
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1832
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
1833
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1834
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1835
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1836
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1837
		until LAUGH ~= nil
1838
		repeat
1839
			Swait()
1840
			LAUGH.Parent = Head
1841
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1842
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
1843
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1844
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1845
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1846
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1847
		until LAUGH.Playing == false
1848
	ATTACK = false
1849
	end))
1850
	wait(0.1)
1851
	LAUGH = CreateSound(333446256, Head, 10, 1, false)
1852
end
1853
1854
	function SuperStomp()
1855
		ATTACK = true
1856
		Rooted = true
1857
		local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1858
		coroutine.resume(coroutine.create(function()
1859
        Swait(65)
1860
        CameraEnshaking(3,25)
1861
        CreateSound(262562442,RightLeg,60,1,false)
1862
        CreateFlyingDebree(HITFLOOR,CF(HITPOS),10,VT(5,5,5),4,125)
1863
        WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0.55,0)*SIZE, Size2 = VT(90,3,90), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.96, SoundVolume = 10})
1864
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,7.5,0)*SIZE, Size2 = VT(60,6.5,60), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.96, SoundVolume = 10})
1865
        ApplyAoE(HITPOS,35,35,50,75,false)
1866
		    	end))
1867
		CreateSound(163619849,RightLeg,10,1,false)
1868
		for i=0, 2, 0.1 / Animation_Speed do
1869
			WACKYEFFECT({EffectType = "Block", Size = VT(2,2,2), Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1870
			Swait()
1871
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(40)), 0.5 / Animation_Speed)
1872
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-40)), 0.5 / Animation_Speed)
1873
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(-45), RAD(-55)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1874
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(30), RAD(85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1875
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.4*SIZE - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1876
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1877
		end
1878
		for i=0, 1, 0.1 / Animation_Speed do
1879
			Swait()
1880
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
1881
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1882
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(105), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1883
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-105), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1884
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.7*SIZE - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(10), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
1885
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), 0.13) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
1886
		end
1887
		ATTACK = false
1888
		Rooted = false
1889
	end
1890
1891
function Buzzsaw()
1892
	ATTACK = true
1893
	Rooted = false
1894
	local ARMSPEED = 0.1
1895
	local TARGET = nil
1896
	local ROOT = nil
1897
	local HUMAN = nil
1898
	local DIST = 4
1899
	local SAWBLADE = CreatePart(3, Weapon, "Glass", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
1900
	local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1901
	local BLADE = true
1902
	CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(2,2,1), VT(0,0,0))
1903
	coroutine.resume(coroutine.create(function()
1904
		repeat
1905
			Swait()
1906
			WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
1907
		until BLADE == false
1908
		SAWBLADE:remove()
1909
	end))
1910
	CreateSound(1165167936, SAWBLADE, 2, 1, true)
1911
	for i=0, 1, 0.1 / Animation_Speed do
1912
		Swait()
1913
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1914
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.6 + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1915
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.9, -0.5) * ANGLES(RAD(115), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1916
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.9, 0.7, 0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1917
		RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.4, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1918
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.4, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1919
	end
1920
	for i=0, 2, 0.1 / Animation_Speed do
1921
		Swait()
1922
		local CHILDREN = workspace:GetDescendants()
1923
		for index, CHILD in pairs(CHILDREN) do
1924
			if CHILD.ClassName == "Model" and CHILD ~= Character then
1925
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1926
				if HUM then
1927
					local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1928
					if TORSO and HUM.Health > 0 then
1929
						if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
1930
							DIST = (TORSO.Position - RightArm.Position).Magnitude
1931
							ROOT = TORSO
1932
							HUMAN = HUM
1933
							TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1934
						end
1935
					end
1936
				end
1937
			end
1938
		end
1939
		if ROOT then
1940
			break
1941
		end
1942
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1943
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.6 + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1944
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.9, -0.5) * ANGLES(RAD(15), RAD(0), RAD(25)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
1945
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.9, 0.7, 0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1946
		RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.4, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1947
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.4, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1948
	end
1949
	if ROOT then
1950
		ARMSPEED = 0.01
1951
		Rooted = true
1952
		RootPart.CFrame = ROOT.CFrame*CF(0,0,2.5)
1953
		repeat
1954
			HUMAN.Health = HUMAN.Health - 1.2
1955
			HUMAN.RootPart.CFrame = ROOT.CFrame*CF(0,0.02,0)
1956
			Swait()
1957
			ROOT.Anchored = true
1958
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1959
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.6 + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1960
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, -0.4, 0) * ANGLES(RAD(15), RAD(0), RAD(25)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
1961
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.9, 0.7, 0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1962
			RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.4, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1963
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.4, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1964
		until RightArm.Position.Y < Torso.Position.Y-0.15 or HUMAN.Health == 0
1965
		ROOT.Anchored = false
1966
		if HUMAN.Health == 0 then
1967
			if ROOT.Name ~= "Torso" then
1968
				ROOT:remove()
1969
			end
1970
			if TARGET.Name == "Torso" then
1971
				Ragdoll(HUMAN.Parent,Torso,true)
1972
			elseif TARGET.Name == "UpperTorso" then
1973
				R15Ragdoll(HUMAN.Parent,true)
1974
			end
1975
		end
1976
	end
1977
	BLADE = false
1978
	ATTACK = false
1979
	Rooted = false
1980
	end
1981
1982
function Sun1()
1983
	ATTACK = true
1984
	Rooted = true
1985
	local StartPos = RootPart.CFrame * CF(0,15,0).p
1986
    coroutine.resume(coroutine.create(function()
1987
	CreateSound("348663022", Torso, 5, 1)
1988
	local StartPos = RootPart.CFrame * CF(0,15,0).p
1989
	for i = 1, 5 do
1990
		MagicSphere2(25,25,CF(StartPos),"Bright red")
1991
		Swait(15)
1992
	end
1993
	local soundeffect = IT("Sound",Torso)
1994
	soundeffect.SoundId = "rbxassetid://487186990"
1995
	soundeffect.Looped = true
1996
	soundeffect.Volume = 3
1997
	soundeffect.Playing = true
1998
	repeat
1999
		turnto(Mouse.Hit.p)
2000
		MagicSphere2(25,25,CF(StartPos),"Bright red")
2001
		MagicSphere(25/10,25,CF(StartPos),"Bright red")
2002
		local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
2003
		local distance = (StartPos - RayPos).magnitude
2004
		local RayBeam = IT("Part",Effects)
2005
		RayBeam.Material = "Neon"
2006
		RayBeam.Anchored = false
2007
		RayBeam.BrickColor = BRICKC"Bright red"
2008
		local mesh = IT("SpecialMesh",RayBeam)
2009
		mesh.MeshType = "Cylinder"
2010
		RayBeam.Size = Vector3.new(distance+10, 5, 5)
2011
		RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
2012
		MagicSphere(5,45,CF(RayPos),"Bright red")
2013
		ApplyAoE(RayPos,22,1,2,0,false)
2014
		Swait()
2015
		if KEYHOLD == false then
2016
			coroutine.resume(coroutine.create(function()
2017
				Rooted = false
2018
				MODE = "Superior"
2019
				for i = 1, 5 do
2020
					RayBeam.Transparency = RayBeam.Transparency + 1/5
2021
					Swait()
2022
				end
2023
				RayBeam:remove()
2024
			end))
2025
		else
2026
			RayBeam:remove()
2027
		end
2028
	until KEYHOLD == false
2029
	soundeffect:remove()
2030
end))
2031
MagicSphere2(65,120,CF(StartPos),"Really black")
2032
MagicSphere(10,60,CF(StartPos),"Really black")
2033
for i=0, 2, 0.1 / Animation_Speed do
2034
		Swait()
2035
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2036
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-15 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2037
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2038
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2039
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2040
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2041
    end
2042
    MODE = "Sun"
2043
	ATTACK = false
2044
end
2045
2046
function Sun2()
2047
	ATTACK = true
2048
	Rooted = true
2049
	local StartPos = RootPart.CFrame * CF(0,35,0).p
2050
    coroutine.resume(coroutine.create(function()
2051
	CreateSound("348663022", Torso, 5, 1)
2052
	local StartPos = RootPart.CFrame * CF(0,35,0).p
2053
	for i = 1, 5 do
2054
		MagicSphere2(25*2,25,CF(StartPos),"Bright red")
2055
		Swait(15)
2056
	end
2057
	local soundeffect = IT("Sound",Torso)
2058
	soundeffect.SoundId = "rbxassetid://487186990"
2059
	soundeffect.Looped = true
2060
	soundeffect.Volume = 3
2061
	soundeffect.Playing = true
2062
	repeat
2063
		turnto(Mouse.Hit.p)
2064
		MagicSphere2(25*2,25,CF(StartPos),"Bright red")
2065
		MagicSphere(25/10*2,25,CF(StartPos),"Bright red")
2066
		local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
2067
		local distance = (StartPos - RayPos).magnitude
2068
		local RayBeam = IT("Part",Effects)
2069
		RayBeam.Material = "Neon"
2070
		RayBeam.Anchored = false
2071
		RayBeam.BrickColor = BRICKC"Bright red"
2072
		local mesh = IT("SpecialMesh",RayBeam)
2073
		mesh.MeshType = "Cylinder"
2074
		RayBeam.Size = Vector3.new(distance+10*2, 5, 5)
2075
		RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
2076
		MagicSphere(10*2,20,CF(RayPos),"Bright red")
2077
		ApplyAoE(RayPos,42,1,2.25,0,false)
2078
		Swait()
2079
		if KEYHOLD == false then
2080
			coroutine.resume(coroutine.create(function()
2081
				Rooted = false
2082
				MODE = "Booster"
2083
				for i = 1, 5 do
2084
					RayBeam.Transparency = RayBeam.Transparency + 1/5
2085
					Swait()
2086
				end
2087
				RayBeam:remove()
2088
			end))
2089
		else
2090
			RayBeam:remove()
2091
		end
2092
	until KEYHOLD == false
2093
	soundeffect:remove()
2094
end))
2095
MagicSphere2(65*2,120,CF(StartPos),"Really black")
2096
MagicSphere(10*2,60,CF(StartPos),"Really black")
2097
for i=0, 2, 0.1 / Animation_Speed do
2098
		Swait()
2099
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2100
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-15 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2101
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2102
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2103
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2104
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2105
    end
2106
    MODE = "Sun2"
2107
	ATTACK = false
2108
end
2109
2110
function InfectionFog()
2111
	ATTACK = true
2112
	Rooted = false
2113
	for i=0, 2, 0.1 / Animation_Speed do
2114
		Swait()
2115
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2116
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2117
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2118
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2119
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2120
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2121
	end
2122
    CreateSound(769072651, RightArm, 10, 1, false)
2123
	for i=0, 2, 0.1 / Animation_Speed do
2124
		Swait()
2125
        WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0.5,0.5,0.5), Size2 = VT(2.5,2.5,2.5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
2126
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2127
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2128
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2129
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2130
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2131
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2132
	    end
2133
	CreateSound(138931042, Torso, 10, 2.4, false)
2134
    WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(300,300,300), Transparency = 0.8, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
2135
    Swait(100)
2136
    Ghostify(Torso.Position,135)
2137
    Swait(20)
2138
    CreateSound(138271815, GHOSTBASE, 0.8, 0.9, false)
2139
	ATTACK = false
2140
	Rooted = false
2141
end
2142
2143
function ClockBooster()
2144
	ATTACK = true
2145
	Rooted = true
2146
	if MODE == "Superior" then
2147
		MagicSphere2(20,40,RootPart.CFrame,"Really red")
2148
		CreateSound(743521450,RootPart,10,0.8,false)
2149
		for i=0, 1, 0.1 / Animation_Speed do
2150
			Swait()
2151
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2152
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2153
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(30), RAD(75)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2154
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-30), RAD(-75)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2155
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2156
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2157
		end
2158
		Speed = 30
2159
		Clock2.Parent = Character
2160
		CLOCKSPEED = 4
2161
		CLOCKSPEED2 = 4
2162
        DAMAGEMULTIPLIER = 1.5
2163
		MODE = "Booster"
2164
	elseif MODE == "Booster" then
2165
		CreateSound(147722227, Torso, 15, 1.3, false)
2166
		for i=0, 0.3, 0.1 / Animation_Speed do
2167
			Swait()
2168
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2169
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2170
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2171
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2172
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2173
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2174
		end
2175
		Speed = 20
2176
		CLOCKSPEED = 1.5
2177
		CLOCKSPEED2 = 0
2178
		Clock2.Parent = nil
2179
		DAMAGEMULTIPLIER = 1
2180
		MODE = "Superior"
2181
	end
2182
	ATTACK = false
2183
	Rooted = false
2184
end
2185
--//=================================\\
2186
--||          SOME TAG EDIT
2187
--\\=================================//
2188
2189
m = game.Players.LocalPlayer
2190
char = m.Character
2191
local txt = Instance.new("BillboardGui", char)
2192
txt.Adornee = char.Head
2193
txt.Name = "_status"
2194
txt.Size = UDim2.new(2, 0, 1.2, 0)
2195
txt.StudsOffset = Vector3.new(-9, 10, 0)
2196
local text = Instance.new("TextLabel", txt)
2197
text.Size = UDim2.new(10, 0, 7, 0)
2198
text.FontSize = "Size24"
2199
text.TextScaled = true
2200
text.TextTransparency = 0
2201
text.BackgroundTransparency = 1
2202
text.TextTransparency = 0
2203
text.TextStrokeTransparency = 0
2204
text.Font = "Bodoni"
2205
text.TextStrokeColor3 = Color3.new(255/255, 0/255, 0/255)
2206
v = Instance.new("Part")
2207
v.Name = "ColorBrick"
2208
v.Parent = m.Character
2209
v.FormFactor = "Symmetric"
2210
v.Anchored = true
2211
v.CanCollide = false
2212
v.BottomSurface = "Smooth"
2213
v.TopSurface = "Smooth"
2214
v.Size = Vector3.new(10, 5, 3)
2215
v.Transparency = 1
2216
v.CFrame = char.Torso.CFrame
2217
v.BrickColor = BrickColor.new("Really black")
2218
v.Transparency = 1
2219
v.Shape = "Block"
2220
2221
--//=================================\\
2222
--||         CHAT FUNCTION
2223
--\\=================================//
2224
2225
function chatfunc(text)
2226
	local chat = coroutine.wrap(function()
2227
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
2228
		Character:FindFirstChild("TalkingBillBoard"):destroy()
2229
	end
2230
	local Bill = Instance.new("BillboardGui",Character)
2231
	Bill.Size = UDim2.new(0,100,0,40)
2232
	Bill.StudsOffset = Vector3.new(0,3,0)
2233
	Bill.Adornee = Character.Head
2234
	Bill.Name = "TalkingBillBoard"
2235
	local Hehe = Instance.new("TextLabel",Bill)
2236
	Hehe.BackgroundTransparency = 1
2237
	Hehe.BorderSizePixel = 0
2238
	Hehe.Text = ""
2239
	Hehe.Font = "Fantasy"
2240
	Hehe.TextSize = 40
2241
	Hehe.TextStrokeTransparency = 0
2242
	Hehe.Size = UDim2.new(1,0,0.5,0)
2243
	coroutine.resume(coroutine.create(function()
2244
		while Hehe ~= nil do
2245
			wait()	
2246
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
2247
			Hehe.Rotation = math.random(-5,5)
2248
			Hehe.TextColor3 = Color3.new(0,0,0)
2249
			Hehe.TextStrokeColor3 = Color3.new(255,0,0)
2250
		end
2251
	end))
2252
	for i = 1,string.len(text),1 do
2253
		wait()
2254
		Hehe.Text = string.sub(text,1,i)
2255
	end
2256
	wait(3)--Re[math.random(1, 93)]
2257
	for i = 0, 1, .025 do
2258
		wait()
2259
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
2260
		Hehe.TextStrokeTransparency = i
2261
		Hehe.TextTransparency = i
2262
	end
2263
	Bill:Destroy()
2264
	end)
2265
chat()
2266
end
2267
2268
function onChatted(msg)
2269
	chatfunc(msg)
2270
end
2271
2272
Player.Chatted:connect(onChatted)
2273
2274
--//=================================\\
2275
--||	      CHAT INTRO
2276
--\\=================================//
2277
2278
coroutine.resume(coroutine.create(function()
2279
chatfunc("Superior is back boi")
2280
text.Text = "Superior"
2281
wait(2)
2282
chatfunc("Hello Ordinary Dude..?")
2283
end))
2284
2285
--//=================================\\
2286
--||			INTRO
2287
--\\=================================//
2288
2289
coroutine.resume(coroutine.create(function()
2290
	ATTACK = true
2291
	Rooted = true
2292
	HeadC = C3(0,0,0)
2293
	BodyC = C3(0,0,0)
2294
	for i=0, 3, 0.1 / Animation_Speed do
2295
		Swait() 
2296
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2297
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2298
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2299
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2300
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2301
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0 - 2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2302
			if MRANDOM(1,10) == 1 then
2303
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30)), RAD(MRANDOM(-30,30))), 1)
2304
    end
2305
	end
2306
	for i=0, 0.5, 0.1 / Animation_Speed do
2307
		Swait() 
2308
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2309
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(0 * COS(SINE / 12)), RAD(0), RAD(0)) * ANGLES(RAD(90 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2310
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2311
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2312
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2313
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0 - 2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2314
	end
2315
    WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(7.5,7.5,7.5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
2316
    Clock.Parent = Character
2317
		for i=0, 0.5, 0.1 / Animation_Speed do
2318
		Swait() 
2319
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
2320
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(0 - 0 * COS(SINE / 12)), RAD(0), RAD(0)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2321
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2322
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2323
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2324
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0 - 2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2325
end
2326
	CLOCKSPEED = 1.5
2327
	CLOCKSPEED2 = 0
2328
	HeadC = C3(0,0,0)
2329
	BodyC = C3(0,0,0)
2330
	TRANSFORMED = true
2331
	ATTACK = false
2332
	Rooted = false
2333
end))
2334
--//=================================\\
2335
--||	  ASSIGN THINGS TO KEYS
2336
--\\=================================//
2337
2338
function MouseDown(Mouse)
2339
	HOLD = true
2340
	if ATTACK == false then
2341
	end
2342
end
2343
2344
function MouseUp(Mouse)
2345
HOLD = false
2346
end
2347
2348
function KeyDown(Key)
2349
	KEYHOLD = true
2350
	if Key == "z" and ATTACK == false then
2351
		SuperStomp()
2352
	end
2353
2354
	if Key == "b" and ATTACK == false then
2355
		TimesUp()
2356
	end
2357
2358
	if Key == "c" and ATTACK == false then
2359
		Buzzsaw()
2360
	end
2361
2362
	if Key == "e" and ATTACK == false then
2363
		InfectionFog()
2364
	end
2365
2366
	if Key == "q" and ATTACK == false then
2367
		TimeSweep()
2368
	end
2369
2370
	if Key == "v" and ATTACK == false then
2371
		if MODE == "Superior" then
2372
		Sun1()
2373
		elseif MODE == "Booster" then
2374
		Sun2()
2375
	end
2376
end
2377
2378
	if Key == "x" and ATTACK == false then
2379
		Earthquake()
2380
	end
2381
2382
	if Key == "f" and ATTACK == false then
2383
	    ClockBooster()
2384
	end
2385
2386
	if Key == "t" and ATTACK == false then
2387
		Taunt()
2388
	end
2389
end
2390
2391
function KeyUp(Key)
2392
	KEYHOLD = false
2393
end
2394
2395
	Mouse.Button1Down:connect(function(NEWKEY)
2396
		MouseDown(NEWKEY)
2397
	end)
2398
	Mouse.Button1Up:connect(function(NEWKEY)
2399
		MouseUp(NEWKEY)
2400
	end)
2401
	Mouse.KeyDown:connect(function(NEWKEY)
2402
		KeyDown(NEWKEY)
2403
	end)
2404
	Mouse.KeyUp:connect(function(NEWKEY)
2405
		KeyUp(NEWKEY)
2406
	end)
2407
2408
--//=================================\\
2409
--\\=================================//
2410
2411
2412
function unanchor()
2413
	if UNANCHOR == true then
2414
		RootPart.Anchored = false
2415
	end
2416
	g = Character:GetChildren()
2417
	for i = 1, #g do
2418
		if g[i].ClassName == "Part" and g[i] ~= RootPart then
2419
			g[i].Anchored = false
2420
		end
2421
	end
2422
	g = Weapon:GetChildren()
2423
	for i = 1, #g do
2424
		if g[i].ClassName == "Part" then
2425
			g[i].Anchored = false
2426
		end
2427
	end
2428
end
2429
2430
2431
--//=================================\\
2432
--||	WRAP THE WHOLE SCRIPT UP
2433
--\\=================================//
2434
2435
Humanoid.Changed:connect(function(Jump)
2436
	if Jump == "Jump" and (Disable_Jump == true) then
2437
		Humanoid.Jump = false
2438
	end
2439
end)
2440
2441
while true do
2442
	Swait()
2443
	script.Parent = WEAPONGUI
2444
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2445
	    v:Stop();
2446
	end
2447
	ANIMATE.Parent = nil
2448
	SINE = SINE + CHANGE*1.5
2449
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2450
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2451
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
2452
	local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
2453
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2454
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2455
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2456
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2457
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2458
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2459
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2460
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2461
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2462
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2463
	end
2464
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2465
		ANIM = "Jump"
2466
		if ATTACK == false then
2467
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2468
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2469
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2470
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2471
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
2472
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
2473
	    end
2474
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2475
		ANIM = "Fall"
2476
		if ATTACK == false then
2477
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2478
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2479
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2480
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2481
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
2482
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
2483
		end
2484
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2485
		ANIM = "Idle"
2486
		if ATTACK == false then
2487
		if MODE == "Superior" then
2488
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(-17.58)), 1 / Animation_Speed)
2489
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(15 - 3)), 1 / Animation_Speed)
2490
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.7*SIZE, -0.5*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2491
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(9.71), RAD(3.14 - -2.5 * SIN(SINE / 12)), RAD(0.2 - -2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2492
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2493
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2494
		elseif MODE == "Sun" then
2495
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2496
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2497
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2498
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2499
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2500
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2501
		elseif MODE == "Sun2" then
2502
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2503
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2504
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2505
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2506
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2507
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2508
		elseif MODE == "Booster" then
2509
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2510
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.3*SIZE) - 1)) * ANGLES(RAD(15 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2511
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, -0.7*SIZE) * ANGLES(RAD(115), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-80 + 5 * SIN(SINE / 15))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2512
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, -0.7*SIZE) * ANGLES(RAD(115), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(80 - 5 * SIN(SINE / 15))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2513
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2514
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2515
		end
2516
		end
2517
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2518
		ANIM = "Walk"
2519
		if ATTACK == false then
2520
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2521
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.3*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
2522
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9*SIZE, 0.5*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2523
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9*SIZE, 0.25*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2524
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2525
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2526
		end
2527
	end
2528
	unanchor()
2529
	Humanoid.MaxHealth = "inf"
2530
	Humanoid.Health = "inf"
2531
	if Rooted == false then
2532
		Disable_Jump = false
2533
		Humanoid.WalkSpeed = Speed
2534
	elseif Rooted == true then
2535
		Disable_Jump = true
2536
		Humanoid.WalkSpeed = 0
2537
	end
2538
	for _, c in pairs(Character:GetChildren()) do
2539
		if c.ClassName == "Part" and c.Name ~= "Detail" then
2540
			c.Material = "Fabric"
2541
			if c:FindFirstChildOfClass("ParticleEmitter") then
2542
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2543
			end
2544
			if c ~= Head then
2545
				c.Color = HeadC
2546
			else
2547
				c.Color = BodyC
2548
			end
2549
			if c == Head then
2550
				if c:FindFirstChild("face") then
2551
					c.face:remove()
2552
				end
2553
			end
2554
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2555
			c:remove()
2556
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
2557
			c:remove()
2558
		end
2559
		end
2560
		end
2561
--//=================================\\
2562
--\\=================================//
2563
2564
2565
2566
2567
2568
--//====================================================\\--
2569
--||			  		 END OF SCRIPT
2570
--\\====================================================//--