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