View difference between Paste ID: P5zyZMed and tv2xnbHN
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=7074786"
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://173789324"
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=879189331"
1288+
BTAUNT.SoundId = "http://www.roblox.com/asset/?id=222585134"
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=157016540"
1295+
BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=2553966123"
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=2544975373"
1302+
TEST.SoundId = "http://www.roblox.com/asset/?id=525166232"
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 Blobby = Instance.new("Part", char)
1410
Blobby.Name = "Blob"
1411
Blobby.CanCollide = false
1412
Blobby.BrickColor = BrickColor.new("Really black")
1413
Blobby.Transparency = 0
1414
Blobby.Material = "Plastic"
1415
Blobby.Size = Vector3.new(1, 1, 2)
1416
Blobby.TopSurface = Enum.SurfaceType.Smooth
1417
Blobby.BottomSurface = Enum.SurfaceType.Smooth
1418
1419
local Weld = Instance.new("Weld", Blobby)
1420
Weld.Part0 = ra
1421
Weld.Part1 = Blobby
1422
Weld.C1 = CFrame.new(0, 0.8, 0)
1423
Weld.C0 = CFrame.Angles(Rad(-180),0,135)
1424
1425
local M2 = Instance.new("SpecialMesh")
1426
M2.Parent = Blobby
1427
M2.MeshId = "rbxassetid://28140935"
1428
M2.TextureId = "rbxassetid://26884682"
1429
M2.Scale = Vector3.new(1, 0.8, 1)
1430
1431
--[[local naeeym2 = Instance.new("BillboardGui",char)
1432
naeeym2.AlwaysOnTop = true
1433
naeeym2.Size = UDim2.new(5,35,2,15)
1434
naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
1435
naeeym2.Adornee = hed
1436
naeeym2.Name = "Name"
1437
--naeeym2.PlayerToHideFrom = Player
1438
local tecks2 = Instance.new("TextLabel",naeeym2)
1439
tecks2.BackgroundTransparency = 1
1440
tecks2.TextScaled = true
1441
tecks2.BorderSizePixel = 0
1442
tecks2.Text = "Fight Me"
1443
tecks2.Font = Enum.Font.Bodoni
1444
tecks2.TextSize = 30
1445
tecks2.TextStrokeTransparency = 0
1446
tecks2.TextColor3 = Color3.new(0, 0, 0)
1447
tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
1448
tecks2.Size = UDim2.new(1,0,0.5,0)
1449
tecks2.Parent = naeeym2]]
1450
----------------------------------------------------------------------------------
1451
local AddInstance = function(Object, ...)
1452
local Obj = Instance.new(Object)
1453
for i,v in next,(...) do
1454
Obj[i] = v
1455
end
1456
return Obj
1457
end
1458
----------------------------------------------------
1459
		local Reaper = AddInstance("Part",{
1460
			Parent = hed,
1461
			CFrame = hed.CFrame,
1462
			formFactor = "Symmetric",
1463
			Size = Vector3.new(1, 1, 1),
1464
			CanCollide = false,
1465
			TopSurface = "Smooth",
1466
			BottomSurface = "Smooth",
1467
			Locked = true,
1468
		})
1469
		local Weld = AddInstance("Weld",{
1470
			Parent = Reaper,
1471
			Part0 = hed,
1472
			C0 = CFrame.new(0, 0.8, 0.4)*CFrame.Angles(0, 0, 0),
1473
			Part1 = Reaper,
1474
		})
1475
		local Mesh = AddInstance("SpecialMesh",{
1476
			Parent = Reaper,
1477
			MeshId = "rbxassetid://193760002",
1478
			TextureId = "rbxassetid://89867215",
1479
			Scale = Vector3.new(1.1, 1.1, 1.1),
1480
			VertexColor = Vector3.new(0.5, 0.5, 0.5),
1481
		})
1482
-------------------------------------------------------
1483
wait(1)
1484
plr = game.Players.LocalPlayer
1485
char = plr.Character
1486
mouse = plr:GetMouse()
1487
whitecolor = Color3.new(1,1,1)
1488
epicmode = false
1489
normal = true
1490
for i,v in pairs(char:GetChildren()) do
1491
   if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
1492
      v:Destroy()
1493
     end
1494
end
1495
local shirt = Instance.new("Shirt",char)
1496
shirt.ShirtTemplate = "rbxassetid://2544612637"
1497
local pants = Instance.new("Pants",char)
1498
pants.PantsTemplate = "rbxassetid://2544611861"
1499
local bdycolors = char["Body Colors"]
1500
bdycolors.HeadColor3 = whitecolor
1501
bdycolors.LeftArmColor3 = whitecolor
1502
bdycolors.LeftLegColor3 = whitecolor
1503
bdycolors.RightArmColor3 = whitecolor
1504
bdycolors.RightLegColor3 = whitecolor
1505
bdycolors.TorsoColor3 = whitecolor
1506
for i,v in pairs(char:GetChildren()) do
1507
    if v.ClassName == "Hat" or v.ClassName == "Accessory" then
1508
        v:Destroy()
1509
    end
1510
end
1511
1512
-------------------------------------------------------
1513
--Start Attacks N Stuff--
1514
-------------------------------------------------------
1515
local naeeym2 = Instance.new("BillboardGui",char)
1516
naeeym2.AlwaysOnTop = true
1517
naeeym2.Size = UDim2.new(5,35,2,35)
1518
naeeym2.StudsOffset = Vector3.new(0,2,0)
1519
naeeym2.Adornee = hed
1520
naeeym2.Name = "Name"
1521
1522
local tecks2 = Instance.new("TextLabel",naeeym2)
1523
tecks2.BackgroundTransparency = 1
1524
tecks2.TextScaled = true
1525
tecks2.BorderSizePixel = 0
1526
tecks2.Text = "Madness jester"
1527
tecks2.Font = "Fantasy"
1528
tecks2.TextSize = 50
1529
tecks2.TextStrokeTransparency = 0
1530
tecks2.TextColor3 = BrickColor.new('Really red').Color
1531
tecks2.TextStrokeColor3 = BrickColor.new('Really red').Color
1532
tecks2.Size = UDim2.new(1,0,0.5,0)
1533
tecks2.Parent = naeeym2
1534
textfag = tecks2
1535
tecks2.Text = "Jester"
1536
BTAUNT:Play()
1537
coroutine.resume(coroutine.create(function()
1538
    while textfag ~= nil do
1539
        swait()
1540
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
1541
        textfag.Rotation = math.random(-3,3)
1542
    end
1543
end))
1544
1545
function get_out()
1546
        BTAUNT:Stop()
1547
	attack = true
1548
        BTAUNT3:Remove()
1549
        BTAUNT3:Play()
1550
        repeat
1551
	hum.WalkSpeed = 10
1552
	for i = 0,0.37,0.03 do 
1553
                swait()
1554
                BTAUNT3.Parent = tors
1555
                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)
1556
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1557
                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)
1558
                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)
1559
                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)
1560
                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)	
1561
             end
1562
        for i = 0,0.37,0.03 do
1563
                swait()
1564
                BTAUNT3.Parent = tors
1565
                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)
1566
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1567
                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)
1568
                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)
1569
                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)
1570
                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)	
1571
             end
1572
        until BTAUNT3.Playing == false
1573
        BTAUNT3:Stop()
1574
        BTAUNT3:Play()
1575
        BTAUNT3:Remove()
1576
        BTAUNT:Play()
1577
	attack = false
1578
	hum.WalkSpeed = 20
1579
        BTAUNT:Play()
1580
end
1581
function Taunt2()
1582
	attack = true
1583
	hum.WalkSpeed = 0
1584
	CFuncs.Sound.Create("rbxassetid://2545008459", head, 100, 1)
1585
	for i = 0, 2, 0.1 do
1586
		swait()
1587
		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)
1588
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1589
		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)
1590
		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)
1591
		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)
1592
		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)
1593
	end
1594
	for i = 0, 6, 0.1 do
1595
		swait()
1596
		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)
1597
		neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15)
1598
		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)
1599
		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)
1600
		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)
1601
		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)
1602
	end
1603
	for i = 0, 2, 0.1 do
1604
		swait()
1605
		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)
1606
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1607
		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)
1608
		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)
1609
		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)
1610
		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)
1611
	end
1612
	attack = false
1613
	hum.WalkSpeed = 20
1614
end
1615
function icando()
1616
print('>:3')
1617
	attack = true
1618
	hum.WalkSpeed = 0
1619
        TEST:Remove()
1620
        TEST:Play()
1621
        repeat
1622
	for i = 0,4,0.1 do
1623
		swait()
1624
                TEST.Parent = tors
1625
		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)
1626
		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)
1627
		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)
1628
		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)
1629
		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)
1630
		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)
1631
	end
1632
        until TEST.Playing == false
1633
        TEST:Stop()
1634
        TEST:Play()
1635
        TEST:Remove()
1636
        print('YOU CANT STOP ME')
1637
		attack = false
1638
		hum.WalkSpeed = 99
1639
end
1640
function Blood_ball()
1641
	local orb = Instance.new("Part", char)
1642
	orb.Anchored = true
1643
	orb.BrickColor = BrickC("Deep orange")
1644
	orb.CanCollide = false
1645
	orb.FormFactor = 3
1646
	orb.Name = "Ring"
1647
	orb.Material = "Neon"
1648
	orb.Size = Vector3.new(1, 1, 1)
1649
	orb.Transparency = 0
1650
	orb.TopSurface = 0
1651
	orb.BottomSurface = 0
1652
	local orbm = Instance.new("SpecialMesh", orb)
1653
	orbm.MeshType = "Sphere"
1654
	orbm.Name = "SizeMesh"
1655
	orbm.Scale = Vector3.new(0, 0, 0)
1656
	local scaled = 0.1
1657
	local posid = 0
1658
	for i = 0, 109, 0.1 do
1659
		swait()
1660
		scaled = scaled + 0.001
1661
		posid = posid - scaled
1662
		orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
1663
		orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
1664
                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)
1665
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1666
		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)
1667
		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)
1668
		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)
1669
		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)
1670
	end
1671
	coroutine.resume(coroutine.create(function()
1672
		orb.Anchored = false
1673
		--CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
1674
		mes("CALAMITY ORB COMING IN EVERYTHING WILL BE DESTROYED",0.05)
1675
		local a = Instance.new("Part", workspace)
1676
		a.Name = "Direction"
1677
		a.Anchored = true
1678
		a.BrickColor = BrickC("Crimson")
1679
		a.Material = "Neon"
1680
		a.Transparency = 1
1681
		a.CanCollide = false
1682
		local ray = Ray.new(orb.CFrame.p, (root.CFrame.lookVector - orb.CFrame.p).unit * 500)
1683
		local ignore = orb
1684
		local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
1685
		a.BottomSurface = 10
1686
		a.TopSurface = 10
1687
		local distance = (orb.CFrame.p - position).magnitude
1688
		a.Size = Vector3.new(0.1, 0.1, 0.1)
1689
		a.CFrame = CF(orb.CFrame.p, position) * CF(0, 0, 0)
1690
		orb.CFrame = a.CFrame
1691
		a:Destroy()
1692
		local bv = Instance.new("BodyVelocity")
1693
		bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1694
		bv.velocity = orb.CFrame.lookVector * 125
1695
		bv.Parent = orb
1696
		local hitted = false
1697
		game:GetService("Debris"):AddItem(orb, 15)
1698
		wait()
1699
		local hit = orb.Touched:connect(function(hit)
1700
			if hitted == false then
1701
				hitted = true
1702
				coroutine.resume(coroutine.create(function() 
1703
		for i = 0,1.8,0.1 do
1704
			swait()
1705
			hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
1706
		end
1707
		for i = 0,1.8,0.1 do
1708
			swait()
1709
		hum.CameraOffset = Vector3.new(0,0,0)
1710
		end
1711
	end))
1712
				CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
1713
					for i, v in pairs(FindNearestHead(orb.CFrame.p, 50000)) do
1714
		if v:FindFirstChild("Head") then
1715
			Eviscerate(v)
1716
		end
1717
	end
1718
				Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Deep orange"), "Sphere")
1719
				Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really red"), "Sphere")
1720
				for i = 0, 9 do
1721
					--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")
1722
					--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")
1723
				end
1724
				orb.Anchored = true
1725
				orb.Transparency = 1
1726
				wait(8)
1727
				orb:Destroy()
1728
			end
1729
		end)
1730
	end))
1731
	for i = 0, 2, 0.1 do
1732
		swait()
1733
                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)
1734
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1735
		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)
1736
		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)
1737
		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)
1738
		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)
1739
	end
1740
	attack = false
1741
end
1742
function Blood_ball()
1743
	attack = true
1744
	local orb = Instance.new("Part", char)
1745
	orb.Anchored = true
1746
	orb.BrickColor = BrickC("Really black")
1747
	orb.CanCollide = false
1748
	orb.FormFactor = 3
1749
	orb.Name = "Ring"
1750
	orb.Material = "Neon"
1751
	orb.Size = Vector3.new(1, 1, 1)
1752
	orb.Transparency = 0
1753
	orb.TopSurface = 0
1754
	orb.BottomSurface = 0
1755
	local orbm = Instance.new("SpecialMesh", orb)
1756
	orbm.MeshType = "Sphere"
1757
	orbm.Name = "SizeMesh"
1758
	orbm.Scale = Vector3.new(0, 0, 0)
1759
	local scaled = 0.1
1760
	local posid = 0
1761
	for i = 0, 12, 0.1 do
1762
		swait()
1763
		scaled = scaled + 0.001
1764
		posid = posid - scaled
1765
		orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
1766
		orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
1767
	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)
1768
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1769
				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)
1770
				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)
1771
		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)
1772
		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)
1773
	end
1774
	coroutine.resume(coroutine.create(function()
1775
		orb.Anchored = false
1776
		local a = Instance.new("Part", workspace)
1777
		a.Name = "Direction"
1778
		a.Anchored = true
1779
		a.BrickColor = BrickC("Really red")
1780
		a.Material = "Neon"
1781
		a.Transparency = 1
1782
		a.CanCollide = false
1783
		local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
1784
		local ignore = orb
1785
		local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
1786
		a.BottomSurface = 10
1787
		a.TopSurface = 10
1788
		local distance = (orb.CFrame.p - position).magnitude
1789
		a.Size = Vector3.new(0.1, 0.1, 0.1)
1790
		a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
1791
		orb.CFrame = a.CFrame
1792
		a:Destroy()
1793
		local bv = Instance.new("BodyVelocity")
1794
		bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1795
		bv.velocity = orb.CFrame.lookVector * 125
1796
		bv.Parent = orb
1797
		local hitted = false
1798
		game:GetService("Debris"):AddItem(orb, 15)
1799
		swait()
1800
		local hit = orb.Touched:connect(function(hit)
1801
			if hitted == false then
1802
				hitted = true
1803
				CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
1804
				for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do
1805
					if v:FindFirstChild("Head") then
1806
						Eviscerate(v)
1807
					end
1808
				end
1809
				Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Deep orange"), "Sphere")
1810
				Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Deep orange"), "Sphere")
1811
				for i = 0, 9 do
1812
					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")
1813
					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")
1814
				end
1815
				orb.Anchored = true
1816
				orb.Transparency = 1
1817
				wait(8)
1818
				orb:Destroy()
1819
			end
1820
		end)
1821
	end))
1822
	for i = 0, 1, 0.1 do
1823
		swait()
1824
		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)
1825
		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)
1826
		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)
1827
		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)
1828
		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)
1829
		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)
1830
	end
1831
	attack = false
1832
end
1833
function blast()
1834
	attack = true
1835
	hum.WalkSpeed = 0
1836
	for i = 0,1.2,0.1 do
1837
		swait()
1838
		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)
1839
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1840
		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)
1841
		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)
1842
		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)
1843
		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)
1844
	end
1845
		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")
1846
		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")
1847
        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)
1848
		Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
1849
		Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really black"), "Sphere")
1850
		Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really red"), "Sphere")
1851
		Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Really red"), "Sphere")
1852
1853
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
1854
		if v:FindFirstChild("Head") then
1855
			Eviscerate(v)
1856
		end
1857
	end
1858
1859
	for i = 1,4.7,0.1 do
1860
	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)
1861
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
1862
	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)
1863
	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)
1864
	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)
1865
	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)
1866
	end
1867
	 wait(.6)
1868
		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")
1869
		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")
1870
        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)
1871
		Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
1872
		Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Deep orange"), "Sphere")
1873
		Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really red"), "Sphere")
1874
		Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01,BrickColor.new("Deep orange"), "Sphere")
1875
1876
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
1877
		if v:FindFirstChild("Head") then
1878
			Eviscerate(v)
1879
		end
1880
	end
1881
1882
	for i = 1,4.7,0.1 do
1883
	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)
1884
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
1885
	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)
1886
	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)
1887
	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)
1888
	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)
1889
	end
1890
      wait(.6)
1891
		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")
1892
		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")
1893
        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)
1894
		Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
1895
		Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really black"), "Sphere")
1896
		Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really black"), "Sphere")
1897
		Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Really red"), "Sphere")
1898
1899
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
1900
		if v:FindFirstChild("Head") then
1901
			Eviscerate(v)
1902
		end
1903
	end
1904
1905
	for i = 1,4.7,0.1 do
1906
	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)
1907
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
1908
	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)
1909
	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)
1910
	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)
1911
	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)
1912
	end
1913
	 wait(.6)
1914
		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")
1915
		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")
1916
        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)
1917
		Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
1918
		Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Navy blue"), "Sphere")
1919
		Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Lime green"), "Sphere")
1920
		Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Deep orange"), "Sphere")
1921
1922
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
1923
		if v:FindFirstChild("Head") then
1924
			Eviscerate(v)
1925
		end
1926
	end
1927
1928
	for i = 1,4.7,0.1 do
1929
	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)
1930
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
1931
	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)
1932
	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)
1933
	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)
1934
	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)
1935
	end
1936
      wait(.6)
1937
	attack = false
1938
	hum.WalkSpeed = 8
1939
end
1940
function dejzrXD()
1941
        attack = true
1942
    hum.WalkSpeed = 20
1943
    for i = 0, 4, 0.1 do
1944
        swait()
1945
        Cso("2545012765", char, 10, 1)
1946
        hum.CameraOffset = Vector3.new(0, -0.1 + 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(-10), 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(125), 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
    Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
1955
    Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
1956
    Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
1957
    Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
1958
    CameraEnshaking(4, 5)
1959
    for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
1960
        if v:FindFirstChild("Head") then
1961
            Eviscerate(v)
1962
        end
1963
    end
1964
    for i = 0, 2, 0.1 do
1965
        swait()
1966
        hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
1967
        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)
1968
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
1969
        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)
1970
        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)
1971
        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)
1972
        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)
1973
    end
1974
	attack = false
1975
	Speed = 20
1976
end
1977
1978
function Attack()
1979
	attack = true
1980
	for i = 0, 2.6, 0.1 do
1981
		swait()
1982
		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)
1983
		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)
1984
		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)
1985
		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)
1986
		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)
1987
		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)
1988
	end
1989
	Cso("2545012765", tors, 10, 1)
1990
	CameraEnshaking(2, 15)
1991
	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)
1992
  	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)
1993
  	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)
1994
 	for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
1995
		if v:FindFirstChild("Head") then
1996
			Eviscerate(v)
1997
		end
1998
	end
1999
	for i = 0, 3, 0.1 do
2000
		swait()
2001
		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)
2002
		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)
2003
		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)
2004
		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)
2005
		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)
2006
		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)
2007
	end
2008
	attack = false
2009
end
2010
function Orb_Strike()
2011
	attack = true
2012
    	Cso("2545012765", char, 7, 0.8)
2013
    	for i = 0, 9 do
2014
			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")
2015
			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")
2016
		end
2017
		Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
2018
		Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
2019
		Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
2020
		Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
2021
	for i, v in pairs(FindNearestHead(Mouse.Hit.p, 14.5)) do
2022
		if v:FindFirstChild("Head") then
2023
			Eviscerate(v)
2024
		end
2025
	end
2026
	attack = false
2027
	hum.WalkSpeed = 20
2028
end
2029
-------------------------------------------------------
2030
--End Attacks N Stuff--
2031
-------------------------------------------------------
2032
mouse.KeyDown:connect(function(key)
2033
	if attack == false then
2034
		if key == 'e' then
2035
                       icando()
2036
		elseif key == 'c' then
2037
                       Blood_ball()
2038
		elseif key == "x" then
2039
                        blast()
2040
        elseif key == "y" then
2041
                        Taunt2()
2042
        elseif key == 'h' then
2043
                   Orb_Strike()
2044
		elseif key == "z" then
2045
                        dejzrXD()
2046
 		end
2047
	end
2048
end)
2049
2050
mouse.Button1Down:connect(function(key)
2051
	if attack == false then
2052
		Attack()
2053
	end
2054
end)
2055
2056
2057
2058
-------------------------------------------------------
2059
--Start Animations--
2060
-------------------------------------------------------
2061
print("By Makhail07")
2062
while true do
2063
	swait()
2064
	sine = sine + change
2065
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
2066
	local velderp = root.Velocity.y
2067
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
2068
	if equipped == true or equipped == false then
2069
		if attack == false then
2070
			idle = idle + 1
2071
		else
2072
			idle = 0
2073
		end
2074
		if 1 < root.Velocity.y and hitfloor == nil then
2075
			Anim = "Jump"
2076
			if attack == false then
2077
				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)
2078
				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)
2079
				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)
2080
				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)
2081
				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)
2082
				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)
2083
			end
2084
		elseif -1 > root.Velocity.y and hitfloor == nil then
2085
			Anim = "Fall"
2086
			if attack == false then
2087
				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)
2088
				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)
2089
				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)
2090
				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)
2091
				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)
2092
				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)
2093
			end
2094
		elseif torvel < 1 and hitfloor ~= nil then
2095
			Anim = "Idle"
2096
			change = 1
2097
			if attack == false then
2098
				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)
2099
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
2100
                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)
2101
                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)
2102
				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)
2103
				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)
2104
			end
2105
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
2106
			Anim = "Walk"
2107
			change = 1
2108
			if attack == false then
2109
				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)
2110
				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)
2111
				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)
2112
         		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)
2113
					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)
2114
				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)
2115
			end
2116
		elseif torvel >= 25 and hitfloor ~= nil then
2117
			Anim = "Sprint"
2118
			change = 1.35
2119
			if attack == false then
2120
			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)
2121
			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)
2122
			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)
2123
         	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)
2124
			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)
2125
			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)
2126
			end
2127
		end
2128
	end
2129
	if 0 < #Effects then
2130
		for e = 1, #Effects do
2131
			if Effects[e] ~= nil then
2132
				local Thing = Effects[e]
2133
				if Thing ~= nil then
2134
					local Part = Thing[1]
2135
					local Mode = Thing[2]
2136
					local Delay = Thing[3]
2137
					local IncX = Thing[4]
2138
					local IncY = Thing[5]
2139
					local IncZ = Thing[6]
2140
					if 1 >= Thing[1].Transparency then
2141
						if Thing[2] == "Block1" then
2142
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2143
							local Mesh = Thing[1].Mesh
2144
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2145
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2146
						elseif Thing[2] == "Block2" then
2147
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
2148
							local Mesh = Thing[7]
2149
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2150
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2151
						elseif Thing[2] == "Block3" then
2152
							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)
2153
							local Mesh = Thing[7]
2154
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2155
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2156
						elseif Thing[2] == "Cylinder" then
2157
							local Mesh = Thing[1].Mesh
2158
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2159
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2160
						elseif Thing[2] == "Blood" then
2161
							local Mesh = Thing[7]
2162
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
2163
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2164
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2165
						elseif Thing[2] == "Elec" then
2166
							local Mesh = Thing[1].Mesh
2167
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
2168
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2169
						elseif Thing[2] == "Disappear" then
2170
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2171
						elseif Thing[2] == "Shatter" then
2172
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2173
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
2174
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
2175
							Thing[6] = Thing[6] + Thing[5]
2176
						end
2177
					else
2178
						Part.Parent = nil
2179
						table.remove(Effects, e)
2180
					end
2181
				end
2182
			end
2183
		end
2184
	end
2185
end
2186
-------------------------------------------------------
2187
--End Animations And Script--
2188
-------------------------------------------------------