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