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