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