View difference between Paste ID: Y9LCAiCe and QLyeWVwD
SHOW: | | - or go back to the newest paste.
1
---------------
2
--Lancer--
3
----------------------------------------------------------------
4
print([[
5
--made by Makhail07
6
--FE code by Mokiros   
7-
--Edited by XKxngSupremeX  and ozzak1003           --
7+
--Edited by TameDoNotClick         --
8-
--YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A--
8+
--Discord: TameDoNotClick#0011
9-
--Discord: ozzak1003#3275
9+
10-
--Discord: Clon#2166
10+
11
Don't leak pls
12
Enjoy ;)
13
--------------------------------
14
]])
15
16
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
17
local Player,game,owner = owner,game
18
local RealPlayer = Player
19
do
20
	local rp = RealPlayer
21
	script.Parent = rp.Character
22
	
23
	--RemoteEvent for communicating
24
	local Event = Instance.new("RemoteEvent")
25
	Event.Name = "UserInput_Event"
26
27
	--Fake event to make stuff like Mouse.KeyDown work
28
	local function fakeEvent()
29
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
30
		t.connect = t.Connect
31
		return t
32
	end
33
34
	--Creating fake input objects with fake variables
35
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
36
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
37
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
38
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
39
	end}
40
	--Merged 2 functions into one by checking amount of arguments
41
	CAS.UnbindAction = CAS.BindAction
42
43
	--This function will trigger the events that have been :Connect()'ed
44
	local function te(self,ev,...)
45
		local t = m[ev]
46
		if t and t._fakeEvent then
47
			for _,f in pairs(t.Functions) do
48
				f(...)
49
			end
50
		end
51
	end
52
	m.TrigEvent = te
53
	UIS.TrigEvent = te
54
55
	Event.OnServerEvent:Connect(function(plr,io)
56
	    if plr~=rp then return end
57
		m.Target = io.Target
58
		m.Hit = io.Hit
59
		if not io.isMouse then
60
			local b = io.UserInputState == Enum.UserInputState.Begin
61
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
62
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
63
			end
64
			for _,t in pairs(CAS.Actions) do
65
				for _,k in pairs(t.Keys) do
66
					if k==io.KeyCode then
67
						t.Function(t.Name,io.UserInputState,io)
68
					end
69
				end
70
			end
71
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
72
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
73
	    end
74
	end)
75
	Event.Parent = NLS([==[
76
	local Player = game:GetService("Players").LocalPlayer
77
	local Event = script:WaitForChild("UserInput_Event")
78
79
	local Mouse = Player:GetMouse()
80
	local UIS = game:GetService("UserInputService")
81
	local input = function(io,a)
82
		if a then return end
83
		--Since InputObject is a client-side instance, we create and pass table instead
84
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
85
	end
86
	UIS.InputBegan:Connect(input)
87
	UIS.InputEnded:Connect(input)
88
89
	local h,t
90
	--Give the server mouse data 30 times every second, but only if the values changed
91
	--If player is not moving their mouse, client won't fire events
92
	while wait(1/30) do
93
		if h~=Mouse.Hit or t~=Mouse.Target then
94
			h,t=Mouse.Hit,Mouse.Target
95
			Event:FireServer({isMouse=true,Target=t,Hit=h})
96
		end
97
	end]==],Player.Character)
98
99
	----Sandboxed game object that allows the usage of client-side methods and services
100
	--Real game object
101
	local _rg = game
102
103
	--Metatable for fake service
104
	local fsmt = {
105
		__index = function(self,k)
106
			local s = rawget(self,"_RealService")
107
			if s then return s[k] end
108
		end,
109
		__newindex = function(self,k,v)
110
			local s = rawget(self,"_RealService")
111
			if s then s[k]=v end
112
		end,
113
		__call = function(self,...)
114
			local s = rawget(self,"_RealService")
115
			if s then return s(...) end
116
		end
117
	}
118
	local function FakeService(t,RealService)
119
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
120
		return setmetatable(t,fsmt)
121
	end
122
123
	--Fake game object
124
	local g = {
125
		GetService = function(self,s)
126
			return self[s]
127
		end,
128
		Players = FakeService({
129
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
130
		},"Players"),
131
		UserInputService = FakeService(UIS,"UserInputService"),
132
		ContextActionService = FakeService(CAS,"ContextActionService"),
133
	}
134
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
135
	g.service = g.GetService
136
	
137
	g.RunService = FakeService({
138
		RenderStepped = _rg:GetService("RunService").Heartbeat,
139
		BindToRenderStep = function(self,name,_,fun)
140
			self._btrs[name] = self.Heartbeat:Connect(fun)
141
		end,
142
		UnbindFromRenderStep = function(self,name)
143
			self._btrs[name]:Disconnect()
144
		end,
145
	},"RunService")
146
147
	setmetatable(g,{
148
		__index=function(self,s)
149
			return _rg:GetService(s) or typeof(_rg[s])=="function"
150
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
151
		end,
152
		__newindex = fsmt.__newindex,
153
		__call = fsmt.__call
154
	})
155
	--Changing owner to fake player object to support owner:GetMouse()
156
	game,owner = g,g.Players.LocalPlayer
157
end
158
159
Player = owner
160
PlayerGui = Player.PlayerGui
161
Cam = workspace.CurrentCamera
162
Backpack = Player.Backpack
163
Character = Player.Character
164
Humanoid = Character.Humanoid
165
Mouse = Player:GetMouse()
166
RootPart = Character["HumanoidRootPart"]
167
Torso = Character["Torso"]
168
Head = Character["Head"]
169
RightArm = Character["Right Arm"]
170
LeftArm = Character["Left Arm"]
171
RightLeg = Character["Right Leg"]
172
LeftLeg = Character["Left Leg"]
173
RootJoint = RootPart["RootJoint"]
174
Neck = Torso["Neck"]
175
RightShoulder = Torso["Right Shoulder"]
176
LeftShoulder = Torso["Left Shoulder"]
177
RightHip = Torso["Right Hip"]
178
LeftHip = Torso["Left Hip"]
179
180
Character = Player.Character
181
Humanoid = Character.Humanoid
182
---------
183
plr = game.Players.LocalPlayer
184
chara = plr.Character
185
mouse = plr:GetMouse()
186
Create = Instance.new
187
Huge = math.huge
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.8, 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=7074786"
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://236455674"
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("Bright purple")
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
				for i, v in pairs(dude:GetChildren()) do
1085
					if v:IsA("Accessory") then
1086
						v:Destroy()
1087
					end
1088
					if v:IsA("Humanoid") then
1089
						v:Destroy()
1090
					end
1091
					if v:IsA("CharacterMesh") then
1092
						v:Destroy()
1093
					end
1094
					if v:IsA("Model") then
1095
						v:Destroy()
1096
					end
1097
					if v:IsA("Part") or v:IsA("MeshPart") then
1098
						for x, o in pairs(v:GetChildren()) do
1099
							if o:IsA("Decal") then
1100
								o:Destroy()
1101
							end
1102
						end
1103
						coroutine.resume(coroutine.create(function()
1104
							v.Material = "Neon"
1105
							v.CanCollide = false
1106
							local PartEmmit1 = IT("ParticleEmitter", v)
1107
							PartEmmit1.LightEmission = 1
1108
							PartEmmit1.Texture = "rbxassetid://284205403"
1109
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1110
							PartEmmit1.Rate = 150
1111
							PartEmmit1.Lifetime = NumberRange.new(1)
1112
							PartEmmit1.Size = NumberSequence.new({
1113
								NumberSequenceKeypoint.new(0, 0.75, 0),
1114
								NumberSequenceKeypoint.new(1, 0, 0)
1115
							})
1116
							PartEmmit1.Transparency = NumberSequence.new({
1117
								NumberSequenceKeypoint.new(0, 0, 0),
1118
								NumberSequenceKeypoint.new(1, 1, 0)
1119
							})
1120
							PartEmmit1.Speed = NumberRange.new(0, 0)
1121
							PartEmmit1.VelocitySpread = 30000
1122
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1123
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1124
							local BodPoss = IT("BodyPosition", v)
1125
							BodPoss.P = 3000
1126
							BodPoss.D = 1000
1127
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1128
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1129
							v.Color = maincolor.Color
1130
							coroutine.resume(coroutine.create(function()
1131
								for i = 0, 49 do
1132
									swait(1)
1133
									v.Transparency = v.Transparency + 0.08
1134
								end
1135
								wait(0.5)
1136
								PartEmmit1.Enabled = false
1137
								wait(3)
1138
								v:Destroy()
1139
								dude:Destroy()
1140
							end))
1141
						end))
1142
					end
1143
				end
1144
			end))
1145
		end)
1146
		ds()
1147
	end
1148
end
1149
1150
function FindNearestHead(Position, Distance, SinglePlayer)
1151
	if SinglePlayer then
1152
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1153
	end
1154
	local List = {}
1155
	for i, v in pairs(workspace:GetChildren()) do
1156
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1157
			table.insert(List, v)
1158
		end
1159
	end
1160
	return List
1161
end
1162
1163
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1164
	local type = type
1165
	local rng = Instance.new("Part", char)
1166
	rng.Anchored = true
1167
	rng.BrickColor = color
1168
	rng.CanCollide = false
1169
	rng.FormFactor = 3
1170
	rng.Name = "Ring"
1171
	rng.Material = "Neon"
1172
	rng.Size = Vector3.new(1, 1, 1)
1173
	rng.Transparency = 0
1174
	rng.TopSurface = 0
1175
	rng.BottomSurface = 0
1176
	rng.CFrame = pos
1177
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1178
	local rngm = Instance.new("SpecialMesh", rng)
1179
	rngm.MeshType = MType
1180
	rngm.Scale = Vector3.new(x1, y1, z1)
1181
	local scaler2 = 1
1182
	local speeder = FastSpeed
1183
	if type == "Add" then
1184
		scaler2 = 1 * value
1185
	elseif type == "Divide" then
1186
		scaler2 = 1 / value
1187
	end
1188
	coroutine.resume(coroutine.create(function()
1189
		for i = 0, 10 / bonuspeed, 0.1 do
1190
			swait()
1191
			if type == "Add" then
1192
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1193
			elseif type == "Divide" then
1194
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1195
			end
1196
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1197
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1198
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1199
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1200
		end
1201
		rng:Destroy()
1202
	end))
1203
end
1204
1205
function SoulSteal(dude)
1206
if dude.Name ~= char then
1207
local bgf = IT("BodyGyro", dude.Head)
1208
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1209
local val = IT("BoolValue", dude)
1210
val.Name = "IsHit"
1211
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1212
local soulst = coroutine.wrap(function()
1213
local soul = Instance.new("Part",dude)
1214
soul.Size = Vector3.new(1,1,1)
1215
soul.CanCollide = false
1216
soul.Anchored = false
1217
soul.Position = torso.Position
1218
soul.Transparency = 1
1219
local PartEmmit1 = IT("ParticleEmitter", soul)
1220
PartEmmit1.LightEmission = 1
1221
PartEmmit1.Texture = "rbxassetid://569507414"
1222
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1223
PartEmmit1.Rate = 250
1224
PartEmmit1.Lifetime = NumberRange.new(1.6)
1225
PartEmmit1.Size = NumberSequence.new({
1226
	NumberSequenceKeypoint.new(0, 1, 0),
1227
	NumberSequenceKeypoint.new(1, 0, 0)
1228
})
1229
PartEmmit1.Transparency = NumberSequence.new({
1230
	NumberSequenceKeypoint.new(0, 0, 0),
1231
	NumberSequenceKeypoint.new(1, 1, 0)
1232
})
1233
PartEmmit1.Speed = NumberRange.new(0, 0)
1234
PartEmmit1.VelocitySpread = 30000
1235
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1236
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1237
local BodPoss = IT("BodyPosition", soul)
1238
BodPoss.P = 3000
1239
BodPoss.D = 1000
1240
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1241
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1242
wait(1.6)
1243
soul.Touched:connect(function(hit)
1244
	if hit.Parent == char then
1245
	soul:Destroy()
1246
	end
1247
end)
1248
wait(1.2)
1249
while soul do
1250
	swait()
1251
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1252
	BodPoss.Position = tors.Position
1253
end
1254
end)
1255
	soulst()
1256
	end
1257
end
1258
function FaceMouse()
1259
local	Cam = workspace.CurrentCamera
1260
	return {
1261
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1262
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1263
	}
1264
end
1265
1266
BTAUNT = Instance.new("Sound", tors)
1267
BTAUNT.SoundId = "http://www.roblox.com/asset/?id=2545305823"
1268
BTAUNT.Volume = 2
1269
BTAUNT.Pitch = 1
1270
BTAUNT.Looped = true
1271
BTAUNT.TimePosition = 0
1272
1273
BTAUNT2 = Instance.new("Sound", tors)
1274
BTAUNT2.SoundId = "http://www.roblox.com/asset/?id=157016540"
1275
BTAUNT2.Volume = 10
1276
BTAUNT2.Pitch = 1
1277
BTAUNT2.Looped = false
1278
BTAUNT2.TimePosition = 0
1279
1280
BTAUNT3 = Instance.new("Sound", tors)
1281
BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=2533518745"
1282
BTAUNT3.Volume = 2
1283
BTAUNT3.Pitch = 1
1284
BTAUNT3.Looped = true
1285
BTAUNT3.TimePosition = 0
1286
1287
TEST = Instance.new("Sound", tors)
1288
TEST.SoundId = "http://www.roblox.com/asset/?id=2583817054"
1289
TEST.Volume = 25
1290
TEST.Pitch = 1
1291
TEST.Looped = false
1292
TEST.TimePosition = 0
1293
-------------------------------------------------------
1294
--End Effect Function--
1295
-------------------------------------------------------
1296
function Cso(ID, PARENT, VOLUME, PITCH)
1297
	local NSound = nil
1298
	coroutine.resume(coroutine.create(function()
1299
		NSound = IT("Sound", PARENT)
1300
		NSound.Volume = VOLUME
1301
		NSound.Pitch = PITCH
1302
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1303
		swait()
1304
		NSound:play()
1305
		game:GetService("Debris"):AddItem(NSound, 50)
1306
	end))
1307
	return NSound
1308
end
1309
function CameraEnshaking(Length, Intensity)
1310
	coroutine.resume(coroutine.create(function()
1311
		local intensity = 1 * Intensity
1312
		local rotM = 0.01 * Intensity
1313
		for i = 0, Length, 0.1 do
1314
			swait()
1315
			intensity = intensity - 0.05 * Intensity / Length
1316
			rotM = rotM - 5.0E-4 * Intensity / Length
1317
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1318
			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)
1319
		end
1320
		hum.CameraOffset = Vector3.new(0, 0, 0)
1321
	end))
1322
end
1323
-------------------------------------------------------
1324
--End Important Functions--
1325
-------------------------------------------------------
1326
1327
1328
-------------------------------------------------------
1329
--Start Customization--
1330
-------------------------------------------------------
1331
local Player_Size = 1
1332
if Player_Size ~= 1 then
1333
root.Size = root.Size * Player_Size
1334
tors.Size = tors.Size * Player_Size
1335
hed.Size = hed.Size * Player_Size
1336
ra.Size = ra.Size * Player_Size
1337
la.Size = la.Size * Player_Size
1338
rl.Size = rl.Size * Player_Size
1339
ll.Size = ll.Size * Player_Size
1340
----------------------------------------------------------------------------------
1341
rootj.Parent = root
1342
neck.Parent = tors
1343
RW.Parent = tors
1344
LW.Parent = tors
1345
RH.Parent = tors
1346
LH.Parent = tors
1347
----------------------------------------------------------------------------------
1348
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1349
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1350
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
1351
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
1352
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
1353
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
1354
----------------------------------------------------------------------------------
1355
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))
1356
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))
1357
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))
1358
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))
1359
--hat.Parent = Character
1360
end
1361
----------------------------------------------------------------------------------
1362
----------------------------------------------------------------------------------
1363
local equipped = false
1364
local idle = 0
1365
local change = 1
1366
local val = 0
1367
local toim = 0
1368
local idleanim = 0.4
1369
local sine = 0
1370
local Sit = 1
1371
----------------------------------------------------------------------------------
1372
hum.WalkSpeed = 8
1373
hum.JumpPower = 57
1374
hum.Animator.Parent = nil
1375
----------------------------------------------------------------------------------
1376
1377
1378
-------------------------------------------------------
1379
--End Customization--
1380
-------------------------------------------------------
1381
local Blobby = Instance.new("Part", char)
1382
Blobby.Name = "Blob"
1383
Blobby.CanCollide = false
1384
Blobby.BrickColor = BrickColor.new("Really black")
1385
Blobby.Transparency = 0
1386
Blobby.Material = "Plastic"
1387
Blobby.Size = Vector3.new(1, 1, 2)
1388
Blobby.TopSurface = Enum.SurfaceType.Smooth
1389
Blobby.BottomSurface = Enum.SurfaceType.Smooth
1390
1391
local Weld = Instance.new("Weld", Blobby)
1392
Weld.Part0 = ra
1393
Weld.Part1 = Blobby
1394
Weld.C1 = CFrame.new(0, 0.8, 0)
1395
Weld.C0 = CFrame.Angles(Rad(-180),0,135)
1396
1397
local M2 = Instance.new("SpecialMesh")
1398
M2.Parent = Blobby
1399
M2.MeshId = "rbxassetid://0"
1400
M2.TextureId = "rbxassetid://0"
1401
M2.Scale = Vector3.new(1, 0.8, 1)
1402
1403
--[[local naeeym2 = Instance.new("BillboardGui",char)
1404
naeeym2.AlwaysOnTop = true
1405
naeeym2.Size = UDim2.new(5,35,2,15)
1406
naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
1407
naeeym2.Adornee = hed
1408
naeeym2.Name = "Name"
1409
--naeeym2.PlayerToHideFrom = Player
1410
local tecks2 = Instance.new("TextLabel",naeeym2)
1411
tecks2.BackgroundTransparency = 1
1412
tecks2.TextScaled = true
1413
tecks2.BorderSizePixel = 0
1414
tecks2.Text = "Fight Me"
1415
tecks2.Font = Enum.Font.Bodoni
1416
tecks2.TextSize = 30
1417
tecks2.TextStrokeTransparency = 0
1418
tecks2.TextColor3 = Color3.new(0, 0, 0)
1419
tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
1420
tecks2.Size = UDim2.new(1,0,0.5,0)
1421
tecks2.Parent = naeeym2]]
1422
----------------------------------------------------------------------------------
1423
local AddInstance = function(Object, ...)
1424
local Obj = Instance.new(Object)
1425
for i,v in next,(...) do
1426
Obj[i] = v
1427
end
1428
return Obj
1429
end
1430
----------------------------------------------------
1431
		local Reaper = AddInstance("Part",{
1432
			Parent = hed,
1433
			CFrame = hed.CFrame,
1434
			formFactor = "Symmetric",
1435
			Size = Vector3.new(1, 1, 1),
1436
			CanCollide = false,
1437
			TopSurface = "Smooth",
1438
			BottomSurface = "Smooth",
1439
			Locked = true,
1440
		})
1441
		local Weld = AddInstance("Weld",{
1442
			Parent = Reaper,
1443
			Part0 = hed,
1444
			C0 = CFrame.new(0, 0.2, 0)*CFrame.Angles(0, 0, 0),
1445
			Part1 = Reaper,
1446
		})
1447
		local Mesh = AddInstance("SpecialMesh",{
1448
			Parent = Reaper,
1449
			MeshId = "rbxassetid://76062497",
1450
			TextureId = "rbxassetid://0",
1451
			Scale = Vector3.new(1.14,1.05,1.24),
1452
			VertexColor = Vector3.new(0, 0.5, 0.9),
1453
		})
1454
-------------------------------------------------------
1455
wait(1)
1456
plr = game.Players.LocalPlayer
1457
char = plr.Character
1458
mouse = plr:GetMouse()
1459
whitecolor = Color3.new(255,255,1)
1460
epicmode = false
1461
normal = true
1462
for i,v in pairs(char:GetChildren()) do
1463
   if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
1464
      v:Destroy()
1465
     end
1466
end
1467
local shirt = Instance.new("Shirt",char)
1468
shirt.ShirtTemplate = "rbxassetid://2587499005"
1469
local pants = Instance.new("Pants",char)
1470
pants.PantsTemplate = "rbxassetid://2574597464"
1471
local bdycolors = char["Body Colors"]
1472
bdycolors.HeadColor3 = whitecolor
1473
bdycolors.LeftArmColor3 = whitecolor
1474
bdycolors.LeftLegColor3 = whitecolor
1475
bdycolors.RightArmColor3 = whitecolor
1476
bdycolors.RightLegColor3 = whitecolor
1477
bdycolors.TorsoColor3 = whitecolor
1478
for i,v in pairs(char:GetChildren()) do
1479
    if v.ClassName == "Hat" or v.ClassName == "Accessory" then
1480
        v:Destroy()
1481
    end
1482
end
1483
1484
1485
1486
local BC = Character["Body Colors"]
1487
BC.HeadColor = BrickColor.new("White")
1488
BC.LeftArmColor = BrickColor.new("White")
1489
BC.LeftLegColor = BrickColor.new("White")
1490
BC.RightArmColor = BrickColor.new("White")
1491
BC.RightLegColor = BrickColor.new("White")
1492
BC.TorsoColor = BrickColor.new("White")
1493
1494
-------------------------------------------------------
1495
--Start Attacks N Stuff--
1496
-------------------------------------------------------
1497
local naeeym2 = Instance.new("BillboardGui",char)
1498
naeeym2.AlwaysOnTop = true
1499
naeeym2.Size = UDim2.new(5,35,2,35)
1500
naeeym2.StudsOffset = Vector3.new(0,2,0)
1501
naeeym2.Adornee = hed
1502
naeeym2.Name = "Name"
1503
1504
local tecks2 = Instance.new("TextLabel",naeeym2)
1505
tecks2.BackgroundTransparency = 1
1506
tecks2.TextScaled = true
1507
tecks2.BorderSizePixel = 0
1508
tecks2.Text = "I am.."
1509
tecks2.Font = "Fantasy"
1510
tecks2.TextSize = 30
1511
tecks2.TextStrokeTransparency = 0
1512
tecks2.TextColor3 = BrickColor.new('Really black').Color
1513
tecks2.TextStrokeColor3 = BrickColor.new('Storm blue').Color
1514
tecks2.Size = UDim2.new(1,0,0.5,0)
1515
tecks2.Parent = naeeym2
1516
textfag = tecks2
1517
tecks2.Text = "I AM..."
1518
wait(2)
1519
tecks2.Text = "The bad guy! >:D"
1520
wait(1)
1521
tecks2.Text = "Lancer"
1522
BTAUNT:Play()
1523
coroutine.resume(coroutine.create(function()
1524
    while textfag ~= nil do
1525
        swait()
1526
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
1527
        textfag.Rotation = math.random(-3,3)
1528
    end
1529
end))
1530
1531
function slaptime()
1532
	local target = nil
1533
	local targettorso = nil
1534
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
1535
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
1536
			target = mouse.Target.Parent.Humanoid
1537
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
1538
			targethead = mouse.Target.Parent:FindFirstChild("Head")
1539
		end
1540
	end
1541
	if target ~= nil then
1542
		targettorso.Anchored = true
1543
		attack = true
1544
		hum.WalkSpeed = 0
1545
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
1546
		                rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1547
				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)
1548
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
1549
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
1550
				RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
1551
                                LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(-25))
1552
			end
1553
	        Cso("541909763", hed, 3.5, 1)
1554
        wait(1)
1555
	for i = 0, 3, 0.1 do
1556
		swait()
1557
		        rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1558
			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)
1559
			RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
1560
			LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
1561
			RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
1562
                        LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(-25))
1563
			end
1564
	Cso("511340819", tors, 10, 1)
1565
        wait(1)
1566
 	for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
1567
		if v:FindFirstChild("Head") then
1568
			Eviscerate(v)
1569
		end
1570
	end
1571
		attack = false
1572
		hum.WalkSpeed = 16
1573
		root.CFrame = targettorso.CFrame * CF(0,0,3.4)
1574
	end
1575
1576
1577
function dance()
1578
	attack = true
1579
	hum.WalkSpeed = 0
1580
	CFuncs.Sound.Create("rbxassetid://2583816610", head, 100, 1)
1581
	for i = 0, 2, 0.1 do
1582
		swait()
1583
		                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0 - 4 * Sin(sine / 20)), Rad(0 + 1 * Cos(sine / 20)), Rad(0)), 0.1)
1584
				neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.1)
1585
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
1586
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
1587
		RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.1 * Cos(sine / 2)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(15), Rad(-55)), 0.1)
1588
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.1 * Cos(sine / 2)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(0), Rad(55)), 0.1)
1589
	end
1590
	for i = 0, 6, 0.1 do
1591
		swait()
1592
		                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0 - 4 * Sin(sine / 20)), Rad(0 + 1 * Cos(sine / 20)), Rad(0)), 0.1)
1593
				neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.1)
1594
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
1595
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
1596
		RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.1 * Cos(sine / 2)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(15), Rad(-55)), 0.1)
1597
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.1 * Cos(sine / 2)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(0), Rad(55)), 0.1)
1598
	end
1599
	for i = 0, 2, 0.1 do
1600
		swait()
1601
		               rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0 - 4 * Sin(sine / 20)), Rad(0 + 1 * Cos(sine / 20)), Rad(0)), 0.1)
1602
				neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.1)
1603
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
1604
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
1605
		RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.1 * Cos(sine / 2)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(15), Rad(-55)), 0.1)
1606
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.1 * Cos(sine / 2)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(0), Rad(55)), 0.1)
1607
	end
1608
	attack = false
1609
	hum.WalkSpeed = 20
1610
end
1611
1612
function aaa()
1613
	attack = true
1614
	hum.WalkSpeed = 0
1615
	for i = 0,20, 0.1 do
1616
		swait()
1617
		 rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1618
	         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)
1619
		RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
1620
		LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
1621
		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)
1622
		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)
1623
	end
1624
	hum.WalkSpeed = 16
1625
	attack = false
1626
end
1627
1628
function finalChaos()
1629
	attack = true
1630
	spawn(function()
1631
		local p = Instance.new("Part",char)
1632
		p.Anchored = true
1633
		p.CanCollide = false
1634
		p.CFrame = CFrame.new(mouse.Hit.p+Vector3.new(0,100,0))
1635
		local m = Instance.new("SpecialMesh",p)
1636
		m.MeshId = "https://roblox.com/asset/?id=28140935"
1637
		m.Scale = Vector3.new(2,2,2)
1638
		for i=1,30 do
1639
			p.CFrame = p.CFrame-Vector3.new(0,3.3333,0)
1640
			p.CFrame = p.CFrame * CFrame.Angles(0.5,0,0)
1641
			wait()
1642
		end
1643
	local beam = Instance.new("Part",char)
1644
	beam.Anchored = true
1645
	beam.CanCollide = false
1646
	beam.BrickColor = BrickColor.new("White")
1647
	beam.Material = Enum.Material.Neon
1648
	beam.Size = Vector3.new(1,1,1)
1649
	beam.Position = p.Position+Vector3.new(0,1000,0)
1650
	beam.CFrame = beam.CFrame * CFrame.Angles(0,0,89.5354)
1651
	local m = Instance.new("SpecialMesh",beam)
1652
	m.MeshType = "Cylinder"
1653
	m.Scale = Vector3.new(2000,15,15)
1654
	damage(6,20,35,p.Position)
1655
	p.Transparency = 1
1656
	CFuncs.Sound.Create("rbxassetid://440145223", p, 10, 1)
1657
	for i=1,10 do
1658
		m.Scale = m.Scale-Vector3.new(0,1,1)
1659
		beam.Transparency = i / 10
1660
		wait()
1661
	end
1662
	p:Destroy()
1663
	end)
1664
	attack = false
1665
end
1666
1667
function beam()
1668
	attack = true
1669
	hum.WalkSpeed = 0
1670
	local Ring1 = Instance.new("Part", char)
1671
	Ring1.Anchored = true
1672
	Ring1.BrickColor = maincolor
1673
	Ring1.CanCollide = false
1674
	Ring1.FormFactor = 3
1675
	Ring1.Name = "Ring"
1676
	Ring1.Material = "Neon"
1677
	Ring1.Size = Vector3.new(1, 0.05, 1)
1678
	Ring1.Transparency = 1
1679
	Ring1.TopSurface = 0
1680
	Ring1.BottomSurface = 0
1681
	local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
1682
	Ring1Mesh.MeshType = "Brick"
1683
	Ring1Mesh.Name = "SizeMesh"
1684
	Ring1Mesh.Scale = Vector3.new(0, 1, 0)
1685
	local InnerRing1 = Ring1:Clone()
1686
	InnerRing1.Parent = char
1687
	InnerRing1.Transparency = 0
1688
	InnerRing1.BrickColor = BrickColor.new("New Yeller")
1689
	InnerRing1.Size = Vector3.new(1, 1, 1)
1690
	local InnerRing1Mesh = InnerRing1.SizeMesh
1691
	InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
1692
	InnerRing1Mesh.MeshType = "Sphere"
1693
	Ring1:Destroy()
1694
	for i = 0, 6, 0.1 do
1695
		swait()
1696
		--orb.CFrame = Pupil.CFrame
1697
		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")
1698
		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)
1699
		neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1700
		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)
1701
		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)
1702
		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)
1703
		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)
1704
	end
1705
	InnerRing1.Transparency = 1
1706
	InnerRing1.CFrame = Head.CFrame + root.CFrame.lookVector * 5
1707
        Cso("2545012765", char, 10, 1)
1708
	Cso("2606661976", char, 2.3, 1)
1709
	local a = IT("Part", char)
1710
	a.Name = "Direction"
1711
	a.Anchored = true
1712
	a.BrickColor = BrickC("Pastel violet")
1713
	a.Material = "SmoothPlastic"
1714
	a.Transparency = 0
1715
	a.Shape = "Cylinder"
1716
	a.CanCollide = false
1717
	local a2 = IT("Part", char)
1718
	a2.Name = "Direction"
1719
	a2.Anchored = true
1720
	a2.BrickColor = maincolor
1721
	a2.Color = maincolor.Color
1722
	a2.Material = "Neon"
1723
	a2.Transparency = 0.7
1724
	a2.Shape = "Cylinder"
1725
	a2.CanCollide = false
1726
	local ba = IT("Part", char)
1727
	ba.Name = "HitDirect"
1728
	ba.Anchored = true
1729
	ba.BrickColor = maincolor
1730
	ba.Material = "Neon"
1731
	ba.Transparency = 1
1732
	ba.CanCollide = false
1733
	local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
1734
	local ignore = char
1735
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
1736
	a.BottomSurface = 10
1737
	a.TopSurface = 10
1738
	a2.BottomSurface = 10
1739
	a2.TopSurface = 10
1740
	local distance = (InnerRing1.CFrame.p - position).magnitude
1741
	a.Size = Vector3.new(distance, 1, 1)
1742
	a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
1743
	a2.Size = Vector3.new(distance, 1, 1)
1744
	a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
1745
	ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
1746
	a.CFrame = a.CFrame * angles(0, Rad(90), 0)
1747
	a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
1748
	game:GetService("Debris"):AddItem(a, 20)
1749
	game:GetService("Debris"):AddItem(a2, 20)
1750
	game:GetService("Debris"):AddItem(ba, 20)
1751
	local msh = Instance.new("SpecialMesh", a)
1752
	msh.MeshType = "Brick"
1753
	msh.Scale = Vector3.new(1, 5, 5)
1754
	local msh2 = Instance.new("SpecialMesh", a2)
1755
	msh2.MeshType = "Brick"
1756
	msh2.Scale = Vector3.new(1, 7, 7)
1757
	for i = 0, 10, 0.1 do
1758
		swait()
1759
		CameraEnshaking(1, 5)
1760
		a2.Color = maincolor.Color
1761
		root.CFrame = FaceMouse()[1]
1762
		InnerRing1.CFrame = Head.CFrame + root.CFrame.lookVector * 4
1763
		ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
1764
		hit, position, normal = workspace:FindPartOnRay(ray, ignore)
1765
		distance = (InnerRing1.CFrame.p - position).magnitude
1766
		a.Size = Vector3.new(distance, 1, 1)
1767
		a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
1768
		a2.Size = Vector3.new(distance, 1, 1)
1769
		a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
1770
		ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
1771
		a.CFrame = a.CFrame * angles(0, Rad(90), 0)
1772
		a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
1773
		msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05)
1774
		msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03)
1775
		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")
1776
		for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
1777
		if v:FindFirstChild("Head") then
1778
				Eviscerate(v)
1779
			end
1780
		end
1781
	end
1782
	a:Destroy()
1783
	a2:Destroy()
1784
	ba:Destroy()
1785
	InnerRing1:Destroy()
1786
	attack = false
1787
	hum.WalkSpeed = 10
1788
	hum.CameraOffset = Vector3.new(0,0,0)
1789
end
1790
1791
function Call_Upon_The_Eyes()
1792
	attack = true
1793
	hum.WalkSpeed = 0
1794
	for i = 0, 6, 0.1 do
1795
		swait()
1796
		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)
1797
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1798
		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)
1799
		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)
1800
		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)
1801
		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)
1802
	end
1803
	Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
1804
	Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
1805
	Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
1806
	Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
1807
	CameraEnshaking(4, 25)
1808
	for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
1809
		if v:FindFirstChild("Head") then
1810
			Eviscerate(v)
1811
		end
1812
	end
1813
	for i = 0, 6, 0.1 do
1814
		swait()
1815
		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)
1816
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1817
		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)
1818
		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)
1819
		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)
1820
		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)
1821
	end
1822
	attack = false
1823
	hum.WalkSpeed = 10
1824
end
1825
1826
function CHAOS()
1827
	attack = true
1828
	    root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
1829
            Cso("2545012765", hed, 10, 1)
1830
        Effects.Ring.Create(BrickC("Royal purple"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01)
1831
1832
  	Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
1833
  	Effects.Sphere.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
1834
  	Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
1835
1836
	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)
1837
	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)
1838
	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)
1839
	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)
1840
	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)
1841
	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)
1842
	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)
1843
	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)
1844
	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)
1845
	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)
1846
	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)
1847
	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)
1848
 	for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
1849
		if v:FindFirstChild("Head") then
1850
			Eviscerate(v)
1851
		end
1852
	end
1853
	attack = false
1854
end
1855
function Chain2()
1856
	if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1857
	local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1858
	local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1859
	local HEAD = HUM.Parent:FindFirstChild("Head")
1860
	local RIGHTARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightLowerArm")
1861
	local LEFTARM = HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("LeftLowerArm")
1862
	if HEAD and TORSO and HUM.Health > 0 then
1863
	local GYRO = IT("BodyGyro",root)
1864
	GYRO.D = 275
1865
	GYRO.P = 20000
1866
	GYRO.MaxTorque = Vector3.new(0,40000,0)
1867
	attack = true
1868
	hum.WalkSpeed = 0
1869
	local hit,pos,hummie;
1870
	local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
1871
	Hook2.Transparency = 1
1872
	local A2 = NewInstance("Attachment",Hook2)
1873
	local B2 = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
1874
	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})
1875
	for i = 0, 2.3, .1 do
1876
		swait()
1877
		GYRO.cframe = CF(root.Position,TORSO.Position)
1878
		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)
1879
		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)
1880
		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)
1881
		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)
1882
		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)
1883
		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)
1884
	end
1885
	Cso("169105657", ra, 7, 1.2)
1886
	for i = 0, 5, .1 do
1887
		if(hit)then break end
1888
		swait()
1889
		GYRO.cframe = CF(root.Position,TORSO.Position)
1890
		Hook2.CFrame = TORSO.CFrame
1891
		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)
1892
		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)
1893
		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)
1894
		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)
1895
		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)
1896
		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)
1897
	end
1898
	Cso("169105657", ra, 5, .8)
1899
        Cso("2545211765", char, 7, 1) 
1900
	GYRO:remove()
1901
	TORSO:BreakJoints()
1902
	for i = 0, 6, .1 do
1903
		swait()
1904
		Hook2.CFrame = Hook2.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2)
1905
		if(hit)then hit.CFrame = Hook2.CFrame; hit.Velocity = Vector3.new() 
1906
		end
1907
		if((Hook2.CFrame.p-tors.CFrame.p).magnitude < 2)then
1908
			break
1909
		end
1910
		Chain2.TextureLength = 4
1911
		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)
1912
		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)
1913
		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)
1914
		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)
1915
		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)
1916
		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)
1917
	end
1918
		hum.WalkSpeed = 16
1919
		attack = false
1920
		Hook2:Destroy()
1921
		end
1922
	end
1923
end
1924
1925
function dejzrXD()
1926
        attack = true
1927
    hum.WalkSpeed = 20
1928
    for i = 0, 4, 0.1 do
1929
        swait()
1930
        Cso("0", char, 10, 1)
1931
        hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
1932
		                rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1933
				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)
1934
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
1935
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
1936
        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)
1937
        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)
1938
    end
1939
    Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
1940
    Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
1941
    Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
1942
    Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
1943
    CameraEnshaking(4, 5)
1944
    for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
1945
        if v:FindFirstChild("Head") then
1946
            Eviscerate(v)
1947
        end
1948
    end
1949
    for i = 0, 2, 0.1 do
1950
        swait()
1951
        hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
1952
		                rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1953
				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)
1954
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
1955
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
1956
        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)
1957
        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)
1958
    end
1959
	attack = false
1960
	Speed = 20
1961
end
1962
1963
function specialchaos()
1964
        wait(0)
1965
	CHOICE = 6
1966
        Cso("2545018472", hed, 10, 1)
1967
	local killsky = Instance.new('Sky', game:GetService'Lighting')
1968
killsky.SkyboxBk = "rbxassetid://2579814215"
1969
killsky.SkyboxDn = "rbxassetid://1539341292"
1970
killsky.SkyboxFt = "rbxassetid://2579814215"
1971
killsky.SkyboxLf = "rbxassetid://2579814215"
1972
killsky.SkyboxRt = "rbxassetid://2579814215"
1973
killsky.SkyboxUp = "rbxassetid://1539341292"
1974
---
1975
killsky.StarCount = 0
1976
killsky.SunAngularSize = 0
1977
killsky.MoonAngularSize = 0
1978
killsky.MoonTextureId = ""
1979
killsky.CelestialBodiesShown = false
1980
	if HITFLOOR ~= nil then
1981
		ATTACK = false
1982
		Rooted = false
1983
		local RINGSPIN = true
1984
		local CONSTRUCTING = true
1985
		local RING = CreatePart(3, Effects, "Neon", 0, 10, "Royal purple", "Ring", VT(0,0,0))
1986
		RING.Color = C3(0,0,0)
1987
		MakeForm(RING,"Cyl")
1988
		RING.CFrame = CF(HITPOS)
1989
		coroutine.resume(coroutine.create(function()
1990
			repeat
1991
				Swait()
1992
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1993
			until CONSTRUCTING == false
1994
			repeat 
1995
				Swait() 
1996
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1997
			until RINGSPIN == false
1998
			for i = 1, 25 do
1999
				Swait()
2000
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2001
				RING.Size = RING.Size - VT(0.15,0,0.15)
2002
				--DECAL.Transparency = DECAL.Transparency + 1/25
2003
				RING.Transparency = RING.Transparency + 1/25
2004
			end
2005
			RING:remove()
2006
		end))
2007
		for i = 1, 15 do
2008
			Swait()
2009
			RING.Size = RING.Size + VT(0,0,0)
2010
			RING.Transparency = RING.Transparency - 1/15
2011
		end
2012
		end
2013
	hum.WalkSpeed = 20
2014
	attack = false
2015
end
2016
function icando()
2017
	attack = true
2018
	hum.WalkSpeed = 0
2019
        TEST:Remove()
2020
        TEST:Play()
2021
        repeat
2022
	for i = 0,4,0.1 do
2023
		swait()
2024
                TEST.Parent = tors
2025
		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)
2026
		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)
2027
		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)
2028
		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)
2029
		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)
2030
		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)
2031
	end
2032
        until TEST.Playing == false
2033
        TEST:Stop()
2034
        TEST:Play()
2035
        TEST:Remove()
2036
        print('Im..')
2037
       wait(0.1)
2038
        print('The bad guy!')
2039
		attack = false
2040
		hum.WalkSpeed = 20
2041
end
2042
2043
function finalChaos2()
2044
	attack = true
2045
M2.MeshId = "http://www.roblox.com/asset/?id=28140935"
2046
M2.TextureId = "http://www.roblox.com/asset/?id=50252366"
2047
	M2.Scale = Vector3.new(5, 5, 5)
2048
        Cso("2545018472", hed, 10, 1)
2049
	for i = 0, 15, 0.1 do
2050
		swait()
2051
		hum.CameraOffset = Vector3.new(0, 8, 0)
2052
		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)
2053
		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)
2054
		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)
2055
		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)
2056
		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)
2057
		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)
2058
	end
2059
	Cso("483458132", char, 10, .7)
2060
	Cso("483458132", char, 10, 1)
2061
	CameraEnshaking(6, 65)
2062
	Effects.Wave.Create(BrickColor.new("Royal Purple"), 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)
2063
  	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)
2064
  	Effects.Wave.Create(BrickColor.new("Royal Purple"), 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)
2065
	Effects.Ring.Create(BrickColor.new("Really white"), 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)
2066
  	Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
2067
  	Effects.Sphere.Create(BrickColor.new("Really white"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
2068
  	Effects.Sphere.Create(BrickColor.new("Royal Purple"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
2069
	Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Royal Purple"), "Sphere")
2070
	Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Royal Purple"), "Sphere")
2071
	Magic(1, "Add", root.CFrame, Vector3.new(1, 100000, 1), 0.5, BrickColor.new("Really white"), "Sphere")
2072
	Magic(1, "Add", root.CFrame, Vector3.new(1, 1, 1), 0.75, BrickColor.new("Really white"), "Sphere")
2073
	for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 99999999999.5)) do
2074
		if v:FindFirstChild("Head") then
2075
			Eviscerate(v)
2076
		end
2077
	end
2078
	for i = 0, 15, 0.1 do
2079
		swait()
2080
		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)
2081
		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)
2082
		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)
2083
		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)
2084
		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)
2085
		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)
2086
	end
2087
	M2.Scale = Vector3.new(1, 1, 1)
2088
M2.MeshId = "http://www.roblox.com/asset/?id=0"
2089
M2.TextureId = "http://www.roblox.com/asset/?id=0"
2090
	attack = false
2091
end
2092
2093
function DRAG_THEM_TO_HELL()
2094
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2095
	local HUM = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
2096
	local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
2097
	local HEAD = HUM.Parent:FindFirstChild("Head")
2098
	if HEAD and TORSO and HUM.Health > 0 then
2099
	local GYRO = IT("BodyGyro",root)
2100
	GYRO.D = 275
2101
	GYRO.P = 20000
2102
	GYRO.MaxTorque = Vector3.new(0,40000,0)
2103
	attack = true
2104
	hum.WalkSpeed = 0
2105
	local hit,pos,hummie;
2106
	local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
2107
	Hook.Transparency = 1
2108
	local A = NewInstance("Attachment",Hook)
2109
	local B = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
2110
	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})
2111
	local POS = mouse.Hit.p
2112
	local CHAINS = false
2113
	local CHAINLINKS = {}
2114
	local A = IT("Attachment",la)
2115
	A.Position = Vector3.new(1,-1,0)*Player_Size
2116
	A.Orientation = Vector3.new(-90, -89.982, 0)
2117
	local B = IT("Attachment",la)
2118
	B.Position = Vector3.new(-1,-1,0)*Player_Size
2119
	B.Orientation = Vector3.new(-90, 89.988, 0)
2120
	local C = IT("Attachment",la)
2121
	C.Position = Vector3.new(0.5,-1.3,0)*Player_Size
2122
	C.Orientation = Vector3.new(-90, -89.982, 0)
2123
	local D = IT("Attachment",la)
2124
	D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size
2125
	D.Orientation = Vector3.new(-90, 89.988, 0)
2126
	local LIGHT = IT("Attachment",la)
2127
	LIGHT.Position = Vector3.new(0,-1,0)*Player_Size
2128
	local LIGHT2 = IT("PointLight",LIGHT)
2129
	LIGHT2.Range = 7
2130
	LIGHT2.Brightness = 5
2131
	LIGHT2.Color = Color3.new(0,0,0)
2132
	for i = 1, 2 do
2133
		local TWIST = -2
2134
		local START = A
2135
		local END = B
2136
		if i == 1 then
2137
			START = B
2138
			END = A
2139
		end
2140
		local ChainLink = IT("Beam",tors)
2141
		ChainLink.Texture = "rbxassetid://73042633"
2142
		ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138))
2143
		ChainLink.TextureSpeed = 1
2144
		ChainLink.Width0 = 1
2145
		ChainLink.Width1 = 1
2146
		ChainLink.TextureLength = 2.5
2147
		ChainLink.Attachment0 = START
2148
		ChainLink.Attachment1 = END
2149
		ChainLink.CurveSize0 = TWIST
2150
		ChainLink.CurveSize1 = TWIST
2151
		--ChainLink.FaceCamera = true
2152
		ChainLink.Segments = 45
2153
		ChainLink.Transparency = NumberSequence.new(0.25)
2154
		table.insert(CHAINLINKS,ChainLink)
2155
	end
2156
	for i = 1, 2 do
2157
		local TWIST = -1
2158
		local START = C
2159
		local END = D
2160
		if i == 1 then
2161
			START = D
2162
			END = C
2163
		end
2164
		local ChainLink = IT("Beam",tors)
2165
		ChainLink.Texture = "rbxassetid://73042633"
2166
		ChainLink.Color = ColorSequence.new(Color3.fromRGB(138,138,138))
2167
		ChainLink.TextureSpeed = 1
2168
		ChainLink.Width0 = 1
2169
		ChainLink.Width1 = 1
2170
		ChainLink.TextureLength = 5
2171
		ChainLink.Attachment0 = START
2172
		ChainLink.Attachment1 = END
2173
		ChainLink.CurveSize0 = TWIST
2174
		ChainLink.CurveSize1 = TWIST
2175
		--ChainLink.FaceCamera = true
2176
		ChainLink.Segments = 25
2177
		ChainLink.LightEmission = 0.5
2178
		ChainLink.Transparency = NumberSequence.new(0.25)
2179
		table.insert(CHAINLINKS,ChainLink)
2180
	end
2181
	for i = 0, 2.3, .1 do
2182
		swait()
2183
		GYRO.cframe = CF(root.Position,TORSO.Position)
2184
		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)
2185
		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)
2186
		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)
2187
		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)
2188
		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)
2189
		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)
2190
	end
2191
	Cso("169105657", ra, 7, 1.2)
2192
	for i = 0, 4, .1 do
2193
		if(hit)then break end
2194
		swait()
2195
		GYRO.cframe = CF(root.Position,TORSO.Position)
2196
		Hook.CFrame = HEAD.CFrame
2197
		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)
2198
		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)
2199
		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)
2200
		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)
2201
		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)
2202
		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)
2203
	end
2204
	for _,v in next, getRegion(Hook.Position,1,{char}) do
2205
			if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then
2206
				hit = GetTorso(v.Parent);
2207
				hummie = v.Parent:FindFirstChildOfClass'Humanoid';
2208
			break;
2209
		end
2210
	end
2211
	Cso("169105657", ra, 5, .8)
2212
	Cso("131228548", tors, 2, 1.1)
2213
	GYRO:remove()
2214
	for i = 0, 3, .1 do
2215
		swait()
2216
		HUM.PlatformStand = true
2217
		Hook.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2)
2218
		if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new() 
2219
		end
2220
		if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then
2221
			break
2222
		end
2223
		Chain.TextureLength = 4
2224
		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)
2225
		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)
2226
		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)
2227
		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)
2228
		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)
2229
		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)
2230
	end
2231
		hum.WalkSpeed = 16
2232
		attack = false
2233
		Hook:Destroy()
2234
		A:remove()
2235
		B:remove()
2236
		C:remove()
2237
		D:remove()
2238
		end
2239
	end
2240
end
2241
function ultra()
2242
        attack = true
2243
	hum.WalkSpeed = 0
2244
        BTAUNT:Remove()
2245
hed.face.Texture = "rbxassetid://236455674"
2246
local Fire = IT("Sound",Character.Torso)
2247
Fire.SoundId = "rbxassetid://2583816610"
2248
Fire.Looped = true
2249
Fire.Pitch = 1
2250
Fire.Volume = 1
2251
Fire:Play()
2252
BTAUNT:Play()
2253
        BTAUNT:Remove()
2254
        wait(1)
2255
	for i = 0,18,0.1 do
2256
        swait()
2257
		                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0 - 4 * Sin(sine / 20)), Rad(0 + 1 * Cos(sine / 20)), Rad(0)), 0.1)
2258
				neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.1)
2259
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
2260
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
2261
		RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.1 * Cos(sine / 2)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(15), Rad(-55)), 0.1)
2262
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.1 * Cos(sine / 2)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(0), Rad(55)), 0.1)
2263
	end
2264
        wait(1)
2265
	for i = 0,1.2,0.1 do
2266
		swait()
2267
		                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0 - 4 * Sin(sine / 20)), Rad(0 + 1 * Cos(sine / 20)), Rad(0)), 0.1)
2268
				neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.1)
2269
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
2270
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
2271
		RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.1 * Cos(sine / 2)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(15), Rad(-55)), 0.1)
2272
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.1 * Cos(sine / 2)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(0), Rad(55)), 0.1)
2273
	end
2274
	for i = 0,1.2,0.1 do
2275
		swait()
2276
2277
		                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 2)) * angles(Rad(0 - 4 * Sin(sine / 20)), Rad(0 + 1 * Cos(sine / 20)), Rad(0)), 0.1)
2278
				neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.1)
2279
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
2280
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
2281
		RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.1 * Cos(sine / 2)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(15), Rad(-55)), 0.1)
2282
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.1 * Cos(sine / 2)* Player_Size, 0.6* Player_Size) * angles(Rad(-35), Rad(0), Rad(55)), 0.1)
2283
	end
2284
M2.MeshId = "http://www.roblox.com/asset/?id=0"
2285
M2.TextureId = "http://www.roblox.com/asset/?id=0"
2286
        tecks2:Remove()
2287
        Fire:Stop()
2288
        tecks2:Remove()
2289
        BTAUNT3:Play()
2290
local naeeym2 = Instance.new("BillboardGui",char)
2291
naeeym2.AlwaysOnTop = true
2292
naeeym2.Size = UDim2.new(5,35,2,35)
2293
naeeym2.StudsOffset = Vector3.new(0,1,0)
2294
naeeym2.Adornee = hed
2295
naeeym2.Name = "Name"
2296
local tecks2 = Instance.new("TextLabel",naeeym2)
2297
tecks2.BackgroundTransparency = 1
2298
tecks2.TextScaled = true
2299
tecks2.BorderSizePixel = 0
2300
tecks2.Font = "Garamond"
2301
tecks2.TextSize = 30
2302
tecks2.TextStrokeTransparency = 0
2303
tecks2.TextColor3 = BrickColor.new('Really black').Color
2304
tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
2305
tecks2.Size = UDim2.new(1,0,0.5,0)
2306
tecks2.Parent = naeeym2
2307
textfag = tecks2
2308
wait(1)
2309
tecks2.Text = "Lancer"
2310
coroutine.resume(coroutine.create(function()
2311
    while textfag ~= nil do
2312
        swait()
2313
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
2314
        textfag.Rotation = math.random(-3,3)
2315
    end
2316
end))
2317
hed.face.Texture = "rbxassetid://236455674"
2318
-------------------
2319
    Spawn(function()
2320
        while Equipped and Humanoid.Parent and Torso.Parent do
2321
            if Angle == 360 then
2322
                Angle = 0
2323
            end
2324
            Angle = Angle + 0.05
2325
            local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
2326
            if Hit then
2327
                if not Circle.Parent then
2328
                    Circle.Parent = Character
2329
                end
2330
                for i, v in pairs(CircleParts) do
2331
                    v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
2332
                end
2333
            else
2334
                Circle.Parent = nil
2335
            end
2336
            wait()
2337
        end
2338
    end)
2339
	attack = false
2340
	hum.WalkSpeed = 75
2341
end
2342
-------------------------------------------------------
2343
--End Attacks N Stuff--
2344
-------------------------------------------------------
2345
mouse.KeyDown:connect(function(key)
2346
	if attack == false then
2347
		if key == "t" then
2348
                      dance()
2349
		elseif key == 'y' then
2350
			aaa()
2351
		elseif key == "p" then
2352
						finalChaos()
2353
                elseif key == "z" then
2354
                                            dejzrXD()
2355
                elseif key == "u" then
2356
                                           icando()
2357
                elseif key == "c" then
2358
                                           DRAG_THEM_TO_HELL()
2359
                elseif key == "f" then
2360
                                           ultra()
2361
                elseif key == "q" then
2362
                                           slaptime()
2363
 		end
2364
	end
2365
end)
2366
2367
function Part(parent,color,material,size,cframe,anchored,cancollide)
2368
	local part = Instance.new("Part")
2369
	part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0)
2370
	part.Material = material or Enum.Material.SmoothPlastic
2371
	part.TopSurface,part.BottomSurface=10,10
2372
	part.Size = size or Vector3.new(1,1,1)
2373
	part.CFrame = cframe or CF(0,0,0)
2374
	part.Anchored = anchored or true
2375
	part.CanCollide = cancollide or false
2376
	part.Parent = parent or char
2377
	return part
2378
end
2379
2380
NewInstance = function(instance,parent,properties)
2381
	local inst = Instance.new(instance)
2382
	inst.Parent = parent
2383
	if(properties)then
2384
		for i,v in next, properties do
2385
			pcall(function() inst[i] = v end)
2386
		end
2387
	end
2388
	return inst;
2389
end
2390
-------------------------------------------------------
2391
--Start Damage Function--
2392
-------------------------------------------------------
2393
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
2394
local type = type
2395
local rng = Instance.new("Part", char)
2396
        rng.Anchored = true
2397
        rng.BrickColor = color
2398
        rng.CanCollide = false
2399
        rng.FormFactor = 3
2400
        rng.Name = "Ring"
2401
        rng.Material = "Neon"
2402
        rng.Size = Vector3.new(1, 1, 1)
2403
        rng.Transparency = 0
2404
        rng.TopSurface = 0
2405
        rng.BottomSurface = 0
2406
        rng.CFrame = pos
2407
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2408
        local rngm = Instance.new("SpecialMesh", rng)
2409
        rngm.MeshType = "Brick"
2410
if rainbowmode == true then
2411
rng.Color = Color3.new(r/255,g/255,b/255)
2412
end
2413
local scaler2 = 1
2414
local speeder = FastSpeed/10
2415
if type == "Add" then
2416
scaler2 = 1*value
2417
elseif type == "Divide" then
2418
scaler2 = 1/value
2419
end
2420
coroutine.resume(coroutine.create(function()
2421
for i = 0,10/bonuspeed,0.1 do
2422
swait()
2423
if type == "Add" then
2424
scaler2 = scaler2 - 0.01*value/bonuspeed
2425
elseif type == "Divide" then
2426
scaler2 = scaler2 - 0.01/value*bonuspeed
2427
end
2428
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
2429
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2430
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2431
end
2432
rng:Destroy()
2433
end))
2434
end
2435
2436
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
2437
	if hit.Parent == nil then
2438
		return
2439
	end
2440
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
2441
	for _, v in pairs(hit.Parent:children()) do
2442
		if v:IsA("Humanoid") then
2443
			h = v
2444
		end
2445
	end
2446
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
2447
	
2448
         hit.Parent:FindFirstChild("Head"):BreakJoints()
2449
         end
2450
2451
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
2452
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
2453
			if hit.Parent.DebounceHit.Value == true then
2454
				return
2455
			end
2456
		end
2457
         if insta == true then
2458
         hit.Parent:FindFirstChild("Head"):BreakJoints()
2459
         end
2460
		local c = Create("ObjectValue"){
2461
			Name = "creator",
2462
			Value = game:service("Players").LocalPlayer,
2463
			Parent = h,
2464
		}
2465
		game:GetService("Debris"):AddItem(c, .5)
2466
		if HitSound ~= nil and HitPitch ~= nil then
2467
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
2468
		end
2469
		local Damage = math.random(minim, maxim)
2470
		local blocked = false
2471
		local block = hit.Parent:findFirstChild("Block")
2472
		if block ~= nil then
2473
			if block.className == "IntValue" then
2474
				if block.Value > 0 then
2475
					blocked = true
2476
					block.Value = block.Value - 1
2477
					print(block.Value)
2478
				end
2479
			end
2480
		end
2481
		if blocked == false then
2482
			h.Health = h.Health - Damage
2483
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
2484
		else
2485
			h.Health = h.Health - (Damage / 2)
2486
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
2487
		end
2488
		if Type == "Knockdown" then
2489
			local hum = hit.Parent.Humanoid
2490
			hum.PlatformStand = true
2491
			coroutine.resume(coroutine.create(function(HHumanoid)
2492
				swait(1)
2493
				HHumanoid.PlatformStand = false
2494
			end), hum)
2495
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
2496
			local bodvol = Create("BodyVelocity"){
2497
				velocity = angle * knockback,
2498
				P = 5000,
2499
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
2500
				Parent = hit,
2501
			}
2502
			local rl = Create("BodyAngularVelocity"){
2503
				P = 3000,
2504
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
2505
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
2506
				Parent = hit,
2507
			}
2508
			game:GetService("Debris"):AddItem(bodvol, .5)
2509
			game:GetService("Debris"):AddItem(rl, .5)
2510
		elseif Type == "Normal" then
2511
			local vp = Create("BodyVelocity"){
2512
				P = 500,
2513
				maxForce = Vector3.new(math.huge, 0, math.huge),
2514
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
2515
			}
2516
			if knockback > 0 then
2517
				vp.Parent = hit.Parent.Torso
2518
			end
2519
			game:GetService("Debris"):AddItem(vp, .5)
2520
		elseif Type == "Up" then
2521
			local bodyVelocity = Create("BodyVelocity"){
2522
				velocity = Vector3.new(0, 20, 0),
2523
				P = 5000,
2524
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
2525
				Parent = hit,
2526
			}
2527
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
2528
		elseif Type == "DarkUp" then
2529
			coroutine.resume(coroutine.create(function()
2530
				for i = 0, 1, 0.1 do
2531
					swait()
2532
					Effects.Block.Create(BrickColor.new("Royal purple"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
2533
				end
2534
			end))
2535
			local bodyVelocity = Create("BodyVelocity"){
2536
				velocity = Vector3.new(0, 20, 0),
2537
				P = 5000,
2538
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
2539
				Parent = hit,
2540
			}
2541
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
2542
		elseif Type == "Snare" then
2543
			local bp = Create("BodyPosition"){
2544
				P = 2000,
2545
				D = 100,
2546
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
2547
				position = hit.Parent.Torso.Position,
2548
				Parent = hit.Parent.Torso,
2549
			}
2550
			game:GetService("Debris"):AddItem(bp, 1)
2551
		elseif Type == "Freeze" then
2552
			local BodPos = Create("BodyPosition"){
2553
				P = 50000,
2554
				D = 1000,
2555
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
2556
				position = hit.Parent.Torso.Position,
2557
				Parent = hit.Parent.Torso,
2558
			}
2559
			local BodGy = Create("BodyGyro") {
2560
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
2561
				P = 20e+003,
2562
				Parent = hit.Parent.Torso,
2563
				cframe = hit.Parent.Torso.CFrame,
2564
			}
2565
			hit.Parent.Torso.Anchored = true
2566
			coroutine.resume(coroutine.create(function(Part) 
2567
				swait(1.5)
2568
				Part.Anchored = false
2569
			end), hit.Parent.Torso)
2570
			game:GetService("Debris"):AddItem(BodPos, 3)
2571
			game:GetService("Debris"):AddItem(BodGy, 3)
2572
		end
2573
		local debounce = Create("BoolValue"){
2574
			Name = "DebounceHit",
2575
			Parent = hit.Parent,
2576
			Value = true,
2577
		}
2578
		game:GetService("Debris"):AddItem(debounce, Delay)
2579
		c = Create("ObjectValue"){
2580
			Name = "creator",
2581
			Value = Player,
2582
			Parent = h,
2583
		}
2584
		game:GetService("Debris"):AddItem(c, .5)
2585
	end
2586
end
2587
2588
function damage(range,mindam,maxdam,pos)
2589
	for i,v in ipairs(workspace:GetChildren()) do
2590
		if v:IsA("Model") then
2591
			if v.Name ~= Player.Name then
2592
				if v:FindFirstChildOfClass("Humanoid") then
2593
					if v:FindFirstChild("Head") then
2594
						if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then
2595
							if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else
2596
								v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam)
2597
							end
2598
						end
2599
					end
2600
				end
2601
			end
2602
		end
2603
	end
2604
end
2605
-------------------------------------------------------
2606
--End Damage Function--
2607
-------------------------------------------------------
2608
2609
-------------------------------------------------------
2610
--Start Animations--
2611
-------------------------------------------------------
2612
print("By Makhail07")
2613
while true do
2614
	swait()
2615
	sine = sine + change
2616
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
2617
	local velderp = root.Velocity.y
2618
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
2619
	if equipped == true or equipped == false then
2620
		if attack == false then
2621
			idle = idle + 1
2622
		else
2623
			idle = 0
2624
		end
2625
		if 1 < root.Velocity.y and hitfloor == nil then
2626
			Anim = "Jump"
2627
			if attack == false then
2628
		                rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2629
				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)
2630
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
2631
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
2632
                                RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(109))
2633
				LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(-25))
2634
			end
2635
		elseif -1 > root.Velocity.y and hitfloor == nil then
2636
			Anim = "Fall"
2637
			if attack == false then
2638
		                rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2639
				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)
2640
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
2641
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
2642
                                RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(109))
2643
				LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(-25))
2644
			end
2645
		elseif torvel < 1 and hitfloor ~= nil then
2646
			Anim = "Idle"
2647
			change = 1
2648
 			if attack == false then
2649
		                rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2650
				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)
2651
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
2652
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
2653
                                RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(109))
2654
				LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(-25))
2655
			end
2656
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
2657
			Anim = "Walk"
2658
			change = 1
2659
			if attack == false then
2660
                                hum.WalkSpeed = 25
2661
		                rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2662
				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)
2663
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
2664
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
2665
                                RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(109))
2666
				LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(-25))
2667
			end
2668
		elseif torvel >= 25 and hitfloor ~= nil then
2669
			Anim = "Sprint"
2670
			change = 1.35
2671
			if attack == false then
2672
		                rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
2673
				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)
2674
				RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(1), Rad(25), Rad(0))
2675
				LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(-8), Rad(25))
2676
                                RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(109))
2677
				LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(-25))
2678
			end
2679
		end
2680
	end
2681
	if 0 < #Effects then
2682
		for e = 1, #Effects do
2683
			if Effects[e] ~= nil then
2684
				local Thing = Effects[e]
2685
				if Thing ~= nil then
2686
					local Part = Thing[1]
2687
					local Mode = Thing[2]
2688
					local Delay = Thing[3]
2689
					local IncX = Thing[4]
2690
					local IncY = Thing[5]
2691
					local IncZ = Thing[6]
2692
					if 1 >= Thing[1].Transparency then
2693
						if Thing[2] == "Block1" then
2694
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2695
							local Mesh = Thing[1].Mesh
2696
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2697
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2698
						elseif Thing[2] == "Block2" then
2699
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
2700
							local Mesh = Thing[7]
2701
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2702
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2703
						elseif Thing[2] == "Block3" then
2704
							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)
2705
							local Mesh = Thing[7]
2706
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2707
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2708
						elseif Thing[2] == "Cylinder" then
2709
							local Mesh = Thing[1].Mesh
2710
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2711
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2712
						elseif Thing[2] == "Blood" then
2713
							local Mesh = Thing[7]
2714
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
2715
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2716
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2717
						elseif Thing[2] == "Elec" then
2718
							local Mesh = Thing[1].Mesh
2719
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
2720
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2721
						elseif Thing[2] == "Disappear" then
2722
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2723
						elseif Thing[2] == "Shatter" then
2724
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2725
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
2726
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
2727
							Thing[6] = Thing[6] + Thing[5]
2728
						end
2729
					else
2730
						Part.Parent = nil
2731
						table.remove(Effects, e)
2732
					end
2733
				end
2734
			end
2735
		end
2736
	end
2737
end
2738
-------------------------------------------------------
2739
--End Animations And Script--
2740
------------------------------------------------------