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