View difference between Paste ID: ZBBP7uDL and jzZxphxu
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by iPxter
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
-----------------------
88-
--[[ Name : Eyozen, the Eye ]]--
88+
--[[ Demonic Eye, Eyo-Zen ]]--
89
-------------------------------------------------------
90
91
--[[ "Haha, I'm a funny guy, but once you anger me..." ]]--
92
	--[[ "There's no coming back =)" ]]--
93
94
--A script By makhail07
95
96
--Discord Creterisk#2958 
97
98
--NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
99
--IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
100
--DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
101
--YOU FUCKING SKIDS,
102
--For Those who log/decompile this, If you sell or trade this,
103
--and I find out who you are, i will take massive action.
104
-------------------------------------------------------
105
106
local FavIDs = {
107
	340106355, --Nefl Crystals
108
	927529620, --Dimension
109
	876981900, --Fantasy
110
	398987889, --Ordinary Days
111
	1117396305, --Oh wait, it's you.
112
	885996042, --Action Winter Journey
113
	919231299, --Sprawling Idiot Effigy
114
	743466274, --Good Day Sunshine
115
	727411183, --Knife Fight
116
	1402748531, --The Earth Is Counting On You!
117
	595230126 --Robot Language
118
	}
119
120
121
122
--The reality of my life isn't real but a Universe -makhail07
123
wait()
124
local plr = owner
125
print('Local User is '..plr.Name)
126
local char = plr.Character
127
local hum = char.Humanoid
128
local hed = char.Head
129
local root = char.HumanoidRootPart
130
local rootj = root.RootJoint
131
local tors = char.Torso
132
local ra = char["Right Arm"]
133
local la = char["Left Arm"]
134
local rl = char["Right Leg"]
135
local ll = char["Left Leg"]
136
local neck = tors["Neck"]
137
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
138
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
139
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
140
local maincolor = BrickColor.new("Really Red")
141
142
-------------------------------------------------------
143
--Start Good Stuff--
144
-------------------------------------------------------
145
cam = game.Workspace.CurrentCamera
146
CF = CFrame.new
147
angles = CFrame.Angles
148
attack = false
149
Euler = CFrame.fromEulerAnglesXYZ
150
Rad = math.rad
151
IT = Instance.new
152
BrickC = BrickColor.new
153
Cos = math.cos
154
Acos = math.acos
155
Sin = math.sin
156
Asin = math.asin
157
Abs = math.abs
158
Mrandom = math.random
159
Floor = math.floor
160
-------------------------------------------------------
161
--End Good Stuff--
162
-------------------------------------------------------
163
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
164
RSH, LSH = nil, nil 
165
RW = Instance.new("Weld") 
166
LW = Instance.new("Weld")
167
RH = tors["Right Hip"]
168
LH = tors["Left Hip"]
169
RSH = tors["Right Shoulder"] 
170
LSH = tors["Left Shoulder"] 
171
RSH.Parent = nil 
172
LSH.Parent = nil 
173
RW.Name = "RW"
174
RW.Part0 = tors 
175
RW.C0 = CF(1.5, 0.5, 0)
176
RW.C1 = CF(0, 0.5, 0) 
177
RW.Part1 = ra
178
RW.Parent = tors 
179
LW.Name = "LW"
180
LW.Part0 = tors 
181
LW.C0 = CF(-1.5, 0.5, 0)
182
LW.C1 = CF(0, 0.5, 0) 
183
LW.Part1 = la
184
LW.Parent = tors
185
Effects = {}
186
-------------------------------------------------------
187
--Start HeartBeat--
188
-------------------------------------------------------
189
ArtificialHB = Instance.new("BindableEvent", script)
190
ArtificialHB.Name = "Heartbeat"
191
script:WaitForChild("Heartbeat")
192
193
frame = 1 / 60
194
tf = 0
195
allowframeloss = false
196
tossremainder = false
197
198
199
lastframe = tick()
200
script.Heartbeat:Fire()
201
202
203
game:GetService("RunService").Heartbeat:connect(function(s, p)
204
	tf = tf + s
205
	if tf >= frame then
206
		if allowframeloss then
207
			script.Heartbeat:Fire()
208
			lastframe = tick()
209
		else
210
			for i = 1, math.floor(tf / frame) do
211
				script.Heartbeat:Fire()
212
			end
213
			lastframe = tick()
214
		end
215
		if tossremainder then
216
			tf = 0
217
		else
218
			tf = tf - frame * math.floor(tf / frame)
219
		end
220
	end
221
end)
222
-------------------------------------------------------
223
--End HeartBeat--
224
-------------------------------------------------------
225
226
-------------------------------------------------------
227
--Start Important Functions--
228
-------------------------------------------------------
229
function swait(num)
230
	if num == 0 or num == nil then
231
		game:service("RunService").Stepped:wait(0)
232
	else
233
		for i = 0, num do
234
			game:service("RunService").Stepped:wait(0)
235
		end
236
	end
237
end
238
function thread(f)
239
	coroutine.resume(coroutine.create(f))
240
end
241
function clerp(a, b, t)
242
	local qa = {
243
		QuaternionFromCFrame(a)
244
	}
245
	local qb = {
246
		QuaternionFromCFrame(b)
247
	}
248
	local ax, ay, az = a.x, a.y, a.z
249
	local bx, by, bz = b.x, b.y, b.z
250
	local _t = 1 - t
251
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
252
end
253
function QuaternionFromCFrame(cf)
254
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
255
	local trace = m00 + m11 + m22
256
	if trace > 0 then
257
		local s = math.sqrt(1 + trace)
258
		local recip = 0.5 / s
259
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
260
	else
261
		local i = 0
262
		if m00 < m11 then
263
			i = 1
264
		end
265
		if m22 > (i == 0 and m00 or m11) then
266
			i = 2
267
		end
268
		if i == 0 then
269
			local s = math.sqrt(m00 - m11 - m22 + 1)
270
			local recip = 0.5 / s
271
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
272
		elseif i == 1 then
273
			local s = math.sqrt(m11 - m22 - m00 + 1)
274
			local recip = 0.5 / s
275
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
276
		elseif i == 2 then
277
			local s = math.sqrt(m22 - m00 - m11 + 1)
278
			local recip = 0.5 / s
279
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
280
		end
281
	end
282
end
283
function QuaternionToCFrame(px, py, pz, x, y, z, w)
284
	local xs, ys, zs = x + x, y + y, z + z
285
	local wx, wy, wz = w * xs, w * ys, w * zs
286
	local xx = x * xs
287
	local xy = x * ys
288
	local xz = x * zs
289
	local yy = y * ys
290
	local yz = y * zs
291
	local zz = z * zs
292
	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))
293
end
294
function QuaternionSlerp(a, b, t)
295
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
296
	local startInterp, finishInterp
297
	if cosTheta >= 1.0E-4 then
298
		if 1 - cosTheta > 1.0E-4 then
299
			local theta = math.acos(cosTheta)
300
			local invSinTheta = 1 / Sin(theta)
301
			startInterp = Sin((1 - t) * theta) * invSinTheta
302
			finishInterp = Sin(t * theta) * invSinTheta
303
		else
304
			startInterp = 1 - t
305
			finishInterp = t
306
		end
307
	elseif 1 + cosTheta > 1.0E-4 then
308
		local theta = math.acos(-cosTheta)
309
		local invSinTheta = 1 / Sin(theta)
310
		startInterp = Sin((t - 1) * theta) * invSinTheta
311
		finishInterp = Sin(t * theta) * invSinTheta
312
	else
313
		startInterp = t - 1
314
		finishInterp = t
315
	end
316
	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
317
end
318
function rayCast(Position, Direction, Range, Ignore)
319
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
320
end
321
local RbxUtility = LoadLibrary("RbxUtility")
322
local Create = RbxUtility.Create
323
324
-------------------------------------------------------
325
--Start Damage Function--
326
-------------------------------------------------------
327
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
328
	if hit.Parent == nil then
329
		return
330
	end
331
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
332
	for _, v in pairs(hit.Parent:children()) do
333
		if v:IsA("Humanoid") then
334
			h = v
335
		end
336
	end
337
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
338
	
339
         hit.Parent:FindFirstChild("Head"):BreakJoints()
340
         end
341
342
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
343
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
344
			if hit.Parent.DebounceHit.Value == true then
345
				return
346
			end
347
		end
348
         if insta == true then
349
         hit.Parent:FindFirstChild("Head"):BreakJoints()
350
         end
351
		local c = Create("ObjectValue"){
352
			Name = "creator",
353
			Value = owner,
354
			Parent = h,
355
		}
356
		game:GetService("Debris"):AddItem(c, .5)
357
		if HitSound ~= nil and HitPitch ~= nil then
358
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
359
		end
360
		local Damage = math.random(minim, maxim)
361
		local blocked = false
362
		local block = hit.Parent:findFirstChild("Block")
363
		if block ~= nil then
364
			if block.className == "IntValue" then
365
				if block.Value > 0 then
366
					blocked = true
367
					block.Value = block.Value - 1
368
					print(block.Value)
369
				end
370
			end
371
		end
372
		if blocked == false then
373
			h.Health = h.Health - Damage
374
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
375
		else
376
			h.Health = h.Health - (Damage / 2)
377
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
378
		end
379
		if Type == "Knockdown" then
380
			local hum = hit.Parent.Humanoid
381
			hum.PlatformStand = true
382
			coroutine.resume(coroutine.create(function(HHumanoid)
383
				swait(1)
384
				HHumanoid.PlatformStand = false
385
			end), hum)
386
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
387
			local bodvol = Create("BodyVelocity"){
388
				velocity = angle * knockback,
389
				P = 5000,
390
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
391
				Parent = hit,
392
			}
393
			local rl = Create("BodyAngularVelocity"){
394
				P = 3000,
395
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
396
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
397
				Parent = hit,
398
			}
399
			game:GetService("Debris"):AddItem(bodvol, .5)
400
			game:GetService("Debris"):AddItem(rl, .5)
401
		elseif Type == "Normal" then
402
			local vp = Create("BodyVelocity"){
403
				P = 500,
404
				maxForce = Vector3.new(math.huge, 0, math.huge),
405
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
406
			}
407
			if knockback > 0 then
408
				vp.Parent = hit.Parent.Torso
409
			end
410
			game:GetService("Debris"):AddItem(vp, .5)
411
		elseif Type == "Up" then
412
			local bodyVelocity = Create("BodyVelocity"){
413
				velocity = Vector3.new(0, 20, 0),
414
				P = 5000,
415
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
416
				Parent = hit,
417
			}
418
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
419
		elseif Type == "DarkUp" then
420
			coroutine.resume(coroutine.create(function()
421
				for i = 0, 1, 0.1 do
422
					swait()
423
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
424
				end
425
			end))
426
			local bodyVelocity = Create("BodyVelocity"){
427
				velocity = Vector3.new(0, 20, 0),
428
				P = 5000,
429
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
430
				Parent = hit,
431
			}
432
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
433
		elseif Type == "Snare" then
434
			local bp = Create("BodyPosition"){
435
				P = 2000,
436
				D = 100,
437
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
438
				position = hit.Parent.Torso.Position,
439
				Parent = hit.Parent.Torso,
440
			}
441
			game:GetService("Debris"):AddItem(bp, 1)
442
		elseif Type == "Freeze" then
443
			local BodPos = Create("BodyPosition"){
444
				P = 50000,
445
				D = 1000,
446
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
447
				position = hit.Parent.Torso.Position,
448
				Parent = hit.Parent.Torso,
449
			}
450
			local BodGy = Create("BodyGyro") {
451
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
452
				P = 20e+003,
453
				Parent = hit.Parent.Torso,
454
				cframe = hit.Parent.Torso.CFrame,
455
			}
456
			hit.Parent.Torso.Anchored = true
457
			coroutine.resume(coroutine.create(function(Part) 
458
				swait(1.5)
459
				Part.Anchored = false
460
			end), hit.Parent.Torso)
461
			game:GetService("Debris"):AddItem(BodPos, 3)
462
			game:GetService("Debris"):AddItem(BodGy, 3)
463
		end
464
		local debounce = Create("BoolValue"){
465
			Name = "DebounceHit",
466
			Parent = hit.Parent,
467
			Value = true,
468
		}
469
		game:GetService("Debris"):AddItem(debounce, Delay)
470
		c = Create("ObjectValue"){
471
			Name = "creator",
472
			Value = Player,
473
			Parent = h,
474
		}
475
		game:GetService("Debris"):AddItem(c, .5)
476
	end
477
end
478
-------------------------------------------------------
479
--End Damage Function--
480
-------------------------------------------------------
481
482
-------------------------------------------------------
483
--Start Damage Function Customization--
484
-------------------------------------------------------
485
function ShowDamage(Pos, Text, Time, Color)
486
	local Rate = (1 / 30)
487
	local Pos = (Pos or Vector3.new(0, 0, 0))
488
	local Text = (Text or "")
489
	local Time = (Time or 2)
490
	local Color = (Color or Color3.new(1, 0, 1))
491
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
492
	EffectPart.Anchored = true
493
	local BillboardGui = Create("BillboardGui"){
494
		Size = UDim2.new(3, 0, 3, 0),
495
		Adornee = EffectPart,
496
		Parent = EffectPart,
497
	}
498
	local TextLabel = Create("TextLabel"){
499
		BackgroundTransparency = 1,
500
		Size = UDim2.new(1, 0, 1, 0),
501
		Text = Text,
502
		Font = "Bodoni",
503
		TextColor3 = Color,
504
		TextScaled = true,
505
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
506
		Parent = BillboardGui,
507
	}
508
	game.Debris:AddItem(EffectPart, (Time))
509
	EffectPart.Parent = game:GetService("Workspace")
510
	delay(0, function()
511
		local Frames = (Time / Rate)
512
		for Frame = 1, Frames do
513
			wait(Rate)
514
			local Percent = (Frame / Frames)
515
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
516
			TextLabel.TextTransparency = Percent
517
		end
518
		if EffectPart and EffectPart.Parent then
519
			EffectPart:Destroy()
520
		end
521
	end)
522
end
523
-------------------------------------------------------
524
--End Damage Function Customization--
525
-------------------------------------------------------
526
527
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
528
  for _, c in pairs(workspace:children()) do
529
    local hum = c:findFirstChild("Humanoid")
530
    if hum ~= nil then
531
      local head = c:findFirstChild("Head")
532
      if head ~= nil then
533
        local targ = head.Position - Part.Position
534
        local mag = targ.magnitude
535
        if magni >= mag and c.Name ~= plr.Name then
536
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
537
        end
538
      end
539
    end
540
  end
541
end
542
543
544
CFuncs = {
545
	Part = {
546
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
547
			local Part = Create("Part")({
548
				Parent = Parent,
549
				Reflectance = Reflectance,
550
				Transparency = Transparency,
551
				CanCollide = false,
552
				Locked = true,
553
				BrickColor = BrickColor.new(tostring(BColor)),
554
				Name = Name,
555
				Size = Size,
556
				Material = Material
557
			})
558
			RemoveOutlines(Part)
559
			return Part
560
		end
561
	},
562
	Mesh = {
563
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
564
			local Msh = Create(Mesh)({
565
				Parent = Part,
566
				Offset = OffSet,
567
				Scale = Scale
568
			})
569
			if Mesh == "SpecialMesh" then
570
				Msh.MeshType = MeshType
571
				Msh.MeshId = MeshId
572
			end
573
			return Msh
574
		end
575
	},
576
	Mesh = {
577
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
578
			local Msh = Create(Mesh)({
579
				Parent = Part,
580
				Offset = OffSet,
581
				Scale = Scale
582
			})
583
			if Mesh == "SpecialMesh" then
584
				Msh.MeshType = MeshType
585
				Msh.MeshId = MeshId
586
			end
587
			return Msh
588
		end
589
	},
590
	Weld = {
591
		Create = function(Parent, Part0, Part1, C0, C1)
592
			local Weld = Create("Weld")({
593
				Parent = Parent,
594
				Part0 = Part0,
595
				Part1 = Part1,
596
				C0 = C0,
597
				C1 = C1
598
			})
599
			return Weld
600
		end
601
	},
602
	Sound = {
603
		Create = function(id, par, vol, pit)
604
			coroutine.resume(coroutine.create(function()
605
				local S = Create("Sound")({
606
					Volume = vol,
607
					Pitch = pit or 1,
608
					SoundId = id,
609
					Parent = par or workspace
610
				})
611
				wait()
612
				S:play()
613
				game:GetService("Debris"):AddItem(S, 6)
614
			end))
615
		end
616
	},
617
	ParticleEmitter = {
618
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
619
			local fp = Create("ParticleEmitter")({
620
				Parent = Parent,
621
				Color = ColorSequence.new(Color1, Color2),
622
				LightEmission = LightEmission,
623
				Size = Size,
624
				Texture = Texture,
625
				Transparency = Transparency,
626
				ZOffset = ZOffset,
627
				Acceleration = Accel,
628
				Drag = Drag,
629
				LockedToPart = LockedToPart,
630
				VelocityInheritance = VelocityInheritance,
631
				EmissionDirection = EmissionDirection,
632
				Enabled = Enabled,
633
				Lifetime = LifeTime,
634
				Rate = Rate,
635
				Rotation = Rotation,
636
				RotSpeed = RotSpeed,
637
				Speed = Speed,
638
				VelocitySpread = VelocitySpread
639
			})
640
			return fp
641
		end
642
	}
643
}
644
function RemoveOutlines(part)
645
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
646
end
647
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
648
	local Part = Create("Part")({
649
		formFactor = FormFactor,
650
		Parent = Parent,
651
		Reflectance = Reflectance,
652
		Transparency = Transparency,
653
		CanCollide = false,
654
		Locked = true,
655
		BrickColor = BrickColor.new(tostring(BColor)),
656
		Name = Name,
657
		Size = Size,
658
		Material = Material
659
	})
660
	RemoveOutlines(Part)
661
	return Part
662
end
663
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
664
	local Msh = Create(Mesh)({
665
		Parent = Part,
666
		Offset = OffSet,
667
		Scale = Scale
668
	})
669
	if Mesh == "SpecialMesh" then
670
		Msh.MeshType = MeshType
671
		Msh.MeshId = MeshId
672
	end
673
	return Msh
674
end
675
function CreateWeld(Parent, Part0, Part1, C0, C1)
676
	local Weld = Create("Weld")({
677
		Parent = Parent,
678
		Part0 = Part0,
679
		Part1 = Part1,
680
		C0 = C0,
681
		C1 = C1
682
	})
683
	return Weld
684
end
685
686
687
-------------------------------------------------------
688
--Start Effect Function--
689
-------------------------------------------------------
690
EffectModel = Instance.new("Model", char)
691
Effects = {
692
  Block = {
693
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
694
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
695
      prt.Anchored = true
696
      prt.CFrame = cframe
697
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
698
      game:GetService("Debris"):AddItem(prt, 10)
699
      if Type == 1 or Type == nil then
700
        table.insert(Effects, {
701
          prt,
702
          "Block1",
703
          delay,
704
          x3,
705
          y3,
706
          z3,
707
          msh
708
        })
709
      elseif Type == 2 then
710
        table.insert(Effects, {
711
          prt,
712
          "Block2",
713
          delay,
714
          x3,
715
          y3,
716
          z3,
717
          msh
718
        })
719
      else
720
        table.insert(Effects, {
721
          prt,
722
          "Block3",
723
          delay,
724
          x3,
725
          y3,
726
          z3,
727
          msh
728
        })
729
      end
730
    end
731
  },
732
  Sphere = {
733
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
734
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
735
      prt.Anchored = true
736
      prt.CFrame = cframe
737
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
738
      game:GetService("Debris"):AddItem(prt, 10)
739
      table.insert(Effects, {
740
        prt,
741
        "Cylinder",
742
        delay,
743
        x3,
744
        y3,
745
        z3,
746
        msh
747
      })
748
    end
749
  },
750
  Cylinder = {
751
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
752
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
753
      prt.Anchored = true
754
      prt.CFrame = cframe
755
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
756
      game:GetService("Debris"):AddItem(prt, 10)
757
      table.insert(Effects, {
758
        prt,
759
        "Cylinder",
760
        delay,
761
        x3,
762
        y3,
763
        z3,
764
        msh
765
      })
766
    end
767
  },
768
  Wave = {
769
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
770
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
771
      prt.Anchored = true
772
      prt.CFrame = cframe
773
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
774
      game:GetService("Debris"):AddItem(prt, 10)
775
      table.insert(Effects, {
776
        prt,
777
        "Cylinder",
778
        delay,
779
        x3 / 60,
780
        y3 / 60,
781
        z3 / 60,
782
        msh
783
      })
784
    end
785
  },
786
  Ring = {
787
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
788
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
789
      prt.Anchored = true
790
      prt.CFrame = cframe
791
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
792
      game:GetService("Debris"):AddItem(prt, 10)
793
      table.insert(Effects, {
794
        prt,
795
        "Cylinder",
796
        delay,
797
        x3,
798
        y3,
799
        z3,
800
        msh
801
      })
802
    end
803
  },
804
  Break = {
805
    Create = function(brickcolor, cframe, x1, y1, z1)
806
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
807
      prt.Anchored = true
808
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
809
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
810
      local num = math.random(10, 50) / 1000
811
      game:GetService("Debris"):AddItem(prt, 10)
812
      table.insert(Effects, {
813
        prt,
814
        "Shatter",
815
        num,
816
        prt.CFrame,
817
        math.random() - math.random(),
818
        0,
819
        math.random(50, 100) / 100
820
      })
821
    end
822
  },
823
Spiral = {
824
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
825
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
826
      prt.Anchored = true
827
      prt.CFrame = cframe
828
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
829
      game:GetService("Debris"):AddItem(prt, 10)
830
      table.insert(Effects, {
831
        prt,
832
        "Cylinder",
833
        delay,
834
        x3,
835
        y3,
836
        z3,
837
        msh
838
      })
839
    end
840
  },
841
Push = {
842
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
843
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
844
      prt.Anchored = true
845
      prt.CFrame = cframe
846
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
847
      game:GetService("Debris"):AddItem(prt, 10)
848
      table.insert(Effects, {
849
        prt,
850
        "Cylinder",
851
        delay,
852
        x3,
853
        y3,
854
        z3,
855
        msh
856
      })
857
    end
858
  }
859
}
860
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
861
	local fp = IT("Part")
862
	fp.formFactor = formfactor 
863
	fp.Parent = parent
864
	fp.Reflectance = reflectance
865
	fp.Transparency = transparency
866
	fp.CanCollide = false 
867
	fp.Locked = true
868
	fp.BrickColor = brickcolor
869
	fp.Name = name
870
	fp.Size = size
871
	fp.Position = tors.Position 
872
	RemoveOutlines(fp)
873
	fp.Material = "SmoothPlastic"
874
	fp:BreakJoints()
875
	return fp 
876
end 
877
 
878
function mesh(Mesh,part,meshtype,meshid,offset,scale)
879
	local mesh = IT(Mesh) 
880
	mesh.Parent = part
881
	if Mesh == "SpecialMesh" then
882
		mesh.MeshType = meshtype
883
	if meshid ~= "nil" then
884
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
885
		end
886
	end
887
	mesh.Offset = offset
888
	mesh.Scale = scale
889
	return mesh
890
end
891
892
function Magic(bonuspeed, type, pos, scale, value, color, MType)
893
	local type = type
894
	local rng = Instance.new("Part", char)
895
	rng.Anchored = true
896
	rng.BrickColor = color
897
	rng.CanCollide = false
898
	rng.FormFactor = 3
899
	rng.Name = "Ring"
900
	rng.Material = "Neon"
901
	rng.Size = Vector3.new(1, 1, 1)
902
	rng.Transparency = 0
903
	rng.TopSurface = 0
904
	rng.BottomSurface = 0
905
	rng.CFrame = pos
906
	local rngm = Instance.new("SpecialMesh", rng)
907
	rngm.MeshType = MType
908
	rngm.Scale = scale
909
	local scaler2 = 1
910
	if type == "Add" then
911
		scaler2 = 1 * value
912
	elseif type == "Divide" then
913
		scaler2 = 1 / value
914
	end
915
	coroutine.resume(coroutine.create(function()
916
		for i = 0, 10 / bonuspeed, 0.1 do
917
			swait()
918
			if type == "Add" then
919
				scaler2 = scaler2 - 0.01 * value / bonuspeed
920
			elseif type == "Divide" then
921
				scaler2 = scaler2 - 0.01 / value * bonuspeed
922
			end
923
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
924
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
925
		end
926
		rng:Destroy()
927
	end))
928
end
929
930
function Eviscerate(dude)
931
	if dude.Name ~= char then
932
		local bgf = IT("BodyGyro", dude.Head)
933
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
934
		local val = IT("BoolValue", dude)
935
		val.Name = "IsHit"
936
		local ds = coroutine.wrap(function()
937
			dude:WaitForChild("Head"):BreakJoints()
938
			wait(0.5)
939
			target = nil
940
			coroutine.resume(coroutine.create(function()
941
				for i, v in pairs(dude:GetChildren()) do
942
					if v:IsA("Accessory") then
943
						v:Destroy()
944
					end
945
					if v:IsA("Humanoid") then
946
						v:Destroy()
947
					end
948
					if v:IsA("CharacterMesh") then
949
						v:Destroy()
950
					end
951
					if v:IsA("Model") then
952
						v:Destroy()
953
					end
954
					if v:IsA("Part") or v:IsA("MeshPart") then
955
						for x, o in pairs(v:GetChildren()) do
956
							if o:IsA("Decal") then
957
								o:Destroy()
958
							end
959
						end
960
						coroutine.resume(coroutine.create(function()
961
							v.Material = "Neon"
962
							v.CanCollide = false
963
							local PartEmmit1 = IT("ParticleEmitter", v)
964
							PartEmmit1.LightEmission = 1
965
							PartEmmit1.Texture = "rbxassetid://284205403"
966
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
967
							PartEmmit1.Rate = 150
968
							PartEmmit1.Lifetime = NumberRange.new(1)
969
							PartEmmit1.Size = NumberSequence.new({
970
								NumberSequenceKeypoint.new(0, 0.75, 0),
971
								NumberSequenceKeypoint.new(1, 0, 0)
972
							})
973
							PartEmmit1.Transparency = NumberSequence.new({
974
								NumberSequenceKeypoint.new(0, 0, 0),
975
								NumberSequenceKeypoint.new(1, 1, 0)
976
							})
977
							PartEmmit1.Speed = NumberRange.new(0, 0)
978
							PartEmmit1.VelocitySpread = 30000
979
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
980
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
981
							local BodPoss = IT("BodyPosition", v)
982
							BodPoss.P = 3000
983
							BodPoss.D = 1000
984
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
985
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
986
							v.Color = maincolor.Color
987
							coroutine.resume(coroutine.create(function()
988
								for i = 0, 49 do
989
									swait(1)
990
									v.Transparency = v.Transparency + 0.08
991
								end
992
								wait(0.5)
993
								PartEmmit1.Enabled = false
994
								wait(3)
995
								v:Destroy()
996
								dude:Destroy()
997
							end))
998
						end))
999
					end
1000
				end
1001
			end))
1002
		end)
1003
		ds()
1004
	end
1005
end
1006
1007
function FindNearestHead(Position, Distance, SinglePlayer)
1008
	if SinglePlayer then
1009
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1010
	end
1011
	local List = {}
1012
	for i, v in pairs(workspace:GetChildren()) do
1013
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1014
			table.insert(List, v)
1015
		end
1016
	end
1017
	return List
1018
end
1019
1020
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1021
	local type = type
1022
	local rng = Instance.new("Part", char)
1023
	rng.Anchored = true
1024
	rng.BrickColor = color
1025
	rng.CanCollide = false
1026
	rng.FormFactor = 3
1027
	rng.Name = "Ring"
1028
	rng.Material = "Neon"
1029
	rng.Size = Vector3.new(1, 1, 1)
1030
	rng.Transparency = 0
1031
	rng.TopSurface = 0
1032
	rng.BottomSurface = 0
1033
	rng.CFrame = pos
1034
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1035
	local rngm = Instance.new("SpecialMesh", rng)
1036
	rngm.MeshType = MType
1037
	rngm.Scale = Vector3.new(x1, y1, z1)
1038
	local scaler2 = 1
1039
	local speeder = FastSpeed
1040
	if type == "Add" then
1041
		scaler2 = 1 * value
1042
	elseif type == "Divide" then
1043
		scaler2 = 1 / value
1044
	end
1045
	coroutine.resume(coroutine.create(function()
1046
		for i = 0, 10 / bonuspeed, 0.1 do
1047
			swait()
1048
			if type == "Add" then
1049
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1050
			elseif type == "Divide" then
1051
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1052
			end
1053
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1054
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1055
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1056
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1057
		end
1058
		rng:Destroy()
1059
	end))
1060
end
1061
1062
function SoulSteal(dude)
1063
if dude.Name ~= char then
1064
local bgf = IT("BodyGyro", dude.Head)
1065
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1066
local val = IT("BoolValue", dude)
1067
val.Name = "IsHit"
1068
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1069
local soulst = coroutine.wrap(function()
1070
local soul = Instance.new("Part",dude)
1071
soul.Size = Vector3.new(1,1,1)
1072
soul.CanCollide = false
1073
soul.Anchored = false
1074
soul.Position = torso.Position
1075
soul.Transparency = 1
1076
local PartEmmit1 = IT("ParticleEmitter", soul)
1077
PartEmmit1.LightEmission = 1
1078
PartEmmit1.Texture = "rbxassetid://569507414"
1079
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1080
PartEmmit1.Rate = 250
1081
PartEmmit1.Lifetime = NumberRange.new(1.6)
1082
PartEmmit1.Size = NumberSequence.new({
1083
	NumberSequenceKeypoint.new(0, 1, 0),
1084
	NumberSequenceKeypoint.new(1, 0, 0)
1085
})
1086
PartEmmit1.Transparency = NumberSequence.new({
1087
	NumberSequenceKeypoint.new(0, 0, 0),
1088
	NumberSequenceKeypoint.new(1, 1, 0)
1089
})
1090
PartEmmit1.Speed = NumberRange.new(0, 0)
1091
PartEmmit1.VelocitySpread = 30000
1092
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1093
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1094
local BodPoss = IT("BodyPosition", soul)
1095
BodPoss.P = 3000
1096
BodPoss.D = 1000
1097
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1098
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1099
wait(1.6)
1100
soul.Touched:connect(function(hit)
1101
	if hit.Parent == char then
1102
	soul:Destroy()
1103
	end
1104
end)
1105
wait(1.2)
1106
while soul do
1107
	swait()
1108
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1109
	BodPoss.Position = tors.Position
1110
end
1111
end)
1112
	soulst()
1113
	end
1114
end
1115
function FaceMouse()
1116
local	Cam = workspace.CurrentCamera
1117
	return {
1118
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1119
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1120
	}
1121
end
1122
-------------------------------------------------------
1123
--End Effect Function--
1124
-------------------------------------------------------
1125
function Cso(ID, PARENT, VOLUME, PITCH)
1126
	local NSound = nil
1127
	coroutine.resume(coroutine.create(function()
1128
		NSound = IT("Sound", PARENT)
1129
		NSound.Volume = VOLUME
1130
		NSound.Pitch = PITCH
1131
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1132
		swait()
1133
		NSound:play()
1134
		game:GetService("Debris"):AddItem(NSound, 10)
1135
	end))
1136
	return NSound
1137
end
1138
function CameraEnshaking(Length, Intensity)
1139
	coroutine.resume(coroutine.create(function()
1140
		local intensity = 1 * Intensity
1141
		local rotM = 0.01 * Intensity
1142
		for i = 0, Length, 0.1 do
1143
			swait()
1144
			intensity = intensity - 0.05 * Intensity / Length
1145
			rotM = rotM - 5.0E-4 * Intensity / Length
1146
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1147
			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)
1148
		end
1149
		hum.CameraOffset = Vector3.new(0, 0, 0)
1150
	end))
1151
end
1152
-------------------------------------------------------
1153
--End Important Functions--
1154
-------------------------------------------------------
1155
1156
1157
-------------------------------------------------------
1158
--Start Customization--
1159
-------------------------------------------------------
1160
local Player_Size = 1
1161
if Player_Size ~= 1 then
1162
root.Size = root.Size * Player_Size
1163
tors.Size = tors.Size * Player_Size
1164
hed.Size = hed.Size * Player_Size
1165
ra.Size = ra.Size * Player_Size
1166
la.Size = la.Size * Player_Size
1167
rl.Size = rl.Size * Player_Size
1168
ll.Size = ll.Size * Player_Size
1169
----------------------------------------------------------------------------------
1170
rootj.Parent = root
1171
neck.Parent = tors
1172
RW.Parent = tors
1173
LW.Parent = tors
1174
RH.Parent = tors
1175
LH.Parent = tors
1176
----------------------------------------------------------------------------------
1177
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1178
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1179
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
1180
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
1181
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
1182
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
1183
----------------------------------------------------------------------------------
1184
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))
1185
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))
1186
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))
1187
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))
1188
--hat.Parent = Character
1189
end
1190
----------------------------------------------------------------------------------
1191
local SONG = 1494452913
1192
local SONG2 = 1130685064
1193
local Music = Instance.new("Sound",tors)
1194
Music.Volume = 2.5
1195
Music.Looped = true
1196
Music.Pitch = 1 --Pitcher
1197
----------------------------------------------------------------------------------
1198
local equipped = false
1199
local idle = 0
1200
local change = 1
1201
local val = 0
1202
local toim = 0
1203
local idleanim = 0.4
1204
local sine = 0
1205
local Sit = 1
1206
----------------------------------------------------------------------------------
1207
hum.WalkSpeed = 10
1208
hum.JumpPower = 57
1209
hum.Animator.Parent = nil
1210
----------------------------------------------------------------------------------
1211
local naeeym2 = IT("BillboardGui",char)
1212
naeeym2.AlwaysOnTop = true
1213
naeeym2.Size = UDim2.new(5,35,2,15)
1214
naeeym2.StudsOffset = Vector3.new(0,2,0)
1215
naeeym2.MaxDistance = 75
1216
naeeym2.Adornee = hed
1217
naeeym2.Name = "Name"
1218
--naeeym2.PlayerToHideFrom = Player
1219
local tecks2 = IT("TextLabel",naeeym2)
1220
tecks2.BackgroundTransparency = 1
1221
tecks2.TextScaled = true
1222
tecks2.BorderSizePixel = 0
1223
tecks2.Text = "Eyo-zen"
1224
tecks2.Font = "Fantasy"
1225
tecks2.TextSize = 30
1226
tecks2.TextStrokeTransparency = 0
1227
tecks2.TextColor3 = Color3.new(1,1,1)
1228
tecks2.TextStrokeColor3 = Color3.fromRGB(177, 167, 255)
1229
tecks2.Size = UDim2.new(1,0,0.5,0)
1230
tecks2.Parent = naeeym2
1231
local top = Instance.new("Shirt")
1232
top.ShirtTemplate = "rbxassetid://338740550"
1233
top.Parent = char
1234
top.Name = "Cloth"
1235
local bottom = Instance.new("Pants")
1236
bottom.PantsTemplate = "rbxassetid://338750779"
1237
bottom.Parent = char
1238
bottom.Name = "Cloth"
1239
----------------------------------------------------------------------------------
1240
--[[
1241
		Thanks for using Build-To-Lua by jarredbcv.
1242
]]--
1243
1244
New = function(Object, Parent, Name, Data)
1245
	local Object = Instance.new(Object)
1246
	for Index, Value in pairs(Data or {}) do
1247
		Object[Index] = Value
1248
	end
1249
	Object.Parent = Parent
1250
	Object.Name = Name
1251
	return Object
1252
end
1253
	
1254
Eyo = New("Model",char,"Eyo",{})
1255
Eye = New("Part",Eyo,"Eye",{BrickColor = BrickColor.new("Violet"),Shape = Enum.PartType.Ball,Size = Vector3.new(1.96000075, 1.96000075, 1.96000075),CFrame = CFrame.new(-137.175568, 1.33095813, -17.0833168, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1256
Pupil = New("Part",Eyo,"Pupil",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.37000075, 0.37000075, 0.37000075),CFrame = CFrame.new(-137.235779, 1.42530513, -18.0334377, 1.00000072, -7.15256022e-07, 3.57628181e-07, -7.15256022e-07, 1.00000036, 2.01165761e-07, 3.57628181e-07, 2.01165761e-07, 1.00000215),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
1257
mot = New("Motor",Pupil,"mot",{Part0 = Pupil,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),C1 = CFrame.new(-0.0602111816, 0.0943470001, -0.950120926, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
1258
TopHat2 = New("Part",Eyo,"TopHat2",{BrickColor = BrickColor.new("Really black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0500000007, 1, 1),CFrame = CFrame.new(-137.740799, 2.24810791, -17.0272255, 0.458347857, 0.877660632, -0.140108809, -0.888243496, 0.446898967, -0.106327571, -0.0307050757, 0.173186749, 0.984412611),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
1259
mot = New("Motor",TopHat2,"mot",{Part0 = TopHat2,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 0.458347201, -0.88824302, -0.0307050198, 0.877660394, 0.446899265, 0.173186243, -0.140109047, -0.106327735, 0.98441118),C1 = CFrame.new(-0.565231323, 0.917149663, 0.0560913086, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
1260
TopHat1 = New("Part",Eyo,"TopHat1",{BrickColor = BrickColor.new("Really black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.54000056, 1.80000043, 0.780000567),CFrame = CFrame.new(-138.100586, 2.94428444, -17.0250435, 0.457500041, 0.889210463, 3.57628181e-07, -0.88921082, 0.45749861, 2.01165761e-07, -1.52640816e-08, 4.10039718e-07, 1.00000215),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
1261
mot = New("Motor",TopHat1,"mot",{Part0 = TopHat1,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 0.457499385, -0.889210343, -5.08804376e-09, 0.889210224, 0.457498908, 1.36679802e-07, 1.1920929e-07, 6.70552254e-08, 1.00000072),C1 = CFrame.new(-0.925018311, 1.61332572, 0.0582733154, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
1262
OuterPupil = New("Part",Eyo,"OuterPupil",{BrickColor = BrickColor.new("Alder"),Material = Enum.Material.Neon,Shape = Enum.PartType.Ball,Size = Vector3.new(1.0000006, 1.0000006, 1.0000006),CFrame = CFrame.new(-137.20755, 1.40179217, -17.6748943, 1.00000072, -7.15256022e-07, 3.57628181e-07, -7.15256022e-07, 1.00000036, 2.01165761e-07, 3.57628181e-07, 2.01165761e-07, 1.00000215),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.705882, 0.501961, 1),})
1263
mot = New("Motor",OuterPupil,"mot",{Part0 = OuterPupil,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),C1 = CFrame.new(-0.0319824219, 0.0708340406, -0.59157753, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
1264
TopHat3 = New("Part",Eyo,"TopHat3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.779999912, 0.5, 0.769999981),CFrame = CFrame.new(-138.460098, 3.63034701, -17.0150394, -0.258819818, -0.455481321, 0.851792634, -5.44427401e-08, 0.881841302, 0.471547186, -0.965928435, 0.122045919, -0.228237376),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
1265
Mesh = New("SpecialMesh",TopHat3,"Mesh",{MeshType = Enum.MeshType.Sphere,})
1266
mot = New("Motor",TopHat3,"mot",{Part0 = TopHat3,Part1 = Eye,C0 = CFrame.new(0, 0, 0, -0.258819461, -4.83165614e-08, -0.965926886, -0.455480665, 0.881840825, 0.122045726, 0.851792514, 0.471547544, -0.228237316),C1 = CFrame.new(-1.28453064, 2.29938841, 0.068277359, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
1267
1268
local NewInstance = function(instance,parent,properties)
1269
	local inst = Instance.new(instance,parent)
1270
	if(properties)then
1271
		for i,v in next, properties do
1272
			pcall(function() inst[i] = v end)
1273
		end
1274
	end
1275
	return inst;
1276
end
1277
1278
local HW = NewInstance('Weld',char,{Part0=tors, Part1=Eye, C0 = CF(0,4,0) * angles(0,0,0)})
1279
for i,v in pairs(char:children()) do
1280
    if v:IsA("Hat") then
1281
        v:Destroy()
1282
    end
1283
end
1284
for i,v in pairs(char:children()) do
1285
    if v:IsA("Accessory") then
1286
        v:Destroy()
1287
    end
1288
end
1289
hed.Transparency = 1
1290
hed.face:Remove()
1291
-------------------------------------------------------
1292
--End Customization--
1293
-------------------------------------------------------
1294
1295
1296
-------------------------------------------------------
1297
--Start Attacks N Stuff--
1298
-------------------------------------------------------
1299
function Taunt1()
1300
	attack = true
1301
	hum.WalkSpeed = 0
1302
	for i = 0, 9, 0.1 do
1303
		swait()
1304
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.15)
1305
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1306
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(78), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(15)), 0.15)
1307
		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(-78), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-15)), 0.15)
1308
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-9), Rad(0), Rad(155 + 25 * Sin(sine / 2.5))), 0.12)
1309
		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)
1310
		HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
1311
	end
1312
	attack = false
1313
	hum.WalkSpeed = 10
1314
end
1315
function Taunt2()
1316
	attack = true
1317
	hum.WalkSpeed = 0
1318
	--Cso("221057812", hed, 10, 1.1)
1319
	for i = 0, 2, 0.1 do
1320
		swait()
1321
		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)
1322
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1323
		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)
1324
		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)
1325
		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)
1326
		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)
1327
		HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
1328
	end
1329
	for i = 0, 6, 0.1 do
1330
		swait()
1331
		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)
1332
		neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15)
1333
		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)
1334
		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)
1335
		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)
1336
		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)
1337
		HW.C0 = clerp(HW.C0, CF(0, 4 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0 - 255.45 * i), Rad(0), Rad(0)), 0.15)
1338
	end
1339
	for i = 0, 2, 0.1 do
1340
		swait()
1341
		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)
1342
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1343
		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)
1344
		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)
1345
		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)
1346
		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)
1347
		HW.C0 = clerp(HW.C0, CF(0, 1.8, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
1348
	end
1349
	attack = false
1350
	hum.WalkSpeed = 10
1351
end
1352
function Astigmatism()
1353
	attack = true
1354
	hum.WalkSpeed = 0
1355
	local Ring1 = Instance.new("Part", char)
1356
	Ring1.Anchored = true
1357
	Ring1.BrickColor = maincolor
1358
	Ring1.CanCollide = false
1359
	Ring1.FormFactor = 3
1360
	Ring1.Name = "Ring"
1361
	Ring1.Material = "Neon"
1362
	Ring1.Size = Vector3.new(1, 0.05, 1)
1363
	Ring1.Transparency = 1
1364
	Ring1.TopSurface = 0
1365
	Ring1.BottomSurface = 0
1366
	local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
1367
	Ring1Mesh.MeshType = "Brick"
1368
	Ring1Mesh.Name = "SizeMesh"
1369
	Ring1Mesh.Scale = Vector3.new(0, 1, 0)
1370
	local InnerRing1 = Ring1:Clone()
1371
	InnerRing1.Parent = char
1372
	InnerRing1.Transparency = 0
1373
	InnerRing1.BrickColor = BrickColor.new("New Yeller")
1374
	InnerRing1.Size = Vector3.new(1, 1, 1)
1375
	local InnerRing1Mesh = InnerRing1.SizeMesh
1376
	InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
1377
	InnerRing1Mesh.MeshType = "Sphere"
1378
	Ring1:Destroy()
1379
	for i = 0, 6, 0.1 do
1380
		swait()
1381
		--orb.CFrame = Pupil.CFrame
1382
		Aura(7, 0.12, "Add", Pupil.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere")
1383
		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)
1384
		neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1385
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1386
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1387
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
1388
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
1389
		HW.C0 = clerp(HW.C0, CF(0, 3 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
1390
	end
1391
	InnerRing1.Transparency = 1
1392
	InnerRing1.CFrame = Pupil.CFrame + root.CFrame.lookVector * 5
1393
	Cso("294188875", char, 2.3, 1)
1394
	local a = IT("Part", char)
1395
	a.Name = "Direction"
1396
	a.Anchored = true
1397
	a.BrickColor = BrickC("Pastel violet")
1398
	a.Material = "SmoothPlastic"
1399
	a.Transparency = 0
1400
	a.Shape = "Cylinder"
1401
	a.CanCollide = false
1402
	local a2 = IT("Part", char)
1403
	a2.Name = "Direction"
1404
	a2.Anchored = true
1405
	a2.BrickColor = maincolor
1406
	a2.Color = maincolor.Color
1407
	a2.Material = "Neon"
1408
	a2.Transparency = 0.7
1409
	a2.Shape = "Cylinder"
1410
	a2.CanCollide = false
1411
	local ba = IT("Part", char)
1412
	ba.Name = "HitDirect"
1413
	ba.Anchored = true
1414
	ba.BrickColor = maincolor
1415
	ba.Material = "Neon"
1416
	ba.Transparency = 1
1417
	ba.CanCollide = false
1418
	local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
1419
	local ignore = char
1420
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
1421
	a.BottomSurface = 10
1422
	a.TopSurface = 10
1423
	a2.BottomSurface = 10
1424
	a2.TopSurface = 10
1425
	local distance = (InnerRing1.CFrame.p - position).magnitude
1426
	a.Size = Vector3.new(distance, 1, 1)
1427
	a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
1428
	a2.Size = Vector3.new(distance, 1, 1)
1429
	a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
1430
	ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
1431
	a.CFrame = a.CFrame * angles(0, Rad(90), 0)
1432
	a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
1433
	game:GetService("Debris"):AddItem(a, 20)
1434
	game:GetService("Debris"):AddItem(a2, 20)
1435
	game:GetService("Debris"):AddItem(ba, 20)
1436
	local msh = Instance.new("SpecialMesh", a)
1437
	msh.MeshType = "Brick"
1438
	msh.Scale = Vector3.new(1, 5, 5)
1439
	local msh2 = Instance.new("SpecialMesh", a2)
1440
	msh2.MeshType = "Brick"
1441
	msh2.Scale = Vector3.new(1, 7, 7)
1442
	for i = 0, 10, 0.1 do
1443
		swait()
1444
		CameraEnshaking(1, 5)
1445
		a2.Color = maincolor.Color
1446
		root.CFrame = FaceMouse()[1]
1447
		InnerRing1.CFrame = Pupil.CFrame + root.CFrame.lookVector * 4
1448
		ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
1449
		hit, position, normal = workspace:FindPartOnRay(ray, ignore)
1450
		distance = (InnerRing1.CFrame.p - position).magnitude
1451
		a.Size = Vector3.new(distance, 1, 1)
1452
		a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
1453
		a2.Size = Vector3.new(distance, 1, 1)
1454
		a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
1455
		ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
1456
		a.CFrame = a.CFrame * angles(0, Rad(90), 0)
1457
		a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
1458
		msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05)
1459
		msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03)
1460
		Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
1461
		for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
1462
		if v:FindFirstChild("Head") then
1463
				Eviscerate(v)
1464
			end
1465
		end
1466
	end
1467
	a:Destroy()
1468
	a2:Destroy()
1469
	ba:Destroy()
1470
	InnerRing1:Destroy()
1471
	attack = false
1472
	hum.WalkSpeed = 10
1473
	hum.CameraOffset = Vector3.new(0,0,0)
1474
end
1475
function EyeThrow()
1476
	attack = true
1477
	hum.WalkSpeed = 3.01
1478
	for i = 0, 6, 0.1 do
1479
		swait()
1480
		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)
1481
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1482
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1483
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1484
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.7 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(215 + 2.5 * Sin(sine / 20))), 0.12)
1485
		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)
1486
		HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
1487
	end
1488
    local Head01 = Eye:Clone()
1489
    Head01.Parent = char
1490
	Eye.Transparency = 1
1491
    local weldHead01 = IT("Weld")
1492
    weldHead01.Parent = Head01
1493
	weldHead01.Part0 = ra
1494
    weldHead01.Part1 = Head01
1495
	weldHead01.C1 = CF(0, 0, 1.2) * angles(Rad(90), Rad(0), Rad(0))
1496
	for i = 0, 6, 0.1 do
1497
		swait()
1498
		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(-20)), 0.2)
1499
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(20)), 0.3)
1500
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2)
1501
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2)
1502
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(145 + 2.5 * Sin(sine / 20))), 0.2)
1503
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
1504
		HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(20), Rad(0)), 0.1)
1505
	end
1506
	local A = IT("Attachment",Head01)
1507
	A.Position = Vector3.new(-0, 0.2, 0.136)
1508
	local B = IT("Attachment",Head01)
1509
	B.Position = Vector3.new(-0, -0.95, -0.982)
1510
	local Trail = IT("Trail",Head01)
1511
	Trail.Attachment0 = B
1512
	Trail.Attachment1 = A
1513
	Trail.Lifetime = 0.6
1514
	Trail.Transparency = NumberSequence.new(0.5, 1)
1515
	Trail.Texture = "http://www.roblox.com/asset/?id=1472703539"
1516
	Trail.Enabled = true
1517
	weldHead01:Destroy()
1518
        Head01.CanCollide = true
1519
        local bodyVelocity2 = Create("BodyVelocity")({
1520
          velocity = (mouse.Hit.p - Head01.CFrame.p).unit * 165,
1521
          P = 5000,
1522
          maxForce = Vector3.new(8000, 8000, 8000),
1523
          Parent = Head01
1524
        })
1525
       game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
1526
		Head01.Touched:connect(function(hit)
1527
			if(not char:IsAncestorOf(hit))then
1528
				local hum = (hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid')
1529
				local hedder = (hit and hit.Parent and hit.Parent:FindFirstChild'Head')
1530
				if(hum and hedder and hum.Health > 0)then
1531
				Eviscerate(hit.Parent)
1532
			Cso("491296320", hit.Parent.Torso, 10, 1)
1533
			end
1534
		end
1535
	end)
1536
	for i = 0, 2, 0.1 do
1537
		swait()
1538
		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(40)), 0.2)
1539
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-40)), 0.3)
1540
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2)
1541
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2)
1542
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-134), Rad(0), Rad(145 + 2.5 * Sin(sine / 20))), 0.2)
1543
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
1544
		HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(-40), Rad(0)), 0.2)
1545
	end
1546
	for i = 0, 6, 0.1 do
1547
		swait()
1548
		Eye.Transparency = Eye.Transparency - 0.05
1549
		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(40)), 0.2)
1550
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-40)), 0.2)
1551
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2)
1552
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2)
1553
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-134), Rad(0), Rad(145 + 2.5 * Sin(sine / 20))), 0.2)
1554
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.2)
1555
		HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(-40), Rad(0)), 0.1)
1556
	end
1557
	coroutine.resume(coroutine.create(function() 
1558
		for i = 0, 1.8, 0.05 do
1559
			swait()
1560
			Head01.Transparency = i
1561
		end
1562
		Head01:Destroy()
1563
	end))
1564
	--Head01:Destory()
1565
	attack = false
1566
	Trail.Enabled = false
1567
	hum.WalkSpeed = 10
1568
end
1569
function Call_Upon_The_Eyes()
1570
	attack = true
1571
	hum.WalkSpeed = 0
1572
	for i = 0, 6, 0.1 do
1573
		swait()
1574
		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)
1575
		neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1576
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1577
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1578
		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)
1579
		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)
1580
		HW.C0 = clerp(HW.C0, CF(0, 3.5 + 0.2 * Cos(sine / 20), 0) * angles(Rad(90), Rad(0), Rad(0)), 0.1)
1581
	end
1582
	Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
1583
	Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
1584
	Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
1585
	Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
1586
	CameraEnshaking(4, 25)
1587
	for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
1588
		if v:FindFirstChild("Head") then
1589
			Eviscerate(v)
1590
		end
1591
	end
1592
	for i = 0, 6, 0.1 do
1593
		swait()
1594
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 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 * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1596
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1597
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1598
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2)
1599
		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)
1600
		HW.C0 = clerp(HW.C0, CF(0, 3 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0 - 255.45 * i), Rad(0), Rad(0)), 0.15)
1601
	end
1602
	attack = false
1603
	hum.WalkSpeed = 10
1604
end
1605
function Eyeyeyeyeyeyey_Slammo()
1606
	attack = true
1607
	hum.WalkSpeed = 0
1608
	local Blobby = IT("Part", char)
1609
	Blobby.Name = "Blob"
1610
	Blobby.CanCollide = false
1611
	Blobby.BrickColor = BrickC("Really black")
1612
	Blobby.Transparency = 0
1613
	Blobby.Material = "Plastic"
1614
	Blobby.Size = Vector3.new(1, 1, 2)
1615
	Blobby.TopSurface = Enum.SurfaceType.Smooth
1616
	Blobby.BottomSurface = Enum.SurfaceType.Smooth
1617
1618
	local Weld = IT("Weld", Blobby)
1619
	Weld.Part0 = hed
1620
	Weld.Part1 = Blobby
1621
	Weld.C1 = CF(0, -17.6, 1.4)
1622
	Weld.C0 = angles(Rad(0),0,0)
1623
1624
	local M2 = IT("SpecialMesh")
1625
	M2.Parent = Blobby
1626
	M2.MeshId = "http://www.roblox.com/asset/?id=1185246"
1627
	M2.TextureId = "http://www.roblox.com/asset/?id=28301750"
1628
	M2.Scale = Vector3.new(45.65, 45.65, 45.65)
1629
	for i = 0, 6, 0.1 do
1630
		swait()
1631
		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.2)
1632
		neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1633
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1634
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1635
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
1636
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
1637
		HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
1638
	end
1639
	Magic(1, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
1640
	Magic(5, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
1641
	Magic(10, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
1642
	for i, v in pairs(FindNearestHead(root.CFrame.p, 25.5)) do
1643
		if v:FindFirstChild("Head") then
1644
			Eviscerate(v)
1645
		end
1646
	end
1647
	CameraEnshaking(4, 25)
1648
	for i = 0, 6, 0.1 do
1649
		swait()
1650
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(90 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
1651
		neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1652
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.3 - 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(90)), 0.15)
1653
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.3 - 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(-90)), 0.15)
1654
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
1655
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
1656
		HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
1657
	end
1658
	Blobby:Destroy()
1659
	attack = false
1660
	hum.WalkSpeed = 10
1661
end
1662
-------------------------------------------------------
1663
--End Attacks N Stuff--
1664
-------------------------------------------------------
1665
mouse.KeyDown:connect(function(key)
1666
	if attack == false then
1667
		if key == 't' then
1668
			Taunt1()
1669
		elseif key == 'y' then
1670
			Taunt2()
1671
		elseif key == 'z' then
1672
			Astigmatism()
1673
		elseif key == 'x' then
1674
			EyeThrow()
1675
		elseif key == 'c' then
1676
			Call_Upon_The_Eyes()
1677
		elseif key == 'v' then
1678
			Eyeyeyeyeyeyey_Slammo()
1679
		end
1680
	end
1681
end)
1682
1683
1684
 
1685
1686
1687
1688
1689
1690
1691
-------------------------------------------------------
1692
--Start Animations--
1693
-------------------------------------------------------
1694
while true do
1695
	swait()
1696
	sine = sine + change
1697
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
1698
	local velderp = root.Velocity.y
1699
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
1700
	if equipped == true or equipped == false then
1701
		if attack == false then
1702
			idle = idle + 1
1703
		else
1704
			idle = 0
1705
		end
1706
		if 1 < root.Velocity.y and hitfloor == nil then
1707
			Anim = "Jump"
1708
			if attack == false then
1709
				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)
1710
				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)
1711
				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)
1712
				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)
1713
				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)
1714
				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)
1715
			end
1716
		elseif -1 > root.Velocity.y and hitfloor == nil then
1717
			Anim = "Fall"
1718
			if attack == false then
1719
				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)
1720
				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)
1721
				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)
1722
				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)
1723
				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)
1724
				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)
1725
			end
1726
		elseif torvel < 1 and hitfloor ~= nil then
1727
			Anim = "Idle"
1728
			change = .5
1729
			if attack == false then
1730
				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)
1731
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1732
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1733
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
1734
				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)
1735
				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)
1736
				HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
1737
			end
1738
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
1739
			Anim = "Walk"
1740
			change = 1
1741
			if attack == false then
1742
				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)
1743
				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)
1744
				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)
1745
         		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)
1746
				RW.C0 = clerp(RW.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)
1747
				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)
1748
				HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
1749
			end
1750
		elseif torvel >= 25 and hitfloor ~= nil then
1751
			Anim = "Sprint"
1752
			change = 1.35
1753
			if attack == false then
1754
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
1755
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
1756
			RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * 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)
1757
         	LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * 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)
1758
			RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
1759
			LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110)  * Cos(sine / 7) , Rad(0) ,	Rad(-13) + la.RotVelocity.Y / 75), 0.15)
1760
			end
1761
		end
1762
	end
1763
	for _, c in pairs(char:GetChildren()) do
1764
		if c.ClassName == "Part" and c.Name ~= "Detail" then
1765
			--c.Material = "Fabric"
1766
			if c:FindFirstChildOfClass("ParticleEmitter") then
1767
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1768
			end
1769
			if c ~= hed then
1770
				--c.Color = C3(0,0,0)
1771
			else
1772
				c.Color = Color3.new(1,1,1)
1773
			end
1774
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1775
			c:remove()
1776
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
1777
			c:remove()
1778
		end
1779
	end
1780
	Music.SoundId = "rbxassetid://"..SONG
1781
	Music.Looped = true
1782
	Music.Pitch = 1
1783
	Music.Volume = 5
1784
	Music.Parent = tors
1785
	Music:Resume()
1786
	if 0 < #Effects then
1787
		for e = 1, #Effects do
1788
			if Effects[e] ~= nil then
1789
				local Thing = Effects[e]
1790
				if Thing ~= nil then
1791
					local Part = Thing[1]
1792
					local Mode = Thing[2]
1793
					local Delay = Thing[3]
1794
					local IncX = Thing[4]
1795
					local IncY = Thing[5]
1796
					local IncZ = Thing[6]
1797
					if 1 >= Thing[1].Transparency then
1798
						if Thing[2] == "Block1" then
1799
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1800
							local Mesh = Thing[1].Mesh
1801
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1802
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1803
						elseif Thing[2] == "Block2" then
1804
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
1805
							local Mesh = Thing[7]
1806
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1807
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1808
						elseif Thing[2] == "Block3" then
1809
							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)
1810
							local Mesh = Thing[7]
1811
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1812
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1813
						elseif Thing[2] == "Cylinder" then
1814
							local Mesh = Thing[1].Mesh
1815
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1816
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1817
						elseif Thing[2] == "Blood" then
1818
							local Mesh = Thing[7]
1819
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1820
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1821
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1822
						elseif Thing[2] == "Elec" then
1823
							local Mesh = Thing[1].Mesh
1824
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1825
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1826
						elseif Thing[2] == "Disappear" then
1827
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1828
						elseif Thing[2] == "Shatter" then
1829
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1830
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1831
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1832
							Thing[6] = Thing[6] + Thing[5]
1833
						end
1834
					else
1835
						Part.Parent = nil
1836
						table.remove(Effects, e)
1837
					end
1838
				end
1839
			end
1840
		end
1841
	end
1842
end
1843
-------------------------------------------------------
1844
--End Animations And Script--
1845
-------------------------------------------------------