View difference between Paste ID: JsSitnA7 and gfX3h0h1
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ not hl/") end
3
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do
6
    print("FE Compatibility code V2 by Mokiros")
7
    local RealPlayer = RealPlayer
8
    script.Parent = RealPlayer.Character
9
 
10
    --Fake event to make stuff like Mouse.KeyDown work
11
    local Disconnect_Function = function(this)
12
        this[1].Functions[this[2]] = nil
13
    end
14
    local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
    local FakeEvent_Metatable = {__index={
16
        Connect = function(this,f)
17
            local i = tostring(math.random(0,10000))
18
            while this.Functions[i] do
19
                i = tostring(math.random(0,10000))
20
            end
21
            this.Functions[i] = f
22
            return setmetatable({this,i},Disconnect_Metatable)
23
        end
24
    }}
25
    FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
    local function fakeEvent()
27
        return setmetatable({Functions={}},FakeEvent_Metatable)
28
    end
29
 
30
    --Creating fake input objects with fake variables
31
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
    FakeMouse.keyUp = FakeMouse.KeyUp
33
    FakeMouse.keyDown = FakeMouse.KeyDown
34
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
    end}
38
    --Merged 2 functions into one by checking amount of arguments
39
    CAS.UnbindAction = CAS.BindAction
40
 
41
    --This function will trigger the events that have been :Connect()'ed
42
    local function TriggerEvent(self,ev,...)
43
        for _,f in pairs(self[ev].Functions) do
44
            f(...)
45
        end
46
    end
47
    FakeMouse.TriggerEvent = TriggerEvent
48
    UIS.TriggerEvent = TriggerEvent
49
 
50
    --Client communication
51
    local Event = Instance.new("RemoteEvent")
52
    Event.Name = "UserInput_Event"
53
    Event.OnServerEvent:Connect(function(plr,io)
54
        if plr~=RealPlayer then return end
55
        FakeMouse.Target = io.Target
56
        FakeMouse.Hit = io.Hit
57
        if not io.isMouse then
58
            local b = io.UserInputState == Enum.UserInputState.Begin
59
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
                return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
            end
62
            if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
                return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
            end
65
            for _,t in pairs(CAS.Actions) do
66
                for _,k in pairs(t.Keys) do
67
                    if k==io.KeyCode then
68
                        t.Function(t.Name,io.UserInputState,io)
69
                    end
70
                end
71
            end
72
            FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
            UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
        end
75
    end)
76
    Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
    local Mouse = owner:GetMouse()
78
    local UIS = game:GetService("UserInputService")
79
    local input = function(io,RobloxHandled)
80
        if RobloxHandled then return end
81
        --Since InputObject is a client-side instance, we create and pass table instead
82
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
    end
84
    UIS.InputBegan:Connect(input)
85
    UIS.InputEnded:Connect(input)
86
 
87
    local h,t
88
    --Give the server mouse data every second frame, but only if the values changed
89
    --If player is not moving their mouse, client won't fire events
90
    local HB = game:GetService("RunService").Heartbeat
91
    while true do
92
        if h~=Mouse.Hit or t~=Mouse.Target then
93
            h,t=Mouse.Hit,Mouse.Target
94
            Event:FireServer({isMouse=true,Target=t,Hit=h})
95
        end
96
        --Wait 2 frames
97
        for i=1,2 do
98
            HB:Wait()
99
        end
100
    end]==],script)
101
 
102
    ----Sandboxed game object that allows the usage of client-side methods and services
103
    --Real game object
104
    local RealGame = game
105
 
106
    --Metatable for fake service
107
    local FakeService_Metatable = {
108
        __index = function(self,k)
109
            local s = rawget(self,"_RealService")
110
            if s then
111
                return typeof(s[k])=="function"
112
                and function(_,...)return s[k](s,...)end or s[k]
113
            end
114
        end,
115
        __newindex = function(self,k,v)
116
            local s = rawget(self,"_RealService")
117
            if s then s[k]=v end
118
        end
119
    }
120
    local function FakeService(t,RealService)
121
        t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
122
        return setmetatable(t,FakeService_Metatable)
123
    end
124
 
125
    --Fake game object
126
    local FakeGame = {
127
        GetService = function(self,s)
128
            return rawget(self,s) or RealGame:GetService(s)
129
        end,
130
        Players = FakeService({
131
            LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
132
        },"Players"),
133
        UserInputService = FakeService(UIS,"UserInputService"),
134
        ContextActionService = FakeService(CAS,"ContextActionService"),
135
        RunService = FakeService({
136
            _btrs = {},
137
            RenderStepped = RealGame:GetService("RunService").Heartbeat,
138
            BindToRenderStep = function(self,name,_,fun)
139
                self._btrs[name] = self.Heartbeat:Connect(fun)
140
            end,
141
            UnbindFromRenderStep = function(self,name)
142
                self._btrs[name]:Disconnect()
143
            end,
144
        },"RunService")
145
    }
146
    rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
147
    FakeGame.service = FakeGame.GetService
148
    FakeService(FakeGame,game)
149
    --Changing owner to fake player object to support owner:GetMouse()
150
    game,owner = FakeGame,FakeGame.Players.LocalPlayer
151
end
152
warn("Hello and welcome Mr.Death")
153
warn("Reap Edited by ggrelior333")
154
--//====================================================\\--
155
--||			   Made By shackluster
156
--\\====================================================//--
157
158
--//====================================================\\--
159
--||			   Edited By ggrelior333
160
--\\====================================================//--
161
162
wait(0.2)
163
local function callback(text)
164
    if text == "Yes" then
165
	print("User said yes")
166
    elseif text == "No" then
167
	print("User said no")
168
    end
169
end
170
171
local bindableFunction= Instance.new("BindableFunction")
172
173
game.StarterGui:SetCore("SendNotification", {
174
    Title = "Grim loaded";
175
    Text = "Have fun ok?";
176
    Icon = "";
177
    Duration = "5";
178
    callbakc = bindableFunction;
179
    Button1 = "Ok! Sure";
180
    Button2 = "No thanks nub.";
181
})
182
183
wait(0.2)
184
185
186
187
Player = game:GetService("Players").LocalPlayer
188
PlayerGui = Player.PlayerGui
189
Cam = workspace.CurrentCamera
190
Backpack = Player.Backpack
191
Character = Player.Character
192
Humanoid = Character.Humanoid
193
Mouse = Player:GetMouse()
194
RootPart = Character["HumanoidRootPart"]
195
Torso = Character["Torso"]
196
Head = Character["Head"]
197
RightArm = Character["Right Arm"]
198
LeftArm = Character["Left Arm"]
199
RightLeg = Character["Right Leg"]
200
LeftLeg = Character["Left Leg"]
201
RootJoint = RootPart["RootJoint"]
202
Neck = Torso["Neck"]
203
RightShoulder = Torso["Right Shoulder"]
204
LeftShoulder = Torso["Left Shoulder"]
205
RightHip = Torso["Right Hip"]
206
LeftHip = Torso["Left Hip"]
207
local sick = Instance.new("Sound",Character)
208
sick.SoundId = "rbxassetid://542364176"
209
sick.Looped = true
210
sick.Pitch = 1
211
sick.Volume = 2
212
Player:ClearCharacterAppearance()
213
local HANDS = {}
214
Character.Archivable = true
215
Humanoid.DisplayDistanceType = "None"
216
217
local naeeym2 = Instance.new("BillboardGui",Character)
218
naeeym2.AlwaysOnTop = true
219
naeeym2.Size = UDim2.new(5,35,2,35)
220
naeeym2.StudsOffset = Vector3.new(0,3,0)
221
naeeym2.Adornee = Character.Head
222
naeeym2.Name = "Name"
223
naeeym2.PlayerToHideFrom = Player
224
local tecks2 = Instance.new("TextLabel",naeeym2)
225
tecks2.BackgroundTransparency = 1
226
tecks2.TextScaled = true
227
tecks2.BorderSizePixel = 0
228
tecks2.Text = "1x1x1x1IAMbck"
229
tecks2.Font = "Antique"
230
tecks2.TextSize = 30
231
tecks2.TextTransparency = 1
232
tecks2.TextStrokeTransparency = 1
233
tecks2.TextColor3 = Color3.new(1,0,0)
234
tecks2.Size = UDim2.new(1,0,0.5,0)
235
tecks2.Parent = naeeym2
236
237
IT = Instance.new
238
CF = CFrame.new
239
VT = Vector3.new
240
RAD = math.rad
241
C3 = Color3.new
242
UD2 = UDim2.new
243
BRICKC = BrickColor.new
244
ANGLES = CFrame.Angles
245
EULER = CFrame.fromEulerAnglesXYZ
246
COS = math.cos
247
ACOS = math.acos
248
SIN = math.sin
249
ASIN = math.asin
250
ABS = math.abs
251
MRANDOM = math.random
252
FLOOR = math.floor
253
254
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
255
	local NEWMESH = IT(MESH)
256
	if MESH == "SpecialMesh" then
257
		NEWMESH.MeshType = MESHTYPE
258
		if MESHID ~= "nil" and MESHID ~= "" then
259
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
260
		end
261
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
262
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
263
		end
264
	end
265
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
266
	NEWMESH.Scale = SCALE
267
	NEWMESH.Parent = PARENT
268
	return NEWMESH
269
end
270
271
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
272
	local NEWPART = IT("Part")
273
	NEWPART.formFactor = FORMFACTOR
274
	NEWPART.Reflectance = REFLECTANCE
275
	NEWPART.Transparency = TRANSPARENCY
276
	NEWPART.CanCollide = false
277
	NEWPART.Locked = true
278
	NEWPART.Anchored = true
279
	if ANCHOR == false then
280
		NEWPART.Anchored = false
281
	end
282
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
283
	NEWPART.Name = NAME
284
	NEWPART.Size = SIZE
285
	NEWPART.Position = Torso.Position
286
	NEWPART.Material = MATERIAL
287
	NEWPART:BreakJoints()
288
	NEWPART.Parent = PARENT
289
	return NEWPART
290
end
291
292
--//=================================\\
293
--||		  CUSTOMIZATION
294
--\\=================================//
295
296
Player_Size = 1 --Size of the player.
297
Animation_Speed = 3
298
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
299
300
local Speed = 16
301
local Effects2 = {}
302
303
--//=================================\\
304
--|| 	  END OF CUSTOMIZATION
305
--\\=================================//
306
307
	local function weldBetween(a, b)
308
	    local weldd = Instance.new("ManualWeld")
309
	    weldd.Part0 = a
310
	    weldd.Part1 = b
311
	    weldd.C0 = CFrame.new()
312
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
313
	    weldd.Parent = a
314
	    return weldd
315
	end
316
317
--//=================================\\
318
--|| 	      USEFUL VALUES
319
--\\=================================//
320
321
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
322
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
323
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
324
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
325
local CHANGEDEFENSE = 0
326
local CHANGEDAMAGE = 0
327
local CHANGEMOVEMENT = 0
328
local ANIM = "Idle"
329
local ATTACK = false
330
local EQUIPPED = false
331
local HOLD = false
332
local COMBO = 1
333
local Rooted = false
334
local SINE = 0
335
local KEYHOLD = false
336
local CHANGE = 2 / Animation_Speed
337
local WALKINGANIM = false
338
local WALK = 0
339
local VALUE1 = false
340
local VALUE2 = false
341
local ROBLOXIDLEANIMATION = IT("Animation")
342
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
343
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
344
--ROBLOXIDLEANIMATION.Parent = Humanoid
345
local WEAPONGUI = IT("ScreenGui", PlayerGui)
346
WEAPONGUI.Name = "Weapon GUI"
347
local Weapon = IT("Model")
348
Weapon.Name = "Weapon"
349
local Effects = IT("Folder", Weapon)
350
Effects.Name = "Effects"
351
local ANIMATOR = Humanoid.Animator
352
local ANIMATE = Character.Animate
353
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
354
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
355
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
356
local HITBLOCKSOUNDS = {"199148933", "199148947"}
357
local UNANCHOR = true
358
local INTRO = false
359
local TRANSFORMED = false
360
local INSTANT = false
361
362
local SKILLTEXTCOLOR = BRICKC("Black").Color
363
364
--//=================================\\
365
--\\=================================//
366
367
368
--//=================================\\
369
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
370
--\\=================================//
371
372
ArtificialHB = Instance.new("BindableEvent", script)
373
ArtificialHB.Name = "ArtificialHB"
374
375
script:WaitForChild("ArtificialHB")
376
377
frame = Frame_Speed
378
tf = 0
379
allowframeloss = false
380
tossremainder = false
381
lastframe = tick()
382
script.ArtificialHB:Fire()
383
384
game:GetService("RunService").Heartbeat:connect(function(s, p)
385
	tf = tf + s
386
	if tf >= frame then
387
		if allowframeloss then
388
			script.ArtificialHB:Fire()
389
			lastframe = tick()
390
		else
391
			for i = 1, math.floor(tf / frame) do
392
				script.ArtificialHB:Fire()
393
			end
394
		lastframe = tick()
395
		end
396
		if tossremainder then
397
			tf = 0
398
		else
399
			tf = tf - frame * math.floor(tf / frame)
400
		end
401
	end
402
end)
403
404
--//=================================\\
405
            -- Name OF The Grim--
406
--\\=================================//
407
408
local naeeym2 = Instance.new("BillboardGui",Character)
409
naeeym2.AlwaysOnTop = true
410
naeeym2.Size = UDim2.new(5,35,2,35)
411
naeeym2.StudsOffset = Vector3.new(0,4.5,0)
412
naeeym2.Adornee = Character.Head
413
naeeym2.Name = "Name"
414
naeeym2.MaxDistance = 200
415
local tecks2 = Instance.new("TextLabel",naeeym2)
416
tecks2.BackgroundTransparency = 1
417
tecks2.TextScaled = true
418
tecks2.BorderSizePixel = 0
419
tecks2.Text = "Mr.Death"-- The Grim's name! --
420
tecks2.Font = "Fantasy"
421
tecks2.TextSize = 70
422
tecks2.TextStrokeTransparency = 0
423
tecks2.TextColor3 = Color3.new(128, 187, 219)
424
tecks2.TextStrokeColor3 = Color3.new(188/128, 155/187, 93/219)
425
tecks2.Size = UDim2.new(1,0,0.5,0)
426
tecks2.Parent = naeeym2
427
428
429
430
--//=================================\\
431
--|| 	      SOME FUNCTIONS
432
--\\=================================//
433
434
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
435
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
436
end
437
438
function PositiveAngle(NUMBER)
439
	if NUMBER >= 0 then
440
		NUMBER = 0
441
	end
442
	return NUMBER
443
end
444
445
function NegativeAngle(NUMBER)
446
	if NUMBER <= 0 then
447
		NUMBER = 0
448
	end
449
	return NUMBER
450
end
451
452
function Swait(NUMBER)
453
	if NUMBER == 0 or NUMBER == nil then
454
		ArtificialHB.Event:wait()
455
	else
456
		for i = 1, NUMBER do
457
			ArtificialHB.Event:wait()
458
		end
459
	end
460
end
461
462
function QuaternionFromCFrame(cf)
463
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
464
	local trace = m00 + m11 + m22
465
	if trace > 0 then 
466
		local s = math.sqrt(1 + trace)
467
		local recip = 0.5 / s
468
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
469
	else
470
		local i = 0
471
		if m11 > m00 then
472
			i = 1
473
		end
474
		if m22 > (i == 0 and m00 or m11) then
475
			i = 2
476
		end
477
		if i == 0 then
478
			local s = math.sqrt(m00 - m11 - m22 + 1)
479
			local recip = 0.5 / s
480
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
481
		elseif i == 1 then
482
			local s = math.sqrt(m11 - m22 - m00 + 1)
483
			local recip = 0.5 / s
484
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
485
		elseif i == 2 then
486
			local s = math.sqrt(m22 - m00 - m11 + 1)
487
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
488
		end
489
	end
490
end
491
 
492
function QuaternionToCFrame(px, py, pz, x, y, z, w)
493
	local xs, ys, zs = x + x, y + y, z + z
494
	local wx, wy, wz = w * xs, w * ys, w * zs
495
	local xx = x * xs
496
	local xy = x * ys
497
	local xz = x * zs
498
	local yy = y * ys
499
	local yz = y * zs
500
	local zz = z * zs
501
	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))
502
end
503
 
504
function QuaternionSlerp(a, b, t)
505
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
506
	local startInterp, finishInterp;
507
	if cosTheta >= 0.0001 then
508
		if (1 - cosTheta) > 0.0001 then
509
			local theta = ACOS(cosTheta)
510
			local invSinTheta = 1 / SIN(theta)
511
			startInterp = SIN((1 - t) * theta) * invSinTheta
512
			finishInterp = SIN(t * theta) * invSinTheta
513
		else
514
			startInterp = 1 - t
515
			finishInterp = t
516
		end
517
	else
518
		if (1 + cosTheta) > 0.0001 then
519
			local theta = ACOS(-cosTheta)
520
			local invSinTheta = 1 / SIN(theta)
521
			startInterp = SIN((t - 1) * theta) * invSinTheta
522
			finishInterp = SIN(t * theta) * invSinTheta
523
		else
524
			startInterp = t - 1
525
			finishInterp = t
526
		end
527
	end
528
	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
529
end
530
531
function Clerp(a, b, t)
532
	local qa = {QuaternionFromCFrame(a)}
533
	local qb = {QuaternionFromCFrame(b)}
534
	local ax, ay, az = a.x, a.y, a.z
535
	local bx, by, bz = b.x, b.y, b.z
536
	local _t = 1 - t
537
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
538
end
539
540
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
541
	local frame = IT("Frame")
542
	frame.BackgroundTransparency = TRANSPARENCY
543
	frame.BorderSizePixel = BORDERSIZEPIXEL
544
	frame.Position = POSITION
545
	frame.Size = SIZE
546
	frame.BackgroundColor3 = COLOR
547
	frame.BorderColor3 = BORDERCOLOR
548
	frame.Name = NAME
549
	frame.Parent = PARENT
550
	return frame
551
end
552
553
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
554
	local label = IT("TextLabel")
555
	label.BackgroundTransparency = 1
556
	label.Size = UD2(1, 0, 1, 0)
557
	label.Position = UD2(0, 0, 0, 0)
558
	label.TextColor3 = TEXTCOLOR
559
	label.TextStrokeTransparency = STROKETRANSPARENCY
560
	label.TextTransparency = TRANSPARENCY
561
	label.FontSize = TEXTFONTSIZE
562
	label.Font = TEXTFONT
563
	label.BorderSizePixel = BORDERSIZEPIXEL
564
	label.TextScaled = false
565
	label.Text = TEXT
566
	label.Name = NAME
567
	label.Parent = PARENT
568
	return label
569
end
570
571
function NoOutlines(PART)
572
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
573
end
574
575
576
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
577
	local NEWWELD = IT(TYPE)
578
	NEWWELD.Part0 = PART0
579
	NEWWELD.Part1 = PART1
580
	NEWWELD.C0 = C0
581
	NEWWELD.C1 = C1
582
	NEWWELD.Parent = PARENT
583
	return NEWWELD
584
end
585
586
function CreateSound(ID, PARENT, VOLUME, PITCH)
587
	local NEWSOUND = nil
588
	coroutine.resume(coroutine.create(function()
589
		NEWSOUND = IT("Sound", PARENT)
590
		NEWSOUND.Volume = VOLUME
591
		NEWSOUND.Pitch = PITCH
592
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
593
		Swait()
594
		NEWSOUND:play()
595
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
596
	end))
597
	return NEWSOUND
598
end
599
600
function CFrameFromTopBack(at, top, back)
601
	local right = top:Cross(back)
602
	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)
603
end
604
605
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
606
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
607
	local mesh = IT("SpecialMesh",wave)
608
	mesh.MeshType = "FileMesh"
609
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
610
	mesh.Scale = SIZE
611
	mesh.Offset = VT(0,0,0)
612
	wave.CFrame = CFRAME
613
	coroutine.resume(coroutine.create(function(PART)
614
		for i = 1, WAIT do
615
			Swait()
616
			mesh.Scale = mesh.Scale + GROW
617
			if DOESROT == true then
618
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
619
			end
620
			wave.Transparency = wave.Transparency + (0.5/WAIT)
621
			if wave.Transparency > 0.99 then
622
				wave:remove()
623
			end
624
		end
625
	end))
626
end
627
628
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
629
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
630
	local mesh = IT("SpecialMesh",wave)
631
	mesh.MeshType = "Sphere"
632
	mesh.Scale = SIZE
633
	mesh.Offset = VT(0,0,0)
634
	wave.CFrame = CFRAME
635
	coroutine.resume(coroutine.create(function(PART)
636
		for i = 1, WAIT do
637
			Swait()
638
			mesh.Scale = mesh.Scale + GROW
639
			wave.Transparency = wave.Transparency + (1/WAIT)
640
			if wave.Transparency > 0.99 then
641
				wave:remove()
642
			end
643
		end
644
	end))
645
end
646
647
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
648
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
649
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), 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 + (0.5/WAIT)
656
			if wave.Transparency > 0.99 then
657
				wave:remove()
658
			end
659
		end
660
	end))
661
end
662
663
function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
664
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
665
	local mesh = IT("BlockMesh",wave)
666
	wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
667
	coroutine.resume(coroutine.create(function(PART)
668
		for i = 1, WAIT do
669
			Swait()
670
			mesh.Scale = mesh.Scale + GROW
671
			wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
672
			wave.Transparency = wave.Transparency + (1/WAIT)
673
			if wave.Transparency > 0.99 then
674
				wave:remove()
675
			end
676
		end
677
	end))
678
end
679
680
function MakeForm(PART,TYPE)
681
	if TYPE == "Cyl" then
682
		local MSH = IT("CylinderMesh",PART)
683
	elseif TYPE == "Ball" then
684
		local MSH = IT("SpecialMesh",PART)
685
		MSH.MeshType = "Sphere"
686
	elseif TYPE == "Wedge" then
687
		local MSH = IT("SpecialMesh",PART)
688
		MSH.MeshType = "Wedge"
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 RayCast(Position, Direction, MaxDistance, IgnoreList)
727
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
728
end
729
730
function turnto(position)
731
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
732
end
733
734
--//=================================\\
735
--|| 			SPEECH
736
--\\=================================//
737
738
function chatfunc(text,waitt)
739
local chat = coroutine.wrap(function()
740
if Character:FindFirstChild("TalkingBillBoard")~= nil then
741
Character:FindFirstChild("TalkingBillBoard"):destroy()
742
end
743
local naeeym2 = Instance.new("BillboardGui",Character)
744
naeeym2.Size = UDim2.new(0,100,0,40)
745
naeeym2.StudsOffset = Vector3.new(0,5,0)
746
naeeym2.Adornee = Character.Head
747
naeeym2.Name = "TalkingBillBoard"
748
naeeym2.AlwaysOnTop = true
749
local tecks2 = Instance.new("TextLabel",naeeym2)
750
tecks2.BackgroundTransparency = 1
751
tecks2.BorderSizePixel = 0
752
tecks2.Text = ""
753
tecks2.Font = "SciFi"
754
tecks2.TextSize = 30
755
tecks2.TextStrokeTransparency = 1
756
tecks2.TextColor3 = SKILLTEXTCOLOR
757
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
758
tecks2.Size = UDim2.new(1,0,0.5,0)
759
for i = 1,string.len(text),1 do
760
tecks2.Text = string.sub(text,1,i)
761
Swait()
762
end
763
wait(waitt)
764
coroutine.resume(coroutine.create(function()
765
	for i = 1, 10 do
766
		tecks2.TextTransparency = tecks2.TextTransparency + 0.1
767
		Swait()
768
	end
769
	naeeym2:Destroy()
770
end))
771
end)
772
chat()
773
end
774
775
--//=================================\\
776
--||	     WEAPON CREATION
777
--\\=================================//
778
779
local EyeSizes={
780
	NumberSequenceKeypoint.new(0,1,0),
781
	NumberSequenceKeypoint.new(1,0,0)
782
}
783
local EyeTrans={
784
	NumberSequenceKeypoint.new(0,0.8,0),
785
	NumberSequenceKeypoint.new(1,1,0)
786
}
787
local PE=Instance.new("ParticleEmitter",art)
788
PE.LightEmission=.8
789
PE.Color = ColorSequence.new(BRICKC("Really red").Color)
790
PE.Size=NumberSequence.new(EyeSizes)
791
PE.Transparency=NumberSequence.new(EyeTrans)
792
PE.Lifetime=NumberRange.new(0.35,1.5)
793
PE.Rotation=NumberRange.new(0,360)
794
PE.Rate=999
795
PE.VelocitySpread = 10000
796
PE.Acceleration = Vector3.new(0,0,0)
797
PE.Drag = 5
798
PE.Speed = NumberRange.new(0,0,0)
799
PE.Texture="http://www.roblox.com/asset/?id=1351966707"
800
PE.ZOffset = -1.5
801
PE.Name = "PE"
802
PE.Enabled = false
803
804
function particles(art)
805
	local PARTICLES = PE:Clone()
806
	PARTICLES.Parent = art
807
end
808
809
local HANDFOLDER = IT("Folder",Weapon)
810
HANDFOLDER.Name = "Hands"
811
812
for i = 1, 3 do
813
	local Palm = CreatePart(3, HANDFOLDER, "SmoothPlastic", 0, 1, "Really red", "HandPart", VT(1,1,1),false)
814
	local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Palm, Torso, Palm, CF(-1,3,2) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 0, 0))
815
	CreateMesh("SpecialMesh", Palm, "FileMesh", "546760018", "", VT(5,5,5), VT(0,0,0))
816
	local Palm2 = CreatePart(3, HANDFOLDER, "SmoothPlastic", 0, 1, "Really red", "HandPart", VT(1,1,1)*1.2,false)
817
	local HandleWeld2 = CreateWeldOrSnapOrMotor("Weld", Palm2, Palm, Palm2, CF(0.2,1.25,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
818
	MakeForm(Palm2,"Ball")
819
	particles(Palm2)
820
821
	local EN = IT("BoolValue",Palm)
822
	EN.Name = "IsEnabled"
823
	EN.Value = true
824
	table.insert(HANDS,{Palm,HandleWeld})
825
end
826
827
local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Really red", "Hood", VT(1,1,1),false)
828
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Torso, HandlePart, CF(0,0,0.55) * ANGLES(RAD(-190), RAD(180), RAD(0)), CF(0, 0, 0))
829
CreateMesh("SpecialMesh", HandlePart, "FileMesh", "63717022", "", VT(1.5,2.7,1), VT(0,0.8,0))
830
831
local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Really red", "Hood", VT(1,1,1),false)
832
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
833
CreateMesh("SpecialMesh", HandlePart, "FileMesh", "85855767", "", VT(1,1,1), VT(0,-0.25,0))
834
835
local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Really red", "Hood", VT(1,1,1),false)
836
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,-0.8,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
837
CreateMesh("SpecialMesh", HandlePart, "FileMesh", "57780106", "", VT(1,1,1), VT(0,0,0))
838
839
local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Really red", "Hood", VT(1,1,1),false)
840
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
841
CreateMesh("SpecialMesh", HandlePart, "FileMesh", "57780106", "", VT(1,1,1), VT(0,0,0))
842
843
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0.3,0.02,0.1)*1.3,false)
844
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.25, 0.15, -0.5) * ANGLES(RAD(-15), RAD(-25), RAD(0)), CF(0, 0, 0))
845
MakeForm(HandlePart,"Ball")
846
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0.3,0.02,0.1)*1.3,false)
847
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.25, 0.15, -0.5) * ANGLES(RAD(-15), RAD(25), RAD(0)), CF(0, 0, 0))
848
MakeForm(HandlePart,"Ball")
849
850
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0,0.2,0.2), false)
851
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0, 0, -0.55) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
852
MakeForm(HandlePart,"Ball")
853
854
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0.5,0,0.2)*1.3,false)
855
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0, -0.2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
856
MakeForm(HandlePart,"Ball")
857
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0.01,0.2,0.2)*1.4,false)
858
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0, -0.2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
859
MakeForm(HandlePart,"Ball")
860
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0.01,0.2,0.2)*1.4,false)
861
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.05, -0.2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
862
MakeForm(HandlePart,"Ball")
863
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0.01,0.2,0.2)*1.4,false)
864
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.05, -0.2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
865
MakeForm(HandlePart,"Ball")
866
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0.01,0.19,0.2)*1.4,false)
867
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.1, -0.2, -0.49) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
868
MakeForm(HandlePart,"Ball")
869
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0.01,0.19,0.2)*1.4,false)
870
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.1, -0.2, -0.49) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
871
MakeForm(HandlePart,"Ball")
872
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0.01,0.175,0.2)*1.4,false)
873
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.15, -0.2, -0.48) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
874
MakeForm(HandlePart,"Ball")
875
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0.01,0.175,0.2)*1.4,false)
876
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.15, -0.2, -0.48) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
877
MakeForm(HandlePart,"Ball")
878
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0.01,0.15,0.2)*1.4,false)
879
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.2, -0.2, -0.465) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
880
MakeForm(HandlePart,"Ball")
881
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Handle", VT(0.01,0.15,0.2)*1.4,false)
882
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.2, -0.2, -0.465) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
883
MakeForm(HandlePart,"Ball")
884
885
local SCYTHE = IT("Model",Character)
886
SCYTHE.Name = "SCYTHE"
887
888
local B = SCYTHE
889
local HandlePart = CreatePart(3, B, "Neon", 0, 1, "Really red", "HandPart", VT(0.3,0.3,0.3),false)
890
particles(HandlePart)
891
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Character, Torso, HandlePart, CF(0,1,1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
892
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,3.5,0.2),false)
893
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-1.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
894
MakeForm(part,"Ball")
895
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1,0.3),false)
896
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
897
MakeForm(part,"Ball")
898
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.25,1,0.25),false)
899
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
900
MakeForm(part,"Ball")
901
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,2,0.15),false)
902
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
903
MakeForm(part,"Ball")
904
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.55,0.15),false)
905
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,0.75) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
906
MakeForm(part,"Ball")
907
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.5,0.15),false)
908
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.15,1) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
909
MakeForm(part,"Ball")
910
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.45,0.15),false)
911
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.125,1.25) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
912
MakeForm(part,"Ball")
913
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,2,0.3),false)
914
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
915
MakeForm(part,"Ball")
916
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,0.8,0.3),false)
917
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,-3.2) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
918
MakeForm(part,"Ball")
919
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,0.3,0.3),false)
920
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.025,-2.8) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
921
MakeForm(part,"Ball")
922
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.8,0.15),false)
923
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-3.5) * ANGLES(RAD(160), RAD(0), RAD(0)), CF(0, 0, 0))
924
MakeForm(part,"Ball")
925
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,0.8,0.2),false)
926
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.85,-3.8) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
927
MakeForm(part,"Ball")
928
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.4,1.3,0.8),false)
929
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.6,-4.2) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
930
MakeForm(part,"Ball")
931
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1.3,0.6),false)
932
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.3,-4.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
933
MakeForm(part,"Ball")
934
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,2,0.4),false)
935
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,-4.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
936
MakeForm(part,"Ball")
937
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.1,2,0.4),false)
938
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.6,-4.1) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0))
939
MakeForm(part,"Ball")
940
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.05,2,0.2),false)
941
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-1.6,-3.475) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
942
MakeForm(part,"Ball")
943
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1.3,0.6),false)
944
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-4) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
945
MakeForm(part,"Ball")
946
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,1,0.4),false)
947
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.1,-4) * ANGLES(RAD(-35), RAD(0), RAD(0)), CF(0, 0, 0))
948
MakeForm(part,"Ball")
949
local part = CreatePart(3, B, "Granite", 0, 1, "Really red", "ScythePart", VT(0.15,1,0.2),false)
950
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.45,-3.8) * ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0))
951
MakeForm(part,"Ball")
952
local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.1,0.5,0.1),false)
953
local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.1,-3.3) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0))
954
MakeForm(part,"Ball")
955
local HitBox = CreatePart(3, B, "Neon", 0, 1, "Really red", "Hitbox", VT(5,1.3,0.6),false)
956
local weld = CreateWeldOrSnapOrMotor("Weld", HitBox, HandlePart, HitBox, CF(0,0,-3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
957
958
for _, c in pairs(SCYTHE:GetChildren()) do
959
	if c.ClassName == "Part" then
960
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
961
	end
962
end
963
964
Weapon.Parent = Character
965
966
Humanoid.Died:connect(function()
967
	KillChildren(Character)
968
	HANDS = {}
969
	HANDFOLDER:ClearAllChildren()
970
	SCYTHE:ClearAllChildren()
971
	for i = 1, 100 do
972
		Swait()
973
		sick.Volume = sick.Volume - 0.02
974
	end
975
end)
976
977
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")
978
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")
979
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
980
local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
981
local SKILL5FRAME = 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 5 Frame")
982
983
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warp", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 1")
984
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Deadly Dash", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 2")
985
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Fatal Grab", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 3")
986
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Fatal Wave", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 4")
987
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Reap", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 5")
988
989
--//=================================\\
990
--||			DAMAGING
991
--\\=================================//
992
993
function KillChildren(v)
994
	v:BreakJoints()
995
	for _, c in pairs(v:GetChildren()) do
996
		if c.ClassName == "Part" or c.ClassName == "MesPart" then
997
			if c.Transparency < 1 then
998
				if c:FindFirstChildOfClass("Decal") then
999
					c:FindFirstChildOfClass("Decal"):remove()
1000
				end
1001
				particles(c)
1002
				c.PE.Enabled = true
1003
				c.Parent = Effects
1004
				c.CanCollide = false
1005
				c.Material = "Neon"
1006
				c.Color = C3(1,0,0)
1007
				c.Transparency = 0.5
1008
				local grav = Instance.new("BodyPosition",c)
1009
				grav.P = 20000
1010
				grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1011
				grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
1012
				grav.Name = "GravityForce"
1013
				coroutine.resume(coroutine.create(function()
1014
				for i = 1, 50 do
1015
					Swait()
1016
					c.Transparency = c.Transparency + 0.01
1017
				end
1018
				c.PE.Enabled = false
1019
				Debris:AddItem(c,2)
1020
				end))
1021
			end
1022
		end
1023
	end
1024
end
1025
1026
function killnearest(position,range)
1027
	for i,v in ipairs(workspace:GetChildren()) do
1028
	local body = v:GetChildren()
1029
		for part = 1, #body do
1030
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1031
				if(body[part].Position - position).Magnitude < range then
1032
					if v.ClassName == "Model" then
1033
						KillChildren(v)
1034
					end
1035
				end
1036
			end
1037
		end
1038
	end
1039
end
1040
1041
--//=================================\\
1042
--||	ATTACK FUNCTIONS AND STUFF
1043
--\\=================================//
1044
1045
function Intro()
1046
	ATTACK = true
1047
	Rooted = true
1048
	local HITFLOOR, HITPOS = Raycast(VT(0,250,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 500, Character)
1049
	RootPart.CFrame = CF(HITPOS+VT(0,3,0))
1050
	local ORB = CreatePart(3, Head, "Cobblestone", 0, 0, "Really red", "Seal", VT(1,1,1))
1051
	MakeForm(ORB,"Ball")
1052
	local ORB2 = CreatePart(3, Head, "Neon", 0, 0.9, "Really red", "Seal", VT(1,1,1)*1.1)
1053
	MakeForm(ORB2,"Ball")
1054
	ORB.CFrame = CF(HITPOS+VT(0,3,0))
1055
	ORB2.CFrame = CF(HITPOS+VT(0,3,0))
1056
	for _, c in pairs(Character:GetChildren()) do
1057
		if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
1058
			c.Transparency = 1
1059
		end
1060
	end
1061
	for i=0, 1, 0.1 / Animation_Speed do
1062
		Swait()
1063
		ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
1064
		ORB2.CFrame = ORB.CFrame
1065
		for _, c in pairs(Character:GetChildren()) do
1066
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
1067
				c.Transparency = 1
1068
			elseif c.ClassName == "Accessory" then
1069
				c:remove()
1070
			end
1071
		end
1072
		for _, c in pairs(SCYTHE:GetChildren()) do
1073
			if c.ClassName == "Part" then
1074
				c.Transparency = 1
1075
				c.Color = C3(0,0,0)
1076
			end
1077
		end
1078
		Player:ClearCharacterAppearance()
1079
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1080
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1081
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1082
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.75, 0.25, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1083
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1084
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1085
	end
1086
	repeat 
1087
		Swait() 
1088
		ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
1089
		ORB2.CFrame = ORB.CFrame
1090
	until sick.TimePosition > 12
1091
	CreateSound("134978657", Effects, 5, 1)
1092
	repeat 
1093
		Swait()
1094
 		if MRANDOM(1,5) == 1 then 
1095
			local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really red", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
1096
			SPHERE.CFrame = CF(HITPOS) * CF(MRANDOM(-15,15),-5,MRANDOM(-15,15))
1097
			MakeForm(SPHERE,"Ball")
1098
			coroutine.resume(coroutine.create(function()
1099
				for i = 1, 100 do
1100
					Swait()
1101
					SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
1102
					SPHERE.Transparency = (i/100)
1103
				end
1104
				SPHERE:remove()
1105
			end))
1106
		end
1107
		ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
1108
		ORB2.CFrame = ORB.CFrame
1109
		CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(5,5,0))
1110
	until sick.TimePosition > 24
1111
	CreateSound("135017578", Effects, 5, 1)
1112
	repeat 
1113
		Swait()
1114
 		if MRANDOM(1,5) == 1 then 
1115
			local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really red", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
1116
			SPHERE.CFrame = CF(HITPOS) * CF(MRANDOM(-15,15),-5,MRANDOM(-15,15))
1117
			MakeForm(SPHERE,"Ball")
1118
			coroutine.resume(coroutine.create(function()
1119
				for i = 1, 100 do
1120
					Swait()
1121
					SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
1122
					SPHERE.Transparency = (i/100)
1123
				end
1124
				SPHERE:remove()
1125
			end))
1126
		end
1127
		ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
1128
		ORB2.CFrame = ORB.CFrame
1129
		if MRANDOM(1,5) == 1 then 
1130
			CreateRing(VT(0,0,0),false,0,MRANDOM(150,250),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0))
1131
		end
1132
		if MRANDOM(1,5) == 1 then 
1133
			CreateRing(VT(0,0,0),false,0,MRANDOM(15,25),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(3,3,0))
1134
		end
1135
		CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(5,5,0))
1136
	until sick.TimePosition > 34.5
1137
	repeat 
1138
		Swait() 
1139
		ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0))
1140
		ORB2.CFrame = ORB.CFrame
1141
		MagicSphere(VT(0,0,0),15,ORB.CFrame,"Really red",VT(1,15,1))
1142
		if MRANDOM(1,5) == 1 then 
1143
			CreateRing(VT(0,0,0),false,0,MRANDOM(150,250),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0))
1144
		end
1145
		CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(5,5,0))
1146
	until sick.TimePosition > 36
1147
	MagicSphere(VT(0,0,0),15,CF(HITPOS),"Really red",VT(5,5,5))
1148
	MagicSphere(VT(0,0,0),15,CF(HITPOS),"Really red",VT(2.5,2.5,2.5))
1149
	MagicSphere(VT(0,0,0),15,CF(HITPOS),"Really red",VT(0.5,0.5,0.5))
1150
	CreateSound("2691586", Effects, 5, 1)
1151
	CreateSound("181384451", Effects, 10, 0.6)
1152
	ORB:remove()
1153
	ORB2:remove()
1154
	tecks2.TextTransparency = 0
1155
	repeat
1156
		Swait()
1157
		for _, c in pairs(Character:GetChildren()) do
1158
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
1159
				c.Transparency = 0
1160
				c.Color = C3(0,0,0)
1161
			elseif c.ClassName == "Accessory" then
1162
				c:remove()
1163
			end
1164
		end
1165
		for _, c in pairs(Weapon:GetChildren()) do
1166
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
1167
				c.Transparency = 0
1168
			end
1169
		end
1170
		for _, c in pairs(HANDFOLDER:GetChildren()) do
1171
			if c.ClassName == "Part" then
1172
				c.Transparency = 0
1173
				c.Color = C3(0,0,0)
1174
			end
1175
		end
1176
		CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(5,5,0))
1177
		--CreateRing(VT(0,0,0),false,0,150,CF(HITPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(0.2,0.2,0))
1178
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1179
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1180
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1181
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1182
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1183
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1184
	until sick.TimePosition > 42
1185
	HandleWeld.Part0 = RightArm
1186
	for i=0, 1, 0.1 / Animation_Speed do
1187
		Swait()
1188
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
1189
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1190
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1191
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1192
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1193
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1194
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1195
	end
1196
	for i = 1, 100 do
1197
		Swait()
1198
		CreateRing(VT(0,0,0),false,0,150,HitBox.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(0.2,0.2,0))
1199
		for _, c in pairs(SCYTHE:GetChildren()) do
1200
			if c.ClassName == "Part" then
1201
				if c.Material ~= Enum.Material.Neon then
1202
					c.Transparency = c.Transparency - 0.01
1203
				end
1204
				c.Color = C3(0,0,0)
1205
			end
1206
		end
1207
	end
1208
	HandleWeld.Part0 = Torso
1209
	TRANSFORMED = true
1210
	ATTACK = false
1211
	Rooted = false
1212
end
1213
1214
function AttackTemplate()
1215
	ATTACK = true
1216
	Rooted = false
1217
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1218
	HandleWeld.Part0 = RightArm
1219
	HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
1220
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1221
	for i=0, 1, 0.1 / Animation_Speed do
1222
		Swait()
1223
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1224
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1225
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1226
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1227
		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.5 / Animation_Speed)
1228
		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.5 / Animation_Speed)
1229
	end
1230
	HandleWeld.Part0 = Torso
1231
	ATTACK = false
1232
	Rooted = false
1233
end
1234
1235
function Hit()
1236
	local HAND = HANDS[MRANDOM(1,#HANDS)]
1237
	if HAND[1].IsEnabled.Value == true then
1238
		HAND[1].IsEnabled.Value = false
1239
		local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HAND[1], 2, 0.6)
1240
		SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
1241
		for i = 1, 4 do
1242
			Swait()
1243
			killnearest(HAND[1].Position,5)
1244
			HAND[2].C0 = Clerp(HAND[2].C0, CF(0,0,-6) * ANGLES(RAD(90), RAD(0), RAD(45)), 2 / Animation_Speed)
1245
		end
1246
		HAND[1].IsEnabled.Value = true
1247
	end
1248
end
1249
1250
function Warp()
1251
	ATTACK = true
1252
	Rooted = true
1253
	UNANCHOR = false
1254
	RootPart.Anchored = true
1255
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1256
	HandleWeld.Part0 = RightArm
1257
	HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
1258
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1259
	for i=0, 0.5, 0.1 / Animation_Speed do
1260
		Swait()
1261
		CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
1262
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5))
1263
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
1264
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1265
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1266
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1267
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1268
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1269
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1270
	end
1271
	for i = 1, 10 do
1272
		Swait()
1273
		CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
1274
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
1275
		for _, c in pairs(HANDFOLDER:GetChildren()) do
1276
			if c.ClassName == "Part" then
1277
				c.Transparency = c.Transparency + 0.1
1278
			end
1279
		end
1280
	end
1281
	for i=0, 1, 0.1 / Animation_Speed do
1282
		Swait()
1283
		CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
1284
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5))
1285
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
1286
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1287
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1288
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1289
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1290
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1291
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1292
	end
1293
	local ORIGIN = RootPart.Position
1294
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN)
1295
	for i=0, 1, 0.1 / Animation_Speed do
1296
		Swait()
1297
		CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
1298
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5))
1299
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
1300
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1301
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1302
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1303
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1304
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1305
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1306
	end
1307
	UNANCHOR = true
1308
	RootPart.Anchored = false
1309
	for i = 1, 10 do
1310
		Swait()
1311
		CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
1312
		MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
1313
		for _, c in pairs(HANDFOLDER:GetChildren()) do
1314
			if c.ClassName == "Part" then
1315
				c.Transparency = c.Transparency - 0.1
1316
			end
1317
		end
1318
	end
1319
	HandleWeld.Part0 = Torso
1320
	ATTACK = false
1321
	Rooted = false
1322
end
1323
1324
function DeathlyDash()
1325
	ATTACK = true
1326
	Rooted = false
1327
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1328
	HandleWeld.Part0 = RightArm
1329
	HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
1330
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1331
	for i=0, 1, 0.1 / Animation_Speed do
1332
		Swait()
1333
		turnto(Mouse.Hit.p)
1334
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2)
1335
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
1336
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed)
1337
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1338
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1339
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1340
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1341
	end
1342
	local TRAILS = {}
1343
	local FOUND = false
1344
	for i = 1, 75 do
1345
		Swait()
1346
		local TRAIL = Character:Clone()
1347
		for _, c in pairs(TRAIL:GetChildren()) do
1348
			if c.ClassName == "Part" then
1349
				c.Anchored = true
1350
				c.Color = C3(1,0,0)
1351
				c.Transparency = 0.5
1352
				c.Material = "Neon"
1353
				c.CanCollide = false
1354
			else
1355
				c:remove()
1356
			end
1357
		end
1358
		TRAIL.Parent = Effects
1359
		table.insert(TRAILS,TRAIL)
1360
		Debris:AddItem(TRAIL,0.08)
1361
		for _, c in pairs(workspace:GetChildren()) do
1362
			if c.ClassName == "Model" then
1363
				if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
1364
					local HUMANOID = c:FindFirstChildOfClass("Humanoid")
1365
					local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
1366
					if (TORSO.Position - (Torso.CFrame*CF(0,0,-8).p)).Magnitude < 15 then
1367
						killnearest(TORSO.Position,25)
1368
						FOUND = true
1369
					end
1370
				end
1371
			end
1372
		end
1373
		if FOUND == true then
1374
			for i = 1, 65 do
1375
				killnearest(Torso.CFrame*CF(0,0,-8).p,25)
1376
				RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
1377
			end
1378
			local SOUND = CreateSound("62339698", HitBox, 10, 0.3)
1379
			Slice(2,25,RootPart.CFrame *CF(0,0,-5)*ANGLES(RAD(90),RAD(90),RAD(0)),"Really red",1)
1380
			for i=0, 1, 0.1 / Animation_Speed do
1381
				Swait()
1382
				HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-70), RAD(0), RAD(0)), 1)
1383
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(25)), 3 / Animation_Speed)
1384
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 3 / Animation_Speed)
1385
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1386
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1387
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
1388
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
1389
			end
1390
			break
1391
		end
1392
		RootPart.CFrame = RootPart.CFrame * CF(0,0,-2.5)
1393
	end
1394
	HandleWeld.Part0 = Torso  
1395
	ATTACK = false
1396
	Rooted = false
1397
end
1398
1399
function FatalGrab()
1400
	Rooted = true
1401
	local HAND = HANDS[MRANDOM(1,#HANDS)]
1402
	if HAND[1].IsEnabled.Value == true then
1403
		HAND[1].IsEnabled.Value = false
1404
		HAND[1].CanCollide = true
1405
		local GRABBED = false
1406
		local GRABTARGET = nil
1407
		local HUMAN = nil
1408
		local HIT = HAND[1].Touched:Connect(function(hit)
1409
			if hit.Parent:FindFirstChildOfClass("Humanoid") then
1410
				local TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
1411
				if TORS ~= nil then
1412
					GRABTARGET = TORS
1413
					GRABBED = true
1414
					HUMAN = hit.Parent:FindFirstChildOfClass("Humanoid")
1415
				end
1416
			end
1417
		end)
1418
		local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HAND[1], 2, 0.6)
1419
		SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
1420
		for i = 1, 4 do
1421
			Swait()
1422
			turnto(Mouse.Hit.p)
1423
			if GRABBED == true then
1424
				break
1425
			end
1426
			HAND[2].C0 = Clerp(HAND[2].C0, CF(0,5,-20) * ANGLES(RAD(90), RAD(0), RAD(45)), 2 / Animation_Speed)
1427
		end
1428
		if GRABBED == true then
1429
			UNANCHOR = false
1430
			RootPart.Anchored = true
1431
			HUMAN.PlatformStand = true
1432
			GRABTARGET.CFrame = HAND[1].CFrame*ANGLES(RAD(-90),RAD(0),RAD(0))
1433
			local WELD = weldBetween(HAND[1],GRABTARGET)
1434
			VALUE2 = true
1435
			for i = 1, 30 do
1436
				Swait()
1437
				HUMAN.PlatformStand = true
1438
				HAND[2].C0 = Clerp(HAND[2].C0, CF(0,7,-20) * ANGLES(RAD(75), RAD(0), RAD(45)), 0.5 / Animation_Speed)
1439
			end
1440
			for i = 1, 50 do
1441
				Swait()
1442
				HUMAN.PlatformStand = true
1443
				HandleWeld.C0 = Clerp(HandleWeld.C0, CF(15, 7, -19) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.2 / Animation_Speed)
1444
				HAND[2].C0 = Clerp(HAND[2].C0, CF(0+MRANDOM(-2,2)/5,7+MRANDOM(-2,2)/5,-20+MRANDOM(-2,2)/5) * ANGLES(RAD(75), RAD(0), RAD(45)), 3 / Animation_Speed)
1445
			end
1446
			local SOUND = CreateSound("62339698", HitBox, 10, 0.3)
1447
			MagicSphere(VT(0.5,0,0.5),25,CF(GRABTARGET.Position),"Really red",VT(0,5,0))
1448
			CreateSound("289315275", GRABTARGET, 10, 2.5)
1449
			MagicBlock(0,25,HAND[1].CFrame,"Really red",VT(5,5,5))
1450
			WELD:remove()
1451
			KillChildren(GRABTARGET.Parent)
1452
			killnearest(GRABTARGET.Position,10)
1453
			UNANCHOR = true
1454
			RootPart.Anchored = false
1455
			for i = 1, 10 do
1456
				HandleWeld.C0 = Clerp(HandleWeld.C0, CF(-15, 7, -19) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
1457
				Swait()
1458
				HAND[2].C0 = Clerp(HAND[2].C0, CF(0,7,-20) * ANGLES(RAD(75), RAD(0), RAD(45)), 3 / Animation_Speed)
1459
			end
1460
			VALUE2 = false
1461
		end
1462
		HAND[1].CanCollide = false
1463
		HAND[1].IsEnabled.Value = true
1464
	end
1465
	Rooted = false
1466
end
1467
1468
function FatalWave()
1469
	ATTACK = true
1470
	Rooted = true
1471
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1472
	HandleWeld.Part0 = RightArm
1473
	HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
1474
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1475
	for i=0, 1, 0.1 / Animation_Speed do
1476
		Swait()
1477
		CreateRing(VT(0,0,0),false,0,5,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(1,1,0))
1478
		turnto(Mouse.Hit.p)
1479
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2)
1480
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
1481
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed)
1482
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1483
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1484
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1485
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1486
	end
1487
	for i=0,0.1, 0.1 / Animation_Speed do
1488
		Swait()
1489
		turnto(Mouse.Hit.p)
1490
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2)
1491
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5)
1492
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5)
1493
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.5)
1494
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5)
1495
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
1496
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
1497
	end
1498
	local angle = - 30
1499
	for i = 1, 5 do
1500
		coroutine.resume(coroutine.create(function()
1501
			local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
1502
			local SpawnPosition = RayPos
1503
			local floor = RayHit
1504
			local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0))
1505
			local LastPosition = RayPos
1506
			local Delay = 1
1507
			for i = 1, 15 do
1508
				local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
1509
				local End = RayPos
1510
				LastPosition = End
1511
					if SpawnPosition then
1512
						killnearest(End,25)
1513
						CreateRing(VT(0,0,0),false,0,15,needcframe * CF(0,0,-5*i)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(0.4,0.4,0)*i)
1514
						Slice(2+(i/5),25, needcframe * CF(0,0,-5*i)*ANGLES(RAD(90),RAD(90),RAD(0)),"Really red",1)
1515
					end
1516
				Swait()
1517
			end
1518
		end))
1519
		angle = angle + 15
1520
	end
1521
	local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6)
1522
	SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
1523
	CreateSound("62339698", HitBox, 10, 0.4)
1524
	for i=0, 1, 0.1 / Animation_Speed do
1525
		Swait()
1526
		turnto(Mouse.Hit.p)
1527
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2)
1528
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5)
1529
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5)
1530
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 0.5)
1531
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5)
1532
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
1533
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
1534
	end
1535
	HandleWeld.Part0 = Torso
1536
	ATTACK = false
1537
	Rooted = false
1538
end
1539
1540
function Reap()
1541
	ATTACK = true
1542
	Rooted = true
1543
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1544
	HandleWeld.Part0 = RightArm
1545
	HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
1546
	MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
1547
	for i=0, 3, 0.1 / Animation_Speed do
1548
		Swait()
1549
		for e=1,#HANDS do
1550
			if HANDS[e]~=nil then
1551
				local Thing=HANDS[e]
1552
				if Thing~=nil then
1553
					local MainPart=Thing[1]
1554
					local F=Thing[2]
1555
					MainPart.IsEnabled.Value = false
1556
					F.C0 = Clerp(F.C0, CF(0,15,0) * ANGLES(RAD(0), RAD(360/e), RAD(0))* CF(0,0,15), 0.5 / Animation_Speed)
1557
				end
1558
			end
1559
		end
1560
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(5), RAD(0), RAD(45)), 0.2)
1561
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1562
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1563
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1564
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1565
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1566
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1567
	end
1568
	local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6)
1569
	SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
1570
	local SOUND = CreateSound("135017578", Effects, 5, 1)
1571
	Swait()
1572
	repeat
1573
		Swait()
1574
		for e=1,#HANDS do
1575
			if HANDS[e]~=nil then
1576
				local Thing=HANDS[e]
1577
				if Thing~=nil then
1578
					local MainPart=Thing[1]
1579
					local F=Thing[2]
1580
					MainPart.IsEnabled.Value = false
1581
					F.C0 = Clerp(F.C0, CF(0,-2.5,0) * ANGLES(RAD(0), RAD(360/e), RAD(0))* CF(0,0,15), 0.5 / Animation_Speed)
1582
				end
1583
			end
1584
		end
1585
		HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 0.2)
1586
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.8) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1587
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1588
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1589
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1590
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1591
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1592
	until SOUND.playing == false
1593
	local FLOOR = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Really red", VT(800,0,800))
1594
	MakeForm(FLOOR,"Cyl")
1595
	FLOOR.CFrame = CF(RootPart.Position+VT(0,-3,0))
1596
	CreateSound("289315275", Effects, 5, 0.3)
1597
	for i = 1, 400 do
1598
		Swait()
1599
		FLOOR.Transparency = FLOOR.Transparency - (1/400)
1600
		if i > 100 then
1601
	 		if MRANDOM(1,2) == 1 then 
1602
				local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really red", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
1603
				SPHERE.CFrame = CF(FLOOR.Position) * CF(MRANDOM(-285,285),-5,MRANDOM(-285,285))
1604
				MakeForm(SPHERE,"Ball")
1605
				coroutine.resume(coroutine.create(function()
1606
					for i = 1, 100 do
1607
						Swait()
1608
						SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
1609
						SPHERE.Transparency = (i/100)
1610
					end
1611
					SPHERE:remove()
1612
				end))
1613
			end
1614
		end
1615
	end
1616
	CreateSound("62339698", Effects, 10, 0.3)
1617
	killnearest(FLOOR.Position,FLOOR.Size.Z/2)
1618
	FLOOR:ClearAllChildren()
1619
	MakeForm(FLOOR,"Ball")
1620
	for i = 1, 50 do
1621
		Swait()
1622
		FLOOR.Size = FLOOR.Size + VT(-16,1,-16)
1623
		FLOOR.Transparency = FLOOR.Transparency + (1/50)
1624
	end
1625
	FLOOR:remove()
1626
	HandleWeld.Part0 = Torso
1627
	ATTACK = false
1628
	Rooted = false
1629
	for e=1,#HANDS do
1630
		if HANDS[e]~=nil then
1631
			local Thing=HANDS[e]
1632
			if Thing~=nil then
1633
				local MainPart=Thing[1]
1634
				local F=Thing[2]
1635
				MainPart.IsEnabled.Value = true
1636
			end
1637
		end
1638
	end
1639
end
1640
1641
function Taunt()
1642
	ATTACK = true
1643
	Rooted = true
1644
	local SOUND = CreateSound("134978657", Head, 10, 1)
1645
	Swait()
1646
	repeat
1647
		Swait()
1648
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1649
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1650
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1651
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1652
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1653
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1654
	until SOUND.Playing == false
1655
	ATTACK = false
1656
	Rooted = false
1657
end
1658
1659
--//=================================\\
1660
--||	  ASSIGN THINGS TO KEYS
1661
--\\=================================//
1662
1663
function MouseDown(Mouse)
1664
	if ATTACK == false then
1665
		Hit()
1666
	end
1667
end
1668
1669
function MouseUp(Mouse)
1670
HOLD = false
1671
end
1672
1673
function KeyDown(Key)
1674
	KEYHOLD = true
1675
	if TRANSFORMED == true and Rooted == false then
1676
		if Key == "t" and ATTACK == false then
1677
			Taunt()
1678
		end
1679
1680
		if Key == "z" and ATTACK == false then
1681
			Warp()
1682
		end
1683
	
1684
		if Key == "b" and ATTACK == false then
1685
			DeathlyDash()
1686
		end
1687
	
1688
		if Key == "c" and ATTACK == false then
1689
			FatalGrab()
1690
		end
1691
	
1692
		if Key == "v" and ATTACK == false then
1693
			FatalWave()
1694
		end
1695
	
1696
		if Key == "x" and ATTACK == false then
1697
			Reap()
1698
		end
1699
	end
1700
1701
	if Key == "9" and ATTACK == false then
1702
		CreateSound("135017578", Effects, 5, 1)
1703
	end
1704
end
1705
1706
function KeyUp(Key)
1707
	KEYHOLD = false
1708
end
1709
1710
	Mouse.Button1Down:connect(function(NEWKEY)
1711
		MouseDown(NEWKEY)
1712
	end)
1713
	Mouse.Button1Up:connect(function(NEWKEY)
1714
		MouseUp(NEWKEY)
1715
	end)
1716
	Mouse.KeyDown:connect(function(NEWKEY)
1717
		KeyDown(NEWKEY)
1718
	end)
1719
	Mouse.KeyUp:connect(function(NEWKEY)
1720
		KeyUp(NEWKEY)
1721
	end)
1722
1723
--//=================================\\
1724
--\\=================================//
1725
1726
1727
function unanchor()
1728
	if UNANCHOR == true then
1729
		RootPart.Anchored = false
1730
	end
1731
	for _, c in pairs(SCYTHE:GetChildren()) do
1732
		if c.ClassName == "Part" then
1733
			c.Anchored = false
1734
		end
1735
	end
1736
	for _, c in pairs(HANDFOLDER:GetChildren()) do
1737
		if c.ClassName == "Part" then
1738
			c.Anchored = false
1739
		end
1740
	end
1741
	for _, c in pairs(Weapon:GetChildren()) do
1742
		if c.ClassName == "Part" then
1743
			c.Anchored = false
1744
		end
1745
	end
1746
end
1747
1748
1749
--//=================================\\
1750
--||	WRAP THE WHOLE SCRIPT UP
1751
--\\=================================//
1752
1753
Humanoid.Changed:connect(function(Jump)
1754
	if Jump == "Jump" and (Disable_Jump == true) then
1755
		Humanoid.Jump = false
1756
	end
1757
end)
1758
1759
local FF = IT("ForceField",Character)
1760
FF.Visible = false
1761
1762
INSTANT = false
1763
Speed = 20
1764
1765
while true do
1766
	Swait()
1767
	SINE = SINE + CHANGE
1768
	--if DEAD == false then
1769
		if VALUE2 == false then
1770
			for e=1,#HANDS do
1771
				if HANDS[e]~=nil then
1772
					local Thing=HANDS[e]
1773
					if Thing~=nil then
1774
						local MainPart=Thing[1]
1775
						local F=Thing[2]
1776
						if MainPart.IsEnabled.Value == true then
1777
							F.C0 = Clerp(F.C0, CF(-e*2,5-((e-1)*2) + 0.5 * COS(SINE/(e*15)),2) * ANGLES(RAD(180), RAD(-90), RAD(25*e)) * ANGLES(RAD(0), RAD(45), RAD(0)), 0.2 / Animation_Speed)
1778
						end
1779
					end
1780
				end
1781
			end
1782
		end
1783
		ANIMATE.Parent = nil
1784
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1785
		IDLEANIMATION:Play()
1786
		if TRANSFORMED == true then
1787
			tecks2.TextTransparency = 0
1788
			for _, c in pairs(Character:GetChildren()) do
1789
				if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
1790
					c.Anchored = false
1791
					c.Transparency = 0
1792
					c.Color = C3(0,0,0)
1793
				end
1794
			end
1795
			for _, c in pairs(Weapon:GetChildren()) do
1796
				if c.ClassName == "Part" then
1797
					c.Transparency = 0
1798
				end
1799
			end
1800
			for _, c in pairs(HANDFOLDER:GetChildren()) do
1801
				if c.ClassName == "Part" then
1802
					c.Color = C3(0,0,0)
1803
					if c:FindFirstChild("PE") then
1804
						c.PE.Enabled = true
1805
					end
1806
				end
1807
			end
1808
			for _, c in pairs(SCYTHE:GetChildren()) do
1809
				if c.ClassName == "Part" then
1810
					if c.Material ~= Enum.Material.Neon then
1811
						c.Transparency = 0
1812
					end
1813
					c.Color = C3(0,0,0)
1814
					if c:FindFirstChild("PE") then
1815
						c.PE.Enabled = true
1816
					end
1817
				end
1818
			end
1819
			local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1820
			local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1821
			local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
1822
			local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
1823
			local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1824
			if ATTACK == false and VALUE2 == false then
1825
				HandleWeld.C0 = Clerp(HandleWeld.C0, CF(2, 3 + 0.35 * COS(SINE / 12), 1) * ANGLES(RAD(45  + 15 * COS(SINE / 12)), RAD(-45), RAD(0)), 0.2 / Animation_Speed)
1826
			end
1827
			if ANIM == "Walk" and TORSOVELOCITY > 1 then
1828
				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 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1829
				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)
1830
				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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1831
				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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1832
			elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1833
				RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1834
				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)
1835
				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)
1836
				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)
1837
			end
1838
			if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1839
				ANIM = "Jump"
1840
				if ATTACK == false then
1841
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1842
					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)
1843
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1844
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1845
					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)
1846
					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)
1847
			       end
1848
			elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1849
				ANIM = "Fall"
1850
				if ATTACK == false then
1851
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1852
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1853
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1854
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1855
					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)
1856
					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)
1857
				end
1858
			elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1859
				ANIM = "Idle"
1860
				if ATTACK == false then
1861
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1862
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1863
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1864
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1865
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1866
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1867
				end
1868
			elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1869
				ANIM = "Walk"
1870
				WALK = WALK + 1 / Animation_Speed
1871
				if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
1872
					WALK = 0
1873
					if WALKINGANIM == true then
1874
						WALKINGANIM = false
1875
					elseif WALKINGANIM == false then
1876
						WALKINGANIM = true
1877
					end
1878
				end
1879
				--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)
1880
				--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)
1881
				if ATTACK == false then
1882
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1883
					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)
1884
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1885
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
1886
					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)
1887
					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)
1888
				end
1889
			end
1890
		end
1891
	--end
1892
	Humanoid.DisplayDistanceType = "None"
1893
	unanchor()
1894
	Humanoid.MaxHealth = "inf"
1895
	Humanoid.Health = "inf"
1896
	if Rooted == false then
1897
		Disable_Jump = false
1898
		Humanoid.WalkSpeed = Speed
1899
	elseif Rooted == true then
1900
		Disable_Jump = true
1901
		Humanoid.WalkSpeed = 0
1902
	end
1903
	if Head:FindFirstChild("face") then
1904
		Head.face:remove()
1905
	end
1906
	local MATHS = {"0","1"}
1907
	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)]
1908
	Humanoid.PlatformStand = false
1909
	if INTRO == false and INSTANT == false then
1910
		INTRO = true
1911
		coroutine.resume(coroutine.create(function()
1912
			sick:Play()
1913
			Intro()
1914
		end))
1915
	end
1916
	if INSTANT == true then
1917
		if TRANSFORMED == false then
1918
			sick.TimePosition = 60
1919
			Player:ClearCharacterAppearance()
1920
			sick:Play()
1921
			for _, c in pairs(HANDFOLDER:GetChildren()) do
1922
				if c.ClassName == "Part" then
1923
					c.Transparency = 0
1924
				end
1925
			end
1926
		end
1927
		TRANSFORMED = true
1928
	end
1929
	script.Parent = PlayerGui
1930
	Character.Parent = workspace
1931
	Humanoid.Parent = Character
1932
	Player:ClearCharacterAppearance()
1933
end
1934
1935
--//=================================\\
1936
--\\=================================//
1937
1938
1939
1940
1941
1942
--//====================================================\\--
1943
--||			  		 END OF SCRIPT
1944
--\\====================================================//--