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