SHOW:
|
|
- or go back to the newest paste.
1 | --hi fat | |
2 | --why did i make this? because I'm BORED. | |
3 | --also i took the base for this script from memeusv2 so if it's simular you know why | |
4 | wait() | |
5 | - | local Player = game.Players.localPlayer |
5 | + | local Player = game.answer66.localPlayer |
6 | local Character = Player.Character | |
7 | local plr = game:service'Players'.LocalPlayer | |
8 | local Humanoid = Character.Humanoid | |
9 | local char = plr.Character | |
10 | local hum = char.Humanoid | |
11 | local ra = char["Right Arm"] | |
12 | local la= char["Left Arm"] | |
13 | local rl= char["Right Leg"] | |
14 | local ll = char["Left Leg"] | |
15 | local hed = char.Head | |
16 | local root = char.HumanoidRootPart | |
17 | local rootj = root.RootJoint | |
18 | local tors = char.Torso | |
19 | local mouse = plr:GetMouse() | |
20 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
21 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
22 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
23 | local cam = game.Workspace.CurrentCamera | |
24 | trazx = Instance.new("ParticleEmitter") | |
25 | c = game.Players.LocalPlayer.Character | |
26 | local sine=0 | |
27 | Character.Head.face.Texture = "rbxassetid://183225545" | |
28 | ||
29 | ------------------------------------------------------- | |
30 | --Start Good Stuff-- | |
31 | ------------------------------------------------------- | |
32 | CF = CFrame.new | |
33 | angles = CFrame.Angles | |
34 | attack = false | |
35 | timetofly = true | |
36 | Euler = CFrame.fromEulerAnglesXYZ | |
37 | Rad = math.rad | |
38 | IT = Instance.new | |
39 | BrickC = BrickColor.new | |
40 | Cos = math.cos | |
41 | Acos = math.acos | |
42 | Sin = math.sin | |
43 | Asin = math.asin | |
44 | Abs = math.abs | |
45 | Mrandom = math.random | |
46 | Floor = math.floor | |
47 | random = math.random | |
48 | radian = math.rad | |
49 | Vec3 = Vector3.new | |
50 | cFrame = CFrame.new | |
51 | Euler = CFrame.fromEulerAnglesXYZ | |
52 | ------------------------------------------------------- | |
53 | --End Good Stuff-- | |
54 | ------------------------------------------------------- | |
55 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
56 | RSH, LSH = nil, nil | |
57 | RW = Instance.new("Weld") | |
58 | LW = Instance.new("Weld") | |
59 | RH = tors["Right Hip"] | |
60 | LH = tors["Left Hip"] | |
61 | RSH = tors["Right Shoulder"] | |
62 | LSH = tors["Left Shoulder"] | |
63 | RSH.Parent = nil | |
64 | LSH.Parent = nil | |
65 | RW.Name = "RW" | |
66 | RW.Part0 = tors | |
67 | RW.C0 = CF(1.5, 0.5, 0) | |
68 | RW.C1 = CF(0, 0.5, 0) | |
69 | RW.Part1 = ra | |
70 | RW.Parent = tors | |
71 | LW.Name = "LW" | |
72 | LW.Part0 = tors | |
73 | LW.C0 = CF(-1.5, 0.5, 0) | |
74 | LW.C1 = CF(0, 0.5, 0) | |
75 | LW.Part1 = la | |
76 | LW.Parent = tors | |
77 | Effects = {} | |
78 | ||
79 | ------------------------------------------------------- | |
80 | --Start HeartBeat-- | |
81 | ------------------------------------------------------- | |
82 | ArtificialHB = Instance.new("BindableEvent", script) | |
83 | ArtificialHB.Name = "Heartbeat" | |
84 | script:WaitForChild("Heartbeat") | |
85 | ||
86 | frame = 1 / 60 | |
87 | tf = 0 | |
88 | allowframeloss = false | |
89 | tossremainder = false | |
90 | ||
91 | ||
92 | lastframe = tick() | |
93 | script.Heartbeat:Fire() | |
94 | ||
95 | ||
96 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
97 | tf = tf + s | |
98 | if tf >= frame then | |
99 | if allowframeloss then | |
100 | script.Heartbeat:Fire() | |
101 | lastframe = tick() | |
102 | else | |
103 | for i = 1, math.floor(tf / frame) do | |
104 | script.Heartbeat:Fire() | |
105 | end | |
106 | lastframe = tick() | |
107 | end | |
108 | if tossremainder then | |
109 | tf = 0 | |
110 | else | |
111 | tf = tf - frame * math.floor(tf / frame) | |
112 | end | |
113 | end | |
114 | end) | |
115 | ------------------------------------------------------- | |
116 | --End HeartBeat-- | |
117 | ------------------------------------------------------- | |
118 | ||
119 | function CameraEnshaking(Length, Intensity) --Took Straight from StarGlitcher! | |
120 | coroutine.resume(coroutine.create(function() | |
121 | local intensity = 1 * Intensity | |
122 | local rotM = 0.01 * Intensity | |
123 | for i = 0, Length, 0.1 do | |
124 | swait() | |
125 | intensity = intensity - 0.05 * Intensity / Length | |
126 | rotM = rotM - 5.0E-4 * Intensity / Length | |
127 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
128 | cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM) | |
129 | end | |
130 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
131 | end)) | |
132 | end | |
133 | ||
134 | local joyemoji = Instance.new('ParticleEmitter', tors) | |
135 | joyemoji.VelocitySpread = 2000 | |
136 | joyemoji.Lifetime = NumberRange.new(1) | |
137 | joyemoji.Speed = NumberRange.new(40) | |
138 | joy= {} | |
139 | for i=0, 19 do | |
140 | joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
141 | end | |
142 | joyemoji.Size = NumberSequence.new(joy) | |
143 | joyemoji.Rate = 0 | |
144 | joyemoji.LockedToPart = false | |
145 | joyemoji.LightEmission = 0 | |
146 | joyemoji.Texture = "rbxassetid://1176402123" | |
147 | joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
148 | ||
149 | ||
150 | local LIT = Instance.new('ParticleEmitter', tors) | |
151 | LIT.VelocitySpread = 2000 | |
152 | LIT.Lifetime = NumberRange.new(1) | |
153 | LIT.Speed = NumberRange.new(45) | |
154 | nani= {} | |
155 | for i=0, 19 do | |
156 | nani[#nani+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
157 | end | |
158 | LIT.Size = NumberSequence.new(nani) | |
159 | LIT.Rate = 0 | |
160 | LIT.LockedToPart = false | |
161 | LIT.LightEmission = 0 | |
162 | LIT.Texture = "rbxassetid://1492670151" | |
163 | LIT.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
164 | ||
165 | local toast = Instance.new('ParticleEmitter', tors) | |
166 | toast.VelocitySpread = 2000 | |
167 | toast.Lifetime = NumberRange.new(1) | |
168 | toast.Speed = NumberRange.new(60) | |
169 | toasterstoasttoast= {} | |
170 | for i=0, 19 do | |
171 | toasterstoasttoast[#toasterstoasttoast+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
172 | end | |
173 | toast.Size = NumberSequence.new(toasterstoasttoast) | |
174 | toast.Rate = 0 | |
175 | toast.LockedToPart = false | |
176 | toast.LightEmission = 0 | |
177 | toast.Texture = "rbxassetid://436096230" | |
178 | toast.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
179 | ||
180 | local ok = Instance.new('ParticleEmitter', tors) | |
181 | ok.VelocitySpread = 2000 | |
182 | ok.Lifetime = NumberRange.new(1) | |
183 | ok.Speed = NumberRange.new(50) | |
184 | cool= {} | |
185 | for i=0, 19 do | |
186 | cool[#cool+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
187 | end | |
188 | ok.Size = NumberSequence.new(cool) | |
189 | ok.Rate = 0 | |
190 | ok.LockedToPart = false | |
191 | ok.LightEmission = 0 | |
192 | ok.Texture = "rbxassetid://636768448" | |
193 | ok.Color = ColorSequence.new(BrickColor.new("Institutional white").Color) | |
194 | ||
195 | ------------------------------------------------------- | |
196 | --Start Kyu's shitty stuff-- | |
197 | ------------------------------------------------------- | |
198 | ||
199 | function ragdoll(model) | |
200 | local char = model | |
201 | torso = char.HumanoidRootPart | |
202 | torso2 = char.Torso | |
203 | LW.Parent = nil | |
204 | RW.Parent = nil | |
205 | LH.Parent = nil | |
206 | RH.Parent = nil | |
207 | if hum ~= nil then | |
208 | hum.PlatformStand = true | |
209 | end | |
210 | ||
211 | local Head = char:FindFirstChild("Head") | |
212 | if Head then | |
213 | local Neck = Instance.new("Weld") | |
214 | Neck.Name = "Neck" | |
215 | Neck.Part0 = torso | |
216 | Neck.Part1 = Head | |
217 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
218 | Neck.C1 = CFrame.new() | |
219 | Neck.Parent = torso | |
220 | end | |
221 | local Limb = char:FindFirstChild("Right Arm") | |
222 | if Limb then | |
223 | ||
224 | Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0) | |
225 | local Joint = Instance.new("Glue") | |
226 | Joint.Name = "RightShoulder" | |
227 | Joint.Part0 = torso | |
228 | Joint.Part1 = Limb | |
229 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
230 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
231 | Joint.Parent = torso | |
232 | ||
233 | local B = Instance.new("Part") | |
234 | B.TopSurface = 0 | |
235 | B.BottomSurface = 0 | |
236 | B.formFactor = "Symmetric" | |
237 | B.Size = Vector3.new(1, 1, 1) | |
238 | B.Transparency = 1 | |
239 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
240 | B.Parent = char | |
241 | local W = Instance.new("Weld") | |
242 | W.Part0 = Limb | |
243 | W.Part1 = B | |
244 | W.C0 = CFrame.new(0, -0.5, 0) | |
245 | W.Parent = Limb | |
246 | ||
247 | end | |
248 | local Limb = char:FindFirstChild("Left Arm") | |
249 | if Limb then | |
250 | ||
251 | Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0) | |
252 | local Joint = Instance.new("Glue") | |
253 | Joint.Name = "LeftShoulder" | |
254 | Joint.Part0 = torso | |
255 | Joint.Part1 = Limb | |
256 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
257 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
258 | Joint.Parent = torso | |
259 | ||
260 | local B = Instance.new("Part") | |
261 | B.TopSurface = 0 | |
262 | B.BottomSurface = 0 | |
263 | B.formFactor = "Symmetric" | |
264 | B.Size = Vector3.new(1, 1, 1) | |
265 | B.Transparency = 1 | |
266 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
267 | B.Parent = char | |
268 | local W = Instance.new("Weld") | |
269 | W.Part0 = Limb | |
270 | W.Part1 = B | |
271 | W.C0 = CFrame.new(0, -0.5, 0) | |
272 | W.Parent = Limb | |
273 | ||
274 | end | |
275 | local Limb = char:FindFirstChild("Right Leg") | |
276 | if Limb then | |
277 | ||
278 | Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0) | |
279 | local Joint = Instance.new("Glue") | |
280 | Joint.Name = "RightHip" | |
281 | Joint.Part0 = torso | |
282 | Joint.Part1 = Limb | |
283 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
284 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
285 | Joint.Parent = torso | |
286 | ||
287 | local B = Instance.new("Part") | |
288 | B.TopSurface = 0 | |
289 | B.BottomSurface = 0 | |
290 | B.formFactor = "Symmetric" | |
291 | B.Size = Vector3.new(1, 1, 1) | |
292 | B.Transparency = 1 | |
293 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
294 | B.Parent = char | |
295 | local W = Instance.new("Weld") | |
296 | W.Part0 = Limb | |
297 | W.Part1 = B | |
298 | W.C0 = CFrame.new(0, -0.5, 0) | |
299 | W.Parent = Limb | |
300 | ||
301 | end | |
302 | local Limb = char:FindFirstChild("Left Leg") | |
303 | if Limb then | |
304 | ||
305 | Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0) | |
306 | local Joint = Instance.new("Glue") | |
307 | Joint.Name = "LeftHip" | |
308 | Joint.Part0 = torso | |
309 | Joint.Part1 = Limb | |
310 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
311 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
312 | Joint.Parent = torso | |
313 | ||
314 | local B = Instance.new("Part") | |
315 | B.TopSurface = 0 | |
316 | B.BottomSurface = 0 | |
317 | B.formFactor = "Symmetric" | |
318 | B.Size = Vector3.new(1, 1, 1) | |
319 | B.Transparency = 1 | |
320 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
321 | B.Parent = char | |
322 | local W = Instance.new("Weld") | |
323 | W.Part0 = Limb | |
324 | W.Part1 = B | |
325 | W.C0 = CFrame.new(0, -0.5, 0) | |
326 | W.Parent = Limb | |
327 | ||
328 | end | |
329 | --[ | |
330 | local Bar = Instance.new("Part") | |
331 | Bar.TopSurface = 0 | |
332 | Bar.BottomSurface = 0 | |
333 | Bar.formFactor = "Symmetric" | |
334 | Bar.Size = Vector3.new(1, 1, 1) | |
335 | Bar.Transparency = 1 | |
336 | Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0) | |
337 | Bar.Parent = char | |
338 | local Weld = Instance.new("Weld") | |
339 | Weld.Part0 = torso | |
340 | Weld.Part1 = Bar | |
341 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
342 | Weld.Parent = torso | |
343 | --]] | |
344 | ||
345 | torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z)) | |
346 | ||
347 | end | |
348 | ||
349 | ------------------------------------------------------- | |
350 | --End Kyu's shitty stuff-- | |
351 | ------------------------------------------------------- | |
352 | ||
353 | ------------------------------------------------------- | |
354 | --Start Important Functions-- | |
355 | ------------------------------------------------------- | |
356 | function swait(num) | |
357 | if num == 0 or num == nil then | |
358 | game:service("RunService").Stepped:wait(0) | |
359 | else | |
360 | for i = 0, num do | |
361 | game:service("RunService").Stepped:wait(0) | |
362 | end | |
363 | end | |
364 | end | |
365 | function thread(f) | |
366 | coroutine.resume(coroutine.create(f)) | |
367 | end | |
368 | function clerp(a, b, t) | |
369 | local qa = { | |
370 | QuaternionFromCFrame(a) | |
371 | } | |
372 | local qb = { | |
373 | QuaternionFromCFrame(b) | |
374 | } | |
375 | local ax, ay, az = a.x, a.y, a.z | |
376 | local bx, by, bz = b.x, b.y, b.z | |
377 | local _t = 1 - t | |
378 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
379 | end | |
380 | function QuaternionFromCFrame(cf) | |
381 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
382 | local trace = m00 + m11 + m22 | |
383 | if trace > 0 then | |
384 | local s = math.sqrt(1 + trace) | |
385 | local recip = 0.5 / s | |
386 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
387 | else | |
388 | local i = 0 | |
389 | if m00 < m11 then | |
390 | i = 1 | |
391 | end | |
392 | if m22 > (i == 0 and m00 or m11) then | |
393 | i = 2 | |
394 | end | |
395 | if i == 0 then | |
396 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
397 | local recip = 0.5 / s | |
398 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
399 | elseif i == 1 then | |
400 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
401 | local recip = 0.5 / s | |
402 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
403 | elseif i == 2 then | |
404 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
405 | local recip = 0.5 / s | |
406 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
407 | end | |
408 | end | |
409 | end | |
410 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
411 | local xs, ys, zs = x + x, y + y, z + z | |
412 | local wx, wy, wz = w * xs, w * ys, w * zs | |
413 | local xx = x * xs | |
414 | local xy = x * ys | |
415 | local xz = x * zs | |
416 | local yy = y * ys | |
417 | local yz = y * zs | |
418 | local zz = z * zs | |
419 | 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)) | |
420 | end | |
421 | function QuaternionSlerp(a, b, t) | |
422 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
423 | local startInterp, finishInterp | |
424 | if cosTheta >= 1.0E-4 then | |
425 | if 1 - cosTheta > 1.0E-4 then | |
426 | local theta = math.acos(cosTheta) | |
427 | local invSinTheta = 1 / Sin(theta) | |
428 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
429 | finishInterp = Sin(t * theta) * invSinTheta | |
430 | else | |
431 | startInterp = 1 - t | |
432 | finishInterp = t | |
433 | end | |
434 | elseif 1 + cosTheta > 1.0E-4 then | |
435 | local theta = math.acos(-cosTheta) | |
436 | local invSinTheta = 1 / Sin(theta) | |
437 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
438 | finishInterp = Sin(t * theta) * invSinTheta | |
439 | else | |
440 | startInterp = t - 1 | |
441 | finishInterp = t | |
442 | end | |
443 | 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 | |
444 | end | |
445 | function rayCast(Position, Direction, Range, Ignore) | |
446 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
447 | end | |
448 | local RbxUtility = LoadLibrary("RbxUtility") | |
449 | local Create = RbxUtility.Create | |
450 | ||
451 | ------------------------------------------------------- | |
452 | --Start Damage Function-- | |
453 | ------------------------------------------------------- | |
454 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
455 | if hit.Parent == nil then | |
456 | return | |
457 | end | |
458 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
459 | for _, v in pairs(hit.Parent:children()) do | |
460 | if v:IsA("Humanoid") then | |
461 | h = v | |
462 | end | |
463 | end | |
464 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
465 | warn'No R15 allowed' | |
466 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
467 | end | |
468 | ||
469 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
470 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
471 | if hit.Parent.DebounceHit.Value == true then | |
472 | return | |
473 | end | |
474 | end | |
475 | if insta == true then | |
476 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
477 | end | |
478 | local c = Create("ObjectValue"){ | |
479 | Name = "creator", | |
480 | Value = game:service("Players").LocalPlayer, | |
481 | Parent = h, | |
482 | } | |
483 | game:GetService("Debris"):AddItem(c, .5) | |
484 | if HitSound ~= nil and HitPitch ~= nil then | |
485 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
486 | end | |
487 | local Damage = math.random(minim, maxim) | |
488 | local blocked = false | |
489 | local block = hit.Parent:findFirstChild("Block") | |
490 | if block ~= nil then | |
491 | if block.className == "IntValue" then | |
492 | if block.Value > 0 then | |
493 | blocked = true | |
494 | block.Value = block.Value - 1 | |
495 | print(block.Value) | |
496 | end | |
497 | end | |
498 | end | |
499 | if blocked == false then | |
500 | h.Health = h.Health - Damage | |
501 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
502 | else | |
503 | h.Health = h.Health - (Damage / 2) | |
504 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
505 | end | |
506 | if Type == "Knockdown" then | |
507 | local hum = hit.Parent.Humanoid | |
508 | hum.PlatformStand = true | |
509 | coroutine.resume(coroutine.create(function(HHumanoid) | |
510 | swait(1) | |
511 | HHumanoid.PlatformStand = false | |
512 | end), hum) | |
513 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
514 | local bodvol = Create("BodyVelocity"){ | |
515 | velocity = angle * knockback, | |
516 | P = 5000, | |
517 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
518 | Parent = hit, | |
519 | } | |
520 | local rl = Create("BodyAngularVelocity"){ | |
521 | P = 3000, | |
522 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
523 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
524 | Parent = hit, | |
525 | } | |
526 | game:GetService("Debris"):AddItem(bodvol, .5) | |
527 | game:GetService("Debris"):AddItem(rl, .5) | |
528 | elseif Type == "Normal" then | |
529 | local vp = Create("BodyVelocity"){ | |
530 | P = 500, | |
531 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
532 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
533 | } | |
534 | if knockback > 0 then | |
535 | vp.Parent = hit.Parent.Torso | |
536 | end | |
537 | game:GetService("Debris"):AddItem(vp, .5) | |
538 | elseif Type == "Up" then | |
539 | local bodyVelocity = Create("BodyVelocity"){ | |
540 | velocity = Vector3.new(0, 20, 0), | |
541 | P = 5000, | |
542 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
543 | Parent = hit, | |
544 | } | |
545 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
546 | elseif Type == "DarkUp" then | |
547 | coroutine.resume(coroutine.create(function() | |
548 | for i = 0, 1, 0.1 do | |
549 | swait() | |
550 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
551 | end | |
552 | end)) | |
553 | local bodyVelocity = Create("BodyVelocity"){ | |
554 | velocity = Vector3.new(0, 20, 0), | |
555 | P = 5000, | |
556 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
557 | Parent = hit, | |
558 | } | |
559 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
560 | elseif Type == "Snare" then | |
561 | local bp = Create("BodyPosition"){ | |
562 | P = 2000, | |
563 | D = 100, | |
564 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
565 | position = hit.Parent.Torso.Position, | |
566 | Parent = hit.Parent.Torso, | |
567 | } | |
568 | game:GetService("Debris"):AddItem(bp, 1) | |
569 | elseif Type == "Freeze" then | |
570 | local BodPos = Create("BodyPosition"){ | |
571 | P = 50000, | |
572 | D = 1000, | |
573 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
574 | position = hit.Parent.Torso.Position, | |
575 | Parent = hit.Parent.Torso, | |
576 | } | |
577 | local BodGy = Create("BodyGyro") { | |
578 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
579 | P = 20e+003, | |
580 | Parent = hit.Parent.Torso, | |
581 | cframe = hit.Parent.Torso.CFrame, | |
582 | } | |
583 | hit.Parent.Torso.Anchored = true | |
584 | coroutine.resume(coroutine.create(function(Part) | |
585 | swait(1.5) | |
586 | Part.Anchored = false | |
587 | end), hit.Parent.Torso) | |
588 | game:GetService("Debris"):AddItem(BodPos, 3) | |
589 | game:GetService("Debris"):AddItem(BodGy, 3) | |
590 | end | |
591 | local debounce = Create("BoolValue"){ | |
592 | Name = "DebounceHit", | |
593 | Parent = hit.Parent, | |
594 | Value = true, | |
595 | } | |
596 | game:GetService("Debris"):AddItem(debounce, Delay) | |
597 | c = Create("ObjectValue"){ | |
598 | Name = "creator", | |
599 | Value = Player, | |
600 | Parent = h, | |
601 | } | |
602 | game:GetService("Debris"):AddItem(c, .5) | |
603 | end | |
604 | end | |
605 | ------------------------------------------------------- | |
606 | --End Damage Function-- | |
607 | ------------------------------------------------------- | |
608 | ||
609 | ------------------------------------------------------- | |
610 | --Start Damage Function Customization-- | |
611 | ------------------------------------------------------- | |
612 | function ShowDamage(Pos, Text, Time, Color) | |
613 | local Rate = (1 / 30) | |
614 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
615 | local Text = (Text or "") | |
616 | local Time = (Time or 2) | |
617 | local Color = (Color or Color3.new(1, 0, 1)) | |
618 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
619 | EffectPart.Anchored = true | |
620 | local BillboardGui = Create("BillboardGui"){ | |
621 | Size = UDim2.new(3, 0, 3, 0), | |
622 | Adornee = EffectPart, | |
623 | Parent = EffectPart, | |
624 | } | |
625 | local TextLabel = Create("TextLabel"){ | |
626 | BackgroundTransparency = 1, | |
627 | Size = UDim2.new(1, 0, 1, 0), | |
628 | Text = Text, | |
629 | Font = "Highway", | |
630 | TextColor3 = Color, | |
631 | TextScaled = true, | |
632 | Parent = BillboardGui, | |
633 | } | |
634 | game.Debris:AddItem(EffectPart, (Time)) | |
635 | EffectPart.Parent = game:GetService("Workspace") | |
636 | delay(0, function() | |
637 | local Frames = (Time / Rate) | |
638 | for Frame = 1, Frames do | |
639 | wait(Rate) | |
640 | local Percent = (Frame / Frames) | |
641 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
642 | TextLabel.TextTransparency = Percent | |
643 | end | |
644 | if EffectPart and EffectPart.Parent then | |
645 | EffectPart:Destroy() | |
646 | end | |
647 | end) | |
648 | end | |
649 | ------------------------------------------------------- | |
650 | --End Damage Function Customization-- | |
651 | ------------------------------------------------------- | |
652 | ||
653 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
654 | for _, c in pairs(workspace:children()) do | |
655 | local hum = c:findFirstChild("Humanoid") | |
656 | if hum ~= nil then | |
657 | local head = c:findFirstChild("Head") | |
658 | if head ~= nil then | |
659 | local targ = head.Position - Part.Position | |
660 | local mag = targ.magnitude | |
661 | if magni >= mag and c.Name ~= plr.Name then | |
662 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2) | |
663 | end | |
664 | end | |
665 | end | |
666 | end | |
667 | end | |
668 | ||
669 | ||
670 | CFuncs = { | |
671 | Part = { | |
672 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
673 | local Part = Create("Part")({ | |
674 | Parent = Parent, | |
675 | Reflectance = Reflectance, | |
676 | Transparency = Transparency, | |
677 | CanCollide = false, | |
678 | Locked = true, | |
679 | BrickColor = BrickColor.new(tostring(BColor)), | |
680 | Name = Name, | |
681 | Size = Size, | |
682 | Material = Material | |
683 | }) | |
684 | RemoveOutlines(Part) | |
685 | return Part | |
686 | end | |
687 | }, | |
688 | Mesh = { | |
689 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
690 | local Msh = Create(Mesh)({ | |
691 | Parent = Part, | |
692 | Offset = OffSet, | |
693 | Scale = Scale | |
694 | }) | |
695 | if Mesh == "SpecialMesh" then | |
696 | Msh.MeshType = MeshType | |
697 | Msh.MeshId = MeshId | |
698 | end | |
699 | return Msh | |
700 | end | |
701 | }, | |
702 | Mesh = { | |
703 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
704 | local Msh = Create(Mesh)({ | |
705 | Parent = Part, | |
706 | Offset = OffSet, | |
707 | Scale = Scale | |
708 | }) | |
709 | if Mesh == "SpecialMesh" then | |
710 | Msh.MeshType = MeshType | |
711 | Msh.MeshId = MeshId | |
712 | end | |
713 | return Msh | |
714 | end | |
715 | }, | |
716 | Weld = { | |
717 | Create = function(Parent, Part0, Part1, C0, C1) | |
718 | local Weld = Create("Weld")({ | |
719 | Parent = Parent, | |
720 | Part0 = Part0, | |
721 | Part1 = Part1, | |
722 | C0 = C0, | |
723 | C1 = C1 | |
724 | }) | |
725 | return Weld | |
726 | end | |
727 | }, | |
728 | Sound = { | |
729 | Create = function(id, par, vol, pit) | |
730 | coroutine.resume(coroutine.create(function() | |
731 | local S = Create("Sound")({ | |
732 | Volume = vol, | |
733 | Pitch = pit or 1, | |
734 | SoundId = id, | |
735 | Parent = par or workspace | |
736 | }) | |
737 | wait() | |
738 | S:play() | |
739 | game:GetService("Debris"):AddItem(S, 6) | |
740 | end)) | |
741 | end | |
742 | }, | |
743 | ParticleEmitter = { | |
744 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
745 | local fp = Create("ParticleEmitter")({ | |
746 | Parent = Parent, | |
747 | Color = ColorSequence.new(Color1, Color2), | |
748 | LightEmission = LightEmission, | |
749 | Size = Size, | |
750 | Texture = Texture, | |
751 | Transparency = Transparency, | |
752 | ZOffset = ZOffset, | |
753 | Acceleration = Accel, | |
754 | Drag = Drag, | |
755 | LockedToPart = LockedToPart, | |
756 | VelocityInheritance = VelocityInheritance, | |
757 | EmissionDirection = EmissionDirection, | |
758 | Enabled = Enabled, | |
759 | Lifetime = LifeTime, | |
760 | Rate = Rate, | |
761 | Rotation = Rotation, | |
762 | RotSpeed = RotSpeed, | |
763 | Speed = Speed, | |
764 | VelocitySpread = VelocitySpread | |
765 | }) | |
766 | return fp | |
767 | end | |
768 | } | |
769 | } | |
770 | function RemoveOutlines(part) | |
771 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
772 | end | |
773 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
774 | local Part = Create("Part")({ | |
775 | formFactor = FormFactor, | |
776 | Parent = Parent, | |
777 | Reflectance = Reflectance, | |
778 | Transparency = Transparency, | |
779 | CanCollide = false, | |
780 | Locked = true, | |
781 | BrickColor = BrickColor.new(tostring(BColor)), | |
782 | Name = Name, | |
783 | Size = Size, | |
784 | Material = Material | |
785 | }) | |
786 | RemoveOutlines(Part) | |
787 | return Part | |
788 | end | |
789 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
790 | local Msh = Create(Mesh)({ | |
791 | Parent = Part, | |
792 | Offset = OffSet, | |
793 | Scale = Scale | |
794 | }) | |
795 | if Mesh == "SpecialMesh" then | |
796 | Msh.MeshType = MeshType | |
797 | Msh.MeshId = MeshId | |
798 | end | |
799 | return Msh | |
800 | end | |
801 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
802 | local Weld = Create("Weld")({ | |
803 | Parent = Parent, | |
804 | Part0 = Part0, | |
805 | Part1 = Part1, | |
806 | C0 = C0, | |
807 | C1 = C1 | |
808 | }) | |
809 | return Weld | |
810 | end | |
811 | ||
812 | ||
813 | ------------------------------------------------------- | |
814 | --Start Effect Function-- | |
815 | ------------------------------------------------------- | |
816 | EffectModel = Instance.new("Model", char) | |
817 | Effects = { | |
818 | Block = { | |
819 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
820 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
821 | prt.Anchored = true | |
822 | prt.CFrame = cframe | |
823 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
824 | game:GetService("Debris"):AddItem(prt, 10) | |
825 | if Type == 1 or Type == nil then | |
826 | table.insert(Effects, { | |
827 | prt, | |
828 | "Block1", | |
829 | delay, | |
830 | x3, | |
831 | y3, | |
832 | z3, | |
833 | msh | |
834 | }) | |
835 | elseif Type == 2 then | |
836 | table.insert(Effects, { | |
837 | prt, | |
838 | "Block2", | |
839 | delay, | |
840 | x3, | |
841 | y3, | |
842 | z3, | |
843 | msh | |
844 | }) | |
845 | else | |
846 | table.insert(Effects, { | |
847 | prt, | |
848 | "Block3", | |
849 | delay, | |
850 | x3, | |
851 | y3, | |
852 | z3, | |
853 | msh | |
854 | }) | |
855 | end | |
856 | end | |
857 | }, | |
858 | Sphere = { | |
859 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
860 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
861 | prt.Anchored = true | |
862 | prt.CFrame = cframe | |
863 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0,0,0), Vector3.new(x1, y1, z1)) | |
864 | game:GetService("Debris"):AddItem(prt, 10) | |
865 | table.insert(Effects, { | |
866 | prt, | |
867 | "Cylinder", | |
868 | delay, | |
869 | x3, | |
870 | y3, | |
871 | z3, | |
872 | msh | |
873 | }) | |
874 | end | |
875 | }, | |
876 | Cylinder = { | |
877 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
878 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
879 | prt.Anchored = true | |
880 | prt.CFrame = cframe | |
881 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
882 | game:GetService("Debris"):AddItem(prt, 10) | |
883 | table.insert(Effects, { | |
884 | prt, | |
885 | "Cylinder", | |
886 | delay, | |
887 | x3, | |
888 | y3, | |
889 | z3, | |
890 | msh | |
891 | }) | |
892 | end | |
893 | }, | |
894 | Wave = { | |
895 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
896 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
897 | prt.Anchored = true | |
898 | prt.CFrame = cframe | |
899 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
900 | game:GetService("Debris"):AddItem(prt, 10) | |
901 | table.insert(Effects, { | |
902 | prt, | |
903 | "Cylinder", | |
904 | delay, | |
905 | x3 / 60, | |
906 | y3 / 60, | |
907 | z3 / 60, | |
908 | msh | |
909 | }) | |
910 | end | |
911 | }, | |
912 | Ring = { | |
913 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
914 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
915 | prt.Anchored = true | |
916 | prt.CFrame = cframe | |
917 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
918 | game:GetService("Debris"):AddItem(prt, 10) | |
919 | table.insert(Effects, { | |
920 | prt, | |
921 | "Cylinder", | |
922 | delay, | |
923 | x3, | |
924 | y3, | |
925 | z3, | |
926 | msh | |
927 | }) | |
928 | end | |
929 | }, | |
930 | Break = { | |
931 | Create = function(brickcolor, cframe, x1, y1, z1) | |
932 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
933 | prt.Anchored = true | |
934 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
935 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
936 | local num = math.random(10, 50) / 1000 | |
937 | game:GetService("Debris"):AddItem(prt, 10) | |
938 | table.insert(Effects, { | |
939 | prt, | |
940 | "Shatter", | |
941 | num, | |
942 | prt.CFrame, | |
943 | math.random() - math.random(), | |
944 | 0, | |
945 | math.random(50, 100) / 100 | |
946 | }) | |
947 | end | |
948 | }, | |
949 | Spiral = { | |
950 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
951 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
952 | prt.Anchored = true | |
953 | prt.CFrame = cframe | |
954 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
955 | game:GetService("Debris"):AddItem(prt, 10) | |
956 | table.insert(Effects, { | |
957 | prt, | |
958 | "Cylinder", | |
959 | delay, | |
960 | x3, | |
961 | y3, | |
962 | z3, | |
963 | msh | |
964 | }) | |
965 | end | |
966 | }, | |
967 | Push = { | |
968 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
969 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
970 | prt.Anchored = true | |
971 | prt.CFrame = cframe | |
972 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
973 | game:GetService("Debris"):AddItem(prt, 10) | |
974 | table.insert(Effects, { | |
975 | prt, | |
976 | "Cylinder", | |
977 | delay, | |
978 | x3, | |
979 | y3, | |
980 | z3, | |
981 | msh | |
982 | }) | |
983 | end | |
984 | } | |
985 | } | |
986 | ------------------------------------------------------- | |
987 | --End Effect Function-- | |
988 | ------------------------------------------------------- | |
989 | ||
990 | function CreateSound(ID, PARENT, VOLUME, PITCH) --Very important. | |
991 | local NSound = nil | |
992 | coroutine.resume(coroutine.create(function() | |
993 | NSound = Instance.new("Sound", PARENT) | |
994 | NSound.Volume = VOLUME | |
995 | NSound.Pitch = PITCH | |
996 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
997 | swait() | |
998 | NSound:play() | |
999 | game:GetService("Debris"):AddItem(NSound, 10) | |
1000 | end)) | |
1001 | return NSound | |
1002 | end | |
1003 | ||
1004 | ||
1005 | ||
1006 | ||
1007 | ||
1008 | ------------------------------------------------------- | |
1009 | --End Important Functions-- | |
1010 | ------------------------------------------------------- | |
1011 | ||
1012 | NEWS = Instance.new("Sound", tors) --O NO | |
1013 | NEWS.SoundId = "http://www.roblox.com/asset/?id=1742986731" | |
1014 | NEWS.Volume = 100 | |
1015 | NEWS.Pitch = 1 | |
1016 | NEWS.Looped = false | |
1017 | NEWS.TimePosition = 1 | |
1018 | ||
1019 | AAAAA = Instance.new("Sound", tors) --aaa | |
1020 | AAAAA.SoundId = "http://www.roblox.com/asset/?id=0" | |
1021 | AAAAA.Volume = 10 | |
1022 | AAAAA.Pitch = 1 | |
1023 | AAAAA.Looped = false | |
1024 | AAAAA.TimePosition = 1 | |
1025 | ||
1026 | MERKIO = Instance.new("Sound", tors) --why | |
1027 | MERKIO.SoundId = "http://www.roblox.com/asset/?id=1003012899" | |
1028 | MERKIO.Volume = 10 | |
1029 | MERKIO.Pitch = 1 | |
1030 | MERKIO.Looped = false | |
1031 | MERKIO.TimePosition = 0 | |
1032 | ||
1033 | ------------------------------------------------------- | |
1034 | --Start Music Option-- | |
1035 | ------------------------------------------------------- | |
1036 | local Music = Instance.new("Sound",tors) | |
1037 | Music.Volume = 2.5 | |
1038 | Music.SoundId = "rbxassetid://" | |
1039 | Music.Looped = true | |
1040 | Music.Pitch = 1 --Pitcher | |
1041 | Music:Play() | |
1042 | ------------------------------------------------------- | |
1043 | --End Music Option-- | |
1044 | ------------------------------------------------------- | |
1045 | --hi fat >:) | |
1046 | ------------------------------------------------------- | |
1047 | --Start Attacks N Stuff-- | |
1048 | ------------------------------------------------------- | |
1049 | ||
1050 | function THEBESTOVERUSEDJOKEEVER() --oh god why did i make this a thing jeezus help me pls | |
1051 | attack = true | |
1052 | hum.WalkSpeed = 16 | |
1053 | Character.Head.face.Texture = "rbxassetid://183225545" | |
1054 | NEWS:Play() | |
1055 | repeat | |
1056 | NEWS.Parent = tors | |
1057 | swait() | |
1058 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
1059 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3) | |
1060 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
1061 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15) | |
1062 | RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
1063 | LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1) | |
1064 | until NEWS.Playing == false | |
1065 | game.Players.LocalPlayer.Character:BreakJoints() | |
1066 | local S = Instance.new("Explosion",workspace) | |
1067 | S.Position = tors.Position | |
1068 | S.BlastPressure = 9 | |
1069 | S.BlastRadius = 30 | |
1070 | S.ExplosionType = 0 | |
1071 | attack = false | |
1072 | hum.WalkSpeed = 16 | |
1073 | Character.Head.face.Texture = "rbxassetid://295197013" | |
1074 | attack = false | |
1075 | hum.WalkSpeed = 16 | |
1076 | end | |
1077 | ||
1078 | function sneakonehundred() | |
1079 | attack = true | |
1080 | hum.WalkSpeed = 0.03 | |
1081 | Character.Head.face.Texture = "rbxassetid://183225545" | |
1082 | CreateSound("1542642349", tors, 10, 1.05) | |
1083 | for i = 0,20,0.1 do | |
1084 | swait() | |
1085 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15) | |
1086 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4) | |
1087 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1088 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1089 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(-180)), 0.4) | |
1090 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(180)), 0.4) | |
1091 | end | |
1092 | CreateSound("138093919", tors, 10, 1.05) | |
1093 | wait(0.25) | |
1094 | Character.Head.face.Texture = "rbxassetid://1223903433" | |
1095 | for i = 0,7,0.1 do | |
1096 | swait() | |
1097 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15) | |
1098 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4) | |
1099 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1100 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1101 | RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-180)), 0.4) | |
1102 | LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(180)), 0.4) | |
1103 | end | |
1104 | Character.Head.face.Texture = "rbxassetid://183225545" | |
1105 | attack = false | |
1106 | hum.WalkSpeed = 16 | |
1107 | end | |
1108 | ||
1109 | function DANCEFORME() | |
1110 | attack = true | |
1111 | Character.Head.face.Texture = "rbxassetid://183225545" | |
1112 | MERKIO:Play() | |
1113 | repeat | |
1114 | for i = 0,0.7,0.2 do | |
1115 | swait() | |
1116 | MERKIO.Parent = tors | |
1117 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8) | |
1118 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9) | |
1119 | RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
1120 | LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
1121 | RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(115)), 0.77) | |
1122 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-115)), 0.67) | |
1123 | end | |
1124 | for i = 0,0.7,0.2 do | |
1125 | swait() | |
1126 | MERKIO.Parent = tors | |
1127 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8) | |
1128 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9) | |
1129 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
1130 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8) | |
1131 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.7) | |
1132 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.7) | |
1133 | end | |
1134 | until MERKIO.Playing == false | |
1135 | MERKIO:Stop() | |
1136 | Character.Head.face.Texture = "rbxassetid://183225545" | |
1137 | attack = false | |
1138 | hum.WalkSpeed = 16 | |
1139 | end | |
1140 | ||
1141 | function takethat() | |
1142 | attack = true | |
1143 | hum.WalkSpeed = 0 | |
1144 | CreateSound("1238240145", tors, 10, 1.05) | |
1145 | for i = 0,8.3,0.1 do | |
1146 | swait() | |
1147 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.7) | |
1148 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.7) | |
1149 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7) | |
1150 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7) | |
1151 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-.6), Rad(0)), 0.7) | |
1152 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.7) | |
1153 | end | |
1154 | CreateSound("135165859", tors, 10, 1.05) | |
1155 | for i = 0,6,0.1 do | |
1156 | swait() | |
1157 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
1158 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.85) | |
1159 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.7) | |
1160 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7) | |
1161 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7) | |
1162 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-.6), Rad(0)), 0.7) | |
1163 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(-.6), Rad(0 - 4.5 * Sin(sine / 20))), 0.7) | |
1164 | end | |
1165 | attack = false | |
1166 | hum.WalkSpeed = 16 | |
1167 | end | |
1168 | function SCREAM() | |
1169 | attack = true | |
1170 | hum.WalkSpeed = 16 | |
1171 | Character.Head.face.Texture = "rbxassetid://183225545" | |
1172 | local A = math.random(1,13) | |
1173 | if A == 1 then | |
1174 | AAAAA.SoundId = "rbxassetid://1213175909" | |
1175 | AAAAA.TimePosition = 0 | |
1176 | end | |
1177 | if A == 2 then | |
1178 | AAAAA.SoundId = "rbxassetid://1439720915" | |
1179 | AAAAA.TimePosition = 0 | |
1180 | end | |
1181 | if A == 3 then | |
1182 | AAAAA.SoundId = "rbxassetid://1213179504" | |
1183 | AAAAA.TimePosition = 0 | |
1184 | end | |
1185 | if A == 4 then | |
1186 | AAAAA.SoundId = "rbxassetid://1129186687" | |
1187 | AAAAA.TimePosition = 0 | |
1188 | end | |
1189 | if A == 5 then | |
1190 | AAAAA.SoundId = "rbxassetid://1163493843" | |
1191 | AAAAA.TimePosition = 0 | |
1192 | end | |
1193 | if A == 6 then | |
1194 | AAAAA.SoundId = "rbxassetid://1163494840" | |
1195 | AAAAA.TimePosition = 0 | |
1196 | end | |
1197 | if A == 7 then | |
1198 | AAAAA.SoundId = "rbxassetid://963936697" | |
1199 | AAAAA.TimePosition = 0 | |
1200 | end | |
1201 | if A == 8 then | |
1202 | AAAAA.SoundId = "rbxassetid://1494176499" | |
1203 | AAAAA.TimePosition = 1 | |
1204 | end | |
1205 | if A == 9 then | |
1206 | AAAAA.SoundId = "rbxassetid://1591656314" | |
1207 | AAAAA.TimePosition = 0 | |
1208 | end | |
1209 | if A == 10 then | |
1210 | AAAAA.SoundId = "rbxassetid://130767645" | |
1211 | AAAAA.TimePosition = 0 | |
1212 | end | |
1213 | if A == 11 then | |
1214 | AAAAA.SoundId = "rbxassetid://172818886" | |
1215 | AAAAA.TimePosition = 0 | |
1216 | end | |
1217 | if A == 12 then | |
1218 | AAAAA.SoundId = "rbxassetid://1402021995" | |
1219 | AAAAA.TimePosition = 0 | |
1220 | end | |
1221 | if A == 13 then | |
1222 | AAAAA.SoundId = "rbxassetid://130766856" | |
1223 | AAAAA.TimePosition = 0 | |
1224 | end | |
1225 | AAAAA:Play() | |
1226 | repeat | |
1227 | swait() | |
1228 | AAAAA.Parent = tors | |
1229 | rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
1230 | until AAAAA.Playing == false | |
1231 | hum.WalkSpeed = 16 | |
1232 | attack = false | |
1233 | hum.WalkSpeed = 16 | |
1234 | end | |
1235 | ||
1236 | MoreTaunts = false | |
1237 | mouse.KeyDown:connect(function(key) | |
1238 | if attack == false then | |
1239 | if MoreTaunts == false then | |
1240 | if key == 'q' then | |
1241 | THEBESTOVERUSEDJOKEEVER() | |
1242 | elseif key == 'e' then | |
1243 | SCREAM() | |
1244 | elseif key == 'r' then | |
1245 | sneakonehundred() | |
1246 | elseif key == 't' then | |
1247 | DANCEFORME() | |
1248 | elseif key == 'y' then | |
1249 | takethat() | |
1250 | end | |
1251 | end | |
1252 | end | |
1253 | end) | |
1254 | ||
1255 | ------------------------------------------------------- | |
1256 | --End Attacks N Stuff-- | |
1257 | ------------------------------------------------------- | |
1258 | ||
1259 | ||
1260 | ||
1261 | ||
1262 | while jumping do | |
1263 | Humanoid.Jump = true | |
1264 | wait(0.9) | |
1265 | end | |
1266 | ||
1267 | ||
1268 | ||
1269 | ||
1270 | ------------------------------------------------------- | |
1271 | --Start Animations-- | |
1272 | ------------------------------------------------------- | |
1273 | local equipped = false | |
1274 | local idle = 0 | |
1275 | local change = 1 | |
1276 | local val = 0 | |
1277 | local toim = 0 | |
1278 | local idleanim = 0.4 | |
1279 | hum.Animator.Parent = nil | |
1280 | while true do | |
1281 | swait() | |
1282 | sine = sine + change | |
1283 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1284 | local velderp = root.Velocity.y | |
1285 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) | |
1286 | if equipped == true or equipped == false then | |
1287 | if attack == false then | |
1288 | idle = idle + 1 | |
1289 | else | |
1290 | idle = 0 | |
1291 | end | |
1292 | if 1 < root.Velocity.y and hitfloor == nil then | |
1293 | Anim = "Jump" | |
1294 | if attack == false then | |
1295 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(60)), 0.15) | |
1296 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1297 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1298 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1299 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
1300 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
1301 | end | |
1302 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
1303 | Anim = "Fall" | |
1304 | if attack == false then | |
1305 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(180), Rad(0), Rad(0)), 0.15) | |
1306 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1307 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1308 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1309 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
1310 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
1311 | end | |
1312 | elseif torvel < 1 and hitfloor ~= nil then | |
1313 | Anim = "Idle" | |
1314 | change = 1 | |
1315 | if attack == false then | |
1316 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1317 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1318 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1319 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1320 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
1321 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
1322 | end | |
1323 | elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then | |
1324 | Anim = "Walk" | |
1325 | change = 1 | |
1326 | if attack == false then | |
1327 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0-255.45), Rad(0), Rad(0)), 0.15) | |
1328 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3) | |
1329 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1330 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
1331 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
1332 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) | |
1333 | end | |
1334 | end | |
1335 | end | |
1336 | if 0 < #Effects then | |
1337 | for e = 1, #Effects do | |
1338 | if Effects[e] ~= nil then | |
1339 | local Thing = Effects[e] | |
1340 | if Thing ~= nil then | |
1341 | local Part = Thing[1] | |
1342 | local Mode = Thing[2] | |
1343 | local Delay = Thing[3] | |
1344 | local IncX = Thing[4] | |
1345 | local IncY = Thing[5] | |
1346 | local IncZ = Thing[6] | |
1347 | if 1 >= Thing[1].Transparency then | |
1348 | if Thing[2] == "Block1" then | |
1349 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1350 | local Mesh = Thing[1].Mesh | |
1351 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1352 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1353 | elseif Thing[2] == "Block2" then | |
1354 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
1355 | local Mesh = Thing[7] | |
1356 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1357 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1358 | elseif Thing[2] == "Block3" then | |
1359 | 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) | |
1360 | local Mesh = Thing[7] | |
1361 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1362 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1363 | elseif Thing[2] == "Cylinder" then | |
1364 | local Mesh = Thing[1].Mesh | |
1365 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1366 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1367 | elseif Thing[2] == "Blood" then | |
1368 | local Mesh = Thing[7] | |
1369 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
1370 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1371 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1372 | elseif Thing[2] == "Elec" then | |
1373 | local Mesh = Thing[1].Mesh | |
1374 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1375 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1376 | elseif Thing[2] == "Disappear" then | |
1377 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1378 | elseif Thing[2] == "Shatter" then | |
1379 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1380 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1381 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1382 | Thing[6] = Thing[6] + Thing[5] | |
1383 | end | |
1384 | else | |
1385 | Part.Parent = nil | |
1386 | table.remove(Effects, e) | |
1387 | end | |
1388 | end | |
1389 | end | |
1390 | end | |
1391 | end | |
1392 | end | |
1393 | ------------------------------------------------------- | |
1394 | --End Animations And Script-- | |
1395 | ------------------------------------------------------- |