View difference between Paste ID: F4DAHdzU and P3QZni0t
SHOW: | | - or go back to the newest paste.
1
wait(1)
2-
local Player = owner
2+
3-
local Mouse,mouse,UserInputService,ContextActionService
3+
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
4
local Mouse,mouse,UserInputService,ContextActionService = owner
5-
    script.Parent = RhiBel00351
5+
6-
    local CAS = {Actions={}}
6+
    print("FE Compatibility code by Mokiros Edited by basstracker1970")
7
    script.Parent = Player.Character
8
 
9-
    Event.Parent = Player.Character
9+
    --RemoteEvent for communicating
10-
    local fakeEvent = function()
10+
11-
        local t = {_fakeEvent=true}
11+
12-
        t.Connect = function(self,f)self.Function=f end
12+
13
    --Fake event to make stuff like Mouse.KeyDown work
14
    local function fakeEvent()
15
        local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
16
        t.connect = t.Connect
17
        return t
18-
    function CAS:BindAction(name,fun,touch,...)
18+
19-
        CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
19+
20
    --Creating fake input objects with fake variables
21-
    function CAS:UnbindAction(name)
21+
22-
        CAS.Actions[name] = nil
22+
23
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25
    end}
26
    --Merged 2 functions into one by checking amount of arguments
27
    CAS.UnbindAction = CAS.BindAction
28
 
29
    --This function will trigger the events that have been :Connect()'ed
30
    local function te(self,ev,...)
31
        local t = m[ev]
32-
    Event.OnServerEvent:Connect(function(plr,io)
32+
33
            t.Function(...)
34
        end
35
    end
36
    m.TrigEvent = te
37
    UIS.TrigEvent = te
38
 
39
   Event.OnServerEvent:Connect(function(plr,io)
40
        if plr~=Player then return end
41
        if io.isMouse then
42
            m.Target = io.Target
43
            m.Hit = io.Hit
44
        elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
45
            if io.UserInputState == Enum.UserInputState.Begin then
46
                m:TrigEvent("Button1Down")
47
            else
48
                m:TrigEvent("Button1Up")
49
            end
50
        else
51
            for n,t in pairs(CAS.Actions) do
52
                for _,k in pairs(t.Keys) do
53
                    if k==io.KeyCode then
54
                        t.Function(t.Name,io.UserInputState,io)
55
                    end
56
                end
57
            end
58
            if io.UserInputState == Enum.UserInputState.Begin then
59
                m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
60-
    NLS([==[
60+
61
            else
62-
   
62+
63-
    local Char = Player.Character
63+
64-
    local Event = Char:WaitForChild("UserInput_Event")
64+
65-
   
65+
66
    end)
67-
   
67+
    Event.Parent = NLS([==[
68
    local Player = game:GetService("Players").LocalPlayer
69
    local Event = script:WaitForChild("UserInput_Event")
70-
        local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
70+
71-
        Event:FireServer(io)
71+
72
    local input = function(io,a)
73
        if a then return end
74
        --Since InputObject is a client-side instance, we create and pass table instead
75-
    local Changed = false
75+
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
76
    end
77-
    local h,t = Mouse.Hit,Mouse.Target
77+
78
    UIS.InputEnded:Connect(input)
79
 
80-
            Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
80+
81
    local h,t
82
    --Give the server mouse data 30 times every second, but only if the values changed
83
    --If player is not moving their mouse, client won't fire events
84-
    ]==],Player.Character)
84+
85
        if h~=Mouse.Hit or t~=Mouse.Target then
86
            h,t=Mouse.Hit,Mouse.Target
87
            Event:FireServer({isMouse=true,Target=t,Hit=h})
88
        end
89
    end]==],Player.Character)
90
    Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
91
 
92
end
93
wait(0.2)
94
-----------------------
95
--[[ Name : Content Cop ]]--
96
-------------------------------------------------------
97
--A script By Creterisk/makhail07
98
--edit by saba152/kisslarge
99
100
--Discord saba1520#5658
101
102
-------------------------------------------------------
103
--Everything is Meaningless.....
104
105
wait(1 / 60)
106
print('Local User is '..Player.Name)
107
print('Cop Loaded')
108
print[[
109
	
110
]]
111
Player = owner
112
Character = Player.Character
113
PlayerGui = Player.PlayerGui
114
Backpack = Player.Backpack
115
Torso = Character.Torso
116
Head = Character.Head
117
Humanoid = Character.Humanoid
118
RootPart = Character.HumanoidRootPart
119
RootJoint = RootPart.RootJoint
120
LeftArm = Character["Left Arm"]
121
LeftLeg = Character["Left Leg"]
122
RightArm = Character["Right Arm"]
123
RightLeg = Character["Right Leg"]
124
LS = Torso["Left Shoulder"]
125
LH = Torso["Left Hip"]
126
RS = Torso["Right Shoulder"]
127
RH = Torso["Right Hip"]
128
Face = Head.face
129
Neck = Torso.Neck
130
it = Instance.new
131
vt = Vector3.new
132
cf = CFrame.new
133
rad = math.rad
134
euler = CFrame.fromEulerAnglesXYZ
135
angles = CFrame.Angles
136
UNANCHOR = true
137
-------------------------
138
IT = Instance.new
139
CF = CFrame.new
140
VT = Vector3.new
141
RAD = math.rad
142
C3 = Color3.new
143
UD2 = UDim2.new
144
BRICKC = BrickColor.new
145
ANGLES = CFrame.Angles
146
EULER = CFrame.fromEulerAnglesXYZ
147
COS = math.cos
148
ACOS = math.acos
149
SIN = math.sin
150
ASIN = math.asin
151
ABS = math.abs
152
MRANDOM = math.random
153
FLOOR = math.floor
154
---------------------------------------------
155
local plr = owner
156
local char = plr.Character
157
local hum = char.Humanoid
158
local hed = char.Head
159
local root = char.HumanoidRootPart
160
local rootj = root.RootJoint
161
local tors = char.Torso
162
local ra = char["Right Arm"]
163
local la = char["Left Arm"]
164
local rl = char["Right Leg"]
165
local ll = char["Left Leg"]
166
local neck = tors["Neck"]
167
168
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
169
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
170
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
171
-----------------------------------------
172
local char = plr.Character
173
local hum = char:FindFirstChildOfClass'Humanoid'
174
local hed = char.Head
175
local root = char:FindFirstChild'HumanoidRootPart'
176
local rootj = root.RootJoint
177
local tors = char.Torso
178
local ra = char["Right Arm"]
179
local la = char["Left Arm"]
180
local rl = char["Right Leg"]
181
local ll = char["Left Leg"]
182
local neck = tors["Neck"]
183
184
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
185
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
186
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
187
local maincolor = BrickColor.new("Really black")
188
-------------------------------------------------------
189
--Start Whitelist and Invincibility--
190
-------------------------------------------------------	
191
ff = Instance.new("ForceField",char)
192
ff.Visible = false
193
hum.Name = "Base"
194
hum.MaxHealth = 1.0E298
195
hum.Health = 1.0E298
196
game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
197
  if hum.Health > 0.1 and hum.Health < 1.0E298 then
198
    hum.MaxHealth = 1.0E298
199
    hum.Health = 1.0E298
200
  end
201
end)
202
cam = game.Workspace.CurrentCamera
203
CF = CFrame.new
204
angles = CFrame.Angles
205
attack = false
206
Euler = CFrame.fromEulerAnglesXYZ
207
Rad = math.rad
208
IT = Instance.new
209
BrickC = BrickColor.new
210
Cos = math.cos
211
Acos = math.acos
212
Sin = math.sin
213
Asin = math.asin
214
Abs = math.abs
215
Mrandom = math.random
216
Floor = math.floor
217
Player = owner
218
PlayerGui = Player.PlayerGui
219
Cam = workspace.CurrentCamera
220
Backpack = Player.Backpack
221
repeat wait() until Player.Character
222
Character = Player.Character
223
repeat wait() until Player.Character:FindFirstChildOfClass("Humanoid")
224
Humanoid = Character:FindFirstChildOfClass("Humanoid")
225
226
Player_Size = 1 --Size of the player.
227
RootPart = Character["HumanoidRootPart"]
228
Torso = Character["Torso"]
229
Head = Character["Head"]
230
RightArm = Character["Right Arm"]
231
LeftArm = Character["Left Arm"]
232
RightLeg = Character["Right Leg"]
233
LeftLeg = Character["Left Leg"]
234
RootJoint = RootPart["RootJoint"]
235
Neck = Torso["Neck"]
236
RightShoulder = Torso["Right Shoulder"]
237
LeftShoulder = Torso["Left Shoulder"]
238
RightHip = Torso["Right Hip"]
239
LeftHip = Torso["Left Hip"]
240
-------------------------------------------------------
241
--End Whitelist and Invincibility--
242
-------------------------------------------------------	
243
for i,v in pairs(char:children()) do
244
if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
245
v:Remove()
246
end
247
end
248
shirt = Instance.new("Shirt", char)
249
shirt.Name = "Shirt"
250
pants = Instance.new("Pants", char)
251
pants.Name = "Pants"
252
char.Shirt.ShirtTemplate = "rbxassetid://269003887"
253
char.Pants.PantsTemplate = "rbxassetid://268832352"
254
--------------------------------------
255
local Hair = Instance.new("Part", char)
256
Hair.Name = "Hair"
257
Hair.CanCollide = false
258
Hair.BrickColor = BrickColor.new("Institutional white")
259
Hair.Transparency = 0
260
Hair.Material = "Plastic"
261
Hair.Size = Vector3.new(1, 1, 2)
262
Hair.TopSurface = Enum.SurfaceType.Smooth
263
Hair.BottomSurface = Enum.SurfaceType.Smooth
264
 
265
local Weld = Instance.new("Weld", Hair)
266
Weld.Part0 = hed
267
Weld.Part1 = Hair
268
Weld.C1 = CFrame.new(0, -.6, 0)
269
Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
270
 
271
local M2 = Instance.new("SpecialMesh")
272
M2.Parent = Hair
273
M2.MeshId = "http://www.roblox.com/asset/?id=1028788"
274
M2.TextureId = "http://www.roblox.com/asset/?id=152240477"
275
M2.Scale = Vector3.new(1, 1, 1)
276
277
char.Head.face.Texture = "http://www.roblox.com/asset/?id=315622231"
278
-------------------------------------------------------
279
--Start Good Stuff--
280
-------------------------------------------------------
281
cam = game.Workspace.CurrentCamera
282
CF = CFrame.new
283
angles = CFrame.Angles
284
attack = false
285
Euler = CFrame.fromEulerAnglesXYZ
286
Rad = math.rad
287
IT = Instance.new
288
BrickC = BrickColor.new
289
Cos = math.cos
290
Acos = math.acos
291
Sin = math.sin
292
Asin = math.asin
293
Abs = math.abs
294
Mrandom = math.random
295
Floor = math.floor
296
-------------------------------------------------------
297
--End Good Stuff--
298
-------------------------------------------------------
299
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
300
RSH, LSH = nil, nil 
301
RW = Instance.new("Weld") 
302
LW = Instance.new("Weld")
303
RH = tors["Right Hip"]
304
LH = tors["Left Hip"]
305
RSH = tors["Right Shoulder"] 
306
LSH = tors["Left Shoulder"] 
307
RSH.Parent = nil 
308
LSH.Parent = nil 
309
RW.Name = "RW"
310
RW.Part0 = tors 
311
RW.C0 = CF(1.5, 0.5, 0)
312
RW.C1 = CF(0, 0.5, 0) 
313
RW.Part1 = ra
314
RW.Parent = tors 
315
LW.Name = "LW"
316
LW.Part0 = tors 
317
LW.C0 = CF(-1.5, 0.5, 0)
318
LW.C1 = CF(0, 0.5, 0) 
319
LW.Part1 = la
320
LW.Parent = tors
321
Effects = {}
322
-------------------------------------------------------
323
--Start HeartBeat--
324
-------------------------------------------------------
325
ArtificialHB = Instance.new("BindableEvent", script)
326
ArtificialHB.Name = "Heartbeat"
327
script:WaitForChild("Heartbeat")
328
329
frame = 1 / 60
330
tf = 0
331
allowframeloss = false
332
tossremainder = false
333
334
335
lastframe = tick()
336
script.Heartbeat:Fire()
337
338
339
game:GetService("RunService").Heartbeat:connect(function(s, p)
340
	tf = tf + s
341
	if tf >= frame then
342
		if allowframeloss then
343
			script.Heartbeat:Fire()
344
			lastframe = tick()
345
		else
346
			for i = 1, math.floor(tf / frame) do
347
				script.Heartbeat:Fire()
348
			end
349
			lastframe = tick()
350
		end
351
		if tossremainder then
352
			tf = 0
353
		else
354
			tf = tf - frame * math.floor(tf / frame)
355
		end
356
	end
357
end)
358
-------------------------------------------------------
359
--End HeartBeat--
360
-------------------------------------------------------
361
function AntiTimeStop()
362
	for _, c in pairs(Character:GetChildren()) do
363
		if c:IsA("BasePart") and c ~= RootPart then
364
			c.Anchored = false
365
		end
366
	end
367
	if UNANCHOR == true then
368
		RootPart.Anchored = false
369
	else
370
		RootPart.Anchored = true
371
	end
372
end
373
plr = owner
374
repeat wait() until plr.Character
375
char = plr.Character
376
 
377
-- Credit to shack for the anti death system
378
 
379
local BODY = {}
380
LeftArm = char["Left Arm"]
381
RightLeg = char["Right Leg"]
382
LeftLeg = char["Left Leg"]
383
for _, c in pairs(char:GetDescendants()) do
384
    if c:IsA("BasePart") and c.Name ~= "Handle" then
385
        if c ~= char.HumanoidRootPart and c ~= char.Torso and c ~= char.Head and c ~= char["Right Arm"] and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
386
            c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
387
        end
388
        table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
389
    elseif c:IsA("JointInstance") then
390
        table.insert(BODY,{c,c.Parent,nil,nil,nil})
391
    end
392
end
393
for e = 1, #BODY do
394
    if BODY[e] ~= nil then
395
        local STUFF = BODY[e]
396
        local PART = STUFF[1]
397
        local PARENT = STUFF[2]
398
        local MATERIAL = STUFF[3]
399
        local COLOR = STUFF[4]
400
        local TRANSPARENCY = STUFF[5]
401
        if PART.ClassName == "Part" and PART ~= char.HumanoidRootPart then
402
            PART.Material = MATERIAL
403
            PART.Color = COLOR
404
            PART.Transparency = TRANSPARENCY
405
        end
406
        PART.AncestryChanged:Connect(function()
407
            PART.Parent = PARENT
408
        end)
409
    end
410
end
411
function refit()
412
   char.Parent = workspace
413
    for e = 1, #BODY do
414
        if BODY[e] ~= nil then
415
            local STUFF = BODY[e]
416
            local PART = STUFF[1]
417
            local PARENT = STUFF[2]
418
            local MATERIAL = STUFF[3]
419
            local COLOR = STUFF[4]
420
            local TRANSPARENCY = STUFF[5]
421
            if PART.ClassName == "Part" and PART ~= char.HumanoidRootPart then
422
                PART.Material = MATERIAL
423
                PART.Color = COLOR
424
                PART.Transparency = TRANSPARENCY
425
            end
426
            if PART.Parent ~= PARENT then
427
                char:FindFirstChildOfClass("Humanoid"):remove()
428
                PART.Parent = PARENT
429
                Humanoid = Instance.new("Humanoid",char)
430-
char.Humanoid.Died:connect(function()
430+
431
        end
432
    end
433
end
434
char:FindFirstChildOfClass("Humanoid").Died:connect(function()
435
    refit()
436
end)
437
-------------------------------------------------------
438
--Start Important Functions--
439
-------------------------------------------------------
440
function swait(num)
441
	if num == 0 or num == nil then
442
		game:service("RunService").Stepped:wait(0)
443
	else
444
		for i = 0, num do
445
			game:service("RunService").Stepped:wait(0)
446
		end
447
	end
448
end
449
function thread(f)
450
	coroutine.resume(coroutine.create(f))
451
end
452
function clerp(a, b, t)
453
	local qa = {
454
		QuaternionFromCFrame(a)
455
	}
456
	local qb = {
457
		QuaternionFromCFrame(b)
458
	}
459
	local ax, ay, az = a.x, a.y, a.z
460
	local bx, by, bz = b.x, b.y, b.z
461
	local _t = 1 - t
462
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
463
end
464
function QuaternionFromCFrame(cf)
465
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
466
	local trace = m00 + m11 + m22
467
	if trace > 0 then
468
		local s = math.sqrt(1 + trace)
469
		local recip = 0.5 / s
470
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
471
	else
472
		local i = 0
473
		if m00 < m11 then
474
			i = 1
475
		end
476
		if m22 > (i == 0 and m00 or m11) then
477
			i = 2
478
		end
479
		if i == 0 then
480
			local s = math.sqrt(m00 - m11 - m22 + 1)
481
			local recip = 0.5 / s
482
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
483
		elseif i == 1 then
484
			local s = math.sqrt(m11 - m22 - m00 + 1)
485
			local recip = 0.5 / s
486
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
487
		elseif i == 2 then
488
			local s = math.sqrt(m22 - m00 - m11 + 1)
489
			local recip = 0.5 / s
490
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
491
		end
492
	end
493
end
494
495
function CharacterFade(COLOR,TIMER)
496
	coroutine.resume(coroutine.create(function()
497
		local FADE = IT("Model",Effects)
498
		FADE.Name = "FadingEffect"
499
		for _, c in pairs(Character:GetChildren()) do
500
			if c.ClassName == "Part" and c ~= RootPart then
501
				local FADER = c:Clone()
502
				FADER.Color = COLOR
503
				FADER.CFrame = c.CFrame
504
				FADER.Parent = FADE
505
				FADER.Anchored = true
506
				FADER.Transparency = 0.25+c.Transparency
507
				FADER:BreakJoints()
508
				FADER.Material = "Neon"
509
				if FADER.Name == "Head" then
510
					FADER:ClearAllChildren()
511
					FADER.Size = VT(1,1,1)
512
				end
513
				FADER.CanCollide = false
514
			end
515
		end
516
		local TRANS = 0.75/TIMER
517
		for i = 1, TIMER do
518
			Swait()
519
			for _, c in pairs(FADE:GetChildren()) do
520
				if c.ClassName == "Part" then
521
					c.Transparency = c.Transparency + TRANS
522
				end
523
			end
524
		end
525
		FADE:remove()
526
	end))
527
end
528
529
function QuaternionToCFrame(px, py, pz, x, y, z, w)
530
	local xs, ys, zs = x + x, y + y, z + z
531
	local wx, wy, wz = w * xs, w * ys, w * zs
532
	local xx = x * xs
533
	local xy = x * ys
534
	local xz = x * zs
535
	local yy = y * ys
536
	local yz = y * zs
537
	local zz = z * zs
538
	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))
539
end
540
541
function CreateSound(ID, PARENT, VOLUME, PITCH)
542
	local NSound = nil
543
	coroutine.resume(coroutine.create(function()
544
		NSound = Instance.new("Sound", PARENT)
545
		NSound.Volume = VOLUME
546
		NSound.Pitch = PITCH
547
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
548
		swait()
549
		NSound:play()
550
		game:GetService("Debris"):AddItem(NSound, 10)
551
	end))
552
	return NSound
553
end
554
555
556
function QuaternionSlerp(a, b, t)
557
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
558
	local startInterp, finishInterp
559
	if cosTheta >= 1.0E-4 then
560
		if 1 - cosTheta > 1.0E-4 then
561
			local theta = math.acos(cosTheta)
562
			local invSinTheta = 1 / Sin(theta)
563
			startInterp = Sin((1 - t) * theta) * invSinTheta
564
			finishInterp = Sin(t * theta) * invSinTheta
565
		else
566
			startInterp = 1 - t
567
			finishInterp = t
568
		end
569
	elseif 1 + cosTheta > 1.0E-4 then
570
		local theta = math.acos(-cosTheta)
571
		local invSinTheta = 1 / Sin(theta)
572
		startInterp = Sin((t - 1) * theta) * invSinTheta
573
		finishInterp = Sin(t * theta) * invSinTheta
574
	else
575
		startInterp = t - 1
576
		finishInterp = t
577
	end
578
	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
579
end
580
function rayCast(Position, Direction, Range, Ignore)
581
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
582
end
583
local RbxUtility = LoadLibrary("RbxUtility")
584
local Create = RbxUtility.Create
585
586
function Eviscerate(dude)
587
    if dude.Name ~= char then
588
        local bgf = IT("BodyGyro", dude.Head)
589
        bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
590
        local val = IT("BoolValue", dude)
591
        val.Name = "IsHit"
592
        local ds = coroutine.wrap(function()
593
            dude:WaitForChild("Head"):BreakJoints()
594
            wait(0.5)
595
            target = nil
596
            coroutine.resume(coroutine.create(function()
597
                for i, v in pairs(dude:GetChildren()) do
598
                    if v:IsA("Accessory") then
599
                        v:Destroy()
600
                    end
601
                    if v:IsA("Humanoid") then
602
                        v:Destroy()
603
                    end
604
                    if v:IsA("CharacterMesh") then
605
                        v:Destroy()
606
                    end
607
                    if v:IsA("Model") then
608
                        v:Destroy()
609
                    end
610
                    if v:IsA("Part") or v:IsA("MeshPart") then
611
                        for x, o in pairs(v:GetChildren()) do
612
                            if o:IsA("Decal") then
613
                                o:Destroy()
614
                            end
615
                        end
616
                        coroutine.resume(coroutine.create(function()
617
                            v.Material = "Neon"
618
                            v.CanCollide = false
619
                            local PartEmmit1 = IT("ParticleEmitter", v)
620
                            PartEmmit1.LightEmission = 1
621
                            PartEmmit1.Texture = "rbxassetid://1523916715"
622
                            PartEmmit1.Color = ColorSequence.new(Color3.new(0, 0, 0))
623
                            PartEmmit1.Rate = 150
624
                            PartEmmit1.Lifetime = NumberRange.new(1)
625
                            PartEmmit1.Size = NumberSequence.new({
626
                                NumberSequenceKeypoint.new(0, 0.75, 0),
627
                                NumberSequenceKeypoint.new(1, 0, 0)
628
                            })
629
                            PartEmmit1.Transparency = NumberSequence.new({
630
                                NumberSequenceKeypoint.new(0, 0, 0),
631
                                NumberSequenceKeypoint.new(1, 1, 0)
632
                            })
633
                            PartEmmit1.Speed = NumberRange.new(0, 0)
634
                            PartEmmit1.VelocitySpread = 30000
635
                            PartEmmit1.Rotation = NumberRange.new(-500, 500)
636
                            PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
637
                            local BodPoss = IT("BodyPosition", v)
638
                            BodPoss.P = 3000
639
                            BodPoss.D = 1000
640
                            BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
641
                            BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
642
                            v.Color = maincolor.Color
643
                            coroutine.resume(coroutine.create(function()
644
                                for i = 0, 49 do
645
                                    swait(1)
646
                                    v.Transparency = v.Transparency + 0.08
647
                                end
648
                                wait(0.5)
649
                                PartEmmit1.Enabled = false
650
                                wait(3)
651
                                v:Destroy()
652
                                dude:Destroy()
653
                            end))
654
                        end))
655
                    end
656
                end
657
            end))
658
        end)
659
        ds()
660
    end
661
end
662
663
function SoulSteal(dude)
664
if dude.Name ~= char then
665
local bgf = IT("BodyGyro", dude.Head)
666
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
667
local val = IT("BoolValue", dude)
668
val.Name = "IsHit"
669
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
670
local soulst = coroutine.wrap(function()
671
local soul = Instance.new("Part",dude)
672
soul.Size = Vector3.new(1,1,1)
673
soul.CanCollide = false
674
soul.Anchored = false
675
soul.Position = torso.Position
676
soul.Transparency = 1
677
local PartEmmit1 = IT("ParticleEmitter", soul)
678
PartEmmit1.LightEmission = 1
679
PartEmmit1.Texture = "rbxassetid://569507414"
680
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
681
PartEmmit1.Rate = 250
682
PartEmmit1.Lifetime = NumberRange.new(1.6)
683
PartEmmit1.Size = NumberSequence.new({
684
    NumberSequenceKeypoint.new(0, 1, 0),
685
    NumberSequenceKeypoint.new(1, 0, 0)
686
})
687
PartEmmit1.Transparency = NumberSequence.new({
688
    NumberSequenceKeypoint.new(0, 0, 0),
689
    NumberSequenceKeypoint.new(1, 1, 0)
690
})
691
PartEmmit1.Speed = NumberRange.new(0, 0)
692
PartEmmit1.VelocitySpread = 30000
693
PartEmmit1.Rotation = NumberRange.new(-360, 360)
694
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
695
local BodPoss = IT("BodyPosition", soul)
696
BodPoss.P = 3000
697
BodPoss.D = 1000
698
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
699
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
700
wait(1.6)
701
soul.Touched:connect(function(hit)
702
    if hit.Parent == char then
703
    soul:Destroy()
704
    end
705
end)
706
wait(1.2)
707
while soul do
708
    swait()
709
    PartEmmit1.Color = ColorSequence.new(maincolor.Color)
710
    BodPoss.Position = tors.Position
711
end
712
end)
713
    soulst()
714
    end
715
end
716
717
-------------------------------------------------------
718
--Start Damage Function--
719
-------------------------------------------------------
720
-----------------------------------------
721
function Swait(NUMBER)
722
	if NUMBER == 0 or NUMBER == nil then
723
		ArtificialHB.Event:wait()
724
	else
725
		for i = 1, NUMBER do
726
			ArtificialHB.Event:wait()
727
		end
728
	end
729
end
730
local sine=0
731
function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
732
  local Hitboxpart = Instance.new("Part", EffectModel)
733
  RemoveOutlines(Hitboxpart)
734
  Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
735
  Hitboxpart.CanCollide = false
736
  Hitboxpart.Transparency = 1
737
  Hitboxpart.Anchored = true
738
  Hitboxpart.CFrame = Pose
739
  game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
740
  MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
741
end
742
wait2 = false
743
combo = 1
744
mouse.Button1Down:connect(function(key)
745
  if attack == false then
746
    attack = true
747
    hum.WalkSpeed = 3.01
748
    if combo == 1 and wait2 == false then
749
      wait2 = true
750
		for i = 0, 1.2, 0.1 do
751
        swait()
752
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-65)), 0.3)
753
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(-65)), 0.1)
754
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
755
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(40)), 0.3)
756
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
757
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
758
		  end
759
		CreateSound("608537390", ra, 3, .8)
760
		HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
761
      for i = 0, 1.2, 0.1 do
762
        swait()
763
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
764
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
765
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1)
766
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
767
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
768
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
769
      end
770
      combo = 2
771
    end
772
 	if combo == 2 and wait2 == false then
773
      wait2 = true
774
   for i = 0, 1.2, 0.1 do
775
        swait()
776
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(65)), 0.3)
777
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(65)), 0.1)
778
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(-25), math.rad(0), math.rad(40)), 0.1)
779
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.3)
780
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
781
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
782
		  end
783
		CreateSound("608537390", ra, 3, .8)
784
		HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
785
      for i = 0, 1.2, 0.1 do
786
        swait()
787
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-55)), 0.3)
788
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
789
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.1)
790
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(-40)), 0.3)
791
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
792
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
793
      end
794
      combo = 3
795
    end
796
   if combo == 3 and wait2 == false then
797
	wait2 = true
798
    for i = 0, 1.2, 0.1 do
799
        swait()
800
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
801
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
802
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
803
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
804
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
805
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
806
      end
807
	CreateSound("608537390", ra, 3, .8)
808
      HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
809
      for i = 0, 1.2, 0.1 do
810
        swait()
811
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
812
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
813
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1)
814
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
815
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
816
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
817
      end
818
		Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 1.1, 1.1, 1.1, 0.02)
819
		Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 1.1, 1.1, 1.1, 0.03)
820
		for i = 0, 2 do
821
			SphereAura(2, 0.2, "Add", ra.CFrame * CFrame.Angles(math.rad(-90 + math.random(-20, 20)), math.rad(math.random(-20, 20)), math.rad(math.random(-20, 20))), 0.5, 0.5, 5, -0.005, maincolor, 0)
822
			end
823
		coroutine.resume(coroutine.create(function() 
824
		for i = 0,1.8,0.1 do
825
			swait()
826
			hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
827
		end
828
		for i = 0,1.8,0.1 do
829
			swait()
830
		hum.CameraOffset = Vector3.new(0,0,0)
831
		end
832
	  end))
833
		HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
834
	for i = 0, 1.2, 0.1 do
835
        swait()
836
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
837
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
838
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1)
839
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
840
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
841
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
842
      end
843
      combo = 4
844
    end
845
	if combo == 4 and wait2 == false then
846
	for i = 0,1.2,0.1 do
847
		swait()
848
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
849
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
850
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
851
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
852
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
853
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
854
	end
855
SphereAura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0)
856
		SphereAura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0)
857
        Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
858
	CreateSound("331666100", char, 10, 1)
859
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
860
		if v:FindFirstChild("Head") then
861
			SoulSteal(v)
862
			Eviscerate(v)
863
		end
864
	end
865
	coroutine.resume(coroutine.create(function() 
866
		for i = 0,1.8,0.1 do
867
			swait()
868
			hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
869
		end
870
		for i = 0,1.8,0.1 do
871
			swait()
872
		hum.CameraOffset = Vector3.new(0,0,0)
873
		end
874
	  end))
875
	for i = 1,4.7,0.1 do
876
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
877
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
878
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
879
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
880
	RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1)
881
	LW.C0 = clerp(LW.C0, CF(-1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1)
882
	end
883
      wait(.6)
884
	combo = 1
885
	end
886
    hum.WalkSpeed = 16
887
    wait2 = false
888
    attack = false
889
	end
890
end)
891
------------------------------------
892
Animation_Speed = 3
893
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
894
	if hit.Parent == nil then
895
		return
896
	end
897
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
898
	for _, v in pairs(hit.Parent:children()) do
899
		if v:IsA("Humanoid") then
900
			h = v
901
		end
902
	end
903
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
904
	
905
         hit.Parent:FindFirstChild("Head"):BreakJoints()
906
         end
907
908
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
909
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
910
			if hit.Parent.DebounceHit.Value == true then
911
				return
912
			end
913
		end
914
         if insta == true then
915
         hit.Parent:FindFirstChild("Head"):BreakJoints()
916
         end
917
		local c = Create("ObjectValue"){
918
			Name = "creator",
919
			Value = owner,
920
			Parent = h,
921
		}
922
		game:GetService("Debris"):AddItem(c, .5)
923
		if HitSound ~= nil and HitPitch ~= nil then
924
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
925
		end
926
		local Damage = math.random(minim, maxim)
927
		local blocked = false
928
		local block = hit.Parent:findFirstChild("Block")
929
		if block ~= nil then
930
			if block.className == "IntValue" then
931
				if block.Value > 0 then
932
					blocked = true
933
					block.Value = block.Value - 1
934
					print(block.Value)
935
				end
936
			end
937
		end
938
		if blocked == false then
939
			h.Health = h.Health - Damage
940
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
941
		else
942
			h.Health = h.Health - (Damage / 2)
943
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
944
		end
945
		if Type == "Knockdown" then
946
			local hum = hit.Parent.Humanoid
947
			hum.PlatformStand = true
948
			coroutine.resume(coroutine.create(function(HHumanoid)
949
				swait(1)
950
				HHumanoid.PlatformStand = false
951
			end), hum)
952
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
953
			local bodvol = Create("BodyVelocity"){
954
				velocity = angle * knockback,
955
				P = 5000,
956
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
957
				Parent = hit,
958
			}
959
			local rl = Create("BodyAngularVelocity"){
960
				P = 3000,
961
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
962
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
963
				Parent = hit,
964
			}
965
			game:GetService("Debris"):AddItem(bodvol, .5)
966
			game:GetService("Debris"):AddItem(rl, .5)
967
		elseif Type == "Normal" then
968
			local vp = Create("BodyVelocity"){
969
				P = 500,
970
				maxForce = Vector3.new(math.huge, 0, math.huge),
971
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
972
			}
973
			if knockback > 0 then
974
				vp.Parent = hit.Parent.Torso
975
			end
976
			game:GetService("Debris"):AddItem(vp, .5)
977
		elseif Type == "Up" then
978
			local bodyVelocity = Create("BodyVelocity"){
979
				velocity = Vector3.new(0, 20, 0),
980
				P = 5000,
981
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
982
				Parent = hit,
983
			}
984
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
985
		elseif Type == "DarkUp" then
986
			coroutine.resume(coroutine.create(function()
987
				for i = 0, 1, 0.1 do
988
					swait()
989
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
990
				end
991
			end))
992
			local bodyVelocity = Create("BodyVelocity"){
993
				velocity = Vector3.new(0, 20, 0),
994
				P = 5000,
995
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
996
				Parent = hit,
997
			}
998
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
999
		elseif Type == "Snare" then
1000
			local bp = Create("BodyPosition"){
1001
				P = 2000,
1002
				D = 100,
1003
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
1004
				position = hit.Parent.Torso.Position,
1005
				Parent = hit.Parent.Torso,
1006
			}
1007
			game:GetService("Debris"):AddItem(bp, 1)
1008
		elseif Type == "Freeze" then
1009
			local BodPos = Create("BodyPosition"){
1010
				P = 50000,
1011
				D = 1000,
1012
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
1013
				position = hit.Parent.Torso.Position,
1014
				Parent = hit.Parent.Torso,
1015
			}
1016
			local BodGy = Create("BodyGyro") {
1017
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
1018
				P = 20e+003,
1019
				Parent = hit.Parent.Torso,
1020
				cframe = hit.Parent.Torso.CFrame,
1021
			}
1022
			hit.Parent.Torso.Anchored = true
1023
			coroutine.resume(coroutine.create(function(Part) 
1024
				swait(1.5)
1025
				Part.Anchored = false
1026
			end), hit.Parent.Torso)
1027
			game:GetService("Debris"):AddItem(BodPos, 3)
1028
			game:GetService("Debris"):AddItem(BodGy, 3)
1029
		end
1030
		local debounce = Create("BoolValue"){
1031
			Name = "DebounceHit",
1032
			Parent = hit.Parent,
1033
			Value = true,
1034
		}
1035
		game:GetService("Debris"):AddItem(debounce, Delay)
1036
		c = Create("ObjectValue"){
1037
			Name = "creator",
1038
			Value = Player,
1039
			Parent = h,
1040
		}
1041
		game:GetService("Debris"):AddItem(c, .5)
1042
	end
1043
end
1044
-------------------------------------------------------
1045
--End Damage Function--
1046
-------------------------------------------------------
1047
1048
-------------------------------------------------------
1049
--Start Damage Function Customization--
1050
-------------------------------------------------------
1051
function ShowDamage(Pos, Text, Time, Color)
1052
	local Rate = (1 / 30)
1053
	local Pos = (Pos or Vector3.new(0, 0, 0))
1054
	local Text = (Text or "")
1055
	local Time = (Time or 2)
1056
	local Color = (Color or Color3.new(1, 0, 1))
1057
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1058
	EffectPart.Anchored = true
1059
	local BillboardGui = Create("BillboardGui"){
1060
		Size = UDim2.new(3, 0, 3, 0),
1061
		Adornee = EffectPart,
1062
		Parent = EffectPart,
1063
	}
1064
	local TextLabel = Create("TextLabel"){
1065
		BackgroundTransparency = 1,
1066
		Size = UDim2.new(1, 0, 1, 0),
1067
		Text = Text,
1068
		Font = "Bodoni",
1069
		TextColor3 = Color,
1070
		TextScaled = true,
1071
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
1072
		Parent = BillboardGui,
1073
	}
1074
	game.Debris:AddItem(EffectPart, (Time))
1075
	EffectPart.Parent = game:GetService("Workspace")
1076
	delay(0, function()
1077
		local Frames = (Time / Rate)
1078
		for Frame = 1, Frames do
1079
			wait(Rate)
1080
			local Percent = (Frame / Frames)
1081
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1082
			TextLabel.TextTransparency = Percent
1083
		end
1084
		if EffectPart and EffectPart.Parent then
1085
			EffectPart:Destroy()
1086
		end
1087
	end)
1088
end
1089
-------------------------------------------------------
1090
--End Damage Function Customization--
1091
-------------------------------------------------------
1092
1093
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
1094
  for _, c in pairs(workspace:children()) do
1095
    local hum = c:findFirstChild("Humanoid")
1096
    if hum ~= nil then
1097
      local head = c:findFirstChild("Head")
1098
      if head ~= nil then
1099
        local targ = head.Position - Part.Position
1100
        local mag = targ.magnitude
1101
        if magni >= mag and c.Name ~= plr.Name then
1102
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
1103
        end
1104
      end
1105
    end
1106
  end
1107
end
1108
1109
1110
CFuncs = {
1111
	Part = {
1112
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1113
			local Part = Create("Part")({
1114
				Parent = Parent,
1115
				Reflectance = Reflectance,
1116
				Transparency = Transparency,
1117
				CanCollide = false,
1118
				Locked = true,
1119
				BrickColor = BrickColor.new(tostring(BColor)),
1120
				Name = Name,
1121
				Size = Size,
1122
				Material = Material
1123
			})
1124
			RemoveOutlines(Part)
1125
			return Part
1126
		end
1127
	},
1128
	Mesh = {
1129
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1130
			local Msh = Create(Mesh)({
1131
				Parent = Part,
1132
				Offset = OffSet,
1133
				Scale = Scale
1134
			})
1135
			if Mesh == "SpecialMesh" then
1136
				Msh.MeshType = MeshType
1137
				Msh.MeshId = MeshId
1138
			end
1139
			return Msh
1140
		end
1141
	},
1142
	Mesh = {
1143
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1144
			local Msh = Create(Mesh)({
1145
				Parent = Part,
1146
				Offset = OffSet,
1147
				Scale = Scale
1148
			})
1149
			if Mesh == "SpecialMesh" then
1150
				Msh.MeshType = MeshType
1151
				Msh.MeshId = MeshId
1152
			end
1153
			return Msh
1154
		end
1155
	},
1156
	Weld = {
1157
		Create = function(Parent, Part0, Part1, C0, C1)
1158
			local Weld = Create("Weld")({
1159
				Parent = Parent,
1160
				Part0 = Part0,
1161
				Part1 = Part1,
1162
				C0 = C0,
1163
				C1 = C1
1164
			})
1165
			return Weld
1166
		end
1167
	},
1168
	Sound = {
1169
		Create = function(id, par, vol, pit)
1170
			coroutine.resume(coroutine.create(function()
1171
				local S = Create("Sound")({
1172
					Volume = vol,
1173
					Pitch = pit or 1,
1174
					SoundId = id,
1175
					Parent = par or workspace
1176
				})
1177
				wait()
1178
				S:play()
1179
				game:GetService("Debris"):AddItem(S, 6)
1180
			end))
1181
		end
1182
	},
1183
	ParticleEmitter = {
1184
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
1185
			local fp = Create("ParticleEmitter")({
1186
				Parent = Parent,
1187
				Color = ColorSequence.new(Color1, Color2),
1188
				LightEmission = LightEmission,
1189
				Size = Size,
1190
				Texture = Texture,
1191
				Transparency = Transparency,
1192
				ZOffset = ZOffset,
1193
				Acceleration = Accel,
1194
				Drag = Drag,
1195
				LockedToPart = LockedToPart,
1196
				VelocityInheritance = VelocityInheritance,
1197
				EmissionDirection = EmissionDirection,
1198
				Enabled = Enabled,
1199
				Lifetime = LifeTime,
1200
				Rate = Rate,
1201
				Rotation = Rotation,
1202
				RotSpeed = RotSpeed,
1203
				Speed = Speed,
1204
				VelocitySpread = VelocitySpread
1205
			})
1206
			return fp
1207
		end
1208
	}
1209
}
1210
function RemoveOutlines(part)
1211
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1212
end
1213
1214
o1 = Instance.new("Model")
1215
o2 = Instance.new("Part")
1216
o3 = Instance.new("SpecialMesh")
1217
o4 = Instance.new("Part")
1218
o5 = Instance.new("Part")
1219
o6 = Instance.new("Part")
1220
o7 = Instance.new("SpecialMesh")
1221
o8 = Instance.new("Part")
1222
o9 = Instance.new("Part")
1223
o10 = Instance.new("SpecialMesh")
1224
o11 = Instance.new("Part")
1225
o12 = Instance.new("Part")
1226
o13 = Instance.new("SpecialMesh")
1227
o14 = Instance.new("Part")
1228
o15 = Instance.new("Part")
1229
o16 = Instance.new("Part")
1230
o17 = Instance.new("Part")
1231
o1.Name = "MODEL"
1232
o2.Name = "Middle"
1233
o2.Parent = o1
1234
o2.BrickColor = BrickColor.new("Pastel brown")
1235
o2.Transparency = 1
1236
o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117)
1237
o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414)
1238
o2.Anchored = true
1239
o2.FormFactor = Enum.FormFactor.Custom
1240
o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
1241
o2.CFrame = CFrame.new(-13.5356159, 3.71991396, 50.2649117, 1.75646369e-006, 1.74156298e-007, -0.999991417, -1.04150445e-007, 1, 1.60883403e-007, 0.999999762, 9.62157287e-008, 1.6223396e-006)
1242
o2.BottomSurface = Enum.SurfaceType.Smooth
1243
o2.TopSurface = Enum.SurfaceType.Smooth
1244
o2.Color = Color3.new(1, 0.8, 0.6)
1245
o3.Parent = o2
1246
o3.Scale = Vector3.new(6.25, 6.25, 6.25)
1247
o3.MeshType = Enum.MeshType.FileMesh
1248
o4.Name = "Lense 1"
1249
o4.Parent = o1
1250
o4.Material = Enum.Material.Metal
1251
o4.Transparency = 0.050000011920929
1252
o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605)
1253
o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985)
1254
o4.Anchored = true
1255
o4.CanCollide = false
1256
o4.FormFactor = Enum.FormFactor.Custom
1257
o4.Shape = Enum.PartType.Cylinder
1258
o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998)
1259
o4.CFrame = CFrame.new(-12.900528, 3.77991295, 50.5080605, -0.935553849, 3.06141374e-007, 0.353159934, 3.19927466e-007, 1, 2.01617603e-008, -0.353163034, 1.1997561e-007, -0.935561478)
1260
o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
1261
o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
1262
o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
1263
o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
1264
o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
1265
o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
1266
o5.Name = "Lense2"
1267
o5.Parent = o1
1268
o5.Material = Enum.Material.Metal
1269
o5.Transparency = 0.050000011920929
1270
o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277)
1271
o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985)
1272
o5.Anchored = true
1273
o5.CanCollide = false
1274
o5.FormFactor = Enum.FormFactor.Custom
1275
o5.Shape = Enum.PartType.Cylinder
1276
o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001)
1277
o5.CFrame = CFrame.new(-12.8961124, 3.77492094, 50.0302277, -0.914722979, 2.85652249e-007, -0.404061079, 2.36339361e-007, 1, 1.37493373e-007, 0.404064298, 2.15865228e-008, -0.914730668)
1278
o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
1279
o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
1280
o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
1281
o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
1282
o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
1283
o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
1284
o6.Name = "Handle"
1285
o6.Parent = o1
1286
o6.Material = Enum.Material.Metal
1287
o6.BrickColor = BrickColor.new("Really black")
1288
o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869)
1289
o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008)
1290
o6.Anchored = true
1291
o6.CanCollide = false
1292
o6.FormFactor = Enum.FormFactor.Plate
1293
o6.Size = Vector3.new(1, 0.400000006, 1)
1294
o6.CFrame = CFrame.new(-12.8799381, 3.69992495, 50.2599869, 1.75646369e-006, 0.999991417, 1.74156298e-007, -1.04150445e-007, -1.60883403e-007, 1, 0.999999762, -1.6223396e-006, 9.62157287e-008)
1295
o6.BottomSurface = Enum.SurfaceType.Weld
1296
o6.TopSurface = Enum.SurfaceType.Smooth
1297
o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1298
o7.Parent = o6
1299
o7.MeshId = "http://www.roblox.com/asset/?id=5158270"
1300
o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001)
1301
o7.MeshType = Enum.MeshType.FileMesh
1302
o8.Name = "Straps"
1303
o8.Parent = o1
1304
o8.Material = Enum.Material.Fabric
1305
o8.BrickColor = BrickColor.new("Really black")
1306
o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869)
1307
o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
1308
o8.Anchored = true
1309
o8.CanCollide = false
1310
o8.FormFactor = Enum.FormFactor.Custom
1311
o8.Shape = Enum.PartType.Cylinder
1312
o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
1313
o8.CFrame = CFrame.new(-13.5199518, 3.48991394, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
1314
o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
1315
o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
1316
o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
1317
o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
1318
o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
1319
o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
1320
o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1321
o9.Name = "Ring2"
1322
o9.Parent = o1
1323
o9.BrickColor = BrickColor.new("Dark stone grey")
1324
o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477)
1325
o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005)
1326
o9.Anchored = true
1327
o9.CanCollide = false
1328
o9.FormFactor = Enum.FormFactor.Custom
1329
o9.Size = Vector3.new(0.600000024, 0.200000003, 1)
1330
o9.CFrame = CFrame.new(-12.8061161, 3.77991295, 49.9993477, 0.404059976, 1.74156298e-007, -0.914723039, -1.6136562e-007, 1, 1.0455733e-007, 0.914730787, 9.62157287e-008, 0.404063195)
1331
o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
1332
o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
1333
o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
1334
o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
1335
o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
1336
o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
1337
o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
1338
o10.Parent = o9
1339
o10.MeshId = "http://www.roblox.com/asset/?id=3270017"
1340
o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
1341
o10.MeshType = Enum.MeshType.FileMesh
1342
o11.Name = "Straps"
1343
o11.Parent = o1
1344
o11.Material = Enum.Material.Fabric
1345
o11.BrickColor = BrickColor.new("Really black")
1346
o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869)
1347
o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
1348
o11.Anchored = true
1349
o11.CanCollide = false
1350
o11.FormFactor = Enum.FormFactor.Custom
1351
o11.Shape = Enum.PartType.Cylinder
1352
o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
1353
o11.CFrame = CFrame.new(-13.5199518, 4.00991392, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
1354
o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
1355
o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
1356
o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
1357
o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
1358
o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
1359
o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
1360
o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1361
o12.Name = "Ring1"
1362
o12.Parent = o1
1363
o12.BrickColor = BrickColor.new("Dark stone grey")
1364
o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988)
1365
o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985)
1366
o12.Anchored = true
1367
o12.CanCollide = false
1368
o12.FormFactor = Enum.FormFactor.Custom
1369
o12.Size = Vector3.new(0.600000024, 0.200000003, 1)
1370
o12.CFrame = CFrame.new(-12.7999144, 3.76992106, 50.5299988, -0.353160918, 1.74156298e-007, -0.935553372, -4.22077129e-008, 1, 1.87534141e-007, 0.935561061, 9.62157287e-008, -0.353164017)
1371
o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
1372
o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
1373
o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
1374
o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
1375
o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
1376
o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
1377
o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
1378
o13.Parent = o12
1379
o13.MeshId = "http://www.roblox.com/asset/?id=3270017"
1380
o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
1381
o13.MeshType = Enum.MeshType.FileMesh
1382
o14.Name = "Breather"
1383
o14.Parent = o1
1384
o14.Material = Enum.Material.Metal
1385
o14.BrickColor = BrickColor.new("Really black")
1386
o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011)
1387
o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
1388
o14.Anchored = true
1389
o14.CanCollide = false
1390
o14.FormFactor = Enum.FormFactor.Custom
1391
o14.Shape = Enum.PartType.Cylinder
1392
o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003)
1393
o14.CFrame = CFrame.new(-12.7419596, 3.69627094, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
1394
o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
1395
o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
1396
o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
1397
o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
1398
o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
1399
o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
1400
o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1401
o15.Name = "Breather"
1402
o15.Parent = o1
1403
o15.Material = Enum.Material.Metal
1404
o15.BrickColor = BrickColor.new("Really black")
1405
o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011)
1406
o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
1407
o15.Anchored = true
1408
o15.CanCollide = false
1409
o15.FormFactor = Enum.FormFactor.Custom
1410
o15.Shape = Enum.PartType.Cylinder
1411
o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024)
1412
o15.CFrame = CFrame.new(-12.5337915, 3.51434994, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
1413
o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
1414
o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
1415
o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
1416
o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
1417
o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
1418
o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
1419
o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1420
o16.Name = "Breather"
1421
o16.Parent = o1
1422
o16.Material = Enum.Material.Metal
1423
o16.BrickColor = BrickColor.new("Really black")
1424
o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256)
1425
o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
1426
o16.Anchored = true
1427
o16.CanCollide = false
1428
o16.FormFactor = Enum.FormFactor.Custom
1429
o16.Shape = Enum.PartType.Cylinder
1430
o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75)
1431
o16.CFrame = CFrame.new(-12.7920103, 3.39220095, 49.784256, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
1432
o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
1433
o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
1434
o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
1435
o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
1436
o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
1437
o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
1438
o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1439
o17.Name = "Breather"
1440
o17.Parent = o1
1441
o17.Material = Enum.Material.Metal
1442
o17.BrickColor = BrickColor.new("Really black")
1443
o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109)
1444
o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
1445
o17.Anchored = true
1446
o17.CanCollide = false
1447
o17.FormFactor = Enum.FormFactor.Custom
1448
o17.Shape = Enum.PartType.Cylinder
1449
o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002)
1450
o17.CFrame = CFrame.new(-12.8723783, 3.42192006, 49.8816109, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
1451
o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
1452
o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
1453
o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
1454
o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
1455
o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
1456
o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
1457
o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
1458
1459
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1460
	local Part = Create("Part")({
1461
		formFactor = FormFactor,
1462
		Parent = Parent,
1463
		Reflectance = Reflectance,
1464
		Transparency = Transparency,
1465
		CanCollide = false,
1466
		Locked = true,
1467
		BrickColor = BrickColor.new(tostring(BColor)),
1468
		Name = Name,
1469
		Size = Size,
1470
		Material = Material
1471
	})
1472
	RemoveOutlines(Part)
1473
	return Part
1474
end
1475
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1476
	local Msh = Create(Mesh)({
1477
		Parent = Part,
1478
		Offset = OffSet,
1479
		Scale = Scale
1480
	})
1481
	if Mesh == "SpecialMesh" then
1482
		Msh.MeshType = MeshType
1483
		Msh.MeshId = MeshId
1484
	end
1485
	return Msh
1486
end
1487
function CreateWeld(Parent, Part0, Part1, C0, C1)
1488
	local Weld = Create("Weld")({
1489
		Parent = Parent,
1490
		Part0 = Part0,
1491
		Part1 = Part1,
1492
		C0 = C0,
1493
		C1 = C1
1494
	})
1495
	return Weld
1496
end
1497
1498
1499
-------------------------------------------------------
1500
--Start Effect Function--
1501
-------------------------------------------------------
1502
EffectModel = Instance.new("Model", char)
1503
Effects = {
1504
  Block = {
1505
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1506
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1507
      prt.Anchored = true
1508
      prt.CFrame = cframe
1509
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1510
      game:GetService("Debris"):AddItem(prt, 10)
1511
      if Type == 1 or Type == nil then
1512
        table.insert(Effects, {
1513
          prt,
1514
          "Block1",
1515
          delay,
1516
          x3,
1517
          y3,
1518
          z3,
1519
          msh
1520
        })
1521
      elseif Type == 2 then
1522
        table.insert(Effects, {
1523
          prt,
1524
          "Block2",
1525
          delay,
1526
          x3,
1527
          y3,
1528
          z3,
1529
          msh
1530
        })
1531
      else
1532
        table.insert(Effects, {
1533
          prt,
1534
          "Block3",
1535
          delay,
1536
          x3,
1537
          y3,
1538
          z3,
1539
          msh
1540
        })
1541
      end
1542
    end
1543
  },
1544
  Sphere = {
1545
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1546
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1547
      prt.Anchored = true
1548
      prt.CFrame = cframe
1549
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1550
      game:GetService("Debris"):AddItem(prt, 10)
1551
      table.insert(Effects, {
1552
        prt,
1553
        "Cylinder",
1554
        delay,
1555
        x3,
1556
        y3,
1557
        z3,
1558
        msh
1559
      })
1560
    end
1561
  },
1562
  Cylinder = {
1563
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1564
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1565
      prt.Anchored = true
1566
      prt.CFrame = cframe
1567
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1568
      game:GetService("Debris"):AddItem(prt, 10)
1569
      table.insert(Effects, {
1570
        prt,
1571
        "Cylinder",
1572
        delay,
1573
        x3,
1574
        y3,
1575
        z3,
1576
        msh
1577
      })
1578
    end
1579
  },
1580
  Wave = {
1581
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1582
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1583
      prt.Anchored = true
1584
      prt.CFrame = cframe
1585
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
1586
      game:GetService("Debris"):AddItem(prt, 10)
1587
      table.insert(Effects, {
1588
        prt,
1589
        "Cylinder",
1590
        delay,
1591
        x3 / 60,
1592
        y3 / 60,
1593
        z3 / 60,
1594
        msh
1595
      })
1596
    end
1597
  },
1598
  Ring = {
1599
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1600
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1601
      prt.Anchored = true
1602
      prt.CFrame = cframe
1603
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1604
      game:GetService("Debris"):AddItem(prt, 10)
1605
      table.insert(Effects, {
1606
        prt,
1607
        "Cylinder",
1608
        delay,
1609
        x3,
1610
        y3,
1611
        z3,
1612
        msh
1613
      })
1614
    end
1615
  },
1616
  Break = {
1617
    Create = function(brickcolor, cframe, x1, y1, z1)
1618
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1619
      prt.Anchored = true
1620
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1621
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1622
      local num = math.random(10, 50) / 1000
1623
      game:GetService("Debris"):AddItem(prt, 10)
1624
      table.insert(Effects, {
1625
        prt,
1626
        "Shatter",
1627
        num,
1628
        prt.CFrame,
1629
        math.random() - math.random(),
1630
        0,
1631
        math.random(50, 100) / 100
1632
      })
1633
    end
1634
  },
1635
Spiral = {
1636
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1637
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1638
      prt.Anchored = true
1639
      prt.CFrame = cframe
1640
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1641
      game:GetService("Debris"):AddItem(prt, 10)
1642
      table.insert(Effects, {
1643
        prt,
1644
        "Cylinder",
1645
        delay,
1646
        x3,
1647
        y3,
1648
        z3,
1649
        msh
1650
      })
1651
    end
1652
  },
1653
Push = {
1654
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1655
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1656
      prt.Anchored = true
1657
      prt.CFrame = cframe
1658
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1659
      game:GetService("Debris"):AddItem(prt, 10)
1660
      table.insert(Effects, {
1661
        prt,
1662
        "Cylinder",
1663
        delay,
1664
        x3,
1665
        y3,
1666
        z3,
1667
        msh
1668
      })
1669
    end
1670
  }
1671
}
1672
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
1673
	local fp = IT("Part")
1674
	fp.formFactor = formfactor 
1675
	fp.Parent = parent
1676
	fp.Reflectance = reflectance
1677
	fp.Transparency = transparency
1678
	fp.CanCollide = false 
1679
	fp.Locked = true
1680
	fp.BrickColor = brickcolor
1681
	fp.Name = name
1682
	fp.Size = size
1683
	fp.Position = tors.Position 
1684
	RemoveOutlines(fp)
1685
	fp.Material = "SmoothPlastic"
1686
	fp:BreakJoints()
1687
	return fp 
1688
end 
1689
 
1690
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1691
	local mesh = IT(Mesh) 
1692
	mesh.Parent = part
1693
	if Mesh == "SpecialMesh" then
1694
		mesh.MeshType = meshtype
1695
	if meshid ~= "nil" then
1696
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
1697
		end
1698
	end
1699
	mesh.Offset = offset
1700
	mesh.Scale = scale
1701
	return mesh
1702
end
1703
1704
function Magic(bonuspeed, type, pos, scale, value, color, MType)
1705
	local type = type
1706
	local rng = Instance.new("Part", char)
1707
	rng.Anchored = true
1708
	rng.BrickColor = color
1709
	rng.CanCollide = false
1710
	rng.FormFactor = 3
1711
	rng.Name = "Ring"
1712
	rng.Material = "Neon"
1713
	rng.Size = Vector3.new(1, 1, 1)
1714
	rng.Transparency = 0
1715
	rng.TopSurface = 0
1716
	rng.BottomSurface = 0
1717
	rng.CFrame = pos
1718
	local rngm = Instance.new("SpecialMesh", rng)
1719
	rngm.MeshType = MType
1720
	rngm.Scale = scale
1721
	local scaler2 = 1
1722
	if type == "Add" then
1723
		scaler2 = 1 * value
1724
	elseif type == "Divide" then
1725
		scaler2 = 1 / value
1726
	end
1727
	coroutine.resume(coroutine.create(function()
1728
		for i = 0, 10 / bonuspeed, 0.1 do
1729
			swait()
1730
			if type == "Add" then
1731
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1732
			elseif type == "Divide" then
1733
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1734
			end
1735
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1736
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
1737
		end
1738
		rng:Destroy()
1739
	end))
1740
end
1741
1742
function Eviscerate(dude)
1743
	if dude.Name ~= char then
1744
		local bgf = IT("BodyGyro", dude.Head)
1745
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1746
		local val = IT("BoolValue", dude)
1747
		val.Name = "IsHit"
1748
		local ds = coroutine.wrap(function()
1749
			dude:WaitForChild("Head"):BreakJoints()
1750
			wait(0.5)
1751
			target = nil
1752
			coroutine.resume(coroutine.create(function()
1753
				for i, v in pairs(dude:GetChildren()) do
1754
					if v:IsA("Accessory") then
1755
						v:Destroy()
1756
					end
1757
					if v:IsA("Humanoid") then
1758
						v:Destroy()
1759
					end
1760
					if v:IsA("CharacterMesh") then
1761
						v:Destroy()
1762
					end
1763
					if v:IsA("Model") then
1764
						v:Destroy()
1765
					end
1766
					if v:IsA("Part") or v:IsA("MeshPart") then
1767
						for x, o in pairs(v:GetChildren()) do
1768
							if o:IsA("Decal") then
1769
								o:Destroy()
1770
							end
1771
						end
1772
						coroutine.resume(coroutine.create(function()
1773
							v.Material = "Neon"
1774
							v.CanCollide = false
1775
							local PartEmmit1 = IT("ParticleEmitter", v)
1776
							PartEmmit1.LightEmission = 1
1777
							PartEmmit1.Texture = "rbxassetid://284205403"
1778
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1779
							PartEmmit1.Rate = 150
1780
							PartEmmit1.Lifetime = NumberRange.new(1)
1781
							PartEmmit1.Size = NumberSequence.new({
1782
								NumberSequenceKeypoint.new(0, 0.75, 0),
1783
								NumberSequenceKeypoint.new(1, 0, 0)
1784
							})
1785
							PartEmmit1.Transparency = NumberSequence.new({
1786
								NumberSequenceKeypoint.new(0, 0, 0),
1787
								NumberSequenceKeypoint.new(1, 1, 0)
1788
							})
1789
							PartEmmit1.Speed = NumberRange.new(0, 0)
1790
							PartEmmit1.VelocitySpread = 30000
1791
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1792
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1793
							local BodPoss = IT("BodyPosition", v)
1794
							BodPoss.P = 3000
1795
							BodPoss.D = 1000
1796
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1797
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1798
							v.Color = maincolor.Color
1799
							coroutine.resume(coroutine.create(function()
1800
								for i = 0, 49 do
1801
									swait(1)
1802
									v.Transparency = v.Transparency + 0.08
1803
								end
1804
								wait(0.5)
1805
								PartEmmit1.Enabled = false
1806
								wait(3)
1807
								v:Destroy()
1808
								dude:Destroy()
1809
							end))
1810
						end))
1811
					end
1812
				end
1813
			end))
1814
		end)
1815
		ds()
1816
	end
1817
end
1818
1819
function FindNearestHead(Position, Distance, SinglePlayer)
1820
	if SinglePlayer then
1821
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1822
	end
1823
	local List = {}
1824
	for i, v in pairs(workspace:GetChildren()) do
1825
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1826
			table.insert(List, v)
1827
		end
1828
	end
1829
	return List
1830
end
1831
1832
function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
1833
	local type = type
1834
	local rng = Instance.new("Part", char)
1835
	rng.Anchored = true
1836
	rng.BrickColor = color
1837
	rng.CanCollide = false
1838
	rng.FormFactor = 3
1839
	rng.Name = "Ring"
1840
	rng.Material = "Neon"
1841
	rng.Size = Vector3.new(1, 1, 1)
1842
	rng.Transparency = 0
1843
	rng.TopSurface = 0
1844
	rng.BottomSurface = 0
1845
	rng.CFrame = pos
1846
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1847
	local rngm = Instance.new("SpecialMesh", rng)
1848
	rngm.MeshType = "Sphere"
1849
	rngm.Scale = Vector3.new(x1, y1, z1)
1850
	local scaler2 = 1
1851
	local speeder = FastSpeed
1852
	if type == "Add" then
1853
		scaler2 = 1 * value
1854
	elseif type == "Divide" then
1855
		scaler2 = 1 / value
1856
	end
1857
	coroutine.resume(coroutine.create(function()
1858
		for i = 0, 10 / bonuspeed, 0.1 do
1859
			swait()
1860
			if type == "Add" then
1861
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1862
			elseif type == "Divide" then
1863
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1864
			end
1865
                        rng.BrickColor = BrickColor.new("Really red")
1866
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1867
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1868
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1869
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1870
		end
1871
		rng:Destroy()
1872
	end))
1873
end
1874
1875
function FindNearestHead(Position, Distance, SinglePlayer)
1876
	if SinglePlayer then
1877
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1878
	end
1879
	local List = {}
1880
	for i, v in pairs(workspace:GetChildren()) do
1881
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1882
			table.insert(List, v)
1883
		end
1884
	end
1885
	return List
1886
end
1887
1888
function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
1889
	local type = type
1890
	local rng = Instance.new("Part", char)
1891
	rng.Anchored = true
1892
	rng.BrickColor = color
1893
	rng.CanCollide = false
1894
	rng.FormFactor = 3
1895
	rng.Name = "Ring"
1896
	rng.Material = "Neon"
1897
	rng.Size = Vector3.new(1, 1, 1)
1898
	rng.Transparency = 0
1899
	rng.TopSurface = 0
1900
	rng.BottomSurface = 0
1901
	rng.CFrame = pos
1902
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
1903
	local rngm = Instance.new("SpecialMesh", rng)
1904
	rngm.MeshType = "Brick"
1905
	rngm.Scale = Vector3.new(x1,y1,z1)
1906
	local scaler2 = 1
1907
	local speeder = FastSpeed/10
1908
	if type == "Add" then
1909
		scaler2 = 1*value
1910
	elseif type == "Divide" then
1911
		scaler2 = 1/value
1912
	end
1913
	coroutine.resume(coroutine.create(function()
1914
		for i = 0,10/bonuspeed,0.1 do
1915
			swait()
1916
			if type == "Add" then
1917
				scaler2 = scaler2 - 0.01*value/bonuspeed
1918
			elseif type == "Divide" then
1919
				scaler2 = scaler2 - 0.01/value*bonuspeed
1920
			end
1921
			speeder = speeder - 0.01*FastSpeed*bonuspeed/10
1922
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
1923
			rng.Transparency = rng.Transparency + 0.01*bonuspeed
1924
			rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
1925
		end
1926
	rng:Destroy()
1927
	end))
1928
end
1929
1930
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1931
	local type = type
1932
	local rng = Instance.new("Part", char)
1933
	rng.Anchored = true
1934
	rng.BrickColor = color
1935
	rng.CanCollide = false
1936
	rng.FormFactor = 3
1937
	rng.Name = "Ring"
1938
	rng.Material = "Neon"
1939
	rng.Size = Vector3.new(1, 1, 1)
1940
	rng.Transparency = 0
1941
	rng.TopSurface = 0
1942
	rng.BottomSurface = 0
1943
	rng.CFrame = pos
1944
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1945
	local rngm = Instance.new("SpecialMesh", rng)
1946
	rngm.MeshType = MType
1947
	rngm.Scale = Vector3.new(x1, y1, z1)
1948
	local scaler2 = 1
1949
	local speeder = FastSpeed
1950
	if type == "Add" then
1951
		scaler2 = 1 * value
1952
	elseif type == "Divide" then
1953
		scaler2 = 1 / value
1954
	end
1955
	coroutine.resume(coroutine.create(function()
1956
		for i = 0, 10 / bonuspeed, 0.1 do
1957
			swait()
1958
			if type == "Add" then
1959
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1960
			elseif type == "Divide" then
1961
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1962
			end
1963
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1964
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1965
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1966
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1967
		end
1968
		rng:Destroy()
1969
	end))
1970
end
1971
1972
function SoulSteal(dude)
1973
if dude.Name ~= char then
1974
local bgf = IT("BodyGyro", dude.Head)
1975
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1976
local val = IT("BoolValue", dude)
1977
val.Name = "IsHit"
1978
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1979
local soulst = coroutine.wrap(function()
1980
local soul = Instance.new("Part",dude)
1981
soul.Size = Vector3.new(1,1,1)
1982
soul.CanCollide = false
1983
soul.Anchored = false
1984
soul.Position = torso.Position
1985
soul.Transparency = 1
1986
local PartEmmit1 = IT("ParticleEmitter", soul)
1987
PartEmmit1.LightEmission = 1
1988
PartEmmit1.Texture = "rbxassetid://569507414"
1989
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1990
PartEmmit1.Rate = 250
1991
PartEmmit1.Lifetime = NumberRange.new(1.6)
1992
PartEmmit1.Size = NumberSequence.new({
1993
	NumberSequenceKeypoint.new(0, 1, 0),
1994
	NumberSequenceKeypoint.new(1, 0, 0)
1995
})
1996
PartEmmit1.Transparency = NumberSequence.new({
1997
	NumberSequenceKeypoint.new(0, 0, 0),
1998
	NumberSequenceKeypoint.new(1, 1, 0)
1999
})
2000
PartEmmit1.Speed = NumberRange.new(0, 0)
2001
PartEmmit1.VelocitySpread = 30000
2002
PartEmmit1.Rotation = NumberRange.new(-360, 360)
2003
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
2004
local BodPoss = IT("BodyPosition", soul)
2005
BodPoss.P = 3000
2006
BodPoss.D = 1000
2007
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
2008
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
2009
wait(1.6)
2010
soul.Touched:connect(function(hit)
2011
	if hit.Parent == char then
2012
	soul:Destroy()
2013
	end
2014
end)
2015
wait(1.2)
2016
while soul do
2017
	swait()
2018
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
2019
	BodPoss.Position = tors.Position
2020
end
2021
end)
2022
	soulst()
2023
	end
2024
end
2025
function FaceMouse()
2026
local	Cam = workspace.CurrentCamera
2027
	return {
2028
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
2029
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
2030
	}
2031
end
2032
function WACKYEFFECT(Table)
2033
	local TYPE = (Table.EffectType or "Sphere")
2034
	local SIZE = (Table.Size or Vector3.new(1,1,1))
2035
	local ENDSIZE = (Table.Size2 or Vector3.new(0,0,0))
2036
	local TRANSPARENCY = (Table.Transparency or 0)
2037
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
2038
	local CFRAME = (Table.CFrame or tors.CFrame)
2039
	local MOVEDIRECTION = (Table.MoveToPos or nil)
2040
	local ROTATION1 = (Table.RotationX or 0)
2041
	local ROTATION2 = (Table.RotationY or 0)
2042
	local ROTATION3 = (Table.RotationZ or 0)
2043
	local MATERIAL = (Table.Material or "Neon")
2044
	local COLOR = (Table.Color or Color3.new(1,1,1))
2045
	local TIME = (Table.Time or 45)
2046
	local SOUNDID = (Table.SoundID or nil)
2047
	local SOUNDPITCH = (Table.SoundPitch or nil)
2048
	local SOUNDVOLUME = (Table.SoundVolume or nil)
2049
	coroutine.resume(coroutine.create(function()
2050
		local PLAYSSOUND = false
2051
		local SOUND = nil
2052
		local EFFECT = CreatePart(3, EffectModel, MATERIAL, 0, TRANSPARENCY, BrickC("Pearl"), "Effect", Vector3.new(1,1,1), true)
2053
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
2054
			PLAYSSOUND = true
2055
			SOUND = Cso(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
2056
		end
2057
		EFFECT.Color = COLOR
2058
		local MSH = nil
2059
		if TYPE == "Sphere" then
2060
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, Vector3.new(0,0,0))
2061
		elseif TYPE == "Block" or TYPE == "Box" then
2062
			MSH = IT("BlockMesh",EFFECT)
2063
			MSH.Scale = SIZE
2064
		elseif TYPE == "Cylinder" then
2065
			MSH = IT("CylinderMesh",EFFECT)
2066
			MSH.Scale = SIZE
2067
		elseif TYPE == "Wave" then
2068
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, Vector3.new(0,0,-SIZE.X/8))
2069
		elseif TYPE == "Ring" then
2070
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", Vector3.new(SIZE.X,SIZE.X,0.1), Vector3.new(0,0,0))
2071
		elseif TYPE == "Slash" then
2072
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
2073
		elseif TYPE == "Round Slash" then
2074
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
2075
		elseif TYPE == "Swirl" then
2076
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, Vector3.new(0,0,0))
2077
		elseif TYPE == "Skull" then
2078
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, Vector3.new(0,0,0))
2079
		elseif TYPE == "Crystal" then
2080
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, Vector3.new(0,0,0))
2081
		elseif TYPE == "Crown" then
2082
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "173770780", "", SIZE, Vector3.new(0,0,0))
2083
		end
2084
		if MSH ~= nil then
2085
			local MOVESPEED = nil
2086
			if MOVEDIRECTION ~= nil then
2087
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
2088
			end
2089
			local GROWTH = SIZE - ENDSIZE
2090
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
2091
			if TYPE == "Block" then
2092
				EFFECT.CFrame = CFRAME*angles(Rad(Mrandom(0,360)),Rad(Mrandom(0,360)),Rad(Mrandom(0,360)))
2093
			else
2094
				EFFECT.CFrame = CFRAME
2095
			end
2096
			for LOOP = 1, TIME+1 do
2097
				swait()
2098
				MSH.Scale = MSH.Scale - GROWTH/TIME
2099
				if TYPE == "Wave" then
2100
					MSH.Offset = Vector3.new(0,0,-MSH.Scale.X/8)
2101
				end
2102
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
2103
				if TYPE == "Block" then
2104
					EFFECT.CFrame = CFRAME*angles(Rad(Mrandom(0,360)),Rad(Mrandom(0,360)),Rad(Mrandom(0,360)))
2105
				else
2106
					EFFECT.CFrame = EFFECT.CFrame*angles(Rad(ROTATION1),Rad(ROTATION2),Rad(ROTATION3))
2107
				end
2108
				if MOVEDIRECTION ~= nil then
2109
					local ORI = EFFECT.Orientation
2110
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
2111
					EFFECT.Orientation = ORI
2112
				end
2113
			end
2114
			EFFECT.Transparency = 1
2115
			if PLAYSSOUND == false then
2116
				EFFECT:remove()
2117
			else
2118
				repeat swait() until SOUND.Playing == false
2119
				EFFECT:remove()
2120
			end
2121
		else
2122
			if PLAYSSOUND == false then
2123
				EFFECT:remove()
2124
			else
2125
				repeat swait() until SOUND.Playing == false
2126
				EFFECT:remove()
2127
			end
2128
		end
2129
	end))
2130
end
2131
2132
-------------------------------------------------------
2133
--End Effect Function--
2134
-------------------------------------------------------
2135
function Cso(ID, PARENT, VOLUME, PITCH)
2136
	local NSound = nil
2137
	coroutine.resume(coroutine.create(function()
2138
		NSound = IT("Sound", PARENT)
2139
		NSound.Volume = VOLUME
2140
		NSound.Pitch = PITCH
2141
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
2142
		swait()
2143
		NSound:play()
2144
		game:GetService("Debris"):AddItem(NSound, 10)
2145
	end))
2146
	return NSound
2147
end
2148
function CameraEnshaking(Length, Intensity)
2149
	coroutine.resume(coroutine.create(function()
2150
		local intensity = 1 * Intensity
2151
		local rotM = 0.01 * Intensity
2152
		for i = 0, Length, 0.1 do
2153
			swait()
2154
			intensity = intensity - 0.05 * Intensity / Length
2155
			rotM = rotM - 5.0E-4 * Intensity / Length
2156
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
2157
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
2158
		end
2159
		hum.CameraOffset = Vector3.new(0, 0, 0)
2160
	end))
2161
end
2162
NewInstance = function(instance,parent,properties)
2163
	local inst = Instance.new(instance)
2164
	inst.Parent = parent
2165
	if(properties)then
2166
		for i,v in next, properties do
2167
			pcall(function() inst[i] = v end)
2168
		end
2169
	end
2170
	return inst;
2171
end
2172
function chatfunc(text, color)
2173
	local chat = coroutine.wrap(function()
2174
		if char:FindFirstChild("TalkingBillBoard") ~= nil then
2175
			char:FindFirstChild("TalkingBillBoard"):destroy()
2176
		end
2177
		local naeeym2 = Instance.new("BillboardGui", char)
2178
		naeeym2.Size = UDim2.new(0, 100, 0, 40)
2179
		naeeym2.StudsOffset = Vector3.new(0, 5, 0)
2180
		naeeym2.Adornee = hed
2181
		naeeym2.Name = "TalkingBillBoard"
2182
		local tecks2 = Instance.new("TextLabel", naeeym2)
2183
		tecks2.BackgroundTransparency = 1
2184
		tecks2.BorderSizePixel = 0
2185
		tecks2.Text = ""
2186
		tecks2.Font = "Fantasy"
2187
		tecks2.TextSize = 30
2188
		tecks2.TextStrokeTransparency = 0
2189
		tecks2.TextColor3 = color
2190
		tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
2191
		tecks2.Size = UDim2.new(1, 0, 0.5, 0)
2192
		for i = 1, string.len(text) do
2193
			--CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
2194
			tecks2.Text = string.sub(text, 1, i)
2195
			swait(1)
2196
		end
2197
		wait(1)
2198
		naeeym2:Destroy()
2199
	end)
2200
	chat()
2201
end
2202
New = function(Object, Parent, Name, Data)
2203
	local Object = Instance.new(Object)
2204
	for Index, Value in pairs(Data or {}) do
2205
		Object[Index] = Value
2206
	end
2207
	Object.Parent = Parent
2208
	Object.Name = Name
2209
	return Object
2210
end
2211
2212
-------------------------------------------------------
2213
--End Important Functions--
2214
-------------------------------------------------------
2215
2216
2217
-------------------------------------------------------
2218
--Start Customization--
2219
-------------------------------------------------------
2220
local Player_Size = 1
2221
if Player_Size ~= 1 then
2222
root.Size = root.Size * Player_Size
2223
tors.Size = tors.Size * Player_Size
2224
hed.Size = hed.Size * Player_Size
2225
ra.Size = ra.Size * Player_Size
2226
la.Size = la.Size * Player_Size
2227
rl.Size = rl.Size * Player_Size
2228
ll.Size = ll.Size * Player_Size
2229
----------------------------------------------------------------------------------
2230
rootj.Parent = root
2231
neck.Parent = tors
2232
RW.Parent = tors
2233
LW.Parent = tors
2234
RH.Parent = tors
2235
LH.Parent = tors
2236
----------------------------------------------------------------------------------
2237
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2238
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2239
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
2240
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
2241
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
2242
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
2243
----------------------------------------------------------------------------------
2244
RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2245
LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
2246
RH.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))
2247
LH.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))
2248
--hat.Parent = Character
2249
end
2250
----------------------------------------------------------------------------------
2251
local SONG = 515347026
2252
local SONG2 = 0
2253
local Music = Instance.new("Sound",tors)
2254
Music.Volume = 2.5
2255
Music.Looped = true
2256
Music.Pitch = 1 --Pitcher
2257
----------------------------------------------------------------------------------
2258
local equipped = false
2259
local idle = 0
2260
local change = 1
2261
local val = 0
2262
local toim = 0
2263
local idleanim = 0.4
2264
local sine = 0
2265
local Sit = 1
2266
local WasAir = false
2267
local InAir = false
2268
local LandTick = 0
2269
----------------------------------------------------------------------------------
2270
hum.WalkSpeed = 16
2271
hum.JumpPower = 55
2272
hum.Animator.Parent = nil
2273
----------------------------------------------------------------------------------
2274
local naeeym2 = Instance.new("BillboardGui",char)
2275
naeeym2.AlwaysOnTop = true
2276
naeeym2.Size = UDim2.new(5,35,2,35)
2277
naeeym2.StudsOffset = Vector3.new(0, 1.5, 0)
2278
naeeym2.Adornee = hed
2279
naeeym2.Name = "Name"
2280
local tecks2 = Instance.new("TextLabel",naeeym2)
2281
tecks2.BackgroundTransparency = 1
2282
tecks2.TextScaled = true
2283
tecks2.BorderSizePixel = 0
2284
tecks2.Text = "Content Cop"
2285
tecks2.Font = "Fantasy"
2286
tecks2.TextSize = 30
2287
tecks2.TextStrokeTransparency = 0
2288
tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
2289
tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2290
tecks2.Size = UDim2.new(1, 0, 0.5, 0)
2291
tecks2.Parent = naeeym2
2292
-------------------------------------------------------
2293
--End Customization--
2294
-------------------------------------------------------
2295
local Particle = IT("ParticleEmitter",nil)
2296
Particle.Enabled = false
2297
Particle.LightEmission = 0.2
2298
Particle.Rate = 150
2299
Particle.ZOffset = 1
2300
Particle.Rotation = NumberRange.new(-180, 180)
2301
 
2302
function ParticleEmitter(Table)
2303
    local PRTCL = Particle:Clone()
2304
    local Color1 = Table.Color1 or Color3.new(1,1,1)
2305
    local Color2 = Table.Color2 or Color3.new(1,1,1)
2306
    local Speed = Table.Speed or 5
2307
    local Drag = Table.Drag or 0
2308
    local Size1 = Table.Size1 or 1
2309
    local Size2 = Table.Size2 or 5
2310
    local Lifetime1 = Table.Lifetime1 or 1
2311
    local Lifetime2 = Table.Lifetime2 or 1.5
2312
    local Parent = Table.Parent or tors
2313
    local Emit = Table.Emit or 100
2314
    local Offset = Table.Offset or 360
2315
    local Acel = Table.Acel or Vector3.new(0,0,0)
2316
    local Enabled = Table.Enabled or false
2317
    local Texture = Table.Texture or "281983280"
2318
    local RotS = Table.RotSpeed or NumberRange.new(-15, 15)
2319
    local Trans1 = Table.Transparency1 or 0
2320
    local Trans2 = Table.Transparency2 or 0
2321
    PRTCL.Parent = Parent
2322
    PRTCL.RotSpeed = RotS
2323
    PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
2324
    PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture
2325
    PRTCL.Color = ColorSequence.new(Color1,Color2)
2326
    PRTCL.Size = NumberSequence.new(Size1,Size2)
2327
    PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
2328
    PRTCL.Speed = NumberRange.new(Speed)
2329
    PRTCL.VelocitySpread = Offset
2330
    PRTCL.Drag = Drag
2331
    PRTCL.Acceleration = Acel
2332
    if Enabled == false then
2333
        PRTCL:Emit(Emit)
2334
        game:GetService("Debris"):AddItem(PRTCL,Lifetime2)
2335
    else
2336
        PRTCL.Enabled = true
2337
    end
2338
    return PRTCL
2339
end
2340
2341
local BC = Character["Body Colors"]
2342
BC.HeadColor = BrickColor.new("Pastel brown")
2343
BC.LeftArmColor = BrickColor.new("Pastel brown")
2344
BC.LeftLegColor = BrickColor.new("Pastel brown")
2345
BC.RightArmColor = BrickColor.new("Pastel brown")
2346
BC.RightLegColor = BrickColor.new("Pastel brown")
2347
BC.TorsoColor = BrickColor.new("Pastel brown")
2348
-------------------------------------------------------
2349
--Start Attacks N Stuff--
2350
-------------------------------------------------------
2351
function GalaBomb()
2352
	attack = true
2353
	Cso("460919688", hed, 3.5, 1)
2354
	local orb = Instance.new("Part", char)
2355
	orb.Anchored = true
2356
	orb.BrickColor = BrickC("Really black")
2357
	orb.CanCollide = false
2358
	orb.FormFactor = 3
2359
	orb.Name = "Ring"
2360
	orb.Material = "Neon"
2361
	orb.Size = Vector3.new(1, 1, 1)
2362
	orb.Transparency = 0
2363
	orb.TopSurface = 0
2364
	orb.BottomSurface = 0
2365
	local orbm = Instance.new("SpecialMesh", orb)
2366
	orbm.MeshType = "Sphere"
2367
	orbm.Name = "SizeMesh"
2368
	orbm.Scale = Vector3.new(0, 0, 0)
2369
	local scaled = 0.1
2370
	local posid = 0
2371
	for i = 0, 12, 0.1 do
2372
		swait()
2373
		scaled = scaled + 0.001
2374
		posid = posid - scaled
2375
		orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
2376
		orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
2377
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.1)
2378
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-25)), 0.1)
2379
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1)
2380
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1)
2381
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(170), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
2382
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1)
2383
	end
2384
	for i = 0, 2, 0.1 do
2385
		swait()
2386
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(-30)), 0.1)
2387
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(30)), 0.1)
2388
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1)
2389
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1)
2390
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
2391
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1)
2392
	end
2393
	coroutine.resume(coroutine.create(function()
2394
		orb.Anchored = false
2395
		CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
2396
		local a = Instance.new("Part", workspace)
2397
		a.Name = "Direction"
2398
		a.Anchored = true
2399
		a.BrickColor = BrickC("Really black")
2400
		a.Material = "Neon"
2401
		a.Transparency = 1
2402
		a.CanCollide = false
2403
		local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
2404
		local ignore = orb
2405
		local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
2406
		a.BottomSurface = 10
2407
		a.TopSurface = 10
2408
		local distance = (orb.CFrame.p - position).magnitude
2409
		a.Size = Vector3.new(0.1, 0.1, 0.1)
2410
		a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
2411
		orb.CFrame = a.CFrame
2412
		a:Destroy()
2413
		local bv = Instance.new("BodyVelocity")
2414
		bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2415
		bv.velocity = orb.CFrame.lookVector * 125
2416
		bv.Parent = orb
2417
		local hitted = false
2418
		game:GetService("Debris"):AddItem(orb, 15)
2419
		swait()
2420
		local hit = orb.Touched:connect(function(hit)
2421
			if hitted == false then
2422
				hitted = true
2423
				CameraEnshaking(10, 2.5)
2424
				CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
2425
				for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do
2426
					if v:FindFirstChild("Head") then
2427
						Eviscerate(v)
2428
					end
2429
				end
2430
				Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere")
2431
				Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere")
2432
				for i = 0, 9 do
2433
					Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere")
2434
					Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere")
2435
				end
2436
				orb.Anchored = true
2437
				orb.Transparency = 1
2438
				wait(8)
2439
				orb:Destroy()
2440
			end
2441
		end)
2442
	end))
2443
	for i = 0, 1, 0.1 do
2444
		swait()
2445
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(30)), 0.3)
2446
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-30)), 0.3)
2447
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.3)
2448
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.3)
2449
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3)
2450
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.3)
2451
	end
2452
	attack = false
2453
end
2454
function LimitlessDivinity()
2455
	for i = 0, 2, 0.1 do
2456
		swait()
2457
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
2458
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
2459
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
2460
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
2461
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
2462
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
2463
	end
2464
	local p = Instance.new("Part",char)
2465
	p.Anchored = true
2466
	p.Size = Vector3.new(0.1,0.1,0.1)
2467
	p.BrickColor = BrickC("Really black")
2468
	p.Material = "Neon"
2469
	p.CFrame = CFrame.new(mouse.Hit.p)
2470
	local m = Instance.new("SpecialMesh",p)
2471
	m.MeshType = "Sphere"
2472
	m.Scale = Vector3.new(80,80,80)
2473
	Magic(3, "Add", p.CFrame, Vector3.new(8, 8, 8), 0.15, BrickC("Really black"), "Sphere")
2474
	CFuncs["Sound"].Create("rbxassetid://183763506", p, 10, 0.5)
2475
	for i = 1, 100 do
2476
		swait()
2477
		Aura(2.5,-0.5,"Add", p.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-0.025,BrickC("Really black"),25, "Sphere")
2478
		m.Scale = m.Scale + Vector3.new(1,1,1)
2479
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
2480
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
2481
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
2482
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
2483
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
2484
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
2485
	end
2486
	for i = 1,10 do
2487
		swait()
2488
		m.Scale = m.Scale - Vector3.new(16,16,16)
2489
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
2490
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
2491
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
2492
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
2493
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
2494
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
2495
	end
2496
	for i = 1,100 do
2497
		Aura(5,10,"Add",p.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.2,BrickC("Really black"),0, "Sphere")
2498
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
2499
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
2500
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
2501
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
2502
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
2503
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
2504
	end
2505
	Magic(1, "Add", p.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Really black"), "Sphere")
2506
	Magic(1, "Add", p.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Really black"), "Sphere")
2507
	Magic(1, "Add", p.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Really black"), "Sphere")
2508
	MagniDamage(p, 60, 50, 100, 0, "Normal")
2509
	CFuncs["Sound"].Create("rbxassetid://138213851", p, 2,1.2)
2510
	CFuncs["Sound"].Create("rbxassetid://239000203", p, 2,1.2)
2511
	CFuncs["Sound"].Create("rbxassetid://919941001", char, 3,1.05)
2512
	p.Transparency = 1
2513
end
2514
function NebulaticManiac()
2515
	attack = true
2516
	hum.WalkSpeed = 0
2517
	for i = 0,1.2,0.1 do
2518
		swait()
2519
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2520
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2521
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2522
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2523
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2524
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
2525
	end
2526
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
2527
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
2528
        Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
2529
		Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
2530
		Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
2531
		Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really black"), "Sphere")
2532
		Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Really black"), "Sphere")
2533
		Cso("331666100", tors, 10, .68)
2534
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
2535
		if v:FindFirstChild("Head") then
2536
			Eviscerate(v)
2537
		end
2538
	end
2539
	CameraEnshaking(1.5, 20)
2540
	for i = 1,4.7,0.1 do
2541
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2542
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2543
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
2544
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2545
	RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1)
2546
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(-15)), 0.1)
2547
	end
2548
	 wait(.6)
2549
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
2550
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
2551
        Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
2552
		Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
2553
		Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
2554
		Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Toothpaste"), "Sphere")
2555
		Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01,BrickColor.new("Really black"), "Sphere")
2556
		Cso("331666100", tors, 10, .68)
2557
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
2558
		if v:FindFirstChild("Head") then
2559
			Eviscerate(v)
2560
		end
2561
	end
2562
	CameraEnshaking(1.5, 20)
2563
	for i = 1,4.7,0.1 do
2564
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2565
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2566
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
2567
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2568
	RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(15)), 0.1)
2569
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1)
2570
	end
2571
      wait(.6)
2572
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
2573
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
2574
        Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
2575
		Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
2576
		Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
2577
		Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really black"), "Sphere")
2578
		Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Really black"), "Sphere")
2579
		Cso("331666100", tors, 10, .68)
2580
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
2581
		if v:FindFirstChild("Head") then
2582
			Eviscerate(v)
2583
		end
2584
	end
2585
	CameraEnshaking(1.5, 20)
2586
	for i = 1,4.7,0.1 do
2587
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2588
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2589
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
2590
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2591
	RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1)
2592
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(-15)), 0.1)
2593
	end
2594
	 wait(.6)
2595
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
2596
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
2597
        Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
2598
		Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
2599
		Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
2600
		Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Toothpaste"), "Sphere")
2601
		Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Really black"), "Sphere")
2602
		Cso("331666100", tors, 10, .68)
2603
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
2604
		if v:FindFirstChild("Head") then
2605
			Eviscerate(v)
2606
		end
2607
	end
2608
	CameraEnshaking(1.5, 20)
2609
	for i = 1,4.7,0.1 do
2610
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2611
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2612
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
2613
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2614
	RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(15)), 0.1)
2615
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1)
2616
	end
2617
      wait(.6)
2618
	attack = false
2619
	hum.WalkSpeed = 8
2620
end
2621
function THUNDERCLAP()
2622
	attack = true
2623
	chatfunc("You peasants don't deserve to live in a world of chaos.", maincolor.Color)
2624
	for i = 0, 15, 0.1 do
2625
		swait()
2626
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
2627
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
2628
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
2629
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
2630
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
2631
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
2632
	end
2633
	CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
2634
	chatfunc("Begone....", maincolor.Color)
2635
	for i = 0, 7, 0.1 do
2636
		swait()
2637
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
2638
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
2639
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
2640
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
2641
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 - 4.5 * Sin(sine / 20))), 0.3)
2642
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.3)
2643
	end
2644
	chatfunc("you criminal", maincolor.Color)
2645
	Magic(1, "Add", root.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Really black"), "Sphere")
2646
	Magic(1, "Add", root.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Really black"), "Sphere")
2647
	Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Really black"), "Sphere")
2648
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 500000)) do
2649
		if v:FindFirstChild("Head") then
2650
			Eviscerate(v)
2651
		end
2652
	end
2653
	CFuncs["Sound"].Create("rbxassetid://138213851", char, 2,1.2)
2654
	CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,1.2)
2655
	CFuncs["Sound"].Create("rbxassetid://919941001", char, 3,1.05)
2656
	for i = 0, 7, 0.1 do
2657
		swait()
2658
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
2659
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
2660
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
2661
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
2662
		RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 - 4.5 * Sin(sine / 20))), 0.3)
2663
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 + 4.5 * Sin(sine / 20))), 0.3)
2664
	end
2665
	attack = false
2666
end
2667
function Taunt1()
2668
    attack = true
2669
    hum.WalkSpeed = 3.01
2670
    Cso("1141391905", hed, 10, 1)
2671
    for i = 0, 9, 0.1 do
2672
        swait()
2673
        hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
2674
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1)
2675
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
2676
        RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
2677
        LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
2678
        RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(10), Rad(-20), Rad(-90)), 0.2)
2679
        LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0 + 0.025 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(6), Rad(20), Rad(90)), 0.2)
2680
    end
2681
    hum.WalkSpeed = 16
2682
    attack = false
2683
end
2684
function Cuffs()
2685
	attack = true
2686
	hum.WalkSpeed = 2.01
2687
        Character.Head.face.Texture = "rbxassetid://315622231"
2688
	CreateSound("140364784", hed, 10, 1)
2689
	for i = 0,3,0.1 do
2690
		swait()
2691
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2692
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2693
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2694
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2695
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
2696
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
2697
	end
2698
	for i = 0,1.2,0.1 do
2699
		swait()
2700
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2701
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
2702
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2703
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2704
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
2705
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
2706
	end
2707
	for i = 0,1.2,0.1 do
2708
		swait()
2709
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2710
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
2711
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2712
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2713
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
2714
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
2715
	end
2716
	for i = 0,1.2,0.1 do
2717
		swait()
2718
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2719
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
2720
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2721
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2722
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
2723
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
2724
	end
2725
	for i = 0,1.2,0.1 do
2726
		swait()
2727
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2728
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
2729
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2730
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2731
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
2732
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
2733
	end
2734
	for i = 0,2,0.1 do
2735
		swait()
2736
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2737
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2738
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2739
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2740
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(120), Rad(0), Rad(5)), 0.1)
2741
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
2742
	end
2743
	for i = 0,2,0.1 do
2744
		swait()
2745
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2746
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2747
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2748
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2749
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
2750
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
2751
	end
2752
	hum.WalkSpeed = 16
2753
        Character.Head.face.Texture = "rbxassetid://315622231"
2754
	attack = false
2755
end
2756
2757
function PlayAnimationFromTable(table, speed, bool)
2758
    RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
2759
    Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
2760
    RW.C0 = clerp(RW.C0, table[3], speed)
2761
    LW.C0 = clerp(LW.C0, table[4], speed)
2762
    RH.C0 = clerp(RH.C0, table[5], speed)
2763
    LH.C0 = clerp(LH.C0, table[6], speed)
2764
    if bool == true then
2765
        if resetc1 == false then
2766
            resetc1 = true
2767
            RootJoint.C1 = RootJoint.C1
2768
            Torso.Neck.C1 = Torso.Neck.C1
2769
            RW.C1 = rarmc1
2770
            LW.C1 = larmc1
2771
            RH.C1 = rlegc1
2772
            LH.C1 = llegc1
2773
        end
2774
    end
2775
end
2776
2777
function arrest()
2778
    local target = nil
2779
    local targettorso = nil
2780
    if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
2781
        if mouse.Target.Parent.Humanoid.PlatformStand == false then
2782
            target = mouse.Target.Parent.Humanoid
2783
            target2 = mouse.Target.Parent
2784
            targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
2785
        end
2786
    end
2787
    Cso("147758746", hed, 10, 1)
2788
    if target ~= nil then
2789
        attack = true
2790
        hum.WalkSpeed = 0
2791
        for i = 0, 3.4, 0.1 do
2792
            swait()
2793
            hum.WalkSpeed = 0
2794
            rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(45)), 0.1)
2795
            tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15), Rad(0), Rad(-45)), 0.1)
2796
            RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
2797
            LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
2798
            RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(-15), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
2799
            LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
2800
        end
2801
        --ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = Vector3.new(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = targettorso, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.new(0,0,0), Color2 = Color3.new(0,0,0), Texture = "1523916715"})
2802
        --targettorso:BreakJoints()
2803
        for i = 0, 3.4, 0.1 do
2804
            swait()
2805
            hum.WalkSpeed = 0
2806
            ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = Vector3.new(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = targettorso, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.new(0,0,0), Color2 = Color3.new(0,0,0), Texture = "1523916715"})
2807
            rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(45)), 0.1)
2808
            tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15), Rad(0), Rad(-45)), 0.1)
2809
            RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
2810
            LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
2811
            RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(135), Rad(-.6), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
2812
            LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
2813
        end
2814
        for i, v in pairs(target2:GetChildren()) do
2815
            if(not char:IsAncestorOf(v))then
2816
                local hum = (v and v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
2817
                local hedder = (v and v.Parent and v.Parent:FindFirstChild'Head')
2818
                if(hum and hedder and hum.Health > 0)then
2819
                Eviscerate(v.Parent)
2820
            end
2821
            end
2822
        end
2823
        attack = false
2824
        hum.WalkSpeed = 16
2825
    end
2826
end
2827
-------------------------------------------------------
2828
--End Attacks N Stuff--
2829
-------------------------------------------------------
2830
mouse.KeyDown:connect(function(key)
2831
	if attack == false then
2832
		if key == "z" then
2833
			GalaBomb()
2834
		elseif key == "x" then
2835
			LimitlessDivinity()
2836
		elseif key == "c" then
2837
			NebulaticManiac()
2838
		elseif key == "t" then
2839
			Taunt1()
2840
		elseif key == "v" then
2841
			THUNDERCLAP()
2842
		elseif key == "m" then
2843
			Cuffs()
2844
		elseif key == "e" then
2845
			arrest()
2846
		elseif key == 'q' then
2847
			local B = Cso("289556450", hed, 7, 1)
2848
			B.TimePosition = 13.2
2849
			CameraEnshaking(5, 5)
2850
			local ORIGINPOS = root.Position
2851
			root.CFrame = CFrame.new(Vector3.new(mouse.Hit.p.X, root.Position.Y, mouse.Hit.p.Z), ORIGINPOS)
2852
			wait(1.3)
2853
			B.Playing = false
2854
		end
2855
	end
2856
end)
2857
2858
2859
2860
2861
2862
2863
2864
-------------------------------------------------------
2865
--Start Animations--
2866
-------------------------------------------------------
2867
print("By saba1520/kisslarge")
2868
while true do
2869
	swait()
2870
	sine = sine + change
2871
	AntiTimeStop()
2872
    refit()
2873
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
2874
	local velderp = root.Velocity.y
2875
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
2876
	if equipped == true or equipped == false then
2877
		if attack == false then
2878
			idle = idle + 1
2879
		else
2880
			idle = 0
2881
		end
2882
		local Landed = false
2883
		if(hitfloor)then
2884
			WasAir = false
2885
		else
2886
			WasAir = true
2887
		end
2888
		if(WasAir == false)then
2889
			if(InAir == true)then
2890
				LandTick = time()
2891
				Landed = true
2892
			end
2893
		end
2894
		if(time()-LandTick < .3)then
2895
			Landed = true
2896
		end
2897
		if(hitfloor)then
2898
			InAir = false
2899
		else
2900
			InAir = true
2901
		end
2902
		local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
2903
		local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
2904
		local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
2905
		if (State == 'Walk') and torvel > 1 and attack == false then
2906
			rootj.C1 = clerp(rootj.C1, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(0)), 2)
2907
			neck.C1 = clerp(neck.C1, CF(0, -0.5, 0) * angles(Rad(-90), Rad(0), Rad(180)) * angles(Rad(2.5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0)), 0.6)
2908
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size)  * angles(Rad(-10 - 10 * Cos(sine / WALKSPEEDVALUE)) - rl.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(90 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
2909
         	LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 10 * Cos(sine / WALKSPEEDVALUE)) + ll.RotVelocity.Y / 75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(-90 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
2910
		elseif (State ~= 'Walk') or (torvel < 1) or (attack == true) then
2911
			rootj.C1 = clerp(rootj.C1, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
2912
			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)
2913
			RH.C1 = clerp(RH.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)
2914
			LH.C1 = clerp(LH.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)
2915
		end
2916
		if hum.Sit == false then
2917
		if(State == 'Jump')then
2918
			hum.WalkSpeed = 34
2919
			hum.JumpPower = 90
2920
			if attack == false then
2921
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
2922
                neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
2923
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2924
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2925
                RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
2926
                LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
2927
			end
2928
		elseif(State == 'Fall')then
2929
			if attack == false then
2930
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
2931
                neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
2932
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
2933
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
2934
                RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
2935
                LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
2936
			end
2937
		elseif(State == 'Land')then
2938
			hum.WalkSpeed = 4
2939
			hum.JumpPower = 0
2940
			if attack == false then
2941
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
2942
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
2943
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(10)), 0.15)
2944
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(-10)), 0.15)
2945
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
2946
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
2947
			end
2948
		elseif(State == 'Idle')then
2949
			change = 1
2950
			if attack == false then
2951
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
2952
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 7.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
2953
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.15)
2954
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(8)), 0.15)
2955
                RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-.6), Rad(15 + 6.5 * Sin(sine / 20))), 0.1)
2956
                LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-10), Rad(-.6), Rad(-15 - 6.5 * Sin(sine / 20))), 0.1)
2957
			end
2958
		elseif(State == 'Walk')then
2959
			change = 1
2960
			hum.WalkSpeed = 14
2961
			hum.JumpPower = 55
2962
			if attack == false then
2963
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
2964
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
2965
                RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
2966
                LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
2967
                RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37)  * Cos(sine / 7) , Rad(8 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
2968
                LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37)  * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) ,   Rad(-6) + la.RotVelocity.Y / 75), 0.1)
2969
			end
2970
		end
2971
		else
2972
			Sit.Value = true
2973
			if attack == false then
2974
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.5 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
2975
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-5)), 0.1)
2976
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
2977
			LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.35 - 0.05 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(15), Rad(-75), Rad(0)) * angles(Rad(-5), Rad(0), Rad(5)), 0.1)
2978
			RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(-20), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
2979
			LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.4 + 0.1 * Sin(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(35), Rad(20), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
2980
			end
2981
		end
2982
	end
2983
	Music.SoundId = "rbxassetid://"..SONG
2984
	Music.Looped = true
2985
	Music.Pitch = 1
2986
	Music.Volume = 2
2987
	Music.Parent = tors
2988
	Music:Resume()
2989
	if 0 < #Effects then
2990
		for e = 1, #Effects do
2991
			if Effects[e] ~= nil then
2992
				local Thing = Effects[e]
2993
				if Thing ~= nil then
2994
					local Part = Thing[1]
2995
					local Mode = Thing[2]
2996
					local Delay = Thing[3]
2997
					local IncX = Thing[4]
2998
					local IncY = Thing[5]
2999
					local IncZ = Thing[6]
3000
					if 1 >= Thing[1].Transparency then
3001
						if Thing[2] == "Block1" then
3002
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3003
							local Mesh = Thing[1].Mesh
3004
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3005
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3006
						elseif Thing[2] == "Block2" then
3007
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
3008
							local Mesh = Thing[7]
3009
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3010
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3011
						elseif Thing[2] == "Block3" then
3012
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
3013
							local Mesh = Thing[7]
3014
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3015
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3016
						elseif Thing[2] == "Cylinder" then
3017
							local Mesh = Thing[1].Mesh
3018
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3019
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3020
						elseif Thing[2] == "Blood" then
3021
							local Mesh = Thing[7]
3022
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
3023
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3024
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3025
						elseif Thing[2] == "Elec" then
3026
							local Mesh = Thing[1].Mesh
3027
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
3028
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3029
						elseif Thing[2] == "Disappear" then
3030
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3031
						elseif Thing[2] == "Shatter" then
3032
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3033
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
3034
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
3035
							Thing[6] = Thing[6] + Thing[5]
3036
						end
3037
					else
3038
						Part.Parent = nil
3039
						table.remove(Effects, e)
3040
					end
3041
				end
3042
			end
3043
		end
3044
	end
3045
end
3046
-------------------------------------------------------
3047
--End Animations And Script--
3048
-------------------------------------------------------