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