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