View difference between Paste ID: uBNLhvfK and SusKbTQf
SHOW: | | - or go back to the newest paste.
1
print([[
2
--made by Makhail07
3
--FE code by Mokiros   
4
--Edited by XKxngSupremeX               --
5
--YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A--
6
--Discord: ozzak1003#3275
7
--Discord: Clon#2166
8
--------------------------------
9
hello good sir
10
Don't leak pls
11
Enjoy ;)
12
--------------------------------
13
]])
14
15
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
16
local Player,game,owner = owner,game
17
local RealPlayer = Player
18
do
19
	local rp = RealPlayer
20
	script.Parent = rp.Character
21
	
22
	--RemoteEvent for communicating
23
	local Event = Instance.new("RemoteEvent")
24
	Event.Name = "UserInput_Event"
25
26
	--Fake event to make stuff like Mouse.KeyDown work
27
	local function fakeEvent()
28
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
29
		t.connect = t.Connect
30
		return t
31
	end
32
33
	--Creating fake input objects with fake variables
34
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
35
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
36
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
37
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
38
	end}
39
	--Merged 2 functions into one by checking amount of arguments
40
	CAS.UnbindAction = CAS.BindAction
41
42
	--This function will trigger the events that have been :Connect()'ed
43
	local function te(self,ev,...)
44
		local t = m[ev]
45
		if t and t._fakeEvent then
46
			for _,f in pairs(t.Functions) do
47
				f(...)
48
			end
49
		end
50
	end
51
	m.TrigEvent = te
52
	UIS.TrigEvent = te
53
54
	Event.OnServerEvent:Connect(function(plr,io)
55
	    if plr~=rp then return end
56
		m.Target = io.Target
57
		m.Hit = io.Hit
58
		if not io.isMouse then
59
			local b = io.UserInputState == Enum.UserInputState.Begin
60
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
61
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
62
			end
63
			for _,t in pairs(CAS.Actions) do
64
				for _,k in pairs(t.Keys) do
65
					if k==io.KeyCode then
66
						t.Function(t.Name,io.UserInputState,io)
67
					end
68
				end
69
			end
70
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
71
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
72
	    end
73
	end)
74
	Event.Parent = NLS([==[
75
	local Player = game:GetService("Players").LocalPlayer
76
	local Event = script:WaitForChild("UserInput_Event")
77
78
	local Mouse = Player:GetMouse()
79
	local UIS = game:GetService("UserInputService")
80
	local input = function(io,a)
81
		if a then return end
82
		--Since InputObject is a client-side instance, we create and pass table instead
83
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
84
	end
85
	UIS.InputBegan:Connect(input)
86
	UIS.InputEnded:Connect(input)
87
88
	local h,t
89
	--Give the server mouse data 30 times every second, but only if the values changed
90
	--If player is not moving their mouse, client won't fire events
91
	while wait(1/30) do
92
		if h~=Mouse.Hit or t~=Mouse.Target then
93
			h,t=Mouse.Hit,Mouse.Target
94
			Event:FireServer({isMouse=true,Target=t,Hit=h})
95
		end
96
	end]==],Player.Character)
97
98
	----Sandboxed game object that allows the usage of client-side methods and services
99
	--Real game object
100
	local _rg = game
101
102
	--Metatable for fake service
103
	local fsmt = {
104
		__index = function(self,k)
105
			local s = rawget(self,"_RealService")
106
			if s then return s[k] end
107
		end,
108
		__newindex = function(self,k,v)
109
			local s = rawget(self,"_RealService")
110
			if s then s[k]=v end
111
		end,
112
		__call = function(self,...)
113
			local s = rawget(self,"_RealService")
114
			if s then return s(...) end
115
		end
116
	}
117
	local function FakeService(t,RealService)
118
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
119
		return setmetatable(t,fsmt)
120
	end
121
122
	--Fake game object
123
	local g = {
124
		GetService = function(self,s)
125
			return self[s]
126
		end,
127
		Players = FakeService({
128
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
129
		},"Players"),
130
		UserInputService = FakeService(UIS,"UserInputService"),
131
		ContextActionService = FakeService(CAS,"ContextActionService"),
132
	}
133
	rawset(g.Players,"LocalPlayer",g.Players.LocalPlayer)
134
	g.service = g.GetService
135
	
136
	g.RunService = FakeService({
137
		RenderStepped = _rg:GetService("RunService").Heartbeat,
138
		BindToRenderStep = function(self,name,_,fun)
139
			self._btrs[name] = self.Heartbeat:Connect(fun)
140
		end,
141
		UnbindFromRenderStep = function(self,name)
142
			self._btrs[name]:Disconnect()
143
		end,
144
	},"RunService")
145
146
	setmetatable(g,{
147
		__index=function(self,s)
148
			return _rg:GetService(s) or typeof(_rg[s])=="function"
149
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
150
		end,
151
		__newindex = fsmt.__newindex,
152
		__call = fsmt.__call
153
	})
154
	--Changing owner to fake player object to support owner:GetMouse()
155
	game,owner = g,g.Players.LocalPlayer
156
end
157
158
Player = owner
159
PlayerGui = Player.PlayerGui
160
Cam = workspace.CurrentCamera
161
Backpack = Player.Backpack
162
Character = Player.Character
163
Humanoid = Character.Humanoid
164
Mouse = Player:GetMouse()
165
RootPart = Character["HumanoidRootPart"]
166
Torso = Character["Torso"]
167
Head = Character["Head"]
168
RightArm = Character["Right Arm"]
169
LeftArm = Character["Left Arm"]
170
RightLeg = Character["Right Leg"]
171
LeftLeg = Character["Left Leg"]
172
RootJoint = RootPart["RootJoint"]
173
Neck = Torso["Neck"]
174
RightShoulder = Torso["Right Shoulder"]
175
LeftShoulder = Torso["Left Shoulder"]
176
RightHip = Torso["Right Hip"]
177
LeftHip = Torso["Left Hip"]
178
179
Character = Player.Character
180
Humanoid = Character.Humanoid
181
---------
182
plr = game.Players.LocalPlayer
183
chara = plr.Character
184
mouse = plr:GetMouse()
185
Create = Instance.new
186
Huge = math.huge
187
188
189
local shadowhead = Create("Part",chara.Head)
190
shadowhead.BrickColor = BrickColor.new("Really black")
191
shadowhead.Size = Vector3.new(1.2, 0.6, 1)
192
shadowhead.CanCollide = false
193
local shadowheadmesh = Create("SpecialMesh",shadowhead)
194
shadowheadmesh.MeshType = "Head"
195
shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26)
196
local weld2 = Create("Weld",shadowhead)
197
weld2.Part0 = shadowhead
198
weld2.Part1 = chara.Head
199
weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
200
201
Player = game:GetService("Players").LocalPlayer
202
PlayerGui = Player.PlayerGui
203
Cam = workspace.CurrentCamera
204
Backpack = Player.Backpack
205
Character = Player.Character
206
char = Player.Character
207
Humanoid = Character.Humanoid
208
Mouse = Player:GetMouse()
209
RootPart = Character["HumanoidRootPart"]
210
Torso = Character["Torso"]
211
Head = Character["Head"]
212
RightArm = Character["Right Arm"]
213
LeftArm = Character["Left Arm"]
214
RightLeg = Character["Right Leg"]
215
LeftLeg = Character["Left Leg"]
216
RootJoint = RootPart["RootJoint"]
217
Neck = Torso["Neck"]
218
RightShoulder = Torso["Right Shoulder"]
219
LeftShoulder = Torso["Left Shoulder"]
220
RightHip = Torso["Right Hip"]
221
LeftHip = Torso["Left Hip"]
222
223
local Orin = "http://www.roblox.com/asset/?id=2436962055"
224
Head.face.Texture = Orin
225
function weld(a, b, acf)
226
	local w = Instance.new("Weld", a)
227
	w.Part0 = a
228
	w.Part1 = b
229
	w.C0 = acf
230
end
231
--------------------------------
232
char.Head.face.Texture = "rbxassetid://2436962055"
233
--------------------------------
234
235
-------------------------------------------------------
236
237
local FavIDs = {
238
	340106355, --Nefl Crystals
239
	927529620, --Dimension
240
	876981900, --Fantasy
241
	398987889, --Ordinary Days
242
	1117396305, --Oh wait, it's you.
243
	885996042, --Action Winter Journey
244
	919231299, --Sprawling Idiot Effigy
245
	743466274, --Good Day Sunshine
246
	727411183, --Knife Fight
247
	1402748531, --The Earth Is Counting On You!
248
	595230126 --Robot Language
249
	}
250
251
252
253
--The reality of my life isn't real but a Universe -makhail07
254
wait(0.2)
255
local plr = game:service'Players'.LocalPlayer
256
print('Local User is '..plr.Name)
257
print('SCRIPTNAME Loaded')
258
print('SCRIPT DESCRIPTION')
259
local char = plr.Character
260
local hum = char.Humanoid
261
local hed = char.Head
262
local root = char.HumanoidRootPart
263
local rootj = root.RootJoint
264
local tors = char.Torso
265
local ra = char["Right Arm"]
266
local la = char["Left Arm"]
267
local rl = char["Right Leg"]
268
local ll = char["Left Leg"]
269
local neck = tors["Neck"]
270
local mouse = plr:GetMouse()
271
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
272
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
273
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
274
local maincolor = BrickColor.new("Really black")
275
276
-------------------------------------------------------
277
--Start Good Stuff--
278
-------------------------------------------------------
279
cam = game.Workspace.CurrentCamera
280
CF = CFrame.new
281
angles = CFrame.Angles
282
attack = false
283
Euler = CFrame.fromEulerAnglesXYZ
284
Rad = math.rad
285
IT = Instance.new
286
BrickC = BrickColor.new
287
Cos = math.cos
288
Acos = math.acos
289
Sin = math.sin
290
Asin = math.asin
291
Abs = math.abs
292
Mrandom = math.random
293
Floor = math.floor
294
-------------------------------------------------------
295
--End Good Stuff--
296
-------------------------------------------------------
297
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
298
RSH, LSH = nil, nil 
299
RW = Instance.new("Weld") 
300
LW = Instance.new("Weld")
301
RH = tors["Right Hip"]
302
LH = tors["Left Hip"]
303
RSH = tors["Right Shoulder"] 
304
LSH = tors["Left Shoulder"] 
305
RSH.Parent = nil 
306
LSH.Parent = nil 
307
RW.Name = "RW"
308
RW.Part0 = tors 
309
RW.C0 = CF(1.5, 0.5, 0)
310
RW.C1 = CF(0, 0.5, 0) 
311
RW.Part1 = ra
312
RW.Parent = tors 
313
LW.Name = "LW"
314
LW.Part0 = tors 
315
LW.C0 = CF(-1.5, 0.5, 0)
316
LW.C1 = CF(0, 0.5, 0) 
317
LW.Part1 = la
318
LW.Parent = tors
319
Effects = {}
320
-------------------------------------------------------
321
--Start HeartBeat--
322
-------------------------------------------------------
323
ArtificialHB = Instance.new("BindableEvent", script)
324
ArtificialHB.Name = "Heartbeat"
325
script:WaitForChild("Heartbeat")
326
327
frame = 1 / 60
328
tf = 0
329
allowframeloss = false
330
tossremainder = false
331
332
333
lastframe = tick()
334
script.Heartbeat:Fire()
335
336
337
game:GetService("RunService").Heartbeat:connect(function(s, p)
338
	tf = tf + s
339
	if tf >= frame then
340
		if allowframeloss then
341
			script.Heartbeat:Fire()
342
			lastframe = tick()
343
		else
344
			for i = 1, math.floor(tf / frame) do
345
				script.Heartbeat:Fire()
346
			end
347
			lastframe = tick()
348
		end
349
		if tossremainder then
350
			tf = 0
351
		else
352
			tf = tf - frame * math.floor(tf / frame)
353
		end
354
	end
355
end)
356
-------------------------------------------------------
357
--End HeartBeat--
358
-------------------------------------------------------
359
360
-------------------------------------------------------
361
--Start Important Functions--
362
-------------------------------------------------------
363
function swait(num)
364
	if num == 0 or num == nil then
365
		game:service("RunService").Stepped:wait(0)
366
	else
367
		for i = 0, num do
368
			game:service("RunService").Stepped:wait(0)
369
		end
370
	end
371
end
372
function thread(f)
373
	coroutine.resume(coroutine.create(f))
374
end
375
function clerp(a, b, t)
376
	local qa = {
377
		QuaternionFromCFrame(a)
378
	}
379
	local qb = {
380
		QuaternionFromCFrame(b)
381
	}
382
	local ax, ay, az = a.x, a.y, a.z
383
	local bx, by, bz = b.x, b.y, b.z
384
	local _t = 1 - t
385
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
386
end
387
function QuaternionFromCFrame(cf)
388
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
389
	local trace = m00 + m11 + m22
390
	if trace > 0 then
391
		local s = math.sqrt(1 + trace)
392
		local recip = 0.5 / s
393
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
394
	else
395
		local i = 0
396
		if m00 < m11 then
397
			i = 1
398
		end
399
		if m22 > (i == 0 and m00 or m11) then
400
			i = 2
401
		end
402
		if i == 0 then
403
			local s = math.sqrt(m00 - m11 - m22 + 1)
404
			local recip = 0.5 / s
405
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
406
		elseif i == 1 then
407
			local s = math.sqrt(m11 - m22 - m00 + 1)
408
			local recip = 0.5 / s
409
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
410
		elseif i == 2 then
411
			local s = math.sqrt(m22 - m00 - m11 + 1)
412
			local recip = 0.5 / s
413
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
414
		end
415
	end
416
end
417
function QuaternionToCFrame(px, py, pz, x, y, z, w)
418
	local xs, ys, zs = x + x, y + y, z + z
419
	local wx, wy, wz = w * xs, w * ys, w * zs
420
	local xx = x * xs
421
	local xy = x * ys
422
	local xz = x * zs
423
	local yy = y * ys
424
	local yz = y * zs
425
	local zz = z * zs
426
	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))
427
end
428
function QuaternionSlerp(a, b, t)
429
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
430
	local startInterp, finishInterp
431
	if cosTheta >= 1.0E-4 then
432
		if 1 - cosTheta > 1.0E-4 then
433
			local theta = math.acos(cosTheta)
434
			local invSinTheta = 1 / Sin(theta)
435
			startInterp = Sin((1 - t) * theta) * invSinTheta
436
			finishInterp = Sin(t * theta) * invSinTheta
437
		else
438
			startInterp = 1 - t
439
			finishInterp = t
440
		end
441
	elseif 1 + cosTheta > 1.0E-4 then
442
		local theta = math.acos(-cosTheta)
443
		local invSinTheta = 1 / Sin(theta)
444
		startInterp = Sin((t - 1) * theta) * invSinTheta
445
		finishInterp = Sin(t * theta) * invSinTheta
446
	else
447
		startInterp = t - 1
448
		finishInterp = t
449
	end
450
	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
451
end
452
function rayCast(Position, Direction, Range, Ignore)
453
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
454
end
455
local RbxUtility = LoadLibrary("RbxUtility")
456
local Create = RbxUtility.Create
457
458
function getRegion(point,range,ignore)
459
    return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
460
end
461
462
function GetTorso(char)
463
	return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
464
end
465
466
local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
467
-------------------------------------------------------
468
--Start Damage Function--
469
-------------------------------------------------------
470
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
471
	if hit.Parent == nil then
472
		return
473
	end
474
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
475
	for _, v in pairs(hit.Parent:children()) do
476
		if v:IsA("Humanoid") then
477
			h = v
478
		end
479
	end
480
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
481
	
482
         hit.Parent:FindFirstChild("Head"):BreakJoints()
483
         end
484
485
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
486
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
487
			if hit.Parent.DebounceHit.Value == true then
488
				return
489
			end
490
		end
491
         if insta == true then
492
         hit.Parent:FindFirstChild("Head"):BreakJoints()
493
         end
494
		local c = Create("ObjectValue"){
495
			Name = "creator",
496
			Value = game:service("Players").LocalPlayer,
497
			Parent = h,
498
		}
499
		game:GetService("Debris"):AddItem(c, .5)
500
		if HitSound ~= nil and HitPitch ~= nil then
501
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
502
		end
503
		local Damage = math.random(minim, maxim)
504
		local blocked = false
505
		local block = hit.Parent:findFirstChild("Block")
506
		if block ~= nil then
507
			if block.className == "IntValue" then
508
				if block.Value > 0 then
509
					blocked = true
510
					block.Value = block.Value - 1
511
					print(block.Value)
512
				end
513
			end
514
		end
515
		if blocked == false then
516
			h.Health = h.Health - Damage
517
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
518
		else
519
			h.Health = h.Health - (Damage / 2)
520
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
521
		end
522
		if Type == "Knockdown" then
523
			local hum = hit.Parent.Humanoid
524
			hum.PlatformStand = true
525
			coroutine.resume(coroutine.create(function(HHumanoid)
526
				swait(1)
527
				HHumanoid.PlatformStand = false
528
			end), hum)
529
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
530
			local bodvol = Create("BodyVelocity"){
531
				velocity = angle * knockback,
532
				P = 5000,
533
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
534
				Parent = hit,
535
			}
536
			local rl = Create("BodyAngularVelocity"){
537
				P = 3000,
538
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
539
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
540
				Parent = hit,
541
			}
542
			game:GetService("Debris"):AddItem(bodvol, .5)
543
			game:GetService("Debris"):AddItem(rl, .5)
544
		elseif Type == "Normal" then
545
			local vp = Create("BodyVelocity"){
546
				P = 500,
547
				maxForce = Vector3.new(math.huge, 0, math.huge),
548
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
549
			}
550
			if knockback > 0 then
551
				vp.Parent = hit.Parent.Torso
552
			end
553
			game:GetService("Debris"):AddItem(vp, .5)
554
		elseif Type == "Up" then
555
			local bodyVelocity = Create("BodyVelocity"){
556
				velocity = Vector3.new(0, 20, 0),
557
				P = 5000,
558
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
559
				Parent = hit,
560
			}
561
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
562
		elseif Type == "DarkUp" then
563
			coroutine.resume(coroutine.create(function()
564
				for i = 0, 1, 0.1 do
565
					swait()
566
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
567
				end
568
			end))
569
			local bodyVelocity = Create("BodyVelocity"){
570
				velocity = Vector3.new(0, 20, 0),
571
				P = 5000,
572
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
573
				Parent = hit,
574
			}
575
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
576
		elseif Type == "Snare" then
577
			local bp = Create("BodyPosition"){
578
				P = 2000,
579
				D = 100,
580
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
581
				position = hit.Parent.Torso.Position,
582
				Parent = hit.Parent.Torso,
583
			}
584
			game:GetService("Debris"):AddItem(bp, 1)
585
		elseif Type == "Freeze" then
586
			local BodPos = Create("BodyPosition"){
587
				P = 50000,
588
				D = 1000,
589
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
590
				position = hit.Parent.Torso.Position,
591
				Parent = hit.Parent.Torso,
592
			}
593
			local BodGy = Create("BodyGyro") {
594
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
595
				P = 20e+003,
596
				Parent = hit.Parent.Torso,
597
				cframe = hit.Parent.Torso.CFrame,
598
			}
599
			hit.Parent.Torso.Anchored = true
600
			coroutine.resume(coroutine.create(function(Part) 
601
				swait(1.5)
602
				Part.Anchored = false
603
			end), hit.Parent.Torso)
604
			game:GetService("Debris"):AddItem(BodPos, 3)
605
			game:GetService("Debris"):AddItem(BodGy, 3)
606
		end
607
		local debounce = Create("BoolValue"){
608
			Name = "DebounceHit",
609
			Parent = hit.Parent,
610
			Value = true,
611
		}
612
		game:GetService("Debris"):AddItem(debounce, Delay)
613
		c = Create("ObjectValue"){
614
			Name = "creator",
615
			Value = Player,
616
			Parent = h,
617
		}
618
		game:GetService("Debris"):AddItem(c, .5)
619
	end
620
end
621
-------------------------------------------------------
622
--End Damage Function--
623
-------------------------------------------------------
624
625
-------------------------------------------------------
626
--Start Damage Function Customization--
627
-------------------------------------------------------
628
function ShowDamage(Pos, Text, Time, Color)
629
	local Rate = (1 / 30)
630
	local Pos = (Pos or Vector3.new(0, 0, 0))
631
	local Text = (Text or "")
632
	local Time = (Time or 2)
633
	local Color = (Color or Color3.new(255, 255, 1))
634
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
635
	EffectPart.Anchored = true
636
	local BillboardGui = Create("BillboardGui"){
637
		Size = UDim2.new(3, 0, 3, 0),
638
		Adornee = EffectPart,
639
		Parent = EffectPart,
640
	}
641
	local TextLabel = Create("TextLabel"){
642
		BackgroundTransparency = 1,
643
		Size = UDim2.new(1, 0, 1, 0),
644
		Text = Text,
645
		Font = "Bodoni",
646
		TextColor3 = Color,
647
		TextScaled = true,
648
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
649
		Parent = BillboardGui,
650
	}
651
	game.Debris:AddItem(EffectPart, (Time))
652
	EffectPart.Parent = game:GetService("Workspace")
653
	delay(0, function()
654
		local Frames = (Time / Rate)
655
		for Frame = 1, Frames do
656
			wait(Rate)
657
			local Percent = (Frame / Frames)
658
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
659
			TextLabel.TextTransparency = Percent
660
		end
661
		if EffectPart and EffectPart.Parent then
662
			EffectPart:Destroy()
663
		end
664
	end)
665
end
666
-------------------------------------------------------
667
--End Damage Function Customization--
668
-------------------------------------------------------
669
670
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
671
  for _, c in pairs(workspace:children()) do
672
    local hum = c:findFirstChild("Humanoid")
673
    if hum ~= nil then
674
      local head = c:findFirstChild("Head")
675
      if head ~= nil then
676
        local targ = head.Position - Part.Position
677
        local mag = targ.magnitude
678
        if magni >= mag and c.Name ~= plr.Name then
679
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
680
        end
681
      end
682
    end
683
  end
684
end
685
686
687
CFuncs = {
688
	Part = {
689
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
690
			local Part = Create("Part")({
691
				Parent = Parent,
692
				Reflectance = Reflectance,
693
				Transparency = Transparency,
694
				CanCollide = false,
695
				Locked = true,
696
				BrickColor = BrickColor.new(tostring(BColor)),
697
				Name = Name,
698
				Size = Size,
699
				Material = Material
700
			})
701
			RemoveOutlines(Part)
702
			return Part
703
		end
704
	},
705
	Mesh = {
706
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
707
			local Msh = Create(Mesh)({
708
				Parent = Part,
709
				Offset = OffSet,
710
				Scale = Scale
711
			})
712
			if Mesh == "SpecialMesh" then
713
				Msh.MeshType = MeshType
714
				Msh.MeshId = MeshId
715
			end
716
			return Msh
717
		end
718
	},
719
	Mesh = {
720
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
721
			local Msh = Create(Mesh)({
722
				Parent = Part,
723
				Offset = OffSet,
724
				Scale = Scale
725
			})
726
			if Mesh == "SpecialMesh" then
727
				Msh.MeshType = MeshType
728
				Msh.MeshId = MeshId
729
			end
730
			return Msh
731
		end
732
	},
733
	Weld = {
734
		Create = function(Parent, Part0, Part1, C0, C1)
735
			local Weld = Create("Weld")({
736
				Parent = Parent,
737
				Part0 = Part0,
738
				Part1 = Part1,
739
				C0 = C0,
740
				C1 = C1
741
			})
742
			return Weld
743
		end
744
	},
745
	Sound = {
746
		Create = function(id, par, vol, pit)
747
			coroutine.resume(coroutine.create(function()
748
				local S = Create("Sound")({
749
					Volume = vol,
750
					Pitch = pit or 1,
751
					SoundId = id,
752
					Parent = par or workspace
753
				})
754
				wait()
755
				S:play()
756
				game:GetService("Debris"):AddItem(S, 6)
757
			end))
758
		end
759
	},
760
	ParticleEmitter = {
761
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
762
			local fp = Create("ParticleEmitter")({
763
				Parent = Parent,
764
				Color = ColorSequence.new(Color1, Color2),
765
				LightEmission = LightEmission,
766
				Size = Size,
767
				Texture = Texture,
768
				Transparency = Transparency,
769
				ZOffset = ZOffset,
770
				Acceleration = Accel,
771
				Drag = Drag,
772
				LockedToPart = LockedToPart,
773
				VelocityInheritance = VelocityInheritance,
774
				EmissionDirection = EmissionDirection,
775
				Enabled = Enabled,
776
				Lifetime = LifeTime,
777
				Rate = Rate,
778
				Rotation = Rotation,
779
				RotSpeed = RotSpeed,
780
				Speed = Speed,
781
				VelocitySpread = VelocitySpread
782
			})
783
			return fp
784
		end
785
	}
786
}
787
function RemoveOutlines(part)
788
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
789
end
790
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
791
	local Part = Create("Part")({
792
		formFactor = FormFactor,
793
		Parent = Parent,
794
		Reflectance = Reflectance,
795
		Transparency = Transparency,
796
		CanCollide = false,
797
		Locked = true,
798
		BrickColor = BrickColor.new(tostring(BColor)),
799
		Name = Name,
800
		Size = Size,
801
		Material = Material
802
	})
803
	RemoveOutlines(Part)
804
	return Part
805
end
806
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
807
	local Msh = Create(Mesh)({
808
		Parent = Part,
809
		Offset = OffSet,
810
		Scale = Scale
811
	})
812
	if Mesh == "SpecialMesh" then
813
		Msh.MeshType = MeshType
814
		Msh.MeshId = MeshId
815
	end
816
	return Msh
817
end
818
function CreateWeld(Parent, Part0, Part1, C0, C1)
819
	local Weld = Create("Weld")({
820
		Parent = Parent,
821
		Part0 = Part0,
822
		Part1 = Part1,
823
		C0 = C0,
824
		C1 = C1
825
	})
826
	return Weld
827
end
828
829
830
-------------------------------------------------------
831
--Start Effect Function--
832
-------------------------------------------------------
833
EffectModel = Instance.new("Model", char)
834
Effects = {
835
  Block = {
836
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
837
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
838
      prt.Anchored = true
839
      prt.CFrame = cframe
840
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
841
      game:GetService("Debris"):AddItem(prt, 10)
842
      if Type == 1 or Type == nil then
843
        table.insert(Effects, {
844
          prt,
845
          "Block1",
846
          delay,
847
          x3,
848
          y3,
849
          z3,
850
          msh
851
        })
852
      elseif Type == 2 then
853
        table.insert(Effects, {
854
          prt,
855
          "Block2",
856
          delay,
857
          x3,
858
          y3,
859
          z3,
860
          msh
861
        })
862
      else
863
        table.insert(Effects, {
864
          prt,
865
          "Block3",
866
          delay,
867
          x3,
868
          y3,
869
          z3,
870
          msh
871
        })
872
      end
873
    end
874
  },
875
  Sphere = {
876
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
877
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
878
      prt.Anchored = true
879
      prt.CFrame = cframe
880
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
881
      game:GetService("Debris"):AddItem(prt, 10)
882
      table.insert(Effects, {
883
        prt,
884
        "Cylinder",
885
        delay,
886
        x3,
887
        y3,
888
        z3,
889
        msh
890
      })
891
    end
892
  },
893
  Cylinder = {
894
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
895
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
896
      prt.Anchored = true
897
      prt.CFrame = cframe
898
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
899
      game:GetService("Debris"):AddItem(prt, 10)
900
      table.insert(Effects, {
901
        prt,
902
        "Cylinder",
903
        delay,
904
        x3,
905
        y3,
906
        z3,
907
        msh
908
      })
909
    end
910
  },
911
  Wave = {
912
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
913
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
914
      prt.Anchored = true
915
      prt.CFrame = cframe
916
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
917
      game:GetService("Debris"):AddItem(prt, 10)
918
      table.insert(Effects, {
919
        prt,
920
        "Cylinder",
921
        delay,
922
        x3 / 60,
923
        y3 / 60,
924
        z3 / 60,
925
        msh
926
      })
927
    end
928
  },
929
  Ring = {
930
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
931
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
932
      prt.Anchored = true
933
      prt.CFrame = cframe
934
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
935
      game:GetService("Debris"):AddItem(prt, 10)
936
      table.insert(Effects, {
937
        prt,
938
        "Cylinder",
939
        delay,
940
        x3,
941
        y3,
942
        z3,
943
        msh
944
      })
945
    end
946
  },
947
  Break = {
948
    Create = function(brickcolor, cframe, x1, y1, z1)
949
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
950
      prt.Anchored = true
951
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
952
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
953
      local num = math.random(10, 50) / 1000
954
      game:GetService("Debris"):AddItem(prt, 10)
955
      table.insert(Effects, {
956
        prt,
957
        "Shatter",
958
        num,
959
        prt.CFrame,
960
        math.random() - math.random(),
961
        0,
962
        math.random(50, 100) / 100
963
      })
964
    end
965
  },
966
Spiral = {
967
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
968
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
969
      prt.Anchored = true
970
      prt.CFrame = cframe
971
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
972
      game:GetService("Debris"):AddItem(prt, 10)
973
      table.insert(Effects, {
974
        prt,
975
        "Cylinder",
976
        delay,
977
        x3,
978
        y3,
979
        z3,
980
        msh
981
      })
982
    end
983
  },
984
Push = {
985
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
986
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
987
      prt.Anchored = true
988
      prt.CFrame = cframe
989
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
990
      game:GetService("Debris"):AddItem(prt, 10)
991
      table.insert(Effects, {
992
        prt,
993
        "Cylinder",
994
        delay,
995
        x3,
996
        y3,
997
        z3,
998
        msh
999
      })
1000
    end
1001
  }
1002
}
1003
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
1004
	local fp = IT("Part")
1005
	fp.formFactor = formfactor 
1006
	fp.Parent = parent
1007
	fp.Reflectance = reflectance
1008
	fp.Transparency = transparency
1009
	fp.CanCollide = false 
1010
	fp.Locked = true
1011
	fp.BrickColor = brickcolor
1012
	fp.Name = name
1013
	fp.Size = size
1014
	fp.Position = tors.Position 
1015
	RemoveOutlines(fp)
1016
	fp.Material = "SmoothPlastic"
1017
	fp:BreakJoints()
1018
	return fp 
1019
end 
1020
 
1021
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1022
	local mesh = IT(Mesh) 
1023
	mesh.Parent = part
1024
	if Mesh == "SpecialMesh" then
1025
		mesh.MeshType = meshtype
1026
	if meshid ~= "nil" then
1027
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
1028
		end
1029
	end
1030
	mesh.Offset = offset
1031
	mesh.Scale = scale
1032
	return mesh
1033
end
1034
1035
function Magic(bonuspeed, type, pos, scale, value, color, MType)
1036
	local type = type
1037
	local rng = Instance.new("Part", char)
1038
	rng.Anchored = true
1039
	rng.BrickColor = color
1040
	rng.CanCollide = false
1041
	rng.FormFactor = 3
1042
	rng.Name = "Ring"
1043
	rng.Material = "Neon"
1044
	rng.Size = Vector3.new(1, 1, 1)
1045
	rng.Transparency = 0
1046
	rng.TopSurface = 0
1047
	rng.BottomSurface = 0
1048
	rng.CFrame = pos
1049
	local rngm = Instance.new("SpecialMesh", rng)
1050
	rngm.MeshType = MType
1051
	rngm.Scale = scale
1052
	local scaler2 = 1
1053
	if type == "Add" then
1054
		scaler2 = 1 * value
1055
	elseif type == "Divide" then
1056
		scaler2 = 1 / value
1057
	end
1058
	coroutine.resume(coroutine.create(function()
1059
		for i = 0, 10 / bonuspeed, 0.1 do
1060
			swait()
1061
			if type == "Add" then
1062
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1063
			elseif type == "Divide" then
1064
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1065
			end
1066
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1067
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
1068
		end
1069
		rng:Destroy()
1070
	end))
1071
end
1072
1073
function Eviscerate(dude)
1074
	if dude.Name ~= char then
1075
		local bgf = IT("BodyGyro", dude.Head)
1076
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1077
		local val = IT("BoolValue", dude)
1078
		val.Name = "IsHit"
1079
		local ds = coroutine.wrap(function()
1080
			dude:WaitForChild("Head"):BreakJoints()
1081
			wait(0.5)
1082
			target = nil
1083
						coroutine.resume(coroutine.create(function()
1084
							v.Material = "Neon"
1085
							v.CanCollide = false
1086
							local PartEmmit1 = IT("ParticleEmitter", v)
1087
							PartEmmit1.LightEmission = 1
1088
							PartEmmit1.Texture = "rbxassetid://284205403"
1089
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1090
							PartEmmit1.Rate = 150
1091
							PartEmmit1.Lifetime = NumberRange.new(1)
1092
							PartEmmit1.Size = NumberSequence.new({
1093
								NumberSequenceKeypoint.new(0, 0.75, 0),
1094
								NumberSequenceKeypoint.new(1, 0, 0)
1095
							})
1096
							PartEmmit1.Transparency = NumberSequence.new({
1097
								NumberSequenceKeypoint.new(0, 0, 0),
1098
								NumberSequenceKeypoint.new(1, 1, 0)
1099
							})
1100
							PartEmmit1.Speed = NumberRange.new(0, 0)
1101
							PartEmmit1.VelocitySpread = 30000
1102
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1103
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1104
							local BodPoss = IT("BodyPosition", v)
1105
							BodPoss.P = 3000
1106
							BodPoss.D = 1000
1107
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1108
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1109
							v.Color = maincolor.Color
1110
							coroutine.resume(coroutine.create(function()
1111
								for i = 0, 49 do
1112
									swait(1)
1113
									v.Transparency = v.Transparency + 0.08
1114
								end
1115
								wait(0.5)
1116
								PartEmmit1.Enabled = false
1117
								wait(3)
1118
								v:Destroy()
1119
								dude:Destroy()
1120
							end))
1121
						end))
1122
					end)
1123
                  ds()
1124
				end
1125
			end
1126
1127
function FindNearestHead(Position, Distance, SinglePlayer)
1128
	if SinglePlayer then
1129
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1130
	end
1131
	local List = {}
1132
	for i, v in pairs(workspace:GetChildren()) do
1133
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1134
			table.insert(List, v)
1135
		end
1136
	end
1137
	return List
1138
end
1139
1140
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1141
	local type = type
1142
	local rng = Instance.new("Part", char)
1143
	rng.Anchored = true
1144
	rng.BrickColor = color
1145
	rng.CanCollide = false
1146
	rng.FormFactor = 3
1147
	rng.Name = "Ring"
1148
	rng.Material = "Neon"
1149
	rng.Size = Vector3.new(1, 1, 1)
1150
	rng.Transparency = 0
1151
	rng.TopSurface = 0
1152
	rng.BottomSurface = 0
1153
	rng.CFrame = pos
1154
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1155
	local rngm = Instance.new("SpecialMesh", rng)
1156
	rngm.MeshType = MType
1157
	rngm.Scale = Vector3.new(x1, y1, z1)
1158
	local scaler2 = 1
1159
	local speeder = FastSpeed
1160
	if type == "Add" then
1161
		scaler2 = 1 * value
1162
	elseif type == "Divide" then
1163
		scaler2 = 1 / value
1164
	end
1165
	coroutine.resume(coroutine.create(function()
1166
		for i = 0, 10 / bonuspeed, 0.1 do
1167
			swait()
1168
			if type == "Add" then
1169
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1170
			elseif type == "Divide" then
1171
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1172
			end
1173
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1174
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1175
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1176
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1177
		end
1178
		rng:Destroy()
1179
	end))
1180
end
1181
1182
function SoulSteal(dude)
1183
if dude.Name ~= char then
1184
local bgf = IT("BodyGyro", dude.Head)
1185
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1186
local val = IT("BoolValue", dude)
1187
val.Name = "IsHit"
1188
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1189
local soulst = coroutine.wrap(function()
1190
local soul = Instance.new("Part",dude)
1191
soul.Size = Vector3.new(1,1,1)
1192
soul.CanCollide = false
1193
soul.Anchored = false
1194
soul.Position = torso.Position
1195
soul.Transparency = 1
1196
local PartEmmit1 = IT("ParticleEmitter", soul)
1197
PartEmmit1.LightEmission = 1
1198
PartEmmit1.Texture = "rbxassetid://569507414"
1199
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1200
PartEmmit1.Rate = 250
1201
PartEmmit1.Lifetime = NumberRange.new(1.6)
1202
PartEmmit1.Size = NumberSequence.new({
1203
	NumberSequenceKeypoint.new(0, 1, 0),
1204
	NumberSequenceKeypoint.new(1, 0, 0)
1205
})
1206
PartEmmit1.Transparency = NumberSequence.new({
1207
	NumberSequenceKeypoint.new(0, 0, 0),
1208
	NumberSequenceKeypoint.new(1, 1, 0)
1209
})
1210
PartEmmit1.Speed = NumberRange.new(0, 0)
1211
PartEmmit1.VelocitySpread = 30000
1212
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1213
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1214
local BodPoss = IT("BodyPosition", soul)
1215
BodPoss.P = 3000
1216
BodPoss.D = 1000
1217
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1218
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1219
wait(1.6)
1220
soul.Touched:connect(function(hit)
1221
	if hit.Parent == char then
1222
	soul:Destroy()
1223
	end
1224
end)
1225
wait(1.2)
1226
while soul do
1227
	swait()
1228
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1229
	BodPoss.Position = tors.Position
1230
end
1231
end)
1232
	soulst()
1233
	end
1234
end
1235
function FaceMouse()
1236
local	Cam = workspace.CurrentCamera
1237
	return {
1238
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1239
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1240
	}
1241
end
1242
1243
BTAUNT = Instance.new("Sound", tors)
1244
BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1695979101"
1245
BTAUNT.Volume = 10
1246
BTAUNT.Pitch = 1
1247
BTAUNT.Looped = true
1248
BTAUNT.TimePosition = 0.2
1249
1250
TEST = Instance.new("Sound", tors)
1251
TEST.SoundId = "http://www.roblox.com/asset/?id=2544975373"
1252
TEST.Volume = 25
1253
TEST.Pitch = 1
1254
TEST.Looped = false
1255
TEST.TimePosition = 0
1256
-------------------------------------------------------
1257
--End Effect Function--
1258
-------------------------------------------------------
1259
function Cso(ID, PARENT, VOLUME, PITCH)
1260
	local NSound = nil
1261
	coroutine.resume(coroutine.create(function()
1262
		NSound = IT("Sound", PARENT)
1263
		NSound.Volume = VOLUME
1264
		NSound.Pitch = PITCH
1265
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1266
		swait()
1267
		NSound:play()
1268
		game:GetService("Debris"):AddItem(NSound, 50)
1269
	end))
1270
	return NSound
1271
end
1272
function CameraEnshaking(Length, Intensity)
1273
	coroutine.resume(coroutine.create(function()
1274
		local intensity = 1 * Intensity
1275
		local rotM = 0.01 * Intensity
1276
		for i = 0, Length, 0.1 do
1277
			swait()
1278
			intensity = intensity - 0.05 * Intensity / Length
1279
			rotM = rotM - 5.0E-4 * Intensity / Length
1280
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1281
			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)
1282
		end
1283
		hum.CameraOffset = Vector3.new(0, 0, 0)
1284
	end))
1285
end
1286
-------------------------------------------------------
1287
--End Important Functions--
1288
-------------------------------------------------------
1289
1290
1291
-------------------------------------------------------
1292
--Start Customization--
1293
-------------------------------------------------------
1294
local Player_Size = 1
1295
if Player_Size ~= 1 then
1296
root.Size = root.Size * Player_Size
1297
tors.Size = tors.Size * Player_Size
1298
hed.Size = hed.Size * Player_Size
1299
ra.Size = ra.Size * Player_Size
1300
la.Size = la.Size * Player_Size
1301
rl.Size = rl.Size * Player_Size
1302
ll.Size = ll.Size * Player_Size
1303
----------------------------------------------------------------------------------
1304
rootj.Parent = root
1305
neck.Parent = tors
1306
RW.Parent = tors
1307
LW.Parent = tors
1308
RH.Parent = tors
1309
LH.Parent = tors
1310
----------------------------------------------------------------------------------
1311
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1312
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1313
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
1314
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
1315
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
1316
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
1317
----------------------------------------------------------------------------------
1318
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))
1319
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))
1320
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))
1321
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))
1322
--hat.Parent = Character
1323
end
1324
----------------------------------------------------------------------------------
1325
----------------------------------------------------------------------------------
1326
local equipped = false
1327
local idle = 0
1328
local change = 1
1329
local val = 0
1330
local toim = 0
1331
local idleanim = 0.4
1332
local sine = 0
1333
local Sit = 1
1334
----------------------------------------------------------------------------------
1335
hum.WalkSpeed = 40
1336
hum.JumpPower = 57
1337
hum.Animator.Parent = nil
1338
----------------------------------------------------------------------------------
1339
1340
1341
-------------------------------------------------------
1342
--End Customization--
1343
-------------------------------------------------------
1344
local Blobby = Instance.new("Part", char)
1345
Blobby.Name = "Blob"
1346
Blobby.CanCollide = false
1347
Blobby.BrickColor = BrickColor.new("Really black")
1348
Blobby.Transparency = 0
1349
Blobby.Material = "Plastic"
1350
Blobby.Size = Vector3.new(1, 1, 2)
1351
Blobby.TopSurface = Enum.SurfaceType.Smooth
1352
Blobby.BottomSurface = Enum.SurfaceType.Smooth
1353
1354
local Weld = Instance.new("Weld", Blobby)
1355
Weld.Part0 = ra
1356
Weld.Part1 = Blobby
1357
Weld.C1 = CFrame.new(0, 0.8, 0)
1358
Weld.C0 = CFrame.Angles(Rad(-180),0,135)
1359
1360
local M2 = Instance.new("SpecialMesh")
1361
M2.Parent = Blobby
1362
M2.MeshId = "rbxassetid://0"
1363
M2.TextureId = "rbxassetid://0"
1364
M2.Scale = Vector3.new(1, 0.8, 1)
1365
1366
--[[local naeeym2 = Instance.new("BillboardGui",char)
1367
naeeym2.AlwaysOnTop = true
1368
naeeym2.Size = UDim2.new(5,35,2,15)
1369
naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
1370
naeeym2.Adornee = hed
1371
naeeym2.Name = "Name"
1372
--naeeym2.PlayerToHideFrom = Player
1373
local tecks2 = Instance.new("TextLabel",naeeym2)
1374
tecks2.BackgroundTransparency = 1
1375
tecks2.TextScaled = true
1376
tecks2.BorderSizePixel = 0
1377
tecks2.Text = "Fight Me"
1378
tecks2.Font = Enum.Font.Bodoni
1379
tecks2.TextSize = 30
1380
tecks2.TextStrokeTransparency = 0
1381
tecks2.TextColor3 = Color3.new(0, 0, 0)
1382
tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
1383
tecks2.Size = UDim2.new(1,0,0.5,0)
1384
tecks2.Parent = naeeym2]]
1385
----------------------------------------------------------------------------------
1386
local AddInstance = function(Object, ...)
1387
local Obj = Instance.new(Object)
1388
for i,v in next,(...) do
1389
Obj[i] = v
1390
end
1391
return Obj
1392
end
1393
wait(1)
1394
plr = game.Players.LocalPlayer
1395
char = plr.Character
1396
mouse = plr:GetMouse()
1397
whitecolor = Color3.new(255,255,1)
1398
epicmode = false
1399
normal = true
1400
local righteyebrickcolor = "Really red"
1401
local reye = Instance.new("Part", char)
1402
reye.CanCollide = false
1403
reye.BrickColor = BrickColor.new(righteyebrickcolor)
1404
reye.Material = "Neon"
1405
reye.Size = Vector3.new(.25,.35,.15)
1406
weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
1407
m1 = Instance.new("SpecialMesh", reye)
1408
m1.MeshType = "Sphere"
1409
m1.Scale = Vector3.new(0.9,0.9,0.9)
1410
reye.Locked = true
1411
reye.Name = "re"
1412
1413
-------------------------------------------------------
1414
--Start Attacks N Stuff--
1415
-------------------------------------------------------
1416
local naeeym2 = Instance.new("BillboardGui",char)
1417
naeeym2.AlwaysOnTop = true
1418
naeeym2.Size = UDim2.new(5,35,2,35)
1419
naeeym2.StudsOffset = Vector3.new(0,2,0)
1420
naeeym2.Adornee = hed
1421
naeeym2.Name = "Name"
1422
1423
local tecks2 = Instance.new("TextLabel",naeeym2)
1424
tecks2.BackgroundTransparency = 1
1425
tecks2.TextScaled = true
1426
tecks2.BorderSizePixel = 0
1427
tecks2.Text = "Darkness"
1428
tecks2.Font = "Fantasy"
1429
tecks2.TextSize = 30
1430
tecks2.TextStrokeTransparency = 0
1431
tecks2.TextColor3 = BrickColor.new('Really black').Color
1432
tecks2.TextStrokeColor3 = BrickColor.new('Blue storm').Color
1433
tecks2.Size = UDim2.new(1,0,0.5,0)
1434
tecks2.Parent = naeeym2
1435
textfag = tecks2
1436
tecks2.Text = "REEEEEEEEEEEEEE "
1437
wait(2)
1438
tecks2.Text = "DON'T U DARE LEAK DIS OR UR DED BOI"
1439
wait(1)
1440
tecks2.Text = "..tyler??"
1441
BTAUNT:Play()
1442
coroutine.resume(coroutine.create(function()
1443
    while textfag ~= nil do
1444
        swait()
1445
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
1446
        textfag.Rotation = math.random(-3,3)
1447
    end
1448
end))
1449
1450
1451
1452
function die()
1453
	attack = true
1454
M2.MeshId = "http://www.roblox.com/asset/?id=28140935"
1455
M2.TextureId = "http://www.roblox.com/asset/?id=345104285"
1456
	for i = 0, 2.6, 0.1 do
1457
		swait()
1458
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1459
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
1460
				RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
1461
				LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
1462
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
1463
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
1464
tecks2.Text = "leave me alone."
1465
			end
1466
	Cso("357417055", tors, 10, 1)
1467
	CameraEnshaking(2, 15)
1468
	Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
1469
  	Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
1470
  	Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
1471
 	for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
1472
		if v:FindFirstChild("Head") then
1473
			Eviscerate(v)
1474
		end
1475
	end
1476
	for i = 0, 3, 0.1 do
1477
		swait()
1478
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1479
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
1480
			RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
1481
			LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
1482
			RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
1483
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
1484
tecks2.Text = "..tyler??"
1485
		end
1486
M2.MeshId = "http://www.roblox.com/asset/?id=0"
1487
M2.TextureId = "http://www.roblox.com/asset/?id=0"
1488
	attack = false
1489
end
1490
1491
function dance()
1492
	attack = true
1493
	hum.WalkSpeed = 0
1494
	CFuncs.Sound.Create("rbxassetid://2545008459", head, 100, 1)
1495
	for i = 0, 2, 0.1 do
1496
		swait()
1497
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
1498
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1499
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1500
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1501
		RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
1502
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
1503
	end
1504
	for i = 0, 6, 0.1 do
1505
		swait()
1506
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .2 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
1507
		neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15)
1508
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1509
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1510
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
1511
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
1512
	end
1513
	for i = 0, 2, 0.1 do
1514
		swait()
1515
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
1516
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1517
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1518
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1519
		RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
1520
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
1521
	end
1522
	attack = false
1523
	hum.WalkSpeed = 40
1524
end
1525
1526
function aaa()
1527
	attack = true
1528
	hum.WalkSpeed = 0
1529
	for i = 0,20, 0.1 do
1530
		swait()
1531
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1532
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
1533
		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)
1534
		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)
1535
		RW.C0 = clerp(RW.C0, CF(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1)
1536
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1)
1537
	end
1538
	hum.WalkSpeed = 40
1539
	attack = false
1540
end
1541
1542
function finalChaos()
1543
        tecks2.Text = "..."
1544
	attack = true
1545
	spawn(function()
1546
		local p = Instance.new("Part",char)
1547
		p.Anchored = true
1548
		p.CanCollide = false
1549
		p.CFrame = CFrame.new(mouse.Hit.p+Vector3.new(0,100,0))
1550
		local m = Instance.new("SpecialMesh",p)
1551
		m.MeshId = "https://roblox.com/asset/?id=443756210"
1552
		m.Scale = Vector3.new(0.1,1,.1)
1553
		for i=1,30 do
1554
			p.CFrame = p.CFrame-Vector3.new(0,3.3333,0)
1555
			p.CFrame = p.CFrame * CFrame.Angles(0.5,0,0)
1556
			wait()
1557
		end
1558
	local beam = Instance.new("Part",char)
1559
	beam.Anchored = true
1560
	beam.CanCollide = false
1561
	beam.BrickColor = BrickColor.new("Really Black")
1562
	beam.Material = Enum.Material.Neon
1563
	beam.Size = Vector3.new(1,1,1)
1564
	beam.Position = p.Position+Vector3.new(0,1000,0)
1565
	beam.CFrame = beam.CFrame * CFrame.Angles(0,0,89.5354)
1566
	local m = Instance.new("SpecialMesh",beam)
1567
	m.MeshType = "Cylinder"
1568
	m.Scale = Vector3.new(2000,15,15)
1569
	damage(6,20,35,p.Position)
1570
	p.Transparency = 1
1571
	CFuncs.Sound.Create("rbxassetid://440145223", p, 10, 1)
1572
	for i=1,10 do
1573
		m.Scale = m.Scale-Vector3.new(0,1,1)
1574
		beam.Transparency = i / 10
1575
		wait()
1576
	end
1577
	p:Destroy()
1578
	end)
1579
        tecks2.Text = "=)"
1580
	attack = false
1581
end
1582
1583
function beam()
1584
	attack = true
1585
	hum.WalkSpeed = 0
1586
	local Ring1 = Instance.new("Part", char)
1587
	Ring1.Anchored = true
1588
	Ring1.BrickColor = maincolor
1589
	Ring1.CanCollide = false
1590
	Ring1.FormFactor = 3
1591
	Ring1.Name = "Ring"
1592
	Ring1.Material = "Neon"
1593
	Ring1.Size = Vector3.new(1, 0.05, 1)
1594
	Ring1.Transparency = 1
1595
	Ring1.TopSurface = 0
1596
	Ring1.BottomSurface = 0
1597
	local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
1598
	Ring1Mesh.MeshType = "Brick"
1599
	Ring1Mesh.Name = "SizeMesh"
1600
	Ring1Mesh.Scale = Vector3.new(0, 1, 0)
1601
	local InnerRing1 = Ring1:Clone()
1602
	InnerRing1.Parent = char
1603
	InnerRing1.Transparency = 0
1604
	InnerRing1.BrickColor = BrickColor.new("New Yeller")
1605
	InnerRing1.Size = Vector3.new(1, 1, 1)
1606
	local InnerRing1Mesh = InnerRing1.SizeMesh
1607
	InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
1608
	InnerRing1Mesh.MeshType = "Sphere"
1609
	Ring1:Destroy()
1610
	for i = 0, 6, 0.1 do
1611
		swait()
1612
		--orb.CFrame = Pupil.CFrame
1613
		Aura(7, 0.12, "Add", Head.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere")
1614
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1615
		neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1616
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1617
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1618
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
1619
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
1620
	end
1621
	InnerRing1.Transparency = 1
1622
	InnerRing1.CFrame = Head.CFrame + root.CFrame.lookVector * 5
1623
        Cso("2545012765", char, 10, 1)
1624
	Cso("2606661976", char, 2.3, 1)
1625
	local a = IT("Part", char)
1626
	a.Name = "Direction"
1627
	a.Anchored = true
1628
	a.BrickColor = BrickC("Pastel violet")
1629
	a.Material = "SmoothPlastic"
1630
	a.Transparency = 0
1631
	a.Shape = "Cylinder"
1632
	a.CanCollide = false
1633
	local a2 = IT("Part", char)
1634
	a2.Name = "Direction"
1635
	a2.Anchored = true
1636
	a2.BrickColor = maincolor
1637
	a2.Color = maincolor.Color
1638
	a2.Material = "Neon"
1639
	a2.Transparency = 0.7
1640
	a2.Shape = "Cylinder"
1641
	a2.CanCollide = false
1642
	local ba = IT("Part", char)
1643
	ba.Name = "HitDirect"
1644
	ba.Anchored = true
1645
	ba.BrickColor = maincolor
1646
	ba.Material = "Neon"
1647
	ba.Transparency = 1
1648
	ba.CanCollide = false
1649
	local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
1650
	local ignore = char
1651
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
1652
	a.BottomSurface = 10
1653
	a.TopSurface = 10
1654
	a2.BottomSurface = 10
1655
	a2.TopSurface = 10
1656
	local distance = (InnerRing1.CFrame.p - position).magnitude
1657
	a.Size = Vector3.new(distance, 1, 1)
1658
	a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
1659
	a2.Size = Vector3.new(distance, 1, 1)
1660
	a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
1661
	ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
1662
	a.CFrame = a.CFrame * angles(0, Rad(90), 0)
1663
	a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
1664
	game:GetService("Debris"):AddItem(a, 20)
1665
	game:GetService("Debris"):AddItem(a2, 20)
1666
	game:GetService("Debris"):AddItem(ba, 20)
1667
	local msh = Instance.new("SpecialMesh", a)
1668
	msh.MeshType = "Brick"
1669
	msh.Scale = Vector3.new(1, 5, 5)
1670
	local msh2 = Instance.new("SpecialMesh", a2)
1671
	msh2.MeshType = "Brick"
1672
	msh2.Scale = Vector3.new(1, 7, 7)
1673
	for i = 0, 10, 0.1 do
1674
		swait()
1675
		CameraEnshaking(1, 5)
1676
		a2.Color = maincolor.Color
1677
		root.CFrame = FaceMouse()[1]
1678
		InnerRing1.CFrame = Head.CFrame + root.CFrame.lookVector * 4
1679
		ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
1680
		hit, position, normal = workspace:FindPartOnRay(ray, ignore)
1681
		distance = (InnerRing1.CFrame.p - position).magnitude
1682
		a.Size = Vector3.new(distance, 1, 1)
1683
		a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
1684
		a2.Size = Vector3.new(distance, 1, 1)
1685
		a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
1686
		ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
1687
		a.CFrame = a.CFrame * angles(0, Rad(90), 0)
1688
		a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
1689
		msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05)
1690
		msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03)
1691
		Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
1692
		for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
1693
		if v:FindFirstChild("Head") then
1694
				Eviscerate(v)
1695
			end
1696
		end
1697
	end
1698
	a:Destroy()
1699
	a2:Destroy()
1700
	ba:Destroy()
1701
	InnerRing1:Destroy()
1702
	attack = false
1703
	hum.WalkSpeed = 40
1704
	hum.CameraOffset = Vector3.new(0,0,0)
1705
end
1706
1707
function Call_Upon_The_Eyes()
1708
	attack = true
1709
	hum.WalkSpeed = 0
1710
	for i = 0, 6, 0.1 do
1711
		swait()
1712
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1713
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1714
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1715
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1716
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12)
1717
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
1718
	end
1719
	Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
1720
	Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
1721
	Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
1722
	Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
1723
	CameraEnshaking(4, 25)
1724
	for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
1725
		if v:FindFirstChild("Head") then
1726
			Eviscerate(v)
1727
		end
1728
	end
1729
	for i = 0, 6, 0.1 do
1730
		swait()
1731
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1732
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1733
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1734
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1735
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2)
1736
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
1737
	end
1738
	attack = false
1739
	hum.WalkSpeed = 40
1740
end
1741
1742
function CHAOS()
1743
	attack = true
1744
	    root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
1745
            Cso("2545012765", hed, 10, 1)
1746
        Effects.Ring.Create(BrickC("Really Black"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01)
1747
1748
  	Effects.Sphere.Create(BrickColor.new("Really Black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
1749
  	Effects.Sphere.Create(BrickColor.new("Really Black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
1750
  	Effects.Sphere.Create(BrickColor.new("Really Black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
1751
1752
	PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
1753
	PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
1754
	PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
1755
	PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
1756
	PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
1757
	PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
1758
	PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
1759
	PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
1760
	PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
1761
	PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
1762
	PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
1763
	PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
1764
 	for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
1765
		if v:FindFirstChild("Head") then
1766
			Eviscerate(v)
1767
		end
1768
	end
1769
	attack = false
1770
end
1771
function Chain2()
1772
	if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1773
	local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1774
	local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1775
	local HEAD = HUM.Parent:FindFirstChild("Head")
1776
	local RIGHTARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightLowerArm")
1777
	local LEFTARM = HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("LeftLowerArm")
1778
	if HEAD and TORSO and HUM.Health > 0 then
1779
	local GYRO = IT("BodyGyro",root)
1780
	GYRO.D = 275
1781
	GYRO.P = 20000
1782
	GYRO.MaxTorque = Vector3.new(0,40000,0)
1783
	attack = true
1784
	hum.WalkSpeed = 0
1785
	local hit,pos,hummie;
1786
	local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
1787
	Hook2.Transparency = 1
1788
	local A2 = NewInstance("Attachment",Hook2)
1789
	local B2 = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
1790
	local Chain2 = NewInstance("Beam",Hook2,{Attachment0 = A2,Attachment1=B2,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
1791
	for i = 0, 2.3, .1 do
1792
		swait()
1793
		GYRO.cframe = CF(root.Position,TORSO.Position)
1794
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1795
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1796
		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(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
1797
		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(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
1798
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
1799
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
1800
	end
1801
	Cso("169105657", ra, 7, 1.2)
1802
	for i = 0, 5, .1 do
1803
		if(hit)then break end
1804
		swait()
1805
		GYRO.cframe = CF(root.Position,TORSO.Position)
1806
		Hook2.CFrame = TORSO.CFrame
1807
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1808
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1809
		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(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
1810
		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(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
1811
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
1812
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
1813
	end
1814
	Cso("169105657", ra, 5, .8)
1815
        Cso("2545211765", char, 7, 1) 
1816
	GYRO:remove()
1817
	TORSO:BreakJoints()
1818
	for i = 0, 6, .1 do
1819
		swait()
1820
		Hook2.CFrame = Hook2.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2)
1821
		if(hit)then hit.CFrame = Hook2.CFrame; hit.Velocity = Vector3.new() 
1822
		end
1823
		if((Hook2.CFrame.p-tors.CFrame.p).magnitude < 2)then
1824
			break
1825
		end
1826
		Chain2.TextureLength = 4
1827
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1828
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1829
		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(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(90)), 0.15)
1830
		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(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
1831
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
1832
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
1833
	end
1834
		hum.WalkSpeed = 40
1835
		attack = false
1836
		Hook2:Destroy()
1837
		end
1838
	end
1839
end
1840
1841
function dejzrXD()
1842
        attack = true
1843
    hum.WalkSpeed = 40
1844
    for i = 0, 4, 0.1 do
1845
        swait()
1846
        Cso("2545012765", char, 10, 1)
1847
        hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
1848
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1849
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
1850
        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(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
1851
        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(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
1852
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
1853
        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(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
1854
    end
1855
    Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
1856
    Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
1857
    Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
1858
    Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
1859
    CameraEnshaking(4, 5)
1860
    for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
1861
        if v:FindFirstChild("Head") then
1862
            Eviscerate(v)
1863
        end
1864
    end
1865
    for i = 0, 2, 0.1 do
1866
        swait()
1867
        hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
1868
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1869
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
1870
        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(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
1871
        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(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
1872
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
1873
        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(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
1874
    end
1875
	attack = false
1876
	Speed = 20
1877
end
1878
1879
function specialchaos()
1880
        wait(0)
1881
	CHOICE = 6
1882
        Cso("2545018472", hed, 10, 1)
1883
	local killsky = Instance.new('Sky', game:GetService'Lighting')
1884-
killsky.SkyboxBk = "rbxassetid://2579814215"
1884+
killsky.SkyboxBk = "rbxassetid://1180171015"
1885-
killsky.SkyboxDn = "rbxassetid://1834849448"
1885+
killsky.SkyboxDn = "rbxassetid://1180171015"
1886-
killsky.SkyboxFt = "rbxassetid://2579814215"
1886+
killsky.SkyboxFt = "rbxassetid://1180171015"
1887-
killsky.SkyboxLf = "rbxassetid://2579814215"
1887+
killsky.SkyboxLf = "rbxassetid://1180171015"
1888-
killsky.SkyboxRt = "rbxassetid://2579814215"
1888+
killsky.SkyboxRt = "rbxassetid://1180171015"
1889-
killsky.SkyboxUp = "rbxassetid://1834849448"
1889+
killsky.SkyboxUp = "rbxassetid://1180171015"
1890
---
1891
killsky.StarCount = 0
1892
killsky.SunAngularSize = 0
1893
killsky.MoonAngularSize = 0
1894
killsky.MoonTextureId = ""
1895
killsky.CelestialBodiesShown = false
1896
	if HITFLOOR ~= nil then
1897
		ATTACK = false
1898
		Rooted = false
1899
		local RINGSPIN = true
1900
		local CONSTRUCTING = true
1901
		local RING = CreatePart(3, Effects, "Neon", 0, 10, "Really Black", "Ring", VT(0,0,0))
1902
		RING.Color = C3(0,0,0)
1903
		MakeForm(RING,"Cyl")
1904
		RING.CFrame = CF(HITPOS)
1905
		coroutine.resume(coroutine.create(function()
1906
			repeat
1907
				Swait()
1908
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1909
			until CONSTRUCTING == false
1910
			repeat 
1911
				Swait() 
1912
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1913
			until RINGSPIN == false
1914
			for i = 1, 25 do
1915
				Swait()
1916
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1917
				RING.Size = RING.Size - VT(0.15,0,0.15)
1918
				--DECAL.Transparency = DECAL.Transparency + 1/25
1919
				RING.Transparency = RING.Transparency + 1/25
1920
			end
1921
			RING:remove()
1922
		end))
1923
		for i = 1, 15 do
1924
			Swait()
1925
			RING.Size = RING.Size + VT(0,0,0)
1926
			RING.Transparency = RING.Transparency - 1/15
1927
		end
1928
		end
1929
	hum.WalkSpeed = 40
1930
	attack = false
1931
end
1932
function icando()
1933
	attack = true
1934
	hum.WalkSpeed = 0
1935
        TEST:Remove()
1936
        TEST:Play()
1937
        repeat
1938
	for i = 0,4,0.1 do
1939
		swait()
1940
                TEST.Parent = tors
1941
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1942
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
1943
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
1944
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
1945
		RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-76)), 0.1)
1946
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(56)), 0.1)
1947
	end
1948
        until TEST.Playing == false
1949
        TEST:Stop()
1950
        TEST:Play()
1951
        TEST:Remove()
1952
        print('I CAN DO ANYTHING')
1953
		attack = false
1954
		hum.WalkSpeed = 40
1955
end
1956
1957
function finalChaos2()
1958
	attack = true
1959
M2.MeshId = "http://www.roblox.com/asset/?id=28140935"
1960
M2.TextureId = "http://www.roblox.com/asset/?id=345104285"
1961
	M2.Scale = Vector3.new(5, 5, 5)
1962
        Cso("2545018472", hed, 10, 1)
1963
	for i = 0, 15, 0.1 do
1964
		swait()
1965
		hum.CameraOffset = Vector3.new(0, 8, 0)
1966
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1967
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
1968
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2)
1969
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2)
1970
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0), Rad(15)), 0.2)
1971
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2)
1972
	end
1973
	Cso("483458132", char, 10, .7)
1974
	Cso("483458132", char, 10, 1)
1975
	CameraEnshaking(6, 65)
1976
	Effects.Wave.Create(BrickColor.new("Really Black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
1977
  	Effects.Wave.Create(BrickColor.new("Really white"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
1978
  	Effects.Wave.Create(BrickColor.new("Really Black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
1979
	Effects.Ring.Create(BrickColor.new("Really Black"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
1980
  	Effects.Sphere.Create(BrickColor.new("Really Black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
1981
  	Effects.Sphere.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
1982
  	Effects.Sphere.Create(BrickColor.new("Really Black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
1983
	Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really Black"), "Sphere")
1984
	Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really Black"), "Sphere")
1985
	Magic(1, "Add", root.CFrame, Vector3.new(1, 100000, 1), 0.5, BrickColor.new("Really white"), "Sphere")
1986
	Magic(1, "Add", root.CFrame, Vector3.new(1, 1, 1), 0.75, BrickColor.new("Really white"), "Sphere")
1987
	for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 99999999999.5)) do
1988
		if v:FindFirstChild("Head") then
1989
			Eviscerate(v)
1990
		end
1991
	end
1992
	for i = 0, 15, 0.1 do
1993
		swait()
1994
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1995
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
1996
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
1997
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
1998
		RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2)
1999
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2)
2000
	end
2001
	M2.Scale = Vector3.new(1, 1, 1)
2002
M2.MeshId = "http://www.roblox.com/asset/?id=0"
2003
M2.TextureId = "http://www.roblox.com/asset/?id=0"
2004
	attack = false
2005
end
2006
2007
function DRAG_THEM_TO_HELL()
2008
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2009
	local HUM = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
2010
	local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
2011
	local HEAD = HUM.Parent:FindFirstChild("Head")
2012
	if HEAD and TORSO and HUM.Health > 0 then
2013
	local GYRO = IT("BodyGyro",root)
2014
	GYRO.D = 275
2015
	GYRO.P = 20000
2016
	GYRO.MaxTorque = Vector3.new(0,40000,0)
2017
	attack = true
2018
	hum.WalkSpeed = 0
2019
	local hit,pos,hummie;
2020
	local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
2021
	Hook.Transparency = 1
2022
	local A = NewInstance("Attachment",Hook)
2023
	local B = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
2024
	local Chain = NewInstance("Beam",Hook,{Attachment0 = A,Attachment1=B,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
2025
	local POS = mouse.Hit.p
2026
	local CHAINS = false
2027
	local CHAINLINKS = {}
2028
	local A = IT("Attachment",la)
2029
	A.Position = Vector3.new(1,-1,0)*Player_Size
2030
	A.Orientation = Vector3.new(-90, -89.982, 0)
2031
	local B = IT("Attachment",la)
2032
	B.Position = Vector3.new(-1,-1,0)*Player_Size
2033
	B.Orientation = Vector3.new(-90, 89.988, 0)
2034
	local C = IT("Attachment",la)
2035
	C.Position = Vector3.new(0.5,-1.3,0)*Player_Size
2036
	C.Orientation = Vector3.new(-90, -89.982, 0)
2037
	local D = IT("Attachment",la)
2038
	D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size
2039
	D.Orientation = Vector3.new(-90, 89.988, 0)
2040
	local LIGHT = IT("Attachment",la)
2041
	LIGHT.Position = Vector3.new(0,-1,0)*Player_Size
2042
	local LIGHT2 = IT("PointLight",LIGHT)
2043
	LIGHT2.Range = 7
2044
	LIGHT2.Brightness = 5
2045
	LIGHT2.Color = Color3.new(0,0,0)
2046
	for i = 1, 2 do
2047
		local TWIST = -2
2048
		local START = A
2049
		local END = B
2050
		if i == 1 then
2051
			START = B
2052
			END = A
2053
		end
2054
		local ChainLink = IT("Beam",tors)
2055
		ChainLink.Texture = "rbxassetid://73042633"
2056
		ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138))
2057
		ChainLink.TextureSpeed = 1
2058
		ChainLink.Width0 = 1
2059
		ChainLink.Width1 = 1
2060
		ChainLink.TextureLength = 2.5
2061
		ChainLink.Attachment0 = START
2062
		ChainLink.Attachment1 = END
2063
		ChainLink.CurveSize0 = TWIST
2064
		ChainLink.CurveSize1 = TWIST
2065
		--ChainLink.FaceCamera = true
2066
		ChainLink.Segments = 45
2067
		ChainLink.Transparency = NumberSequence.new(0.25)
2068
		table.insert(CHAINLINKS,ChainLink)
2069
	end
2070
	for i = 1, 2 do
2071
		local TWIST = -1
2072
		local START = C
2073
		local END = D
2074
		if i == 1 then
2075
			START = D
2076
			END = C
2077
		end
2078
		local ChainLink = IT("Beam",tors)
2079
		ChainLink.Texture = "rbxassetid://73042633"
2080
		ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138))
2081
		ChainLink.TextureSpeed = 1
2082
		ChainLink.Width0 = 1
2083
		ChainLink.Width1 = 1
2084
		ChainLink.TextureLength = 5
2085
		ChainLink.Attachment0 = START
2086
		ChainLink.Attachment1 = END
2087
		ChainLink.CurveSize0 = TWIST
2088
		ChainLink.CurveSize1 = TWIST
2089
		--ChainLink.FaceCamera = true
2090
		ChainLink.Segments = 25
2091
		ChainLink.LightEmission = 0.5
2092
		ChainLink.Transparency = NumberSequence.new(0.25)
2093
		table.insert(CHAINLINKS,ChainLink)
2094
	end
2095
	for i = 0, 2.3, .1 do
2096
		swait()
2097
		GYRO.cframe = CF(root.Position,TORSO.Position)
2098
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
2099
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
2100
		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(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
2101
		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(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
2102
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
2103
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
2104
	end
2105
	Cso("169105657", ra, 7, 1.2)
2106
	for i = 0, 4, .1 do
2107
		if(hit)then break end
2108
		swait()
2109
		GYRO.cframe = CF(root.Position,TORSO.Position)
2110
		Hook.CFrame = HEAD.CFrame
2111
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
2112
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
2113
		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(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
2114
		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(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
2115
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
2116
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
2117
	end
2118
	for _,v in next, getRegion(Hook.Position,1,{char}) do
2119
			if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then
2120
				hit = GetTorso(v.Parent);
2121
				hummie = v.Parent:FindFirstChildOfClass'Humanoid';
2122
			break;
2123
		end
2124
	end
2125
	Cso("169105657", ra, 5, .8)
2126
	Cso("131228548", tors, 2, 1.1)
2127
	GYRO:remove()
2128
	for i = 0, 3, .1 do
2129
		swait()
2130
		HUM.PlatformStand = true
2131
		Hook.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2)
2132
		if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new() 
2133
		end
2134
		if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then
2135
			break
2136
		end
2137
		Chain.TextureLength = 4
2138
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
2139
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(45)), 0.3)
2140
		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(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(10)), 0.15)
2141
		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(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(10)), 0.15)
2142
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(45)), 0.1)
2143
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(30), Rad(-.6), Rad(-25)), 0.1)
2144
	end
2145
		hum.WalkSpeed = 40
2146
		attack = false
2147
		Hook:Destroy()
2148
		A:remove()
2149
		B:remove()
2150
		C:remove()
2151
		D:remove()
2152
		end
2153
	end
2154
end
2155
2156
function killer()
2157
if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2158
Mouse.Target.Parent:BreakJoints()
2159
end
2160
end
2161
2162
function momgay()
2163
local explosion = Instance.new("Explosion")
2164
explosion.BlastPressure = 999999
2165
explosion.BlastRadius = 22
2166
explosion.DestroyJointRadiusPercent = 1
2167
explosion.ExplosionType = "Craters"
2168
explosion.Parent = game.Workspace
2169
explosion.Position = Mouse.Hit.p
2170
explosion.Hit:connect(function(Part, Distance)
2171
Part.Anchored = false
2172
Part:BreakJoints()
2173
end)
2174
end
2175
2176
function killah()
2177
if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2178
yeet = Mouse.Target.Parent
2179
local player = game.Players:GetPlayerFromCharacter(yeet)
2180
player:LoadCharacter()
2181
end
2182
end
2183
2184
function killette()
2185
if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2186
Mouse.Target.Parent:FindFirstChild('Head').Name = "idek"
2187
Mouse.Target.Parent.idek.Parent = workspace
2188
wait(1)
2189
workspace.idek.Position = owner.Character.Torso.Position
2190
end
2191
end
2192
2193
function killet()
2194
if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2195
Mouse.Target.Parent:FindFirstChildOfClass('Humanoid'):Remove()
2196
end
2197
end
2198
2199
function killee()
2200
local explosion = Instance.new("Explosion")
2201
explosion.BlastPressure = 999999999
2202
explosion.BlastRadius = 999999999
2203
explosion.DestroyJointRadiusPercent = 1
2204
explosion.ExplosionType = "Craters"
2205
explosion.Parent = game.Workspace
2206
explosion.Position = Mouse.Hit.p
2207
explosion.Hit:connect(function(Part, Distance)
2208
Part.Anchored = false
2209
Part:BreakJoints()
2210
end)
2211
end
2212
2213
function killettee()
2214
if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2215
Mouse.Target.Parent.Head.Position = owner.Character.Torso.Position
2216
Mouse.Target.Parent.HumanoidRootPart.Anchored = true
2217
wait(2)
2218
Mouse.Target.Parent:BreakJoints()
2219
end
2220
end
2221
function killet()
2222
if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2223
Mouse.Target.Parent:FindFirstChildOfClass('Humanoid'):Remove()
2224
end
2225
end
2226
2227
-------------------------------------------------------
2228
--End Attacks N Stuff--
2229
-------------------------------------------------------
2230
mouse.KeyDown:connect(function(key)
2231
	if attack == false then
2232
		if key == "t" then
2233
                      dance()
2234
		elseif key == 'y' then
2235
			aaa()
2236
		elseif key == "p" then
2237
						finalChaos()
2238
		elseif key == "z" then
2239
						beam()
2240
                elseif key == "x" then
2241
                                            Call_Upon_The_Eyes()
2242
                elseif key == "v" then
2243
                                            dejzrXD()
2244
                elseif key == "b" then
2245
                                            specialchaos()
2246
                elseif key == "n" then
2247
                                           CHAOS()
2248
                elseif key == "f" then
2249
                                           icando()
2250
                elseif key == "h" then
2251
                                           finalChaos2()
2252
                elseif key == "g" then
2253
                                           Chain2()
2254
                elseif key == "c" then
2255
                                           DRAG_THEM_TO_HELL()
2256
                elseif key == "q" then
2257
                                           killer()
2258
                elseif key == "m" then
2259
                                           momgay()
2260
                elseif key == "u" then
2261
                                           killah()
2262
                elseif key == "k" then
2263
                                           killette()
2264
                elseif key == "e" then
2265
                                           killet()
2266
                elseif key == "r" then
2267
                                           killee()
2268
                elseif key == "j" then
2269
                                           killettee()
2270
 		end
2271
	end
2272
end)
2273
2274
mouse.Button1Down:connect(function(key)
2275
	if attack == false then
2276
		die()
2277
	end
2278
end)
2279
2280
function Part(parent,color,material,size,cframe,anchored,cancollide)
2281
	local part = Instance.new("Part")
2282
	part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0)
2283
	part.Material = material or Enum.Material.SmoothPlastic
2284
	part.TopSurface,part.BottomSurface=10,10
2285
	part.Size = size or Vector3.new(1,1,1)
2286
	part.CFrame = cframe or CF(0,0,0)
2287
	part.Anchored = anchored or true
2288
	part.CanCollide = cancollide or false
2289
	part.Parent = parent or char
2290
	return part
2291
end
2292
2293
NewInstance = function(instance,parent,properties)
2294
	local inst = Instance.new(instance)
2295
	inst.Parent = parent
2296
	if(properties)then
2297
		for i,v in next, properties do
2298
			pcall(function() inst[i] = v end)
2299
		end
2300
	end
2301
	return inst;
2302
end
2303
-------------------------------------------------------
2304
--Start Damage Function--
2305
-------------------------------------------------------
2306
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
2307
local type = type
2308
local rng = Instance.new("Part", char)
2309
        rng.Anchored = true
2310
        rng.BrickColor = color
2311
        rng.CanCollide = false
2312
        rng.FormFactor = 3
2313
        rng.Name = "Ring"
2314
        rng.Material = "Neon"
2315
        rng.Size = Vector3.new(1, 1, 1)
2316
        rng.Transparency = 0
2317
        rng.TopSurface = 0
2318
        rng.BottomSurface = 0
2319
        rng.CFrame = pos
2320
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2321
        local rngm = Instance.new("SpecialMesh", rng)
2322
        rngm.MeshType = "Brick"
2323
if rainbowmode == true then
2324
rng.Color = Color3.new(r/255,g/255,b/255)
2325
end
2326
local scaler2 = 1
2327
local speeder = FastSpeed/10
2328
if type == "Add" then
2329
scaler2 = 1*value
2330
elseif type == "Divide" then
2331
scaler2 = 1/value
2332
end
2333
coroutine.resume(coroutine.create(function()
2334
for i = 0,10/bonuspeed,0.1 do
2335
swait()
2336
if type == "Add" then
2337
scaler2 = scaler2 - 0.01*value/bonuspeed
2338
elseif type == "Divide" then
2339
scaler2 = scaler2 - 0.01/value*bonuspeed
2340
end
2341
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
2342
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2343
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2344
end
2345
rng:Destroy()
2346
end))
2347
end
2348
2349
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
2350
	if hit.Parent == nil then
2351
		return
2352
	end
2353
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
2354
	for _, v in pairs(hit.Parent:children()) do
2355
		if v:IsA("Humanoid") then
2356
			h = v
2357
		end
2358
	end
2359
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
2360
	
2361
         hit.Parent:FindFirstChild("Head"):BreakJoints()
2362
         end
2363
2364
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
2365
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
2366
			if hit.Parent.DebounceHit.Value == true then
2367
				return
2368
			end
2369
		end
2370
         if insta == true then
2371
         hit.Parent:FindFirstChild("Head"):BreakJoints()
2372
         end
2373
		local c = Create("ObjectValue"){
2374
			Name = "creator",
2375
			Value = game:service("Players").LocalPlayer,
2376
			Parent = h,
2377
		}
2378
		game:GetService("Debris"):AddItem(c, .5)
2379
		if HitSound ~= nil and HitPitch ~= nil then
2380
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
2381
		end
2382
		local Damage = math.random(minim, maxim)
2383
		local blocked = false
2384
		local block = hit.Parent:findFirstChild("Block")
2385
		if block ~= nil then
2386
			if block.className == "IntValue" then
2387
				if block.Value > 0 then
2388
					blocked = true
2389
					block.Value = block.Value - 1
2390
					print(block.Value)
2391
				end
2392
			end
2393
		end
2394
		if blocked == false then
2395
			h.Health = h.Health - Damage
2396
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
2397
		else
2398
			h.Health = h.Health - (Damage / 2)
2399
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
2400
		end
2401
		if Type == "Knockdown" then
2402
			local hum = hit.Parent.Humanoid
2403
			hum.PlatformStand = true
2404
			coroutine.resume(coroutine.create(function(HHumanoid)
2405
				swait(1)
2406
				HHumanoid.PlatformStand = false
2407
			end), hum)
2408
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
2409
			local bodvol = Create("BodyVelocity"){
2410
				velocity = angle * knockback,
2411
				P = 5000,
2412
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
2413
				Parent = hit,
2414
			}
2415
			local rl = Create("BodyAngularVelocity"){
2416
				P = 3000,
2417
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
2418
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
2419
				Parent = hit,
2420
			}
2421
			game:GetService("Debris"):AddItem(bodvol, .5)
2422
			game:GetService("Debris"):AddItem(rl, .5)
2423
		elseif Type == "Normal" then
2424
			local vp = Create("BodyVelocity"){
2425
				P = 500,
2426
				maxForce = Vector3.new(math.huge, 0, math.huge),
2427
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
2428
			}
2429
			if knockback > 0 then
2430
				vp.Parent = hit.Parent.Torso
2431
			end
2432
			game:GetService("Debris"):AddItem(vp, .5)
2433
		elseif Type == "Up" then
2434
			local bodyVelocity = Create("BodyVelocity"){
2435
				velocity = Vector3.new(0, 20, 0),
2436
				P = 5000,
2437
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
2438
				Parent = hit,
2439
			}
2440
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
2441
		elseif Type == "DarkUp" then
2442
			coroutine.resume(coroutine.create(function()
2443
				for i = 0, 1, 0.1 do
2444
					swait()
2445
					Effects.Block.Create(BrickColor.new("Really Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
2446
				end
2447
			end))
2448
			local bodyVelocity = Create("BodyVelocity"){
2449
				velocity = Vector3.new(0, 20, 0),
2450
				P = 5000,
2451
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
2452
				Parent = hit,
2453
			}
2454
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
2455
		elseif Type == "Snare" then
2456
			local bp = Create("BodyPosition"){
2457
				P = 2000,
2458
				D = 100,
2459
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
2460
				position = hit.Parent.Torso.Position,
2461
				Parent = hit.Parent.Torso,
2462
			}
2463
			game:GetService("Debris"):AddItem(bp, 1)
2464
		elseif Type == "Freeze" then
2465
			local BodPos = Create("BodyPosition"){
2466
				P = 50000,
2467
				D = 1000,
2468
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
2469
				position = hit.Parent.Torso.Position,
2470
				Parent = hit.Parent.Torso,
2471
			}
2472
			local BodGy = Create("BodyGyro") {
2473
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
2474
				P = 20e+003,
2475
				Parent = hit.Parent.Torso,
2476
				cframe = hit.Parent.Torso.CFrame,
2477
			}
2478
			hit.Parent.Torso.Anchored = true
2479
			coroutine.resume(coroutine.create(function(Part) 
2480
				swait(1.5)
2481
				Part.Anchored = false
2482
			end), hit.Parent.Torso)
2483
			game:GetService("Debris"):AddItem(BodPos, 3)
2484
			game:GetService("Debris"):AddItem(BodGy, 3)
2485
		end
2486
		local debounce = Create("BoolValue"){
2487
			Name = "DebounceHit",
2488
			Parent = hit.Parent,
2489
			Value = true,
2490
		}
2491
		game:GetService("Debris"):AddItem(debounce, Delay)
2492
		c = Create("ObjectValue"){
2493
			Name = "creator",
2494
			Value = Player,
2495
			Parent = h,
2496
		}
2497
		game:GetService("Debris"):AddItem(c, .5)
2498
	end
2499
end
2500
2501
function damage(range,mindam,maxdam,pos)
2502
	for i,v in ipairs(workspace:GetChildren()) do
2503
		if v:IsA("Model") then
2504
			if v.Name ~= Player.Name then
2505
				if v:FindFirstChildOfClass("Humanoid") then
2506
					if v:FindFirstChild("Head") then
2507
						if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then
2508
							if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else
2509
								v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam)
2510
							end
2511
						end
2512
					end
2513
				end
2514
			end
2515
		end
2516
	end
2517
end
2518
-------------------------------------------------------
2519
--End Damage Function--
2520
-------------------------------------------------------
2521
2522
-------------------------------------------------------
2523
--Start Animations--
2524
-------------------------------------------------------
2525
print("By Makhail07")
2526
while true do
2527
	swait()
2528
	sine = sine + change
2529
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
2530
	local velderp = root.Velocity.y
2531
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
2532
	if equipped == true or equipped == false then
2533
		if attack == false then
2534
			idle = idle + 1
2535
		else
2536
			idle = 0
2537
		end
2538
		if 1 < root.Velocity.y and hitfloor == nil then
2539
			Anim = "Jump"
2540
			if attack == false then
2541
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
2542
				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)
2543
				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)
2544
				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)
2545
				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)
2546
				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)
2547
			end
2548
		elseif -1 > root.Velocity.y and hitfloor == nil then
2549
			Anim = "Fall"
2550
			if attack == false then
2551
				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)
2552
				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)
2553
				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)
2554
				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)
2555
				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)
2556
				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)
2557
			end
2558
		elseif torvel < 1 and hitfloor ~= nil then
2559
			Anim = "Idle"
2560
			change = 1
2561
 			if attack == false then
2562
		                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
2563
				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)
2564
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
2565
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
2566
				RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1)
2567
				LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
2568
			end
2569
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
2570
			Anim = "Walk"
2571
			change = 1
2572
			if attack == false then
2573
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15)
2574
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
2575
				RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2)  * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
2576
         		LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
2577
					RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1)
2578
				LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
2579
			end
2580
		elseif torvel >= 25 and hitfloor ~= nil then
2581
			Anim = "Sprint"
2582
			change = 1.35
2583
			if attack == false then
2584
			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(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
2585
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
2586
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
2587
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
2588
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110)  * Cos(sine / 7) , Rad(0) ,	Rad(-13) + la.RotVelocity.Y / 75), 0.15)
2589
			end
2590
		end
2591
	end
2592
	if 0 < #Effects then
2593
		for e = 1, #Effects do
2594
			if Effects[e] ~= nil then
2595
				local Thing = Effects[e]
2596
				if Thing ~= nil then
2597
					local Part = Thing[1]
2598
					local Mode = Thing[2]
2599
					local Delay = Thing[3]
2600
					local IncX = Thing[4]
2601
					local IncY = Thing[5]
2602
					local IncZ = Thing[6]
2603
					if 1 >= Thing[1].Transparency then
2604
						if Thing[2] == "Block1" then
2605
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2606
							local Mesh = Thing[1].Mesh
2607
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2608
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2609
						elseif Thing[2] == "Block2" then
2610
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
2611
							local Mesh = Thing[7]
2612
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2613
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2614
						elseif Thing[2] == "Block3" then
2615
							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)
2616
							local Mesh = Thing[7]
2617
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2618
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2619
						elseif Thing[2] == "Cylinder" then
2620
							local Mesh = Thing[1].Mesh
2621
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2622
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2623
						elseif Thing[2] == "Blood" then
2624
							local Mesh = Thing[7]
2625
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
2626
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2627
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2628
						elseif Thing[2] == "Elec" then
2629
							local Mesh = Thing[1].Mesh
2630
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
2631
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2632
						elseif Thing[2] == "Disappear" then
2633
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2634
						elseif Thing[2] == "Shatter" then
2635
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2636
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
2637
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
2638
							Thing[6] = Thing[6] + Thing[5]
2639
						end
2640
					else
2641
						Part.Parent = nil
2642
						table.remove(Effects, e)
2643
					end
2644
				end
2645
			end
2646
		end
2647
	end
2648
end
2649
-------------------------------------------------------
2650
--End Animations And Script--
2651
------------------------------------------------------