View difference between Paste ID: DyQ0aNSt and 2w1eS0h3
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-
--||			  'MURDER' BY SHACKLUSTER
2+
local Player,game,owner = owner,game
3-
--||
3+
local RealPlayer = Player
4-
--||                  TASTE OF BLOOD.
4+
do
5-
--||           IT'S MURDER, WAS IT WORTH IT?
5+
    local rp = RealPlayer
6-
--||      THIS IS YOUR FAULTH, YOU CHOSE THIS PATH.
6+
    script.Parent = rp.Character
7-
--\\====================================================//--
7+
   
8
    --RemoteEvent for communicating
9
    local Event = Instance.new("RemoteEvent")
10
    Event.Name = "UserInput_Event"
11
 
12
    --Fake event to make stuff like Mouse.KeyDown work
13
    local function fakeEvent()
14
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
15
        t.connect = t.Connect
16
        return t
17
    end
18
 
19
    --Creating fake input objects with fake variables
20
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
21
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
22
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
23
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
24
    end}
25
    --Merged 2 functions into one by checking amount of arguments
26
    CAS.UnbindAction = CAS.BindAction
27
 
28
    --This function will trigger the events that have been :Connect()'ed
29
    local function te(self,ev,...)
30
        local t = m[ev]
31
        if t and t._fakeEvent then
32
            for _,f in pairs(t.Functions) do
33
                f(...)
34
            end
35
        end
36
    end
37
    m.TrigEvent = te
38
    UIS.TrigEvent = te
39
 
40
    Event.OnServerEvent:Connect(function(plr,io)
41
        if plr~=rp then return end
42
        m.Target = io.Target
43
        m.Hit = io.Hit
44
        if not io.isMouse then
45
            local b = io.UserInputState == Enum.UserInputState.Begin
46
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
47
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
48
            end
49
            for _,t in pairs(CAS.Actions) do
50
                for _,k in pairs(t.Keys) do
51
                    if k==io.KeyCode then
52
                        t.Function(t.Name,io.UserInputState,io)
53
                    end
54
                end
55
            end
56
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
57
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
58
        end
59
    end)
60
    Event.Parent = NLS([==[
61
    local Player = game:GetService("Players").LocalPlayer
62
    local Event = script:WaitForChild("UserInput_Event")
63
 
64
    local Mouse = Player:GetMouse()
65
    local UIS = game:GetService("UserInputService")
66
    local input = function(io,a)
67
        if a then return end
68
        --Since InputObject is a client-side instance, we create and pass table instead
69
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
70
    end
71
    UIS.InputBegan:Connect(input)
72
    UIS.InputEnded:Connect(input)
73
 
74
    local h,t
75
    --Give the server mouse data 30 times every second, but only if the values changed
76
    --If player is not moving their mouse, client won't fire events
77
    while wait(1/30) do
78
        if h~=Mouse.Hit or t~=Mouse.Target then
79
            h,t=Mouse.Hit,Mouse.Target
80
            Event:FireServer({isMouse=true,Target=t,Hit=h})
81
        end
82
    end]==],Player.Character)
83
 
84
    ----Sandboxed game object that allows the usage of client-side methods and services
85
    --Real game object
86
    local _rg = game
87
 
88
    --Metatable for fake service
89
    local fsmt = {
90
        __index = function(self,k)
91
            local s = rawget(self,"_RealService")
92
            if s then return s[k] end
93
        end,
94
        __newindex = function(self,k,v)
95
            local s = rawget(self,"_RealService")
96
            if s then s[k]=v end
97
        end,
98
        __call = function(self,...)
99
            local s = rawget(self,"_RealService")
100
            if s then return s(...) end
101
        end
102
    }
103
    local function FakeService(t,RealService)
104
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
105
        return setmetatable(t,fsmt)
106
    end
107
 
108
    --Fake game object
109
    local g = {
110
        GetService = function(self,s)
111
            return self[s]
112
        end,
113
        Players = FakeService({
114
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
115
        },"Players"),
116
        UserInputService = FakeService(UIS,"UserInputService"),
117
        ContextActionService = FakeService(CAS,"ContextActionService"),
118
    }
119
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
120
    g.service = g.GetService
121
   
122
    g.RunService = FakeService({
123
        RenderStepped = _rg:GetService("RunService").Heartbeat,
124
        BindToRenderStep = function(self,name,_,fun)
125
            self._btrs[name] = self.Heartbeat:Connect(fun)
126
        end,
127
        UnbindFromRenderStep = function(self,name)
128
            self._btrs[name]:Disconnect()
129
        end,
130
    },"RunService")
131
 
132
    setmetatable(g,{
133
        __index=function(self,s)
134
            return _rg:GetService(s) or typeof(_rg[s])=="function"
135
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
136
        end,
137
        __newindex = fsmt.__newindex,
138
        __call = fsmt.__call
139
    })
140
    --Changing owner to fake player object to support owner:GetMouse()
141
    game,owner = g,g.Players.LocalPlayer                                                                                             
142
end
143
wait(0.2)
144
145
Player = game:GetService("Players").LocalPlayer
146
PlayerGui = Player.PlayerGui
147
Cam = workspace.CurrentCamera
148
Backpack = Player.Backpack
149
Character = Player.Character
150
Humanoid = Character.Humanoid
151
Mouse = Player:GetMouse()
152
RootPart = Character["HumanoidRootPart"]
153
Torso = Character["Torso"]
154
Head = Character["Head"]
155
RightArm = Character["Right Arm"]
156
LeftArm = Character["Left Arm"]
157
RightLeg = Character["Right Leg"]
158
LeftLeg = Character["Left Leg"]
159
RootJoint = RootPart["RootJoint"]
160
Neck = Torso["Neck"]
161
RightShoulder = Torso["Right Shoulder"]
162
LeftShoulder = Torso["Left Shoulder"]
163
RightHip = Torso["Right Hip"]
164
LeftHip = Torso["Left Hip"]
165
166
IT = Instance.new
167
CF = CFrame.new
168
VT = Vector3.new
169
RAD = math.rad
170
C3 = Color3.new
171
UD2 = UDim2.new
172
BRICKC = BrickColor.new
173
ANGLES = CFrame.Angles
174
EULER = CFrame.fromEulerAnglesXYZ
175
COS = math.cos
176
ACOS = math.acos
177
SIN = math.sin
178
ASIN = math.asin
179
ABS = math.abs
180
MRANDOM = math.random
181
FLOOR = math.floor
182
183
--//=================================\\
184
--|| 	      USEFUL VALUES
185
--\\=================================//
186
187
Animation_Speed = 3
188
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
189
local Speed = 12
190
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
191
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
192
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
193
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
194
local DAMAGEMULTIPLIER = 1
195
local ANIM = "Idle"
196
local ATTACK = false
197
local EQUIPPED = false
198
local HOLD = false
199
local COMBO = 1
200
local Rooted = false
201
local SINE = 0
202
local KEYHOLD = false
203
local CHANGE = 2 / Animation_Speed
204
local WALKINGANIM = false
205
local VALUE1 = false
206
local VALUE2 = false
207
local ROBLOXIDLEANIMATION = IT("Animation")
208
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
209
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
210
--ROBLOXIDLEANIMATION.Parent = Humanoid
211
local WEAPONGUI = IT("ScreenGui", PlayerGui)
212
WEAPONGUI.Name = "[M U R D E R]"
213
local Effects = IT("Folder", Character)
214
Effects.Name = "Effects"
215
local ANIMATOR = Humanoid.Animator
216
local ANIMATE = Character.Animate
217
local UNANCHOR = true
218
219
--//=================================\\
220
--\\=================================//
221
222
223
--//=================================\\
224
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
225
--\\=================================//
226
227
ArtificialHB = Instance.new("BindableEvent", script)
228
ArtificialHB.Name = "ArtificialHB"
229
230
script:WaitForChild("ArtificialHB")
231
232
frame = Frame_Speed
233
tf = 0
234
allowframeloss = false
235
tossremainder = false
236
lastframe = tick()
237
script.ArtificialHB:Fire()
238
239
game:GetService("RunService").Heartbeat:connect(function(s, p)
240
	tf = tf + s
241
	if tf >= frame then
242
		if allowframeloss then
243
			script.ArtificialHB:Fire()
244
			lastframe = tick()
245
		else
246
			for i = 1, math.floor(tf / frame) do
247
				script.ArtificialHB:Fire()
248
			end
249
		lastframe = tick()
250
		end
251
		if tossremainder then
252
			tf = 0
253
		else
254
			tf = tf - frame * math.floor(tf / frame)
255
		end
256
	end
257
end)
258
259
--//=================================\\
260
--\\=================================//
261
262
--//=================================\\
263
--|| 	      SOME FUNCTIONS
264
--\\=================================//
265
266
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
267
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
268
end
269
270
function PositiveAngle(NUMBER)
271
	if NUMBER >= 0 then
272
		NUMBER = 0
273
	end
274
	return NUMBER
275
end
276
277
function NegativeAngle(NUMBER)
278
	if NUMBER <= 0 then
279
		NUMBER = 0
280
	end
281
	return NUMBER
282
end
283
284
function Swait(NUMBER)
285
	if NUMBER == 0 or NUMBER == nil then
286
		ArtificialHB.Event:wait()
287
	else
288
		for i = 1, NUMBER do
289
			ArtificialHB.Event:wait()
290
		end
291
	end
292
end
293
294
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
295
	local NEWMESH = IT(MESH)
296
	if MESH == "SpecialMesh" then
297
		NEWMESH.MeshType = MESHTYPE
298
		if MESHID ~= "nil" and MESHID ~= "" then
299
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
300
		end
301
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
302
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
303
		end
304
	end
305
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
306
	NEWMESH.Scale = SCALE
307
	NEWMESH.Parent = PARENT
308
	return NEWMESH
309
end
310
311
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
312
	local NEWPART = IT("Part")
313
	NEWPART.formFactor = FORMFACTOR
314
	NEWPART.Reflectance = REFLECTANCE
315
	NEWPART.Transparency = TRANSPARENCY
316
	NEWPART.CanCollide = false
317
	NEWPART.Locked = true
318
	NEWPART.Anchored = true
319
	if ANCHOR == false then
320
		NEWPART.Anchored = false
321
	end
322
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
323
	NEWPART.Name = NAME
324
	NEWPART.Size = SIZE
325
	NEWPART.Position = Torso.Position
326
	NEWPART.Material = MATERIAL
327
	NEWPART:BreakJoints()
328
	NEWPART.Parent = PARENT
329
	return NEWPART
330
end
331
332
	local function weldBetween(a, b)
333
	    local weldd = Instance.new("ManualWeld")
334
	    weldd.Part0 = a
335
	    weldd.Part1 = b
336
	    weldd.C0 = CFrame.new()
337
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
338
	    weldd.Parent = a
339
	    return weldd
340
	end
341
342
343
function QuaternionFromCFrame(cf)
344
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
345
	local trace = m00 + m11 + m22
346
	if trace > 0 then 
347
		local s = math.sqrt(1 + trace)
348
		local recip = 0.5 / s
349
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
350
	else
351
		local i = 0
352
		if m11 > m00 then
353
			i = 1
354
		end
355
		if m22 > (i == 0 and m00 or m11) then
356
			i = 2
357
		end
358
		if i == 0 then
359
			local s = math.sqrt(m00 - m11 - m22 + 1)
360
			local recip = 0.5 / s
361
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
362
		elseif i == 1 then
363
			local s = math.sqrt(m11 - m22 - m00 + 1)
364
			local recip = 0.5 / s
365
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
366
		elseif i == 2 then
367
			local s = math.sqrt(m22 - m00 - m11 + 1)
368
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
369
		end
370
	end
371
end
372
 
373
function QuaternionToCFrame(px, py, pz, x, y, z, w)
374
	local xs, ys, zs = x + x, y + y, z + z
375
	local wx, wy, wz = w * xs, w * ys, w * zs
376
	local xx = x * xs
377
	local xy = x * ys
378
	local xz = x * zs
379
	local yy = y * ys
380
	local yz = y * zs
381
	local zz = z * zs
382
	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))
383
end
384
 
385
function QuaternionSlerp(a, b, t)
386
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
387
	local startInterp, finishInterp;
388
	if cosTheta >= 0.0001 then
389
		if (1 - cosTheta) > 0.0001 then
390
			local theta = ACOS(cosTheta)
391
			local invSinTheta = 1 / SIN(theta)
392
			startInterp = SIN((1 - t) * theta) * invSinTheta
393
			finishInterp = SIN(t * theta) * invSinTheta
394
		else
395
			startInterp = 1 - t
396
			finishInterp = t
397
		end
398
	else
399
		if (1 + cosTheta) > 0.0001 then
400
			local theta = ACOS(-cosTheta)
401
			local invSinTheta = 1 / SIN(theta)
402
			startInterp = SIN((t - 1) * theta) * invSinTheta
403
			finishInterp = SIN(t * theta) * invSinTheta
404
		else
405
			startInterp = t - 1
406
			finishInterp = t
407
		end
408
	end
409
	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
410
end
411
412
function Clerp(a, b, t)
413
	local qa = {QuaternionFromCFrame(a)}
414
	local qb = {QuaternionFromCFrame(b)}
415
	local ax, ay, az = a.x, a.y, a.z
416
	local bx, by, bz = b.x, b.y, b.z
417
	local _t = 1 - t
418
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
419
end
420
421
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
422
	local frame = IT("Frame")
423
	frame.BackgroundTransparency = TRANSPARENCY
424
	frame.BorderSizePixel = BORDERSIZEPIXEL
425
	frame.Position = POSITION
426
	frame.Size = SIZE
427
	frame.BackgroundColor3 = COLOR
428
	frame.BorderColor3 = BORDERCOLOR
429
	frame.Name = NAME
430
	frame.Parent = PARENT
431
	return frame
432
end
433
434
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
435
	local label = IT("TextLabel")
436
	label.BackgroundTransparency = 1
437
	label.Size = UD2(1, 0, 1, 0)
438
	label.Position = UD2(0, 0, 0, 0)
439
	label.TextColor3 = TEXTCOLOR
440
	label.TextStrokeTransparency = STROKETRANSPARENCY
441
	label.TextTransparency = TRANSPARENCY
442
	label.FontSize = TEXTFONTSIZE
443
	label.Font = TEXTFONT
444
	label.BorderSizePixel = BORDERSIZEPIXEL
445
	label.TextScaled = false
446
	label.Text = TEXT
447
	label.Name = NAME
448
	label.Parent = PARENT
449
	return label
450
end
451
452
function NoOutlines(PART)
453
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
454
end
455
456
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
457
	local NEWWELD = IT(TYPE)
458
	NEWWELD.Part0 = PART0
459
	NEWWELD.Part1 = PART1
460
	NEWWELD.C0 = C0
461
	NEWWELD.C1 = C1
462
	NEWWELD.Parent = PARENT
463
	return NEWWELD
464
end
465
466
local S = IT("Sound")
467
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
468
	local NEWSOUND = nil
469
	coroutine.resume(coroutine.create(function()
470
		NEWSOUND = S:Clone()
471
		NEWSOUND.Parent = PARENT
472
		NEWSOUND.Volume = VOLUME
473
		NEWSOUND.Pitch = PITCH
474
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
475
		NEWSOUND:play()
476
		if DOESLOOP == true then
477
			NEWSOUND.Looped = true
478
		else
479
			repeat wait(1) until NEWSOUND.Playing == false
480
			NEWSOUND:remove()
481
		end
482
	end))
483
	return NEWSOUND
484
end
485
486
function CFrameFromTopBack(at, top, back)
487
	local right = top:Cross(back)
488
	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)
489
end
490
491
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
492
function WACKYEFFECT(Table)
493
	local TYPE = (Table.EffectType or "Sphere")
494
	local SIZE = (Table.Size or VT(1,1,1))
495
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
496
	local TRANSPARENCY = (Table.Transparency or 0)
497
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
498
	local CFRAME = (Table.CFrame or Torso.CFrame)
499
	local MOVEDIRECTION = (Table.MoveToPos or nil)
500
	local ROTATION1 = (Table.RotationX or 0)
501
	local ROTATION2 = (Table.RotationY or 0)
502
	local ROTATION3 = (Table.RotationZ or 0)
503
	local MATERIAL = (Table.Material or "Neon")
504
	local COLOR = (Table.Color or C3(1,1,1))
505
	local TIME = (Table.Time or 45)
506
	local SOUNDID = (Table.SoundID or nil)
507
	local SOUNDPITCH = (Table.SoundPitch or nil)
508
	local SOUNDVOLUME = (Table.SoundVolume or nil)
509
	coroutine.resume(coroutine.create(function()
510
		local PLAYSSOUND = false
511
		local SOUND = nil
512
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
513
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
514
			PLAYSSOUND = true
515
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
516
		end
517
		EFFECT.Color = COLOR
518
		local MSH = nil
519
		if TYPE == "Sphere" then
520
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
521
		elseif TYPE == "Block" or TYPE == "Box" then
522
			MSH = IT("BlockMesh",EFFECT)
523
			MSH.Scale = SIZE
524
		elseif TYPE == "Wave" then
525
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
526
		elseif TYPE == "Ring" then
527
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
528
		elseif TYPE == "Slash" then
529
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
530
		elseif TYPE == "Round Slash" then
531
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
532
		elseif TYPE == "Swirl" then
533
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
534
		elseif TYPE == "Skull" then
535
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
536
		elseif TYPE == "Crystal" then
537
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
538
		end
539
		if MSH ~= nil then
540
			local MOVESPEED = nil
541
			if MOVEDIRECTION ~= nil then
542
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
543
			end
544
			local GROWTH = SIZE - ENDSIZE
545
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
546
			if TYPE == "Block" then
547
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
548
			else
549
				EFFECT.CFrame = CFRAME
550
			end
551
			for LOOP = 1, TIME+1 do
552
				Swait()
553
				MSH.Scale = MSH.Scale - GROWTH/TIME
554
				if TYPE == "Wave" then
555
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
556
				end
557
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
558
				if TYPE == "Block" then
559
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
560
				else
561
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
562
				end
563
				if MOVEDIRECTION ~= nil then
564
					local ORI = EFFECT.Orientation
565
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
566
					EFFECT.Orientation = ORI
567
				end
568
			end
569
			if PLAYSSOUND == false then
570
				EFFECT:remove()
571
			else
572
				repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
573
				EFFECT:remove()
574
			end
575
		else
576
			if PLAYSSOUND == false then
577
				EFFECT:remove()
578
			else
579
				repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
580
				EFFECT:remove()
581
			end
582
		end
583
	end))
584
end
585
586
Debris = game:GetService("Debris")
587
588
function CharacterFade(COLOR,TIMER)
589
	coroutine.resume(coroutine.create(function()
590
		local FADE = IT("Model",Effects)
591
		FADE.Name = "FadingEffect"
592
		for _, c in pairs(Character:GetChildren()) do
593
			if c.ClassName == "Part" and c ~= RootPart then
594
				local FADER = c:Clone()
595
				FADER.Color = COLOR
596
				FADER.CFrame = c.CFrame
597
				FADER.Parent = FADE
598
				FADER.Anchored = true
599
				FADER.Transparency = 0.25+c.Transparency
600
				FADER:BreakJoints()
601
				FADER.Material = "Neon"
602
				if FADER.Name == "Head" then
603
					FADER:ClearAllChildren()
604
					FADER.Size = VT(1,1,1)
605
				end
606
				FADER.CanCollide = false
607
			end
608
		end
609
		local TRANS = 0.75/TIMER
610
		for i = 1, TIMER do
611
			Swait()
612
			for _, c in pairs(FADE:GetChildren()) do
613
				if c.ClassName == "Part" then
614
					c.Transparency = c.Transparency + TRANS
615
				end
616
			end
617
		end
618
		FADE:remove()
619
	end))
620
end
621
622
function Chunks(PART)
623
	for i = 1, MRANDOM(3,5) do
624
		coroutine.resume(coroutine.create(function()
625
			local CHUNK = CreatePart(3, workspace, PART.Material, 0, PART.Transparency, PART.BrickColor, "Chunk", VT(0.3,0.3,0.3)*MRANDOM(7,13)/10, false)
626
			CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
627
			local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6)
628
			CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65)
629
			wait(0.1)
630
			CHUNK.CanCollide = true
631
			wait(MRANDOM(15,25)/5)
632
			for i = 1, 25 do
633
				Swait()
634
				CHUNK.Transparency = CHUNK.Transparency + 1/25
635
			end
636
			CHUNK:remove()
637
		end))
638
	end
639
end
640
641
function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
642
	if FLOOR ~= nil then
643
		for i = 1, AMOUNT do
644
			local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
645
			DEBREE.Material = FLOOR.Material
646
			DEBREE.Color = FLOOR.Color
647
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
648
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
649
			coroutine.resume(coroutine.create(function()
650
				Swait(15)
651
				DEBREE.Parent = workspace
652
				DEBREE.CanCollide = true
653
				Debris:AddItem(DEBREE,SWAIT)
654
			end))
655
		end
656
	end
657
end
658
659
--//=================================\\
660
--||	    GUIS AND MISC
661
--\\=================================//
662
663
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
664
PRT.Color = C3(0,0,0)
665
local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
666
CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
667
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
668
PRT.Color = C3(0,0,0)
669
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
670
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
671
for i = 1, 16 do
672
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
673
	FACE.Color = C3(0,0,0)
674
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
675
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
676
end
677
678
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
679
local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
680
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
681
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
682
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
683
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
684
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
685
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
686
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
687
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
688
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
689
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
690
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
691
MakeForm(Part,"Cyl")
692
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
693
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
694
MakeForm(Part,"Cyl")
695
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
696
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
697
MakeForm(Part,"Cyl")
698
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
699
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
700
MakeForm(Part,"Wedge")
701
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
702
local LASTPART = Handle
703
for i = 1, 10 do
704
	if LASTPART == Handle then
705
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
706
		LASTPART = Part
707
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
708
	else
709
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
710
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
711
		LASTPART = Part
712
	end
713
end
714
715
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
716
MakeForm(Barrel,"Cyl")
717
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
718
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
719
MakeForm(Part,"Cyl")
720
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
721
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
722
MakeForm(Part,"Wedge")
723
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
724
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
725
MakeForm(Hole,"Cyl")
726
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
727
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
728
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
729
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
730
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
731
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
732
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
733
coroutine.resume(coroutine.create(function()
734
	while wait() do
735
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
736
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
737
	end
738
end))
739
for i = 1, 10 do
740
	local FACE = CreatePart(3, Head, "Fabric", 0, 0+(i-1)/10.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
741
	FACE.Color = C3(0,0,0)
742
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
743
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.28-(i-1)/30,0), CF(0, 0, 0))
744
end
745
local LASTPART = Head
746
for i = 1, 15 do
747
	local MATH = (1-(i/16))
748
	if LASTPART == Head then
749
		local Horn = CreatePart(3, Character, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
750
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(5), RAD(-25)), CF(0, 0, 0))
751
		LASTPART = Horn
752
		Horn.Color = C3((i/15),0,0)
753
		local MSH = IT("BlockMesh",Horn)
754
		MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
755
	else
756
		local Horn = CreatePart(3, Character, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
757
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2.1, 0) * ANGLES(RAD(25), RAD(5), RAD(0)), CF(0, -Horn.Size.Y/2.2, 0))
758
		LASTPART = Horn
759
		Horn.Color = C3((i/15),0,0)
760
		local MSH = IT("BlockMesh",Horn)
761
		MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
762
	end
763
end
764
local LASTPART = Head
765
for i = 1, 15 do
766
	local MATH = (1-(i/16))
767
	if LASTPART == Head then
768
		local Horn = CreatePart(3, Character, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
769
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(-5), RAD(25)), CF(0, 0, 0))
770
		LASTPART = Horn
771
		Horn.Color = C3((i/15),0,0)
772
		local MSH = IT("BlockMesh",Horn)
773
		MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
774
	else
775
		local Horn = CreatePart(3, Character, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
776
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2.1, 0) * ANGLES(RAD(25), RAD(-5), RAD(0)), CF(0, -Horn.Size.Y/2.2, 0))
777
		LASTPART = Horn
778
		Horn.Color = C3((i/15),0,0)
779
		local MSH = IT("BlockMesh",Horn)
780
		MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
781
	end
782
end
783
784
local SKILLTEXTCOLOR = C3(1,0,0)
785
local SKILLFONT = "Antique"
786
local SKILLTEXTSIZE = 7
787
788
local ATTACKS = {"Z - Neckless","C - Brave Speed","G - Slashed","V - Dirtface"}
789
790
local GUIS = {}
791
for i = 1, #ATTACKS do
792
	local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.02*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
793
	local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Skill text")
794
	SKILLTEXT.TextXAlignment = "Right"
795
	table.insert(GUIS,SKILLTEXT)
796
end
797
798
local sick = IT("Sound",RootPart)
799
sick.SoundId = "rbxassetid://407749940"
800
sick.Looped = true
801
sick.Pitch = 1
802
sick.Volume = 3
803
sick:Play()
804
805
warn("TASTE OF BLOOD.")
806
warn("IT'S MURDER, WAS IT WORTH IT?")
807
warn("THIS IS YOUR FAULTH, YOU CHOSE THIS PATH.")
808
809
--//=================================\\
810
--||		    INSANITY
811
--\\=================================//
812
813
local FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "BYE")
814
local FACEME = {"DIE","RUN","DEATH","GET GOUT","WOUNDED","DIE"}
815
local INSANITYGUIS = {}
816
for e = 1, 28 do
817
	for i = 1, 22 do
818
		local MURDERFRAME = FRAME:Clone()
819
		MURDERFRAME.Position = UD2(-0.05+i/30, 0, e/30, 0)
820
		MURDERFRAME.Parent = WEAPONGUI
821
		table.insert(INSANITYGUIS,MURDERFRAME)
822
	end
823
end
824
coroutine.resume(coroutine.create(function()
825
	while true do
826
		wait()
827
		coroutine.resume(coroutine.create(function()
828
			local COLOR = C3(MRANDOM(100,255)/255,0,0)
829
			local APPEARTEXT = FACEME[MRANDOM(1,#FACEME)]
830
			local SHOW = ""
831
			for i = 1,string.len(APPEARTEXT),1 do
832
				local STRING = string.sub(APPEARTEXT,i,i)
833
				if MRANDOM(1,2) == 1 then
834
					SHOW = SHOW..string.lower(STRING)
835
				else
836
					SHOW = SHOW..STRING
837
				end
838
			end
839
			local PARENT = INSANITYGUIS[MRANDOM(1,#INSANITYGUIS)]
840
			local TEXT = CreateLabel(PARENT, SHOW, COLOR, 14, SKILLFONT, 1, 2, 1, "THISISYOURFAULTH")
841
			for i = 1, 15 do
842
				Swait()
843
				TEXT.Rotation = MRANDOM(-15,15)
844
				TEXT.TextTransparency = TEXT.TextTransparency - 1/15
845
			end
846
			for i = 1, 15 do
847
				Swait()
848
				TEXT.Rotation = MRANDOM(-15,15)
849
				TEXT.TextTransparency = TEXT.TextTransparency + 1/15
850
			end
851
			TEXT:Remove()
852
		end))
853
	end
854
end))
855
FRAME:remove()
856
857
--//=================================\\
858
--||			DAMAGING
859
--\\=================================//
860
861
function ApplyDamage(Humanoid,Damage,OneShot)
862
	Damage = Damage * DAMAGEMULTIPLIER
863
	local DEAD = false
864
	if Humanoid.Health < 2000 and OneShot == false then
865
		if Humanoid.Health - Damage > 0 then
866
			Humanoid.Health = Humanoid.Health - Damage
867
		else
868
			Humanoid.Parent:BreakJoints()
869
			DEAD = true
870
		end
871
	else
872
		DEAD = true
873
		Humanoid.Parent:BreakJoints()
874
	end
875
	if DEAD == true then
876
		local PARTS = {}
877
		for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
878
			if CHILD:IsA("BasePart") then
879
				table.insert(PARTS,CHILD)
880
			end
881
		end
882
		coroutine.resume(coroutine.create(function()
883
			wait(2)
884
			repeat
885
				Swait()
886
				local PIECE = nil
887
				if MRANDOM(1,5) == 1 then
888
					for E = 1, #PARTS do
889
						if MRANDOM(1,5) == 1 then
890
							PIECE = PARTS[E]
891
							table.remove(PARTS,E)
892
							break
893
						end
894
					end
895
				end
896
				if PIECE ~= nil then
897
					if PIECE.Name == "Head" then
898
						WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
899
					else
900
						WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
901
					end
902
					PIECE:remove()
903
				end
904
			until #PARTS == 0
905
		end))
906
	end
907
end
908
function Banish(Foe)
909
	if Foe then
910
		coroutine.resume(coroutine.create(function()
911
			--if game.Players:FindFirstChild(Foe.Name) then
912
				table.insert(TOBANISH,Foe.Name)
913
				printbye(Foe.Name)
914
			--end
915
			Foe.Archivable = true
916
			local CLONE = Foe:Clone()
917
			Foe:Destroy()
918
			CLONE.Parent = Effects
919
			CLONE:BreakJoints()
920
			local MATERIALS = {"Glass","Neon"}
921
			for _, c in pairs(CLONE:GetDescendants()) do
922
				if c:IsA("BasePart") then
923
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
924
 						CreateSound(340722848, c, 10, 1, false)
925
					end
926
					c.Anchored = true
927
					c.Transparency = c.Transparency + 0.2
928
					c.Material = MATERIALS[MRANDOM(1,2)]
929
					c.Color = C3(1,1,1)
930
					if c.ClassName == "MeshPart" then
931
						c.TextureID = ""
932
					end
933
					if c:FindFirstChildOfClass("SpecialMesh") then
934
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
935
					end
936
					if c:FindFirstChildOfClass("Decal") then
937
						c:FindFirstChildOfClass("Decal"):remove()
938
					end
939
					c.Name = "Banished"
940
					c.CanCollide = false
941
				else
942
					c:remove()
943
				end
944
			end
945
			local A = false
946
			for i = 1, 35 do
947
				if A == false then
948
					A = true
949
				elseif A == true then
950
					A = false
951
				end
952
				for _, c in pairs(CLONE:GetDescendants()) do
953
					if c:IsA("BasePart") then
954
						c.Anchored = true
955
						c.Material = MATERIALS[MRANDOM(1,2)]
956
						c.Transparency = c.Transparency + 0.8/35
957
						if A == false then
958
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
959
						elseif A == true then
960
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
961
						end
962
					end
963
				end
964
				Swait()
965
			end
966
			CLONE:remove()
967
		end))
968
	end
969
end
970
971
function ApplyAoE(POSITION,RANGE,ISBANISH)
972
	local CHILDREN = workspace:GetDescendants()
973
	for index, CHILD in pairs(CHILDREN) do
974
		if CHILD.ClassName == "Model" and CHILD ~= Character then
975
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
976
			if HUM then
977
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
978
				if TORSO then
979
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
980
						if ISBANISH == true then
981
							Banish(CHILD)
982
						else
983
							if ISBANISH == "Gravity" then
984
								HUM.PlatformStand = true
985
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
986
									local grav = Instance.new("BodyPosition",TORSO)
987
									grav.D = 15
988
									grav.P = 20000
989
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
990
									grav.position = TORSO.Position
991
									grav.Name = "V3BanishForce"..Player.Name
992
								else
993
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
994
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
995
								end
996
							else
997
								HUM.PlatformStand = false
998
							end
999
						end
1000
					elseif ISBANISH == "Gravity" then
1001
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1002
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1003
							HUM.PlatformStand = false
1004
						end
1005
					end
1006
				end
1007
			end
1008
		end
1009
	end
1010
end
1011
1012
--//=================================\\
1013
--||	ATTACK FUNCTIONS AND STUFF
1014
--\\=================================//
1015
1016
function Neckless()
1017
	local TARGET = Mouse.Target
1018
	if TARGET ~= nil then
1019
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
1020
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
1021
			local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
1022
			if ROOT and HUM.Health > 0 then
1023
				local FOE = Mouse.Target.Parent
1024
				local HEAD = FOE:FindFirstChild("Head")
1025
				if HEAD then
1026
					ATTACK = true
1027
					Rooted = false
1028
					CharacterFade(C3(1,0,0),150)
1029
					RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
1030
					for _, c in pairs(FOE:GetChildren()) do
1031
						if c.ClassName == "Part" then
1032
							c.Anchored = true
1033
						end
1034
					end
1035
					CreateSound(235097614, Torso, 2, 3, false)
1036
					for i=0, 0.5, 0.1 / Animation_Speed do
1037
						Swait()
1038
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1039
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1040
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1041
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1042
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1043
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1044
					end
1045
					if ROOT.Name == "HumanoidRootPart" then
1046
						ROOT:remove()
1047
					end
1048
					FOE:BreakJoints()
1049
					ApplyDamage(HUM,0,true)
1050
					Chunks(HEAD)
1051
					HEAD.CFrame = HEAD.CFrame  * ANGLES(RAD(0), RAD(90), RAD(0))
1052
					CreateSound(363808674, HEAD, 5, 1, false)
1053
					ROOT.Anchored = false
1054
					for i=0, 0.5, 0.1 / Animation_Speed do
1055
						Swait()
1056
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1057
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1058
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.65, -1.5) * ANGLES(RAD(130), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1059
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1060
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1061
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1062
					end
1063
					for _, c in pairs(FOE:GetChildren()) do
1064
						if c.ClassName == "Part" then
1065
							c.Anchored = false
1066
						end
1067
					end
1068
					ATTACK = false
1069
					Rooted = false
1070
				end
1071
			end
1072
		end
1073
	end
1074
end
1075
function BraveSpeed()
1076
	CreateSound(235097614, Torso, 0.2, 3, false)
1077
	for i = 1, 7 do
1078
		CharacterFade(C3(1,0,0),25+(i*10))
1079
		RootPart.CFrame = RootPart.CFrame*CF(0,0,-4)
1080
	end
1081
end
1082
function Slashed()
1083
	local TARGET = Mouse.Target
1084
	if TARGET ~= nil then
1085
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
1086
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
1087
			local ROOT = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
1088
			if ROOT and HUM.Health > 0 then
1089
				local FOE = Mouse.Target.Parent
1090
				ATTACK = true
1091
				coroutine.resume(coroutine.create(function()
1092
					repeat
1093
						Swait()
1094
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.05, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1095
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
1096
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.1) * ANGLES(RAD(50), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1097
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1098
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1099
					until ATTACK == false
1100
				end))
1101
				for i=0, 0.2, 0.1 / Animation_Speed do
1102
					Swait()
1103
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1104
				end
1105
				for i=0, 1.2, 0.1 / Animation_Speed do
1106
					Swait()
1107
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1108
				end
1109
				CreateSound(971125740, LeftArm, 5, 1, false)
1110
				for i=0, 0.1, 0.1 / Animation_Speed do
1111
					Swait()
1112
					WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(1,2,1), Size2 = VT(1,2,1), Transparency = 0.2, Transparency2 = 1, CFrame = LeftArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1113
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1114
				end
1115
				ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(-15), RAD(0), RAD(15))
1116
				WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4})
1117
				WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4})
1118
				coroutine.resume(coroutine.create(function()
1119
					for i = 1, 5 do
1120
						Chunks(ROOT)
1121
					end
1122
					local FAKEROOT1 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
1123
					FAKEROOT1.CanCollide = true
1124
					local FAKEROOT2 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
1125
					FAKEROOT2.CanCollide = true
1126
					FAKEROOT1.CFrame = ROOT.CFrame*CF(0,ROOT.Size.Y/4,0)
1127
					FAKEROOT2.CFrame = ROOT.CFrame*CF(0,-ROOT.Size.Y/4,0)
1128
					ROOT:Remove()
1129
					ApplyDamage(HUM,0,true)
1130
				end))
1131
				for i=0, 0.4, 0.1 / Animation_Speed do
1132
					Swait()
1133
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1134
				end
1135
				ATTACK = false
1136
			end
1137
		end
1138
	end
1139
end
1140
function Dirtface()
1141
	local TARGET = Mouse.Target
1142
	if TARGET ~= nil then
1143
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
1144
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
1145
			local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
1146
			if ROOT and HUM.Health > 0 then
1147
				local FOE = Mouse.Target.Parent
1148
				local HEAD = FOE:FindFirstChild("Head")
1149
				local HITFLOOR = Raycast(ROOT.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.Z, FOE)
1150
				if HEAD and HITFLOOR then
1151
					ATTACK = true
1152
					Rooted = true
1153
					CharacterFade(C3(1,0,0),150)
1154
					RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
1155
					ROOT.Anchored = true
1156
					CreateSound(235097614, Torso, 2, 3, false)
1157
					for i=0, 0.4, 0.1 / Animation_Speed do
1158
						Swait()
1159
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
1160
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
1161
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1162
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1163
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1164
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1165
					end
1166
					for i=0, 0.1, 0.1 / Animation_Speed do
1167
						Swait()
1168
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1169
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
1170
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1171
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1172
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1173
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1174
					end
1175
					ROOT.Anchored = false
1176
					UNANCHOR = false
1177
					local DEAD = false
1178
					local CFRAME = RootPart.CFrame
1179
					CreateSound(260411131, Torso, 2, 3, false)
1180
					coroutine.resume(coroutine.create(function()
1181
						repeat
1182
							Swait()
1183
							RootPart.CFrame = CFRAME
1184
							HEAD.CFrame = RightArm.CFrame*CF(0,-(1+HEAD.Size.Z/2),0) * ANGLES(RAD(-90), RAD(0), RAD(0))
1185
							HEAD.Velocity = VT(0,0,0)
1186
							HUM.PlatformStand = true
1187
						until DEAD == true
1188
					end))
1189
					for i=0, 0.2, 0.1 / Animation_Speed do
1190
						Swait()
1191
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1192
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
1193
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
1194
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1195
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1196
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1197
					end
1198
					for i=0, 1, 0.1 / Animation_Speed do
1199
						Swait()
1200
						RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
1201
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * COS(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
1202
						RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1, 0) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1203
						LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1204
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1205
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1206
					end
1207
					local ERUPT = function()
1208
						local HITFLOOR,HITPOS = Raycast(HEAD.CFrame*CF(0,0.2,0).p+VT(0,0.2,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.X, FOE)
1209
						if HITFLOOR then
1210
							for i = 1, 5 do
1211
								CreateFlyingDebree(HITFLOOR,CF(HITPOS),MRANDOM(1,2),VT(MRANDOM(10,60)/20,MRANDOM(10,60)/20,MRANDOM(10,60)/20),5,MRANDOM(45,85))
1212
							end
1213
							Chunks(HEAD)
1214
							WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,2,1), Size2 = VT(15,0,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 765590102, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 4})
1215
						end
1216
					end
1217
					local ATE = false
1218
					local DEPTH = 1
1219
					coroutine.resume(coroutine.create(function()
1220
						repeat
1221
							Swait()
1222
							RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)), 1 / Animation_Speed)
1223
							Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(-15)), 1 / Animation_Speed)
1224
							RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1-DEPTH/5, -DEPTH/8) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1225
							LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1226
							RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1227
							LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1228
						until ATE == true
1229
					end))
1230
					wait()
1231
					ERUPT()
1232
					wait(2)
1233
					ERUPT()
1234
					DEPTH = 2
1235
					wait(2)
1236
					ERUPT()
1237
					DEPTH = 2.5
1238
					wait(3)
1239
					ERUPT()
1240
					ERUPT()
1241
					HEAD:remove()
1242
					DEAD = true
1243
					ApplyDamage(HUM,0,true)
1244
					wait(0.2)
1245
					ATE = true
1246
					UNANCHOR = true
1247
					ATTACK = false
1248
					Rooted = false
1249
				end
1250
			end
1251
		end
1252
	end
1253
end
1254
function TrustIssues()
1255
	ATTACK = true
1256
	Rooted = false
1257
	CreateSound(649634100,Head,10,0.5,false)
1258
	for i=1, 80 do
1259
		Swait()
1260
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15* COS(i / 5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1261
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
1262
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(-15), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1263
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1264
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1265
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1266
	end
1267
	ATTACK = false
1268
	Rooted = false
1269
end
1270
function Shot()
1271
	ATTACK = true
1272
	Rooted = false
1273
	for i=0, 0.4, 0.1 / Animation_Speed do
1274
		Swait()
1275
		turnto(Mouse.Hit.p)
1276
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1277
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1278
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1279
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1280
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1281
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1282
	end
1283
	repeat
1284
		for i=0, 0.2, 0.1 / Animation_Speed do
1285
			Swait()
1286
			turnto(Mouse.Hit.p)
1287
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1288
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1289
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1290
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1291
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1292
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1293
		end
1294
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1295
		SpawnTrail(Hole.Position,POS)
1296
		if HIT ~= nil then
1297
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1298
				Banish(HIT.Parent)
1299
			end
1300
		end
1301
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1302
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1303
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1304
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1305
		for i=0, 0.3, 0.1 / Animation_Speed do
1306
			Swait()
1307
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1308
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1309
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1310
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1311
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1312
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1313
		end
1314
	until KEYHOLD == false
1315
	ATTACK = false
1316
	Rooted = false
1317
end
1318
1319
--//=================================\\
1320
--||	  ASSIGN THINGS TO KEYS
1321
--\\=================================//
1322
1323
function MouseDown(Mouse)
1324
	if ATTACK == false then
1325
	end
1326
end
1327
1328
function MouseUp(Mouse)
1329
HOLD = false
1330
end
1331
1332
function KeyDown(Key)
1333
	KEYHOLD = true
1334
	if Key == "x" and ATTACK == false then
1335
		Neckless()
1336
	end
1337
1338
	if Key == "c" and ATTACK == false then
1339
		BraveSpeed()
1340
	end
1341
        if Key == "z" and ATTACK == false then
1342
		Shot()
1343
	end
1344
1345
	if Key == "g" and ATTACK == false then
1346
		Slashed()
1347
	end
1348
1349
	if Key == "v" and ATTACK == false then
1350
		Dirtface()
1351
	end
1352
1353
	if Key == "t" and ATTACK == false then
1354
		TrustIssues()
1355
	end
1356
end
1357
1358
function KeyUp(Key)
1359
	KEYHOLD = false
1360
end
1361
1362
	Mouse.Button1Down:connect(function(NEWKEY)
1363
		MouseDown(NEWKEY)
1364
	end)
1365
	Mouse.Button1Up:connect(function(NEWKEY)
1366
		MouseUp(NEWKEY)
1367
	end)
1368
	Mouse.KeyDown:connect(function(NEWKEY)
1369
		KeyDown(NEWKEY)
1370
	end)
1371
	Mouse.KeyUp:connect(function(NEWKEY)
1372
		KeyUp(NEWKEY)
1373
	end)
1374
1375
--//=================================\\
1376
--\\=================================//
1377
1378
function unanchor()
1379
	for _, c in pairs(Character:GetChildren()) do
1380
		if c:IsA("BasePart") and c ~= RootPart then
1381
			c.Anchored = false
1382
		end
1383
	end
1384
	if UNANCHOR == true then
1385
		RootPart.Anchored = false
1386
	else
1387
		RootPart.Anchored = true
1388
	end
1389
end
1390
1391
--//=================================\\
1392
--||	WRAP THE WHOLE SCRIPT UP
1393
--\\=================================//
1394
1395
Humanoid.Changed:connect(function(Jump)
1396
	if Jump == "Jump" and (Disable_Jump == true) then
1397
		Humanoid.Jump = false
1398
	end
1399
end)
1400
1401
while true do
1402
	Swait()
1403
	script.Parent = WEAPONGUI
1404
	ANIMATE.Parent = nil
1405
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1406
	    v:Stop();
1407
	end
1408
	SINE = SINE + CHANGE
1409
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1410
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1411
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1412
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1413
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1414
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.05 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1415
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1416
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.2 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
1417
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
1418
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1419
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1420
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1421
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
1422
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
1423
	end
1424
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1425
		ANIM = "Jump"
1426
		if ATTACK == false then
1427
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1428
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
1429
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1430
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1431
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1432
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1433
		end
1434
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1435
		ANIM = "Fall"
1436
		if ATTACK == false then
1437
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
1438
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1439
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1440
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1441
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1442
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1443
		end
1444
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1445
		ANIM = "Idle"
1446
		if ATTACK == false then
1447
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1448
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
1449
			if MRANDOM(1,7) == 1 then
1450
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
1451
			end
1452
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, 0.5) * ANGLES(RAD(-25 - 4 * COS(SINE / 12)), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1453
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.5) * ANGLES(RAD(-30 - 4 * COS(SINE / 12)), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1454
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1455
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
1456
		end
1457
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1458
		ANIM = "Walk"
1459
		if ATTACK == false then
1460
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed)
1461
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 + MRANDOM(-5,5) - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
1462
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40 * COS(SINE / WALKSPEEDVALUE)), RAD(-15), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1463
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40 * COS(SINE / WALKSPEEDVALUE)), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1464
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1465
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1466
		end
1467
	end
1468
	unanchor()
1469
	Humanoid.MaxHealth = 170
1470
	Humanoid.Health = 170
1471
	Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
1472
	if Rooted == false then
1473
		Disable_Jump = false
1474
		Humanoid.WalkSpeed = Speed
1475
	elseif Rooted == true then
1476
		Disable_Jump = true
1477
		Humanoid.WalkSpeed = 0
1478
	end
1479
	sick.SoundId = "rbxassetid://407749940"
1480
	sick.Looped = true
1481
	sick.Pitch = 1
1482
	sick.Volume = 3
1483
	sick.Playing = true
1484
	if sick.Parent ~= RootPart then
1485
		sick = IT("Sound",RootPart)
1486
	end
1487
	Humanoid.Name = "NONHUM"
1488
	for E = 1, #GUIS do
1489
		GUIS[E].Rotation = MRANDOM(-5,5)/5
1490
	end
1491
	if HITFLOOR ~= nil then
1492
		local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(MRANDOM(3,6),0,0).p
1493
		local BOXFLOOR,BOXPOS = Raycast(POSITION+VT(0,1,0), (CF(POSITION, POSITION + VT(0, -1, 0))).lookVector, 5, Character)
1494
		local EFFECT = "Box"
1495
		local MULTIPLY = 1
1496
		if MRANDOM(1,25) == 1 then
1497
			EFFECT = "Skull"
1498
			MULTIPLY = 3
1499
		end
1500
 		if BOXFLOOR ~= nil then
1501
			WACKYEFFECT({Time = MRANDOM(10,30)*2, EffectType = EFFECT, Size = VT(1.5,1.5,1.5)*MULTIPLY, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BOXPOS-VT(0,2,0))*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = BOXPOS+VT(0,MRANDOM(15,25)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = nil, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
1502
		end
1503
	end
1504
end
1505
1506
--//=================================\\
1507
--\\=================================//
1508
1509
1510
1511
1512
1513
--//====================================================\\--
1514
--||			  		 END OF SCRIPT
1515
--\\====================================================//--