View difference between Paste ID: k3uYrcz1 and TTYy2YYX
SHOW: | | - or go back to the newest paste.
1
--made by goodguyaiden :D--
2
Character = game.Players.LocalPlayer.Character
3
Player = game.Players.LocalPlayer
4
char = Character
5
hum = Character.Humanoid
6
Torso = Character.Torso
7
Head = Character.Head
8
9
10
11
local s = Instance.new("Sound",char)
12
s.SoundId = "http://www.roblox.com/asset/?id=853029803"
13
s.Pitch = 1
14
s.Volume = 10
15
s.Looped = true
16
wait(1)
17
s:play()
18
local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
19
txtfag.Adornee = suckadick
20
txtfag.Name = "kys nigga"
21
txtfag.Size = UDim2.new(2, 0, 1.2, 0)
22
txtfag.StudsOffset = Vector3.new(-5, 3, 0)
23
local textfag = Instance.new("TextLabel", txtfag)
24
textfag.Size = UDim2.new(6, 0, 1, 0)
25
textfag.FontSize = "Size8"
26
textfag.TextScaled = true
27
textfag.TextTransparency = 0
28
textfag.BackgroundTransparency = 1
29
textfag.TextTransparency = 0
30
textfag.TextStrokeTransparency = 0
31
textfag.Font = "Code"
32
textfag.TextStrokeColor3 = Color3.new(0, 255, 0)
33
v = Instance.new("Part")
34
v.Name = "ColorBrick"
35
v.Parent = part
36
v.FormFactor = "Symmetric"
37
v.Anchored = true
38
v.CanCollide = false
39
v.BottomSurface = "Smooth"
40
v.TopSurface = "Smooth"
41
v.Size = Vector3.new(10, 5, 3)
42
v.Transparency = 0.7
43
v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor
44
v.Transparency = 1
45
textfag.TextColor3 = v.BrickColor.Color
46
v.Shape = "Block"
47
textfag.TextStrokeColor3 = Color3.new(0, 255, 0)
48
textfag.Text = "..."
49
wait(2)
50-
textfag.Text = "so you made it this far."
50+
textfag.Text = "So you made it this far..."
51
wait(2)
52-
textfag.Text = "you killed all the Noobs"
52+
textfag.Text = "You killed all the memes.."
53
wait(2)
54-
textfag.Text = "im the final noob are u happy? "
54+
textfag.Text = "Im the final meme are u happy? "
55
wait(2)
56-
textfag.Text = "lets make this battle the best one i had."
56+
textfag.Text = "Lets make this battle the best one i had."
57
wait(2)
58-
textfag.Text = game.Players.LocalPlayer.Character.Name.." the Last Noob  "
58+
textfag.Text = game.Players.LocalPlayer.Character.Name.." the Last Meme  "
59
Instance.new("ForceField", game.Players.LocalPlayer.Character). Visible = false
60
local p=game:service("Players").LocalPlayer
61
local char=p.Character
62
script.Parent=char 
63
local tor=char.Torso
64
local hed=char.Head
65
local larm=char:FindFirstChild("Left Arm")
66
local rarm=char:FindFirstChild("Right Arm")
67
local lleg=char:FindFirstChild("Left Leg")
68
local rleg=char:FindFirstChild("Right Leg") 
69
local hum=char.Humanoid
70
local cam=workspace.CurrentCamera
71
local root=char.HumanoidRootPart
72
local mouse=p:GetMouse()
73
local hb=game:service("RunService").Heartbeat
74
local rs=game:service("RunService").Stepped
75
hum.MaxHealth= math.huge
76
hum.Health=hum.MaxHealth
77
local hair4 = Instance.new("Part",char)
78
hair4.Material="Neon"
79
hair4.CanCollide=false
80
hair4.Size=Vector3.new(0,0,0)
81
hair4.BrickColor=BrickColor.Red()
82
hair4.Transparency=1
83
local w = Instance.new("Weld",hair4)
84
w.Part1=hair4
85
w.Part0=hed
86
w.C0=CFrame.new(0,2.5,0)
87
88
local hair = Instance.new("Part",char)
89
hair.Material="Neon"
90
hair.CanCollide=false
91
hair.Size=Vector3.new(.9,0,.9)
92
hair.BrickColor=BrickColor.Red()
93
hair.Transparency=1
94
95
96
97
local w = Instance.new("Weld",hair)
98
w.Part1=hair
99
w.Part0=larm
100
w.C0=CFrame.new(0,-0.9,0)
101
--------------------------------------------
102
local hair2 = Instance.new("Part",char)
103
hair2.Material="Neon"
104
hair2.CanCollide=false
105
hair2.Size=Vector3.new(.9,0,.9)
106
hair2.BrickColor=BrickColor.new(221, 207, 0)
107
hair2.Transparency=1
108
109
110
111
112
local w = Instance.new("Weld",hair)
113
w.Part1=hair2
114
w.Part0=rarm
115
w.C0=CFrame.new(0,-.9,0)
116
local bladeefo = Instance.new("ParticleEmitter",hair2)
117
bladeefo.Texture = "http://www.roblox.com/asset/?id=348467696"
118
bladeefo.LightEmission = 1
119
bladeefo.LockedToPart = false
120
bladeefo.Color = ColorSequence.new(BrickColor.new("Toothpaste").Color)
121
bladeefo.Rate = 30
122
bladeefo.EmissionDirection = "Bottom"
123
bladeefo.Lifetime = NumberRange.new(.5)
124
bladeefo.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.5,0),NumberSequenceKeypoint.new(1,0,0)})
125
bladeefo.Speed = NumberRange.new(5)
126
bladeefo.EmissionDirection = "Bottom"
127
local bladeefo = Instance.new("ParticleEmitter",hair2)
128
bladeefo.Texture = "http://www.roblox.com/asset/?id=348467696"
129
bladeefo.LightEmission = 1
130
bladeefo.LockedToPart = false
131
bladeefo.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
132
bladeefo.Rate = 30
133
bladeefo.EmissionDirection = "Bottom"
134
bladeefo.Lifetime = NumberRange.new(.5)
135
bladeefo.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.5,0),NumberSequenceKeypoint.new(1,0,0)})
136
bladeefo.Speed = NumberRange.new(5)
137
bladeefo.EmissionDirection = "Bottom"
138
local bladeefo = Instance.new("ParticleEmitter",hair2)
139
bladeefo.Texture = "http://www.roblox.com/asset/?id=75202463"
140
bladeefo.LightEmission = 1
141
bladeefo.LockedToPart = false
142
bladeefo.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
143
bladeefo.Rate = 30
144
bladeefo.EmissionDirection = "Bottom"
145
bladeefo.Lifetime = NumberRange.new(.5)
146
bladeefo.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)})
147
bladeefo.Speed = NumberRange.new(5)
148
bladeefo.EmissionDirection = "Bottom"
149
----------------------------------------------------
150
local blade = Instance.new("ParticleEmitter",hair)
151
blade.Texture = "http://www.roblox.com/asset/?id=348467696"
152
blade.LightEmission = 1
153
blade.LockedToPart = false
154
blade.Color = ColorSequence.new(BrickColor.new("Toothpaste").Color)
155
blade.Rate = 20
156
blade.EmissionDirection = "Bottom"
157
blade.Lifetime = NumberRange.new(0.5)
158
blade.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.5,0),NumberSequenceKeypoint.new(1,0,0)})
159
blade.Speed = NumberRange.new(5)
160
local blade = Instance.new("ParticleEmitter",hair)
161
blade.Texture = "http://www.roblox.com/asset/?id=348467696"
162
blade.LightEmission = 1
163
blade.LockedToPart = false
164
blade.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
165
blade.Rate = 30
166
blade.EmissionDirection = "Bottom"
167
blade.Lifetime = NumberRange.new(.5)
168
blade.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.5,0),NumberSequenceKeypoint.new(1,0,0)})
169
blade.Speed = NumberRange.new(5)
170
blade.EmissionDirection = "Bottom"
171
local blade = Instance.new("ParticleEmitter",hair)
172
blade.Texture = "http://www.roblox.com/asset/?id=75202463"
173
blade.LightEmission = 1
174
blade.LockedToPart = false
175
blade.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
176
blade.Rate = 30
177
blade.EmissionDirection = "Bottom"
178
blade.Lifetime = NumberRange.new(.5)
179
blade.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)})
180
blade.Speed = NumberRange.new(5)
181
blade.EmissionDirection = "Bottom"
182
----------------------------------------
183
local bladee = Instance.new("ParticleEmitter",hair4)
184
bladee.Texture = "http://www.roblox.com/asset/?id=48315270"
185
bladee.LightEmission = 1
186
bladee.LockedToPart = false
187
bladee.Color = ColorSequence.new(BrickColor.new("Toothpaste").Color)
188
bladee.Rate = 50
189
bladee.EmissionDirection = "Top"
190
bladee.SpreadAngle =(Vector2.new(20,20))
191
bladee.Lifetime = NumberRange.new(1)
192
bladee.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
193
bladee.Speed = NumberRange.new(5)
194
local bladee = Instance.new("ParticleEmitter",hair4)
195
bladee.Texture = "http://www.roblox.com/asset/?id=244221535"
196
bladee.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
197
bladee.LightEmission = 0
198
bladee.LockedToPart = true
199
bladee.Rate = math.huge
200
bladee.Lifetime = NumberRange.new(1)
201
bladee.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
202
bladee.Speed = NumberRange.new(1)
203
204
wait(1/60)
205
Effects = { }
206
local Player = game.Players.LocalPlayer
207
local Character = Player.Character
208
local Player = game:service'Players'.localPlayer
209
local chara = Player.Character
210
local Humanoid = chara:FindFirstChildOfClass("Humanoid")
211
local Mouse = Player:GetMouse()
212
local LeftArm = chara["Left Arm"]
213
local RightArm = chara["Right Arm"]
214
local LeftLeg = chara["Left Leg"]
215
local RightLeg = chara["Right Leg"]
216
local Head = chara.Head
217
local Torso = chara.Torso
218
local Character = Player.Character
219
local Humanoid = Character.Humanoid
220
local LeftArm = Character["Left Arm"]
221
local RightArm = Character["Right Arm"]
222
local LeftLeg = Character["Left Leg"]
223
local RightLeg = Character["Right Leg"]
224
local Head = Character.Head
225
local Torso = Character.Torso
226
local Camera = game.Workspace.CurrentCamera
227
local RootPart = chara.HumanoidRootPart
228
local RootJoint = RootPart.RootJoint
229
local attack = false
230
local Anim = 'Idle'
231
local attacktype = 1
232
local delays = false
233
local play = true
234
local targetted = nil
235
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
236
local velocity = RootPart.Velocity.y
237
local sine = 0
238
local change = 1
239
local doe = 0
240
local Create = LoadLibrary("RbxUtility").Create
241
Character.Head.face.Texture = "rbxassetid://0"
242
Humanoid.WalkSpeed = 8
243
244
local particleemitter = Instance.new('ParticleEmitter', LeftArm)
245
        particleemitter.VelocitySpread = 350
246
        particleemitter.Lifetime = NumberRange.new(1)
247
        particleemitter.Speed = NumberRange.new(0)
248
cringememe= {}
249
for i=0, 19 do
250
  cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
251
end
252
particleemitter.Size = NumberSequence.new(cringememe)
253
        particleemitter.Rate = 20
254
        particleemitter.LockedToPart = true
255
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
256
        particleemitter.LightEmission = 1
257
        particleemitter.Texture = "rbxassetid://38727848"
258
        particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
259
260
        local particleemitter = Instance.new('ParticleEmitter', Torso)
261
        particleemitter.VelocitySpread = 250
262
        particleemitter.Lifetime = NumberRange.new(3)
263
        particleemitter.Speed = NumberRange.new(1.5)
264
youAreATHOT = {}
265
for i=0, 19 do
266
  youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
267
end
268
particleemitter.Size = NumberSequence.new(youAreATHOT)
269
        particleemitter.Rate = 10
270
        particleemitter.LockedToPart = false
271
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
272
        particleemitter.LightEmission = 1
273
        particleemitter.Texture = "rbxassetid://253188763"
274
        particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
275
276
        local particleemitter = Instance.new('ParticleEmitter', RightArm)
277
        particleemitter.VelocitySpread = 350
278
        particleemitter.Lifetime = NumberRange.new(1)
279
        particleemitter.Speed = NumberRange.new(0)
280
cringememe2= {}
281
for i=0, 19 do
282
  cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
283
end
284
particleemitter.Size = NumberSequence.new(cringememe2)
285
        particleemitter.Rate = 20
286
        particleemitter.LockedToPart = true
287
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
288
        particleemitter.LightEmission = 1
289
        particleemitter.Texture = "rbxassetid://38727848"
290
        particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
291
292
        local particleemitter = Instance.new('ParticleEmitter', RightLeg)
293
        particleemitter.VelocitySpread = 350
294
        particleemitter.Lifetime = NumberRange.new(1)
295
        particleemitter.Speed = NumberRange.new(0)
296
cringememe3= {}
297
for i=0, 19 do
298
  cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
299
end
300
particleemitter.Size = NumberSequence.new(cringememe3)
301
        particleemitter.Rate = 30
302
        particleemitter.LockedToPart = true
303
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
304
        particleemitter.LightEmission = 1
305
        particleemitter.Texture = "rbxassetid://38727848"
306
        particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
307
308
        local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
309
        particleemitter.VelocitySpread = 350
310
        particleemitter.Lifetime = NumberRange.new(1)
311
        particleemitter.Speed = NumberRange.new(0)
312
cringememe4= {}
313
for i=0, 19 do
314
  cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
315
end
316
particleemitter.Size = NumberSequence.new(cringememe4)
317
        particleemitter.Rate = 30
318
        particleemitter.LockedToPart = true
319
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
320
        particleemitter.LightEmission = 1
321
        particleemitter.Texture = "rbxassetid://38727848"
322
        particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
323
--//====================================================\\--
324
--||			   CREATED BY SHACKLUSTER
325
--\\====================================================//--
326
327
328
329
wait(0.2)
330
331
332
333-
Player = game:GetService("Players").NeighborlyWolfyboy01
333+
Player = game:GetService("Players").Webooz
334
PlayerGui = Player.PlayerGui
335
Cam = workspace.CurrentCamera
336
Backpack = Player.Backpack
337
Character = Player.Character
338
Humanoid = Character.Humanoid
339
Mouse = Player:GetMouse()
340
RootPart = Character["HumanoidRootPart"]
341
Torso = Character["Torso"]
342
Head = Character["Head"]
343
RightArm = Character["Right Arm"]
344
LeftArm = Character["Left Arm"]
345
RightLeg = Character["Right Leg"]
346
LeftLeg = Character["Left Leg"]
347
RootJoint = RootPart["RootJoint"]
348
Neck = Torso["Neck"]
349
RightShoulder = Torso["Right Shoulder"]
350
LeftShoulder = Torso["Left Shoulder"]
351
RightHip = Torso["Right Hip"]
352
LeftHip = Torso["Left Hip"]
353
local sick = Instance.new("Sound",Character)
354
sick.SoundId = "rbxassetid://434996568"
355
sick.Looped = true
356
sick.Pitch = 1
357
sick.Volume = 0.3
358
sick:Play()
359
360
IT = Instance.new
361
CF = CFrame.new
362
VT = Vector3.new
363
RAD = math.rad
364
C3 = Color3.new
365
UD2 = UDim2.new
366
BRICKC = BrickColor.new
367
ANGLES = CFrame.Angles
368
EULER = CFrame.fromEulerAnglesXYZ
369
COS = math.cos
370
ACOS = math.acos
371
SIN = math.sin
372
ASIN = math.asin
373
ABS = math.abs
374
MRANDOM = math.random
375
FLOOR = math.floor
376
377
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
378
	local NEWMESH = IT(MESH)
379
	if MESH == "SpecialMesh" then
380
		NEWMESH.MeshType = MESHTYPE
381
		if MESHID ~= "nil" and MESHID ~= "" then
382
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
383
		end
384
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
385
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
386
		end
387
	end
388
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
389
	NEWMESH.Scale = SCALE
390
	NEWMESH.Parent = PARENT
391
	return NEWMESH
392
end
393
394
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
395
	local NEWPART = IT("Part")
396
	NEWPART.formFactor = FORMFACTOR
397
	NEWPART.Reflectance = REFLECTANCE
398
	NEWPART.Transparency = TRANSPARENCY
399
	NEWPART.CanCollide = false
400
	NEWPART.Locked = true
401
	NEWPART.Anchored = true
402
	if ANCHOR == false then
403
		NEWPART.Anchored = false
404
	end
405
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
406
	NEWPART.Name = NAME
407
	NEWPART.Size = SIZE
408
	NEWPART.Position = Torso.Position
409
	NEWPART.Material = MATERIAL
410
	NEWPART:BreakJoints()
411
	NEWPART.Parent = PARENT
412
	return NEWPART
413
end
414
415
--//=================================\\
416
--||		  CUSTOMIZATION
417
--\\=================================//
418
419
Player_Size = 1 --Size of the player.
420
Animation_Speed = 3
421
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
422
423
local Speed = 16
424
local Effects2 = {}
425
426
--//=================================\\
427
--|| 	  END OF CUSTOMIZATION
428
--\\=================================//
429
430
	local function weldBetween(a, b)
431
	    local weldd = Instance.new("ManualWeld")
432
	    weldd.Part0 = a
433
	    weldd.Part1 = b
434
	    weldd.C0 = CFrame.new()
435
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
436
	    weldd.Parent = a
437
	    return weldd
438
	end
439
440
--//=================================\\
441
--|| 	      USEFUL VALUES
442
--\\=================================//
443
444
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
445
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
446
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
447
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
448
local CHANGEDEFENSE = 0
449
local CHANGEDAMAGE = 0
450
local CHANGEMOVEMENT = 0
451
local ANIM = "Idle"
452
local ATTACK = false
453
local EQUIPPED = false
454
local HOLD = false
455
local COMBO = 1
456
local Rooted = false
457
local SINE = 0
458
local KEYHOLD = false
459
local CHANGE = 2 / Animation_Speed
460
local WALKINGANIM = false
461
local WALK = 0
462
local VALUE1 = false
463
local VALUE2 = false
464
local ROBLOXIDLEANIMATION = IT("Animation")
465
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
466
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
467
--ROBLOXIDLEANIMATION.Parent = Humanoid
468
local WEAPONGUI = IT("ScreenGui", PlayerGui)
469
WEAPONGUI.Name = "Weapon GUI"
470
local Weapon = IT("Model")
471
Weapon.Name = "Adds"
472
local HITFLOOR = nil
473
local Effects = IT("Folder", Weapon)
474
Effects.Name = "Effects"
475
local ANIMATOR = Humanoid.Animator
476
local ANIMATE = Character.Animate
477
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
478
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
479
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
480
local HITBLOCKSOUNDS = {"199148933", "199148947"}
481
local UNANCHOR = true
482
483
local SKILLTEXTCOLOR = C3(0,255/255,0)
484
485
--//=================================\\
486
--\\=================================//
487
488
489
--//=================================\\
490
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
491
--\\=================================//
492
493
ArtificialHB = Instance.new("BindableEvent", script)
494
ArtificialHB.Name = "ArtificialHB"
495
496
script:WaitForChild("ArtificialHB")
497
498
frame = Frame_Speed
499
tf = 0
500
allowframeloss = false
501
tossremainder = false
502
lastframe = tick()
503
script.ArtificialHB:Fire()
504
505
game:GetService("RunService").Heartbeat:connect(function(s, p)
506
	tf = tf + s
507
	if tf >= frame then
508
		if allowframeloss then
509
			script.ArtificialHB:Fire()
510
			lastframe = tick()
511
		else
512
			for i = 1, math.floor(tf / frame) do
513
				script.ArtificialHB:Fire()
514
			end
515
		lastframe = tick()
516
		end
517
		if tossremainder then
518
			tf = 0
519
		else
520
			tf = tf - frame * math.floor(tf / frame)
521
		end
522
	end
523
end)
524
525
--//=================================\\
526
--\\=================================//
527
528
529
530
531
532
--//=================================\\
533
--|| 	      SOME FUNCTIONS
534
--\\=================================//
535
536
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
537
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
538
end
539
540
function PositiveAngle(NUMBER)
541
	if NUMBER >= 0 then
542
		NUMBER = 0
543
	end
544
	return NUMBER
545
end
546
547
function NegativeAngle(NUMBER)
548
	if NUMBER <= 0 then
549
		NUMBER = 0
550
	end
551
	return NUMBER
552
end
553
554
function Swait(NUMBER)
555
	if NUMBER == 0 or NUMBER == nil then
556
		ArtificialHB.Event:wait()
557
	else
558
		for i = 1, NUMBER do
559
			ArtificialHB.Event:wait()
560
		end
561
	end
562
end
563
564
function QuaternionFromCFrame(cf)
565
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
566
	local trace = m00 + m11 + m22
567
	if trace > 0 then 
568
		local s = math.sqrt(1 + trace)
569
		local recip = 0.5 / s
570
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
571
	else
572
		local i = 0
573
		if m11 > m00 then
574
			i = 1
575
		end
576
		if m22 > (i == 0 and m00 or m11) then
577
			i = 2
578
		end
579
		if i == 0 then
580
			local s = math.sqrt(m00 - m11 - m22 + 1)
581
			local recip = 0.5 / s
582
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
583
		elseif i == 1 then
584
			local s = math.sqrt(m11 - m22 - m00 + 1)
585
			local recip = 0.5 / s
586
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
587
		elseif i == 2 then
588
			local s = math.sqrt(m22 - m00 - m11 + 1)
589
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
590
		end
591
	end
592
end
593
 
594
function QuaternionToCFrame(px, py, pz, x, y, z, w)
595
	local xs, ys, zs = x + x, y + y, z + z
596
	local wx, wy, wz = w * xs, w * ys, w * zs
597
	local xx = x * xs
598
	local xy = x * ys
599
	local xz = x * zs
600
	local yy = y * ys
601
	local yz = y * zs
602
	local zz = z * zs
603
	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))
604
end
605
 
606
function QuaternionSlerp(a, b, t)
607
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
608
	local startInterp, finishInterp;
609
	if cosTheta >= 0.0001 then
610
		if (1 - cosTheta) > 0.0001 then
611
			local theta = ACOS(cosTheta)
612
			local invSinTheta = 1 / SIN(theta)
613
			startInterp = SIN((1 - t) * theta) * invSinTheta
614
			finishInterp = SIN(t * theta) * invSinTheta
615
		else
616
			startInterp = 1 - t
617
			finishInterp = t
618
		end
619
	else
620
		if (1 + cosTheta) > 0.0001 then
621
			local theta = ACOS(-cosTheta)
622
			local invSinTheta = 1 / SIN(theta)
623
			startInterp = SIN((t - 1) * theta) * invSinTheta
624
			finishInterp = SIN(t * theta) * invSinTheta
625
		else
626
			startInterp = t - 1
627
			finishInterp = t
628
		end
629
	end
630
	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
631
end
632
633
function Clerp(a, b, t)
634
	local qa = {QuaternionFromCFrame(a)}
635
	local qb = {QuaternionFromCFrame(b)}
636
	local ax, ay, az = a.x, a.y, a.z
637
	local bx, by, bz = b.x, b.y, b.z
638
	local _t = 1 - t
639
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
640
end
641
642
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
643
	local frame = IT("Frame")
644
	frame.BackgroundTransparency = TRANSPARENCY
645
	frame.BorderSizePixel = BORDERSIZEPIXEL
646
	frame.Position = POSITION
647
	frame.Size = SIZE
648
	frame.BackgroundColor3 = COLOR
649
	frame.BorderColor3 = BORDERCOLOR
650
	frame.Name = NAME
651
	frame.Parent = PARENT
652
	return frame
653
end
654
655
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
656
	local label = IT("TextLabel")
657
	label.BackgroundTransparency = 1
658
	label.Size = UD2(1, 0, 1, 0)
659
	label.Position = UD2(0, 0, 0, 0)
660
	label.TextColor3 = TEXTCOLOR
661
	label.TextStrokeTransparency = STROKETRANSPARENCY
662
	label.TextTransparency = TRANSPARENCY
663
	label.FontSize = TEXTFONTSIZE
664
	label.Font = TEXTFONT
665
	label.BorderSizePixel = BORDERSIZEPIXEL
666
	label.TextScaled = false
667
	label.Text = TEXT
668
	label.Name = NAME
669
	label.Parent = PARENT
670
	return label
671
end
672
673
function NoOutlines(PART)
674
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
675
end
676
677
678
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
679
	local NEWWELD = IT(TYPE)
680
	NEWWELD.Part0 = PART0
681
	NEWWELD.Part1 = PART1
682
	NEWWELD.C0 = C0
683
	NEWWELD.C1 = C1
684
	NEWWELD.Parent = PARENT
685
	return NEWWELD
686
end
687
688
function CreateSound(ID, PARENT, VOLUME, PITCH)
689
	local NEWSOUND = nil
690
	coroutine.resume(coroutine.create(function()
691
		NEWSOUND = IT("Sound", PARENT)
692
		NEWSOUND.Volume = VOLUME
693
		NEWSOUND.Pitch = PITCH
694
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
695
		Swait()
696
		NEWSOUND:play()
697
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
698
	end))
699
	return NEWSOUND
700
end
701
702
function CFrameFromTopBack(at, top, back)
703
	local right = top:Cross(back)
704
	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)
705
end
706
707
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
708
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Lime green"), "Effect", VT(0,0,0))
709
	local mesh = IT("SpecialMesh",wave)
710
	mesh.MeshType = "FileMesh"
711
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
712
	mesh.Scale = SIZE
713
	mesh.Offset = VT(0,0,-SIZE.X/8)
714
	wave.CFrame = CFRAME
715
	coroutine.resume(coroutine.create(function(PART)
716
		for i = 1, WAIT do
717
			Swait()
718
			mesh.Scale = mesh.Scale + GROW
719
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
720
			if DOESROT == true then
721
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
722
			end
723
			wave.Transparency = wave.Transparency + (0.5/WAIT)
724
			if wave.Transparency > 0.99 then
725
				wave:remove()
726
			end
727
		end
728
	end))
729
end
730
731
function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
732
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Lime green"), "Effect", VT(0,0,0))
733
	local mesh = IT("SpecialMesh",wave)
734
	mesh.MeshType = "FileMesh"
735
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
736
	mesh.Scale = SIZE
737
	--mesh.Offset = VT(0,0,-SIZE.X/8)
738
	wave.CFrame = CFRAME
739
	coroutine.resume(coroutine.create(function(PART)
740
		for i = 1, WAIT do
741
			Swait()
742
			mesh.Scale = mesh.Scale + GROW
743
			--mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
744
			if DOESROT == true then
745
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
746
			end
747
			wave.Transparency = wave.Transparency + (0.5/WAIT)
748
			if wave.Transparency > 0.99 then
749
				wave:remove()
750
			end
751
		end
752
	end))
753
end
754
755
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
756
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Lime green"), "Effect", VT(0,0,0))
757
	local mesh = IT("SpecialMesh",wave)
758
	mesh.MeshType = "FileMesh"
759
	mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
760
	mesh.Scale = SIZE
761
	wave.CFrame = CFRAME
762
	coroutine.resume(coroutine.create(function(PART)
763
		for i = 1, WAIT do
764
			Swait()
765
			mesh.Scale = mesh.Scale + GROW
766
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
767
			if DOESROT == true then
768
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
769
			end
770
			wave.Transparency = wave.Transparency + (0.5/WAIT)
771
			if wave.Transparency > 0.99 then
772
				wave:remove()
773
			end
774
		end
775
	end))
776
end
777
778
779
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
780
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Lime green"), "Effect", VT(1,1,1), true)
781
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
782
	wave.CFrame = CFRAME
783
	coroutine.resume(coroutine.create(function(PART)
784
		for i = 1, WAIT do
785
			Swait()
786
			mesh.Scale = mesh.Scale * GROW
787
			wave.Transparency = wave.Transparency + (0.5/WAIT)
788
			if wave.Transparency > 0.99 then
789
				wave:remove()
790
			end
791
		end
792
	end))
793
end
794
795
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
796
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Effect", VT(1,1,1), true)
797
	local mesh = IT("SpecialMesh",wave)
798
	mesh.MeshType = "Sphere"
799
	mesh.Scale = SIZE
800
	mesh.Offset = VT(0,0,0)
801
	wave.CFrame = CFRAME
802
	coroutine.resume(coroutine.create(function(PART)
803
		for i = 1, WAIT do
804
			Swait()
805
			mesh.Scale = mesh.Scale + GROW
806
			wave.Transparency = wave.Transparency + (1/WAIT)
807
			if wave.Transparency > 0.99 then
808
				wave:remove()
809
			end
810
		end
811
	end))
812
end
813
814
function MakeForm(PART,TYPE)
815
	if TYPE == "Cyl" then
816
		local MSH = IT("CylinderMesh",PART)
817
	elseif TYPE == "Ball" then
818
		local MSH = IT("SpecialMesh",PART)
819
		MSH.MeshType = "Sphere"
820
	elseif TYPE == "Wedge" then
821
		local MSH = IT("SpecialMesh",PART)
822
		MSH.MeshType = "Wedge"
823
	end
824
end
825
826
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
827
	if FLOOR ~= nil then
828
		coroutine.resume(coroutine.create(function()
829
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
830
			PART.CFrame = CF(POSITION)
831
			for i = 1, 45 do
832
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
833
				RingPiece.Material = FLOOR.Material
834
				RingPiece.Color = FLOOR.Color
835
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
836
				Debris:AddItem(RingPiece,SWAIT/100)
837
			end
838
			PART:remove()
839
		end))
840
	end
841
end
842
843
function CheckTableForString(Table, String)
844
	for i, v in pairs(Table) do
845
		if string.find(string.lower(String), string.lower(v)) then
846
			return true
847
		end
848
	end
849
	return false
850
end
851
852
function CheckIntangible(Hit)
853
	local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
854
	if Hit and Hit.Parent then
855
		if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
856
			return true
857
		end
858
	end
859
	return false
860
end
861
862
Debris = game:GetService("Debris")
863
864
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
865
	local Direction = CFrame.new(StartPos, Vec).lookVector
866
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
867
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
868
	if RayHit and CheckIntangible(RayHit) then
869
		if DelayIfHit then
870
			wait()
871
		end
872
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
873
	end
874
	return RayHit, RayPos, RayNormal
875
end
876
877
function turnto(position)
878
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
879
end
880
881
--//=================================\\
882
--||	     WEAPON CREATION
883
--\\=================================//
884
885
local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
886
local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
887
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
888
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
889
890
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
891
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
892
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
893
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
894
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
895
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
896
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
897
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
898
899
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
900
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
901
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
902
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
903
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
904
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
905
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
906
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
907
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
908
local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
909
910
for _, c in pairs(Weapon:GetChildren()) do
911
	if c.ClassName == "Part" then
912
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
913
	end
914
end
915
916
Weapon.Parent = Character
917
918
Humanoid.Died:connect(function()
919
	ATTACK = true
920
end)
921
922
local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
923
local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
924
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
925
local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
926
927
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Death's Agreement", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
928
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Grab Time", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
929
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Max Speed", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
930
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Green's Ultimate Punch", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
931
932
--//=================================\\
933
--||	     DAMAGE FUNCTIONS
934
--\\=================================//
935
936
function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
937
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
938
	STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
939
	local BODYGYRO = IT("BodyGyro", STATPART)
940
	local BODYPOSITION = IT("BodyPosition", STATPART)
941
	BODYPOSITION.P = 2000
942
	BODYPOSITION.D = 100
943
	BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
944
	BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
945
	game:GetService("Debris"):AddItem(STATPART ,5)
946
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
947
	BILLBOARDGUI.Adornee = STATPART
948
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
949
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
950
	BILLBOARDGUI.AlwaysOnTop = false
951
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
952
	TEXTLABEL.BackgroundTransparency = 1
953
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
954
	TEXTLABEL.Text = TEXT
955
	TEXTLABEL.Font = "SciFi"
956
	TEXTLABEL.FontSize="Size42"
957
	TEXTLABEL.TextColor3 = COLOR
958
	TEXTLABEL.TextStrokeTransparency = 1
959
	TEXTLABEL.TextScaled = true
960
	TEXTLABEL.TextWrapped = true
961
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
962
		if LABELTYPE == "Normal" then
963
			for i = 1, 30 do
964
				Swait()
965
				STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
966
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
967
			end
968
		elseif LABELTYPE == "Debuff" then
969
			for i = 1, 30 do
970
				Swait()
971
				STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
972
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
973
			end
974
		elseif LABELTYPE == "Shock" then
975
			local ORIGIN = STATPART.Position
976
			for i = 1, 30 do
977
				Swait()
978
				STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
979
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
980
			end
981
		end
982
		THEPART.Parent = nil
983
	end),STATPART, BODYPOSITION, TEXTLABEL)
984
end
985
986
--//=================================\\
987
--||			DAMAGING
988
--\\=================================//
989
990
function killnearest(position,range,maxstrength,direction)
991
	for i,v in ipairs(workspace:GetChildren()) do
992
	local body = v:GetChildren()
993
		for part = 1, #body do
994
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
995
				if(body[part].Position - position).Magnitude < range then
996
					if v.ClassName == "Model" then
997
						--v:BreakJoints()
998
					end
999
					local POS = position
1000
					coroutine.resume(coroutine.create(function()
1001
						body[part].Anchored = true
1002
						body[part].Parent = Effects
1003
						body[part].CanCollide = true
1004
						local SIZE = body[part].Size
1005
						body[part].Material = "Neon"
1006
						CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
1007
						for i = 1, 75 do
1008
							Swait()
1009
							body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1010
							body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1011
						end
1012
						coroutine.resume(coroutine.create(function()
1013
							while true do
1014
								Swait()
1015
								body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1016
								body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1017
							end
1018
						end))
1019
						body[part].Anchored = false
1020
						body[part].Velocity = direction.lookVector*maxstrength
1021
					end))
1022
				end
1023
			end
1024
		end
1025
		if v.ClassName == "Part" then
1026
			if v.Anchored == false and (v.Position - position).Magnitude < range then
1027
				local POS = position
1028
				coroutine.resume(coroutine.create(function()
1029
					v.Anchored = true
1030
					v.Parent = Effects
1031
					local SIZE = v.Size
1032
					v.Material = "Neon"
1033
					CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
1034
					for i = 1, 75 do
1035
						Swait()
1036
						v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1037
						v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1038
					end
1039
					coroutine.resume(coroutine.create(function()
1040
						while true do
1041
							Swait()
1042
							v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1043
							v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1044
						end
1045
					end))
1046
					v.Anchored = false
1047
					v.Velocity = direction.lookVector*maxstrength
1048
				end))
1049
			end
1050
		end
1051
	end
1052
end
1053
1054
--//=================================\\
1055
--||	ATTACK FUNCTIONS AND STUFF
1056
--\\=================================//
1057
1058
function AttackTemplate()
1059
	ATTACK = true
1060
	Rooted = false
1061
	for i=0, 1, 0.1 / Animation_Speed do
1062
		Swait()
1063
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1064
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1065
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1066
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1067
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1068
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1069
	end
1070
	ATTACK = false
1071
	Rooted = false
1072
end
1073
1074
function DeathAgreement()
1075
	ATTACK = true
1076
	Rooted = false
1077
	local SPEED = Speed
1078
	Speed = 8
1079
	CreateSound("357202141", RightArm, 10, 1.1)
1080
	for i=0, 4, 0.1 / Animation_Speed do
1081
		Swait()
1082
		turnto(Mouse.Hit.p)
1083
		MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-1/15,-1/15,-1/15))
1084
		MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-2/15,-2/15,-2/15))
1085
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
1086
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
1087
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1088
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1089
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1090
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1091
	end
1092
	for i=0, 0.15, 0.1 / Animation_Speed do
1093
		Swait()
1094
		turnto(Mouse.Hit.p)
1095
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
1096
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
1097
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1098
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1099
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1100
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1101
	end
1102
	local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Lime green", "Punch", VT(50,50,50),false)
1103
	PART.CFrame = RootPart.CFrame * CF(0,0,-25)
1104
	PART.Shape = "Ball"
1105
	local bv = Instance.new("BodyVelocity") 
1106
	bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1107
	bv.velocity = RootPart.CFrame.lookVector*600
1108
	bv.Parent = PART
1109
	bv.Name = "PROJECTILEVELOCITY"
1110
	CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(2.5,0.2,2.5))
1111
	CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(3,0.2,3))
1112
	CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(2,0.6,2))
1113
	CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(2.2,0.6,2.2))
1114
	CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
1115
	coroutine.resume(coroutine.create(function()
1116
		for i = 1, 10 do
1117
			Swait()
1118
			PART.Transparency = PART.Transparency + 0.2/10
1119
			PART.Size = PART.Size + VT(5,5,5)
1120
			killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
1121
		end
1122
		PART:Destroy()
1123
	end))
1124
	for i=0, 1, 0.1 / Animation_Speed do
1125
		Swait()
1126
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
1127
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
1128
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1129
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1130
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
1131
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
1132
	end
1133
	Speed = SPEED
1134
	ATTACK = false
1135
	Rooted = false
1136
end
1137
1138
function GrabTime()
1139
	ATTACK = true
1140
	Rooted = false
1141
	local HASGRABBED = false
1142
	local WELD = nil
1143
	local TORS = nil
1144
	local hitting = FIST.Touched:connect(function(hit) 
1145
		if hit.Parent:FindFirstChild("Humanoid") then
1146
			if hit.Parent.Humanoid.Health ~= 0 then
1147
				UNANCHOR = false
1148
				TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
1149
				TORS.Anchored = true
1150
				TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
1151
           		WELD = weldBetween(RightArm,TORS)
1152
				HASGRABBED = true
1153
				Rooted = true
1154
			end
1155
		end
1156
	end)
1157
	for i=0, 1, 0.1 / Animation_Speed do
1158
		Swait()
1159
		if HASGRABBED == true then
1160
			break
1161
		end
1162
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
1163
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
1164
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1165
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1166
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1167
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
1168
	end
1169
	hitting:disconnect()
1170
	if HASGRABBED == true then
1171
		TORS.Anchored = false
1172
        RootPart.Anchored = true
1173
		for i=0, 2, 0.1 / Animation_Speed do
1174
			Swait()
1175
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1176
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1177
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1178
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1179
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1180
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1181
		end
1182
		CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
1183
		CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
1184
		local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Sound", VT(0,0,0))
1185
		SOUNDPART.CFrame = RootPart.CFrame
1186
		Debris:AddItem(SOUNDPART,5)
1187
		CreateSound("357202073", SOUNDPART, 2, 1)
1188
		for i = 1, 15 do
1189
			Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
1190
		end
1191
		for i=0, 2, 0.1 / Animation_Speed do
1192
			Swait()
1193
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1194
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1195
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1196
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1197
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1198
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1199
		end
1200
		for i=0, 0.25, 0.1 / Animation_Speed do
1201
			Swait()
1202
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
1203
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
1204
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1205
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1206
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1207
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1208
		end
1209
		if HITFLOOR ~= nil then
1210
			CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
1211
		end
1212
		CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
1213
		WELD:remove()
1214
		for i = 1, 25 do
1215
			Swait()
1216
			killnearest(RootPart.Position,45,100,Torso.CFrame)
1217
			CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
1218
			CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Lime green",VT(1,0.4,1))
1219
			CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Lime green",VT(2.3,0.3,2.3))
1220
			Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
1221
			Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Lime green", 1 + MRANDOM(1,30)/15)
1222
		end
1223
	end
1224
	UNANCHOR = true
1225
	ATTACK = false
1226
	Rooted = false
1227
end
1228
1229
function MaxSpeed()
1230
	local ORIGIN = RootPart.Position
1231
	CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
1232
	CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
1233
	local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Sound", VT(0,0,0))
1234
	SOUNDPART.CFrame = RootPart.CFrame
1235
	Debris:AddItem(SOUNDPART,5)
1236
	CreateSound("357202032", SOUNDPART, 2, 1)
1237
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
1238
	Swait()
1239
	CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
1240
	CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
1241
	local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Sound", VT(0,0,0))
1242
	SOUNDPART.CFrame = RootPart.CFrame
1243
	Debris:AddItem(SOUNDPART,5)
1244
	CreateSound("1295446488", SOUNDPART, 2, 1)
1245
	if MRANDOM(1,8) == 1 then
1246
		ATTACK = true
1247
		Rooted = true
1248
		local FRUITSTABLE = {
1249
			{MeshId = "16190555", TextureId = "16190577", Color = "Really red"},
1250
			{MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"},
1251
			{MeshId = "24394186", TextureId = "24394178", Color = "Brown"}
1252
		}
1253
		local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
1254
		local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
1255
 		CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
1256
		FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
1257
		weldBetween(RightArm,FRUITMODEL)
1258
		for i=0, 4, 0.1 / Animation_Speed do
1259
			Swait()
1260
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1261
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1262
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1263
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1264
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1265
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1266
		end
1267
		CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
1268
		FRUITMODEL:remove()
1269
		for i = 1, 15 do
1270
			Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
1271
		end
1272
		for i=0, 0.5, 0.1 / Animation_Speed do
1273
			Swait()
1274
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1275
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1276
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1277
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1278
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1279
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1280
		end
1281
		ATTACK = false
1282
		Rooted = false
1283
	end
1284
end
1285
1286
function GreenUltimate()
1287
	ATTACK = true
1288
	Rooted = true
1289
	CreateSound("358080470", RightArm, 10, 0.8)
1290
	for i=0, 8, 0.1 / Animation_Speed do
1291
		Swait()
1292
		turnto(Mouse.Hit.p)
1293
		CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Lime green",VT(0.2,0,0.2))
1294
		Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1.1)
1295
		MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0)
1296
		MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Lime green",VT(0.001,0.001,2),0)
1297
		MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-1/15,-1/15,-1/15))
1298
		MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-2/15,-2/15,-2/15))
1299
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
1300
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
1301
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1302
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1303
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1304
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1305
	end
1306
	for i=0, 0.15, 0.1 / Animation_Speed do
1307
		Swait()
1308
		turnto(Mouse.Hit.p)
1309
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
1310
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
1311
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1312
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1313
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1314
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1315
	end
1316
	MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Lime green",VT(-0.04,-0.04,-0.04))
1317
	MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
1318
	coroutine.resume(coroutine.create(function()
1319
		Swait(100)
1320
		for i = 1, 5 do
1321
			MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Lime green",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
1322
			CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(4.5*i,0.2,4.5*i))
1323
			CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(5*i,0.2,5*i))
1324
			CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(4*i,0.6,4*i))
1325
			CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(5.2*i,0.6,5.2*i))
1326
		end
1327
		killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
1328
		for i = 1, 5 do
1329
			CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
1330
			CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
1331
		end
1332
		coroutine.resume(coroutine.create(function()
1333
			for i = 1, 50 do
1334
				Swait()
1335
				for i = 1, 1 do
1336
					Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
1337
				end
1338
				for i = 1, 2 do
1339
					Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1 + MRANDOM(1,30)/3)
1340
				end
1341
			end
1342
		end))
1343
	end))
1344
	for i=0, 4, 0.1 / Animation_Speed do
1345
		Swait()
1346
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
1347
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
1348
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1349
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1350
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
1351
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
1352
	end
1353
	ATTACK = false
1354
	Rooted = false
1355
end
1356
1357
--//=================================\\
1358
--||	  ASSIGN THINGS TO KEYS
1359
--\\=================================//
1360
1361
function MouseDown(Mouse)
1362
	if ATTACK == false then
1363
	end
1364
end
1365
1366
function MouseUp(Mouse)
1367
HOLD = false
1368
end
1369
1370
function KeyDown(Key)
1371
	KEYHOLD = true
1372
	if Key == "z" and ATTACK == false then
1373
		DeathAgreement()
1374
	end
1375
1376
	if Key == "b" and ATTACK == false then
1377
		GrabTime()
1378
	end
1379
1380
	if Key == "c" and ATTACK == false then
1381
		MaxSpeed()
1382
	end
1383
1384
	if Key == "x" and ATTACK == false then
1385
		GreenUltimate()
1386
	end
1387
1388
	if Key == "p" and ATTACK == false then
1389
		if Speed == 16 then
1390
			Speed = 150
1391
		elseif Speed == 150 then
1392
			Speed = 16
1393
		end
1394
	end
1395
end
1396
1397
function KeyUp(Key)
1398
	KEYHOLD = false
1399
end
1400
1401
	Mouse.Button1Down:connect(function(NEWKEY)
1402
		MouseDown(NEWKEY)
1403
	end)
1404
	Mouse.Button1Up:connect(function(NEWKEY)
1405
		MouseUp(NEWKEY)
1406
	end)
1407
	Mouse.KeyDown:connect(function(NEWKEY)
1408
		KeyDown(NEWKEY)
1409
	end)
1410
	Mouse.KeyUp:connect(function(NEWKEY)
1411
		KeyUp(NEWKEY)
1412
	end)
1413
1414
--//=================================\\
1415
--\\=================================//
1416
1417
1418
function unanchor()
1419
	if UNANCHOR == true then
1420
		g = Character:GetChildren()
1421
		for i = 1, #g do
1422
			if g[i].ClassName == "Part" then
1423
				g[i].Anchored = false
1424
			end
1425
		end
1426
	end
1427
end
1428
1429
1430
--//=================================\\
1431
--||	WRAP THE WHOLE SCRIPT UP
1432
--\\=================================//
1433
1434
Humanoid.Changed:connect(function(Jump)
1435
	if Jump == "Jump" and (Disable_Jump == true) then
1436
		Humanoid.Jump = false
1437
	end
1438
end)
1439
1440
while true do
1441
	Swait()
1442
	ANIMATE.Parent = nil
1443
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1444
	IDLEANIMATION:Play()
1445
	SINE = SINE + CHANGE
1446
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1447
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1448
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
1449
	HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
1450
	local WALKSPEEDVALUE = 0
1451
	if Speed < 35 then
1452
		WALKSPEEDVALUE = 6
1453
	else
1454
		WALKSPEEDVALUE = 3
1455
	end
1456
	if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
1457
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed)
1458
		Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
1459
		if Speed < 35 then
1460
			RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
1461
			LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
1462
		else
1463
			RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
1464
			LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
1465
		end
1466
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
1467
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1468
		Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1469
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1470
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1471
	end
1472
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1473
		ANIM = "Jump"
1474
		if ATTACK == false then
1475
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1476
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1477
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1478
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1479
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1480
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1481
	    end
1482
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1483
		ANIM = "Fall"
1484
		if ATTACK == false then
1485
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1486
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1487
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1488
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1489
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1490
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
1491
		end
1492
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1493
		ANIM = "Idle"
1494
		if ATTACK == false then
1495
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1496
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1497
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1498
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1499
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1500
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1501
		end
1502
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
1503
		ANIM = "Walk"
1504
		WALK = WALK + 1 / Animation_Speed
1505
		if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
1506
			WALK = 0
1507
			if WALKINGANIM == true then
1508
				WALKINGANIM = false
1509
			elseif WALKINGANIM == false then
1510
				WALKINGANIM = true
1511
			end
1512
		end
1513
		--RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1514
		--LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1515
		if ATTACK == false then
1516
			if Speed < 35 then
1517
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1518
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1519
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1520
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1521
				RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
1522
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
1523
			else
1524
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1525
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1526
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1527
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1528
				RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
1529
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
1530
			end
1531
		end
1532
	end
1533
	unanchor()
1534
	Humanoid.MaxHealth = "inf"
1535
	Humanoid.Health = "inf"
1536
	if Rooted == false then
1537
		Disable_Jump = false
1538
		Humanoid.WalkSpeed = Speed
1539
	elseif Rooted == true then
1540
		Disable_Jump = true
1541
		Humanoid.WalkSpeed = 0
1542
	end
1543
	local MATHS = {"0","1"}
1544
	Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
1545
	Humanoid.PlatformStand = false
1546
end
1547
1548
--//=================================\\
1549
--\\=================================//
1550
1551
1552
1553
1554
1555
--//====================================================\\--
1556
--||			  		 END OF SCRIPT
1557
--\\====================================================//--