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