SHOW:
|
|
- or go back to the newest paste.
1 | local IDs = { | |
2 | 340106355, | |
3 | 927529620, | |
4 | 876981900, | |
5 | 398987889 | |
6 | } | |
7 | function swait(num) | |
8 | if num == 0 or num == nil then | |
9 | game:service("RunService").Stepped:wait(0) | |
10 | else | |
11 | for i = 0, num do | |
12 | game:service("RunService").Stepped:wait(0) | |
13 | end | |
14 | end | |
15 | end | |
16 | function thread(f) | |
17 | coroutine.resume(coroutine.create(f)) | |
18 | end | |
19 | function clerp(a, b, t) | |
20 | local qa = { | |
21 | QuaternionFromCFrame(a) | |
22 | } | |
23 | local qb = { | |
24 | QuaternionFromCFrame(b) | |
25 | } | |
26 | local ax, ay, az = a.x, a.y, a.z | |
27 | local bx, by, bz = b.x, b.y, b.z | |
28 | local _t = 1 - t | |
29 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
30 | end | |
31 | function QuaternionFromCFrame(cf) | |
32 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
33 | local trace = m00 + m11 + m22 | |
34 | if trace > 0 then | |
35 | local s = math.sqrt(1 + trace) | |
36 | local recip = 0.5 / s | |
37 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
38 | else | |
39 | local i = 0 | |
40 | if m00 < m11 then | |
41 | i = 1 | |
42 | end | |
43 | if m22 > (i == 0 and m00 or m11) then | |
44 | i = 2 | |
45 | end | |
46 | if i == 0 then | |
47 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
48 | local recip = 0.5 / s | |
49 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
50 | elseif i == 1 then | |
51 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
52 | local recip = 0.5 / s | |
53 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
54 | elseif i == 2 then | |
55 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
56 | local recip = 0.5 / s | |
57 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
58 | end | |
59 | end | |
60 | end | |
61 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
62 | local xs, ys, zs = x + x, y + y, z + z | |
63 | local wx, wy, wz = w * xs, w * ys, w * zs | |
64 | local xx = x * xs | |
65 | local xy = x * ys | |
66 | local xz = x * zs | |
67 | local yy = y * ys | |
68 | local yz = y * zs | |
69 | local zz = z * zs | |
70 | 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)) | |
71 | end | |
72 | function QuaternionSlerp(a, b, t) | |
73 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
74 | local startInterp, finishInterp | |
75 | if cosTheta >= 1.0E-4 then | |
76 | if 1 - cosTheta > 1.0E-4 then | |
77 | local theta = math.acos(cosTheta) | |
78 | local invSinTheta = 1 / math.sin(theta) | |
79 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
80 | finishInterp = math.sin(t * theta) * invSinTheta | |
81 | else | |
82 | startInterp = 1 - t | |
83 | finishInterp = t | |
84 | end | |
85 | elseif 1 + cosTheta > 1.0E-4 then | |
86 | local theta = math.acos(-cosTheta) | |
87 | local invSinTheta = 1 / math.sin(theta) | |
88 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
89 | finishInterp = math.sin(t * theta) * invSinTheta | |
90 | else | |
91 | startInterp = t - 1 | |
92 | finishInterp = t | |
93 | end | |
94 | 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 | |
95 | end | |
96 | function rayCast(Position, Direction, Range, Ignore) | |
97 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
98 | end | |
99 | wait() | |
100 | local plr = game:service("Players").LocalPlayer | |
101 | local char = plr.Character | |
102 | local hum = char.Humanoid | |
103 | ff = Instance.new("ForceField", game.Players.LocalPlayer.Character) | |
104 | ff.Visible = false | |
105 | hum.MaxHealth = 1.0E298 | |
106 | hum.Health = 1.0E298 | |
107 | game:GetService("RunService"):BindToRenderStep("ew", 0, function() | |
108 | if hum.Health > 0.1 and hum.Health < 1.0E298 then | |
109 | hum.MaxHealth = 1.0E298 | |
110 | hum.Health = 1.0E298 | |
111 | end | |
112 | end) | |
113 | local ra = char["Right Arm"] | |
114 | local la = char["Left Arm"] | |
115 | local rl = char["Right Leg"] | |
116 | local ll = char["Left Leg"] | |
117 | local hed = char.Head | |
118 | local root = char.HumanoidRootPart | |
119 | local rootj = root.RootJoint | |
120 | local tors = char.Torso | |
121 | local mouse = plr:GetMouse() | |
122 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
123 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
124 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
125 | local maincolor = BrickColor.new("Really black") | |
126 | cf = CFrame.new | |
127 | angles = CFrame.Angles | |
128 | attack = false | |
129 | euler = CFrame.fromEulerAnglesXYZ | |
130 | equipped = false | |
131 | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
132 | RSH, LSH = nil, nil | |
133 | RW = Instance.new("Weld") | |
134 | LW = Instance.new("Weld") | |
135 | RH = tors["Right Hip"] | |
136 | LH = tors["Left Hip"] | |
137 | RSH = tors["Right Shoulder"] | |
138 | LSH = tors["Left Shoulder"] | |
139 | RSH.Parent = nil | |
140 | LSH.Parent = nil | |
141 | RW.Name = "RW" | |
142 | RW.Part0 = tors | |
143 | RW.C0 = CFrame.new(1.5, 0.5, 0) | |
144 | RW.C1 = CFrame.new(0, 0.5, 0) | |
145 | RW.Part1 = ra | |
146 | RW.Parent = tors | |
147 | LW.Name = "LW" | |
148 | LW.Part0 = tors | |
149 | LW.C0 = CFrame.new(-1.5, 0.5, 0) | |
150 | LW.C1 = CFrame.new(0, 0.5, 0) | |
151 | LW.Part1 = la | |
152 | LW.Parent = tors | |
153 | print("User is " .. plr.Name) | |
154 | Effects = {} | |
155 | ArtificialHB = Instance.new("BindableEvent", script) | |
156 | ArtificialHB.Name = "Heartbeat" | |
157 | script:WaitForChild("Heartbeat") | |
158 | frame = 0.016666666666666666 | |
159 | tf = 0 | |
160 | allowframeloss = false | |
161 | tossremainder = false | |
162 | lastframe = tick() | |
163 | script.Heartbeat:Fire() | |
164 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
165 | tf = tf + s | |
166 | if tf >= frame then | |
167 | if allowframeloss then | |
168 | script.Heartbeat:Fire() | |
169 | lastframe = tick() | |
170 | else | |
171 | for i = 1, math.floor(tf / frame) do | |
172 | script.Heartbeat:Fire() | |
173 | end | |
174 | lastframe = tick() | |
175 | end | |
176 | if tossremainder then | |
177 | tf = 0 | |
178 | else | |
179 | tf = tf - frame * math.floor(tf / frame) | |
180 | end | |
181 | end | |
182 | end) | |
183 | local RbxUtility = LoadLibrary("RbxUtility") | |
184 | local Create = RbxUtility.Create | |
185 | function ShowDamage(Pos, Text, Time, Color) | |
186 | local Rate = 0.03333333333333333 | |
187 | local Pos = Pos or Vector3.new(0, 0, 0) | |
188 | local Text = Text or "" | |
189 | local Time = Time or 2 | |
190 | local Color = Color or Color3.new(1, 0, 1) | |
191 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
192 | EffectPart.Anchored = true | |
193 | local BillboardGui = Create("BillboardGui")({ | |
194 | Size = UDim2.new(3, 0, 3, 0), | |
195 | Adornee = EffectPart, | |
196 | Parent = EffectPart | |
197 | }) | |
198 | local TextLabel = Create("TextLabel")({ | |
199 | BackgroundTransparency = 1, | |
200 | Size = UDim2.new(1, 0, 1, 0), | |
201 | Text = Text, | |
202 | Font = "Highway", | |
203 | TextColor3 = Color, | |
204 | TextScaled = true, | |
205 | Parent = BillboardGui | |
206 | }) | |
207 | game.Debris:AddItem(EffectPart, Time) | |
208 | EffectPart.Parent = game:GetService("Workspace") | |
209 | delay(0, function() | |
210 | local Frames = Time / Rate | |
211 | for Frame = 1, Frames do | |
212 | wait(Rate) | |
213 | local Percent = Frame / Frames | |
214 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
215 | TextLabel.TextTransparency = Percent | |
216 | end | |
217 | if EffectPart and EffectPart.Parent then | |
218 | EffectPart:Destroy() | |
219 | end | |
220 | end) | |
221 | end | |
222 | CFuncs = { | |
223 | Part = { | |
224 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
225 | local Part = Create("Part")({ | |
226 | Parent = Parent, | |
227 | Reflectance = Reflectance, | |
228 | Transparency = Transparency, | |
229 | CanCollide = false, | |
230 | Locked = true, | |
231 | BrickColor = BrickColor.new(tostring(BColor)), | |
232 | Name = Name, | |
233 | Size = Size, | |
234 | Material = Material | |
235 | }) | |
236 | RemoveOutlines(Part) | |
237 | return Part | |
238 | end | |
239 | }, | |
240 | Mesh = { | |
241 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
242 | local Msh = Create(Mesh)({ | |
243 | Parent = Part, | |
244 | Offset = OffSet, | |
245 | Scale = Scale | |
246 | }) | |
247 | if Mesh == "SpecialMesh" then | |
248 | Msh.MeshType = MeshType | |
249 | Msh.MeshId = MeshId | |
250 | end | |
251 | return Msh | |
252 | end | |
253 | }, | |
254 | Mesh = { | |
255 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
256 | local Msh = Create(Mesh)({ | |
257 | Parent = Part, | |
258 | Offset = OffSet, | |
259 | Scale = Scale | |
260 | }) | |
261 | if Mesh == "SpecialMesh" then | |
262 | Msh.MeshType = MeshType | |
263 | Msh.MeshId = MeshId | |
264 | end | |
265 | return Msh | |
266 | end | |
267 | }, | |
268 | Weld = { | |
269 | Create = function(Parent, Part0, Part1, C0, C1) | |
270 | local Weld = Create("Weld")({ | |
271 | Parent = Parent, | |
272 | Part0 = Part0, | |
273 | Part1 = Part1, | |
274 | C0 = C0, | |
275 | C1 = C1 | |
276 | }) | |
277 | return Weld | |
278 | end | |
279 | }, | |
280 | Sound = { | |
281 | Create = function(id, par, vol, pit) | |
282 | coroutine.resume(coroutine.create(function() | |
283 | local S = Create("Sound")({ | |
284 | Volume = vol, | |
285 | Pitch = pit or 1, | |
286 | SoundId = id, | |
287 | Parent = par or workspace | |
288 | }) | |
289 | wait() | |
290 | S:play() | |
291 | game:GetService("Debris"):AddItem(S, 6) | |
292 | end)) | |
293 | end | |
294 | }, | |
295 | ParticleEmitter = { | |
296 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
297 | local fp = Create("ParticleEmitter")({ | |
298 | Parent = Parent, | |
299 | Color = ColorSequence.new(Color1, Color2), | |
300 | LightEmission = LightEmission, | |
301 | Size = Size, | |
302 | Texture = Texture, | |
303 | Transparency = Transparency, | |
304 | ZOffset = ZOffset, | |
305 | Acceleration = Accel, | |
306 | Drag = Drag, | |
307 | LockedToPart = LockedToPart, | |
308 | VelocityInheritance = VelocityInheritance, | |
309 | EmissionDirection = EmissionDirection, | |
310 | Enabled = Enabled, | |
311 | Lifetime = LifeTime, | |
312 | Rate = Rate, | |
313 | Rotation = Rotation, | |
314 | RotSpeed = RotSpeed, | |
315 | Speed = Speed, | |
316 | VelocitySpread = VelocitySpread | |
317 | }) | |
318 | return fp | |
319 | end | |
320 | } | |
321 | } | |
322 | function RemoveOutlines(part) | |
323 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
324 | end | |
325 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
326 | local NEWSOUND | |
327 | coroutine.resume(coroutine.create(function() | |
328 | NEWSOUND = Instance.new("Sound", PARENT) | |
329 | NEWSOUND.Volume = VOLUME | |
330 | NEWSOUND.Pitch = PITCH | |
331 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID | |
332 | swait() | |
333 | NEWSOUND:play() | |
334 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
335 | end)) | |
336 | return NEWSOUND | |
337 | end | |
338 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
339 | local Part = Create("Part")({ | |
340 | formFactor = FormFactor, | |
341 | Parent = Parent, | |
342 | Reflectance = Reflectance, | |
343 | Transparency = Transparency, | |
344 | CanCollide = false, | |
345 | Locked = true, | |
346 | BrickColor = BrickColor.new(tostring(BColor)), | |
347 | Name = Name, | |
348 | Size = Size, | |
349 | Material = Material | |
350 | }) | |
351 | RemoveOutlines(Part) | |
352 | return Part | |
353 | end | |
354 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
355 | local Msh = Create(Mesh)({ | |
356 | Parent = Part, | |
357 | Offset = OffSet, | |
358 | Scale = Scale | |
359 | }) | |
360 | if Mesh == "SpecialMesh" then | |
361 | Msh.MeshType = MeshType | |
362 | Msh.MeshId = MeshId | |
363 | end | |
364 | return Msh | |
365 | end | |
366 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
367 | local Weld = Create("Weld")({ | |
368 | Parent = Parent, | |
369 | Part0 = Part0, | |
370 | Part1 = Part1, | |
371 | C0 = C0, | |
372 | C1 = C1 | |
373 | }) | |
374 | return Weld | |
375 | end | |
376 | EffectModel = Instance.new("Model", char) | |
377 | Effects = { | |
378 | Block = { | |
379 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
380 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
381 | prt.Anchored = true | |
382 | prt.CFrame = cframe | |
383 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
384 | game:GetService("Debris"):AddItem(prt, 10) | |
385 | if Type == 1 or Type == nil then | |
386 | table.insert(Effects, { | |
387 | prt, | |
388 | "Block1", | |
389 | delay, | |
390 | x3, | |
391 | y3, | |
392 | z3, | |
393 | msh | |
394 | }) | |
395 | elseif Type == 2 then | |
396 | table.insert(Effects, { | |
397 | prt, | |
398 | "Block2", | |
399 | delay, | |
400 | x3, | |
401 | y3, | |
402 | z3, | |
403 | msh | |
404 | }) | |
405 | else | |
406 | table.insert(Effects, { | |
407 | prt, | |
408 | "Block3", | |
409 | delay, | |
410 | x3, | |
411 | y3, | |
412 | z3, | |
413 | msh | |
414 | }) | |
415 | end | |
416 | end | |
417 | }, | |
418 | Sphere = { | |
419 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
420 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
421 | prt.Anchored = true | |
422 | prt.CFrame = cframe | |
423 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
424 | game:GetService("Debris"):AddItem(prt, 10) | |
425 | table.insert(Effects, { | |
426 | prt, | |
427 | "Cylinder", | |
428 | delay, | |
429 | x3, | |
430 | y3, | |
431 | z3, | |
432 | msh | |
433 | }) | |
434 | end | |
435 | }, | |
436 | Cylinder = { | |
437 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
438 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
439 | prt.Anchored = true | |
440 | prt.CFrame = cframe | |
441 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
442 | game:GetService("Debris"):AddItem(prt, 10) | |
443 | table.insert(Effects, { | |
444 | prt, | |
445 | "Cylinder", | |
446 | delay, | |
447 | x3, | |
448 | y3, | |
449 | z3, | |
450 | msh | |
451 | }) | |
452 | end | |
453 | }, | |
454 | Wave = { | |
455 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
456 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
457 | prt.Anchored = true | |
458 | prt.CFrame = cframe | |
459 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
460 | game:GetService("Debris"):AddItem(prt, 10) | |
461 | table.insert(Effects, { | |
462 | prt, | |
463 | "Cylinder", | |
464 | delay, | |
465 | x3 / 60, | |
466 | y3 / 60, | |
467 | z3 / 60, | |
468 | msh | |
469 | }) | |
470 | end | |
471 | }, | |
472 | Ring = { | |
473 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
474 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
475 | prt.Anchored = true | |
476 | prt.CFrame = cframe | |
477 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
478 | game:GetService("Debris"):AddItem(prt, 10) | |
479 | table.insert(Effects, { | |
480 | prt, | |
481 | "Cylinder", | |
482 | delay, | |
483 | x3, | |
484 | y3, | |
485 | z3, | |
486 | msh | |
487 | }) | |
488 | end | |
489 | }, | |
490 | Break = { | |
491 | Create = function(brickcolor, cframe, x1, y1, z1) | |
492 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
493 | prt.Anchored = true | |
494 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
495 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
496 | local num = math.random(10, 50) / 1000 | |
497 | game:GetService("Debris"):AddItem(prt, 10) | |
498 | table.insert(Effects, { | |
499 | prt, | |
500 | "Shatter", | |
501 | num, | |
502 | prt.CFrame, | |
503 | math.random() - math.random(), | |
504 | 0, | |
505 | math.random(50, 100) / 100 | |
506 | }) | |
507 | end | |
508 | } | |
509 | } | |
510 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
511 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
512 | prt.Anchored = true | |
513 | prt.CFrame = cframe | |
514 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
515 | game:GetService("Debris"):AddItem(prt, 10) | |
516 | if Type == 1 or Type == nil then | |
517 | table.insert(Effects, { | |
518 | prt, | |
519 | "Block1", | |
520 | delay, | |
521 | x3, | |
522 | y3, | |
523 | z3, | |
524 | msh | |
525 | }) | |
526 | elseif Type == 2 then | |
527 | table.insert(Effects, { | |
528 | prt, | |
529 | "Block2", | |
530 | delay, | |
531 | x3, | |
532 | y3, | |
533 | z3, | |
534 | msh | |
535 | }) | |
536 | elseif Type == 3 then | |
537 | table.insert(Effects, { | |
538 | prt, | |
539 | "Block3", | |
540 | delay, | |
541 | x3, | |
542 | y3, | |
543 | z3, | |
544 | msh | |
545 | }) | |
546 | end | |
547 | end | |
548 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
549 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
550 | prt.Anchored = true | |
551 | prt.CFrame = cframe | |
552 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
553 | game:GetService("Debris"):AddItem(prt, 10) | |
554 | table.insert(Effects, { | |
555 | prt, | |
556 | "Cylinder", | |
557 | delay, | |
558 | x3, | |
559 | y3, | |
560 | z3, | |
561 | msh | |
562 | }) | |
563 | end | |
564 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
565 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
566 | prt.Anchored = true | |
567 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
568 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
569 | game:GetService("Debris"):AddItem(prt, 10) | |
570 | table.insert(Effects, { | |
571 | prt, | |
572 | "Cylinder", | |
573 | delay, | |
574 | x3, | |
575 | y3, | |
576 | z3, | |
577 | msh | |
578 | }) | |
579 | end | |
580 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
581 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
582 | prt.Anchored = true | |
583 | prt.CFrame = cframe | |
584 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
585 | game:GetService("Debris"):AddItem(prt, 10) | |
586 | table.insert(Effects, { | |
587 | prt, | |
588 | "Cylinder", | |
589 | delay, | |
590 | x3, | |
591 | y3, | |
592 | z3, | |
593 | msh | |
594 | }) | |
595 | end | |
596 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
597 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
598 | prt.Anchored = true | |
599 | prt.CFrame = cframe | |
600 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
601 | game:GetService("Debris"):AddItem(prt, 10) | |
602 | table.insert(Effects, { | |
603 | prt, | |
604 | "Cylinder", | |
605 | delay, | |
606 | x3, | |
607 | y3, | |
608 | z3, | |
609 | msh | |
610 | }) | |
611 | end | |
612 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
613 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
614 | prt.Anchored = true | |
615 | prt.CFrame = cframe | |
616 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
617 | game:GetService("Debris"):AddItem(prt, 10) | |
618 | table.insert(Effects, { | |
619 | prt, | |
620 | "Cylinder", | |
621 | delay, | |
622 | x3, | |
623 | y3, | |
624 | z3, | |
625 | msh | |
626 | }) | |
627 | end | |
628 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
629 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
630 | prt.Anchored = true | |
631 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
632 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
633 | local num = math.random(10, 50) / 1000 | |
634 | game:GetService("Debris"):AddItem(prt, 10) | |
635 | table.insert(Effects, { | |
636 | prt, | |
637 | "Shatter", | |
638 | num, | |
639 | prt.CFrame, | |
640 | math.random() - math.random(), | |
641 | 0, | |
642 | math.random(50, 100) / 100 | |
643 | }) | |
644 | end | |
645 | local lrs = game:service("RunService").RenderStepped | |
646 | function bleed(char, timeforbleed) | |
647 | local Rate = 0.03333333333333333 | |
648 | local clr = BrickColor.new("Really black") | |
649 | if char.Name == "Quil_Cyndaquil" or char.Name == "Nebula_Zorua" or char.Parent.Name == "Quil_Cyndaquil" or char.Parent.Name == "Nebula_Zorua" then | |
650 | clr = BrickColor.new("Teal") | |
651 | elseif char.Name == "Salvo_Starly" or char.Parent.Name == "Salvo_Starly" then | |
652 | clr = BrickColor.new("Institutional white") | |
653 | elseif char.Name == "visabledude" or char.Parent.Name == "visabledude" then | |
654 | clr = BrickColor.new("Really blue") | |
655 | elseif char.Name == "makhail07" or char.Parent.Name == "makhail07" then | |
656 | clr = BrickColor.new("Lime green") | |
657 | elseif char.Name == "KillerDarkness0105" or char.Parent.Name == "KillerDarkness0105" then | |
658 | clr = BrickColor.new("Really black") | |
659 | end | |
660 | local Frames = timeforbleed / Rate | |
661 | wait(0.25) | |
662 | for Frame = 1, Frames do | |
663 | coroutine.wrap(function() | |
664 | local p = Instance.new("Part", workspace) | |
665 | p.BrickColor = clr | |
666 | p.Size = Vector3.new(0.25, 0.25, 0.25) | |
667 | p.Material = Enum.Material.Neon | |
668 | local prt | |
669 | if char:IsA("Model") then | |
670 | prt = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso") | |
671 | else | |
672 | prt = char | |
673 | end | |
674 | p.CFrame = prt.CFrame | |
675 | p.Name = "Blood" | |
676 | p.CanCollide = false | |
677 | p.Velocity = prt.CFrame.lookVector * -math.random(25, 30) + Vector3.new(math.random(-10, 10), 0, 0) | |
678 | p.Touched:connect(function(tou) | |
679 | if tou.Name ~= "Blood" and tou.Parent and tou.Parent ~= char and (not tou.Parent.Parent or tou.Parent.Parent ~= char.Parent) and tou.Parent:FindFirstChildOfClass("Humanoid") == nil and tou.Parent:IsA("Tool") == false and tou.Name ~= "Handle" then | |
680 | local pos = Vector3.new(p.Position.X, tou.Position.Y + tou.Size.Y / 2 + 0.02, p.Position.Z) | |
681 | p:destroy() | |
682 | if tou.Name == "BloodPuddle" then | |
683 | local reee = tou.CFrame | |
684 | if tou.Transparency > 0.2 then | |
685 | tou.Transparency = tou.Transparency - 0.1 | |
686 | end | |
687 | if tou.Size.X < 15 then | |
688 | tou.Size = tou.Size + Vector3.new(0.1, 0, 0.1) | |
689 | tou.CFrame = reee | |
690 | end | |
691 | else | |
692 | do | |
693 | local bloodlol = Instance.new("Part", workspace) | |
694 | bloodlol.Size = Vector3.new(1, 0.2, 1) | |
695 | bloodlol.Name = "BloodPuddle" | |
696 | bloodlol.Anchored = true | |
697 | bloodlol.CanCollide = false | |
698 | bloodlol.Material = Enum.Material.Neon | |
699 | bloodlol.BrickColor = clr | |
700 | local cyl = Instance.new("CylinderMesh", bloodlol) | |
701 | cyl.Scale = Vector3.new(1, 0.1, 1) | |
702 | bloodlol.CFrame = CFrame.new(pos) | |
703 | coroutine.wrap(function() | |
704 | wait(1) | |
705 | while bloodlol.Parent ~= nil do | |
706 | if 1 > bloodlol.Transparency then | |
707 | bloodlol.Transparency = bloodlol.Transparency + 0.01 | |
708 | else | |
709 | bloodlol:Destroy() | |
710 | end | |
711 | wait() | |
712 | end | |
713 | end)() | |
714 | end | |
715 | end | |
716 | end | |
717 | end) | |
718 | end)() | |
719 | wait(0.03333333333333333) | |
720 | end | |
721 | end | |
722 | function dmg(dude) | |
723 | if dude.Name ~= char then | |
724 | dude:FindFirstChildOfClass("Humanoid").PlatformStand = true | |
725 | local bgf = Instance.new("BodyGyro", dude.Head) | |
726 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0) | |
727 | local val = Instance.new("BoolValue", dude) | |
728 | val.Name = "IsHit" | |
729 | coroutine.wrap(function() | |
730 | targetted = nil | |
731 | swait(30) | |
732 | local asd = Instance.new("ParticleEmitter", dude.Head) | |
733 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(0.5, 0, 0)) | |
734 | asd.LightEmission = 0.1 | |
735 | asd.Size = NumberSequence.new(0.2) | |
736 | asd.Texture = "rbxassetid://771221224" | |
737 | aaa = NumberSequence.new({ | |
738 | NumberSequenceKeypoint.new(0, 0.2), | |
739 | NumberSequenceKeypoint.new(1, 5) | |
740 | }) | |
741 | bbb = NumberSequence.new({ | |
742 | NumberSequenceKeypoint.new(0, 1), | |
743 | NumberSequenceKeypoint.new(0.0636, 0), | |
744 | NumberSequenceKeypoint.new(1, 1) | |
745 | }) | |
746 | asd.Transparency = bbb | |
747 | asd.Size = aaa | |
748 | asd.ZOffset = 0.9 | |
749 | asd.Acceleration = Vector3.new(0, -5, 0) | |
750 | asd.LockedToPart = false | |
751 | asd.EmissionDirection = "Back" | |
752 | asd.Lifetime = NumberRange.new(1, 2) | |
753 | asd.Rate = 1000 | |
754 | asd.Rotation = NumberRange.new(-100, 100) | |
755 | asd.RotSpeed = NumberRange.new(-100, 100) | |
756 | asd.Speed = NumberRange.new(6) | |
757 | asd.VelocitySpread = 10000 | |
758 | asd.Enabled = true | |
759 | dude:BreakJoints() | |
760 | swait(5) | |
761 | for i, v in pairs(dude:GetChildren()) do | |
762 | if v:IsA("BasePart") then | |
763 | local bodpos = Instance.new("BodyPosition", v) | |
764 | bodpos.Position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) | |
765 | end | |
766 | end | |
767 | for i = 0, 1, 0.05 do | |
768 | for a, v in pairs(dude:GetChildren()) do | |
769 | if v:IsA("BasePart") then | |
770 | v.Transparency = i | |
771 | end | |
772 | end | |
773 | swait() | |
774 | end | |
775 | for a, v in pairs(dude:GetChildren()) do | |
776 | if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then | |
777 | v.ParticleEmitter.Enabled = false | |
778 | end | |
779 | game:service("Debris"):AddItem(v, 2) | |
780 | asd.Enabled = false | |
781 | end | |
782 | end)() | |
783 | end | |
784 | end | |
785 | function mdmg(Part, Magnitude) | |
786 | for _, c in pairs(workspace:GetDescendants()) do | |
787 | local hum = c:FindFirstChildOfClass("Humanoid") | |
788 | if hum ~= nil then | |
789 | local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso") | |
790 | if head ~= nil then | |
791 | local targ = head.Position - Part.Position | |
792 | local mag = targ.magnitude | |
793 | if Magnitude >= mag and c.Name ~= plr.Name and c:FindFirstChild("MagDmgd") == nil and c.Name ~= char then | |
794 | if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" or c.Name ~= "Makhail07" then | |
795 | do | |
796 | local val = Instance.new("BoolValue", c) | |
797 | val.Name = "MagDmgd" | |
798 | local asd = Instance.new("ParticleEmitter", head) | |
799 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(0.5, 0, 0)) | |
800 | asd.LightEmission = 0.1 | |
801 | asd.Size = NumberSequence.new(0.2) | |
802 | asd.Texture = "rbxassetid://771221224" | |
803 | aaa = NumberSequence.new({ | |
804 | NumberSequenceKeypoint.new(0, 0.2), | |
805 | NumberSequenceKeypoint.new(1, 5) | |
806 | }) | |
807 | bbb = NumberSequence.new({ | |
808 | NumberSequenceKeypoint.new(0, 1), | |
809 | NumberSequenceKeypoint.new(0.0636, 0), | |
810 | NumberSequenceKeypoint.new(1, 1) | |
811 | }) | |
812 | asd.Transparency = bbb | |
813 | asd.Size = aaa | |
814 | asd.ZOffset = 0.9 | |
815 | asd.Acceleration = Vector3.new(0, -5, 0) | |
816 | asd.LockedToPart = false | |
817 | asd.EmissionDirection = "Back" | |
818 | asd.Lifetime = NumberRange.new(1, 2) | |
819 | asd.Rate = 1000 | |
820 | asd.Rotation = NumberRange.new(-100, 100) | |
821 | asd.RotSpeed = NumberRange.new(-100, 100) | |
822 | asd.Speed = NumberRange.new(6) | |
823 | asd.VelocitySpread = 10000 | |
824 | asd.Enabled = true | |
825 | dmg(c) | |
826 | CFuncs.Sound.Create("rbxassetid://206082273", c.Head, 1.2, 0.8) | |
827 | coroutine.wrap(function() | |
828 | swait(0.2) | |
829 | asd.Enabled = false | |
830 | wait(2) | |
831 | asd:Remove() | |
832 | end)() | |
833 | end | |
834 | else | |
835 | Effects.Sphere.Create(BrickColor.new("Bright red"), head.CFrame, 30, 30, 30, 0.5, 0.5, 0.5, 0.04) | |
836 | end | |
837 | end | |
838 | end | |
839 | end | |
840 | end | |
841 | end | |
842 | targetted = nil | |
843 | function New(Object, Parent, Name, Data) | |
844 | local Object = Instance.new(Object) | |
845 | for Index, Value in pairs(Data or {}) do | |
846 | Object[Index] = Value | |
847 | end | |
848 | Object.Parent = Parent | |
849 | Object.Name = Name | |
850 | return Object | |
851 | end | |
852 | Uzi = New("Model", char, "Uzi", {}) | |
853 | Handle = New("Part", Uzi, "Handle", { | |
854 | BrickColor = BrickColor.new("Black"), | |
855 | Transparency = 1, | |
856 | Transparency = 1, | |
857 | FormFactor = Enum.FormFactor.Custom, | |
858 | Size = Vector3.new(0.303939581, 0.303939581, 0.303939581), | |
859 | CFrame = CFrame.new(-63.9497833, 3.39759564, 8.0905323, -0.999997377, -1.38907907E-9, 5.60066837E-9, -4.67619166E-10, 0.999989152, 5.95959136E-7, -1.86810212E-9, 1.98648195E-7, -0.999986291), | |
860 | CanCollide = false, | |
861 | BottomSurface = Enum.SurfaceType.Smooth, | |
862 | TopSurface = Enum.SurfaceType.Smooth, | |
863 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
864 | }) | |
865 | Port = New("Part", Uzi, "Port", { | |
866 | BrickColor = BrickColor.new("Dark stone grey"), | |
867 | Material = Enum.Material.SmoothPlastic, | |
868 | Transparency = 1, | |
869 | Transparency = 1, | |
870 | FormFactor = Enum.FormFactor.Custom, | |
871 | Size = Vector3.new(0.303939581, 0.303939581, 0.514359295), | |
872 | CFrame = CFrame.new(-64.0102158, 4.07008171, 7.94762278, -0.258818001, 0.965921998, 7.03767E-9, -0.965913594, -0.258815765, -8.10978804E-7, -2.25573785E-7, -4.02978912E-8, 0.999983191), | |
873 | CanCollide = false, | |
874 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
875 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
876 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
877 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
878 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
879 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
880 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
881 | }) | |
882 | Mesh = New("BlockMesh", Port, "Mesh", { | |
883 | Scale = Vector3.new(0.0769230723, 0.538461506, 1) | |
884 | }) | |
885 | mot = New("Motor", Port, "mot", { | |
886 | Part0 = Port, | |
887 | Part1 = Handle, | |
888 | C0 = CFrame.new(0, 0, 0, -0.258819044, -0.965925932, -5.89169019E-7, 0.965925872, -0.258819073, -1.6708546E-7, 8.90398955E-9, -6.12338397E-7, 1), | |
889 | C1 = CFrame.new(0.0604324341, 0.672489882, 0.142884254, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
890 | }) | |
891 | Mag2 = New("Part", Uzi, "Mag2", { | |
892 | BrickColor = BrickColor.new("Dark stone grey"), | |
893 | Elasticity = 0, | |
894 | FormFactor = Enum.FormFactor.Custom, | |
895 | Size = Vector3.new(0.303939581, 0.969711781, 0.303939581), | |
896 | CFrame = CFrame.new(-63.8785477, 2.57360268, 8.01299381, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5), | |
897 | CanCollide = false, | |
898 | BottomSurface = Enum.SurfaceType.Smooth, | |
899 | TopSurface = Enum.SurfaceType.Smooth, | |
900 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
901 | }) | |
902 | Mesh = New("BlockMesh", Mag2, "Mesh", { | |
903 | Scale = Vector3.new(0.809523821, 1, 0.714285731) | |
904 | }) | |
905 | mot = New("Motor", Mag2, "mot", { | |
906 | Part0 = Mag2, | |
907 | Part1 = Handle, | |
908 | C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5), | |
909 | C1 = CFrame.new(-0.0712356567, -0.824002028, 0.077539444, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
910 | }) | |
911 | Part = New("Part", Uzi, "Part", { | |
912 | BrickColor = BrickColor.new("Black"), | |
913 | Elasticity = 0, | |
914 | FormFactor = Enum.FormFactor.Symmetric, | |
915 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
916 | CFrame = CFrame.new(-63.8792877, 3.47921586, 7.06472969, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5), | |
917 | CanCollide = false, | |
918 | BottomSurface = Enum.SurfaceType.Smooth, | |
919 | TopSurface = Enum.SurfaceType.Smooth, | |
920 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
921 | }) | |
922 | Mesh = New("BlockMesh", Part, "Mesh", { | |
923 | Scale = Vector3.new(0.0476190485, 0.380952388, 0.190476194) | |
924 | }) | |
925 | mot = New("Motor", Part, "mot", { | |
926 | Part0 = Part, | |
927 | Part1 = Handle, | |
928 | C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5), | |
929 | C1 = CFrame.new(-0.0704956055, 0.0816204548, 1.02581644, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
930 | }) | |
931 | AimPart = New("Part", Uzi, "AimPart", { | |
932 | BrickColor = BrickColor.new("Black"), | |
933 | Transparency = 1, | |
934 | Transparency = 1, | |
935 | FormFactor = Enum.FormFactor.Custom, | |
936 | Size = Vector3.new(0.303939581, 0.303939581, 0.303939581), | |
937 | CFrame = CFrame.new(-63.8798447, 4.32250595, 5.97696972, -0.999997377, -1.38856626E-9, 5.60066127E-9, -4.67106354E-10, 0.999989152, 5.95963002E-7, -1.86809501E-9, 1.9865206E-7, -0.999986291), | |
938 | CanCollide = false, | |
939 | BottomSurface = Enum.SurfaceType.Smooth, | |
940 | TopSurface = Enum.SurfaceType.Smooth, | |
941 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
942 | }) | |
943 | mot = New("Motor", AimPart, "mot", { | |
944 | Part0 = AimPart, | |
945 | Part1 = Handle, | |
946 | C0 = CFrame.new(0, 0, 0, -1, -9.25960919E-10, -3.73438835E-9, -9.25962418E-10, 1, 3.97315489E-7, 3.73438791E-9, 3.97315489E-7, -1), | |
947 | C1 = CFrame.new(-0.0699386597, 0.92491889, 2.11359167, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
948 | }) | |
949 | Hole = New("Part", Uzi, "Hole", { | |
950 | BrickColor = BrickColor.new("Really black"), | |
951 | Elasticity = 0, | |
952 | FormFactor = Enum.FormFactor.Custom, | |
953 | Size = Vector3.new(0.607879162, 0.607879221, 1.51969779), | |
954 | CFrame = CFrame.new(-64.0106277, 4.09136534, 7.99518442, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514248E-7), | |
955 | CanCollide = false, | |
956 | BottomSurface = Enum.SurfaceType.Smooth, | |
957 | TopSurface = Enum.SurfaceType.Smooth, | |
958 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
959 | }) | |
960 | Mesh = New("BlockMesh", Hole, "Mesh", { | |
961 | Scale = Vector3.new(0.238095239, 1.19047618, 0.0476190485) | |
962 | }) | |
963 | mot = New("Motor", Hole, "mot", { | |
964 | Part0 = Hole, | |
965 | Part1 = Handle, | |
966 | C0 = CFrame.new(0, 0, 0, 3.04589466E-5, -1, 1.34634383E-5, -6.8224125E-7, -1.34634593E-5, -1, 1, 3.04589375E-5, -6.82651319E-7), | |
967 | C1 = CFrame.new(0.0608444214, 0.693777323, 0.0953493118, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
968 | }) | |
969 | NoSight = New("Part", Uzi, "NoSight", { | |
970 | BrickColor = BrickColor.new("Black"), | |
971 | Elasticity = 0, | |
972 | FormFactor = Enum.FormFactor.Custom, | |
973 | Size = Vector3.new(0.303939581, 0.303939581, 0.303939581), | |
974 | CFrame = CFrame.new(-63.9215851, 4.32565308, 8.6785574, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5), | |
975 | CanCollide = false, | |
976 | BottomSurface = Enum.SurfaceType.Smooth, | |
977 | TopSurface = Enum.SurfaceType.Smooth, | |
978 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
979 | }) | |
980 | Mesh = New("SpecialMesh", NoSight, "Mesh", { | |
981 | Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097), | |
982 | MeshType = Enum.MeshType.Wedge | |
983 | }) | |
984 | mot = New("Motor", NoSight, "mot", { | |
985 | Part0 = NoSight, | |
986 | Part1 = Handle, | |
987 | C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5), | |
988 | C1 = CFrame.new(-0.0281982422, 0.928067923, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
989 | }) | |
990 | NoSight = New("Part", Uzi, "NoSight", { | |
991 | BrickColor = BrickColor.new("Black"), | |
992 | Elasticity = 0, | |
993 | FormFactor = Enum.FormFactor.Custom, | |
994 | Size = Vector3.new(0.303939581, 0.303939581, 0.303939581), | |
995 | CFrame = CFrame.new(-63.8792877, 4.27408314, 8.6785574, -0.999997377, 3.7727732E-4, 4.80012168E-5, -3.77270597E-4, -0.999989152, 5.5595694E-5, 4.8025533E-5, 5.59747241E-5, 0.999986291), | |
996 | CanCollide = false, | |
997 | BottomSurface = Enum.SurfaceType.Smooth, | |
998 | TopSurface = Enum.SurfaceType.Smooth, | |
999 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1000 | }) | |
1001 | Mesh = New("SpecialMesh", NoSight, "Mesh", { | |
1002 | Scale = Vector3.new(0.380952358, 0.190476194, 0.333333343), | |
1003 | MeshType = Enum.MeshType.Torso | |
1004 | }) | |
1005 | mot = New("Motor", NoSight, "mot", { | |
1006 | Part0 = NoSight, | |
1007 | Part1 = Handle, | |
1008 | C0 = CFrame.new(0, 0, 0, -1, -3.77275166E-4, 4.80242488E-5, 3.77277844E-4, -1, 5.57768326E-5, 4.80032068E-5, 5.57949534E-5, 1), | |
1009 | C1 = CFrame.new(-0.0704956055, 0.876497507, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1010 | }) | |
1011 | NoSight = New("Part", Uzi, "NoSight", { | |
1012 | BrickColor = BrickColor.new("White"), | |
1013 | Transparency = 1, | |
1014 | Transparency = 1, | |
1015 | Elasticity = 0, | |
1016 | FormFactor = Enum.FormFactor.Custom, | |
1017 | Size = Vector3.new(0.303939581, 0.303939581, 0.303939581), | |
1018 | CFrame = CFrame.new(-63.8792877, 4.33158779, 9.11930084, 0.999997377, -3.77276359E-4, -1.73402132E-5, 3.77273274E-4, 0.999989152, 5.57149033E-5, 1.73151166E-5, -5.61185843E-5, 0.999986291), | |
1019 | CanCollide = false, | |
1020 | BottomSurface = Enum.SurfaceType.Smooth, | |
1021 | TopSurface = Enum.SurfaceType.Smooth, | |
1022 | Color = Color3.new(0.94902, 0.952941, 0.952941) | |
1023 | }) | |
1024 | lenspart = New("IntValue", NoSight, "lenspart", {}) | |
1025 | Mesh = New("BlockMesh", NoSight, "Mesh", { | |
1026 | Scale = Vector3.new(0.095238097, 0.0476190485, 0.0476190485) | |
1027 | }) | |
1028 | mot = New("Motor", NoSight, "mot", { | |
1029 | Part0 = NoSight, | |
1030 | Part1 = Handle, | |
1031 | C0 = CFrame.new(0, 0, 0, 1, 3.77277844E-4, 1.73172939E-5, -3.77276883E-4, 1, -5.59206928E-5, -1.73383924E-5, 5.59141627E-5, 1), | |
1032 | C1 = CFrame.new(-0.0704956055, 0.934002638, -1.02878189, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1033 | }) | |
1034 | NoSight = New("Part", Uzi, "NoSight", { | |
1035 | BrickColor = BrickColor.new("Black"), | |
1036 | Elasticity = 0, | |
1037 | FormFactor = Enum.FormFactor.Custom, | |
1038 | Size = Vector3.new(0.303939581, 0.303939581, 0.303939581), | |
1039 | CFrame = CFrame.new(-63.8792877, 4.29654217, 9.19813633, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5), | |
1040 | CanCollide = false, | |
1041 | BottomSurface = Enum.SurfaceType.Smooth, | |
1042 | TopSurface = Enum.SurfaceType.Smooth, | |
1043 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1044 | }) | |
1045 | Mesh = New("BlockMesh", NoSight, "Mesh", { | |
1046 | Scale = Vector3.new(0.285714269, 0.476190478, 0.095238097) | |
1047 | }) | |
1048 | mot = New("Motor", NoSight, "mot", { | |
1049 | Part0 = NoSight, | |
1050 | Part1 = Handle, | |
1051 | C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5), | |
1052 | C1 = CFrame.new(-0.0704956055, 0.898957014, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1053 | }) | |
1054 | NoSight = New("Part", Uzi, "NoSight", { | |
1055 | BrickColor = BrickColor.new("Black"), | |
1056 | Elasticity = 0, | |
1057 | FormFactor = Enum.FormFactor.Custom, | |
1058 | Size = Vector3.new(0.303939581, 0.303939581, 0.303939581), | |
1059 | CFrame = CFrame.new(-63.8355064, 4.32565308, 8.6785574, 1.51598751E-5, -4.07793617E-4, 0.999997377, -4.30490618E-5, 0.999989152, 4.07790008E-4, -0.999986291, -4.34524227E-5, 1.51382555E-5), | |
1060 | CanCollide = false, | |
1061 | BottomSurface = Enum.SurfaceType.Smooth, | |
1062 | TopSurface = Enum.SurfaceType.Smooth, | |
1063 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1064 | }) | |
1065 | Mesh = New("SpecialMesh", NoSight, "Mesh", { | |
1066 | Scale = Vector3.new(0.333333343, 0.142857149, 0.095238097), | |
1067 | MeshType = Enum.MeshType.Wedge | |
1068 | }) | |
1069 | mot = New("Motor", NoSight, "mot", { | |
1070 | Part0 = NoSight, | |
1071 | Part1 = Handle, | |
1072 | C0 = CFrame.new(0, 0, 0, 1.51580489E-5, -4.32481829E-5, -1, -4.07794229E-4, 1, -4.32543566E-5, 1, 4.07794898E-4, 1.51404101E-5), | |
1073 | C1 = CFrame.new(-0.114276886, 0.928067923, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1074 | }) | |
1075 | NoSight = New("Part", Uzi, "NoSight", { | |
1076 | BrickColor = BrickColor.new("Black"), | |
1077 | Elasticity = 0, | |
1078 | FormFactor = Enum.FormFactor.Custom, | |
1079 | Size = Vector3.new(0.303939581, 0.303939581, 0.303939581), | |
1080 | CFrame = CFrame.new(-63.8792877, 4.33177757, 7.20867538, 0.999997318, 4.20433673E-4, 1.73239296E-5, 4.2042954E-4, -0.999989152, -1.25467186E-5, 1.73145636E-5, 1.29512719E-5, -0.999986291), | |
1081 | CanCollide = false, | |
1082 | BottomSurface = Enum.SurfaceType.Smooth, | |
1083 | TopSurface = Enum.SurfaceType.Smooth, | |
1084 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1085 | }) | |
1086 | Mesh = New("SpecialMesh", NoSight, "Mesh", { | |
1087 | Scale = Vector3.new(0.0868398845, 0.0868398845, 0.0868398845), | |
1088 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
1089 | MeshType = Enum.MeshType.FileMesh | |
1090 | }) | |
1091 | mot = New("Motor", NoSight, "mot", { | |
1092 | Part0 = NoSight, | |
1093 | Part1 = Handle, | |
1094 | C0 = CFrame.new(0, 0, 0, 0.99999994, 4.20434575E-4, 1.731675E-5, 4.20434313E-4, -1, 1.27527892E-5, 1.73221088E-5, -1.27455087E-5, -1), | |
1095 | C1 = CFrame.new(-0.0704956055, 0.934191465, 0.881869316, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1096 | }) | |
1097 | NoSight = New("Part", Uzi, "NoSight", { | |
1098 | BrickColor = BrickColor.new("Black"), | |
1099 | Elasticity = 0, | |
1100 | FormFactor = Enum.FormFactor.Plate, | |
1101 | Size = Vector3.new(1.51969779, 0.607879162, 1.51969779), | |
1102 | CFrame = CFrame.new(-63.9950485, 4.25275517, 7.24577427, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291), | |
1103 | CanCollide = false, | |
1104 | BottomSurface = Enum.SurfaceType.Smooth, | |
1105 | TopSurface = Enum.SurfaceType.Smooth, | |
1106 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1107 | }) | |
1108 | Mesh = New("CylinderMesh", NoSight, "Mesh", { | |
1109 | Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194) | |
1110 | }) | |
1111 | mot = New("Motor", NoSight, "mot", { | |
1112 | Part0 = NoSight, | |
1113 | Part1 = Handle, | |
1114 | C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1), | |
1115 | C1 = CFrame.new(0.0452651978, 0.855168581, 0.844769955, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1116 | }) | |
1117 | NoSight = New("Part", Uzi, "NoSight", { | |
1118 | BrickColor = BrickColor.new("Black"), | |
1119 | Elasticity = 0, | |
1120 | FormFactor = Enum.FormFactor.Plate, | |
1121 | Size = Vector3.new(1.51969779, 0.607879162, 1.51969779), | |
1122 | CFrame = CFrame.new(-63.9950485, 4.25256538, 9.19813633, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291), | |
1123 | CanCollide = false, | |
1124 | BottomSurface = Enum.SurfaceType.Smooth, | |
1125 | TopSurface = Enum.SurfaceType.Smooth, | |
1126 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1127 | }) | |
1128 | Mesh = New("CylinderMesh", NoSight, "Mesh", { | |
1129 | Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194) | |
1130 | }) | |
1131 | mot = New("Motor", NoSight, "mot", { | |
1132 | Part0 = NoSight, | |
1133 | Part1 = Handle, | |
1134 | C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1), | |
1135 | C1 = CFrame.new(0.0452651978, 0.854979753, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1136 | }) | |
1137 | Part = New("Part", Uzi, "Part", { | |
1138 | BrickColor = BrickColor.new("Black"), | |
1139 | Elasticity = 0, | |
1140 | FormFactor = Enum.FormFactor.Symmetric, | |
1141 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1142 | CFrame = CFrame.new(-63.8792877, 3.84094381, 7.38972139, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5), | |
1143 | CanCollide = false, | |
1144 | BottomSurface = Enum.SurfaceType.Smooth, | |
1145 | TopSurface = Enum.SurfaceType.Smooth, | |
1146 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1147 | }) | |
1148 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1149 | Scale = Vector3.new(0.571428597, 0.095238097, 0.190476194) | |
1150 | }) | |
1151 | mot = New("Motor", Part, "mot", { | |
1152 | Part0 = Part, | |
1153 | Part1 = Handle, | |
1154 | C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5), | |
1155 | C1 = CFrame.new(-0.0704956055, 0.443352461, 0.700820446, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1156 | }) | |
1157 | Part = New("Part", Uzi, "Part", { | |
1158 | BrickColor = BrickColor.new("Black"), | |
1159 | Elasticity = 0, | |
1160 | FormFactor = Enum.FormFactor.Symmetric, | |
1161 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1162 | CFrame = CFrame.new(-63.8792877, 3.4792161, 6.99127293, -0.999997377, 3.7727732E-4, 4.80012168E-5, -3.77270597E-4, -0.999989152, 5.5595694E-5, 4.8025533E-5, 5.59747241E-5, 0.999986291), | |
1163 | CanCollide = false, | |
1164 | BottomSurface = Enum.SurfaceType.Smooth, | |
1165 | TopSurface = Enum.SurfaceType.Smooth, | |
1166 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1167 | }) | |
1168 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
1169 | Scale = Vector3.new(0.190476194, 0.380952388, 0.0476190485), | |
1170 | MeshType = Enum.MeshType.Wedge | |
1171 | }) | |
1172 | mot = New("Motor", Part, "mot", { | |
1173 | Part0 = Part, | |
1174 | Part1 = Handle, | |
1175 | C0 = CFrame.new(0, 0, 0, -1, -3.77275166E-4, 4.80242488E-5, 3.77277844E-4, -1, 5.57768326E-5, 4.80032068E-5, 5.57949534E-5, 1), | |
1176 | C1 = CFrame.new(-0.0704956055, 0.0816206932, 1.09927416, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1177 | }) | |
1178 | Part = New("Part", Uzi, "Part", { | |
1179 | BrickColor = BrickColor.new("Black"), | |
1180 | Elasticity = 0, | |
1181 | FormFactor = Enum.FormFactor.Symmetric, | |
1182 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1183 | CFrame = CFrame.new(-63.8792877, 4.10843039, 9.70547295, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5), | |
1184 | CanCollide = false, | |
1185 | BottomSurface = Enum.SurfaceType.Smooth, | |
1186 | TopSurface = Enum.SurfaceType.Smooth, | |
1187 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1188 | }) | |
1189 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1190 | Scale = Vector3.new(0.095238097, 0.285714298, 0.095238097) | |
1191 | }) | |
1192 | mot = New("Motor", Part, "mot", { | |
1193 | Part0 = Part, | |
1194 | Part1 = Handle, | |
1195 | C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5), | |
1196 | C1 = CFrame.new(-0.0704956055, 0.710843325, -1.61496258, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1197 | }) | |
1198 | A1 = New("Part", Uzi, "A1", { | |
1199 | BrickColor = BrickColor.new("Black"), | |
1200 | Elasticity = 0, | |
1201 | FormFactor = Enum.FormFactor.Custom, | |
1202 | Size = Vector3.new(0.623076081, 0.729454994, 1.51969779), | |
1203 | CFrame = CFrame.new(-64.0106277, 4.09897423, 7.99518442, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514248E-7), | |
1204 | CanCollide = false, | |
1205 | BottomSurface = Enum.SurfaceType.Smooth, | |
1206 | TopSurface = Enum.SurfaceType.Smooth, | |
1207 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1208 | }) | |
1209 | Mesh = New("BlockMesh", A1, "Mesh", { | |
1210 | Scale = Vector3.new(0.238000005, 1, 0.0480000004) | |
1211 | }) | |
1212 | mot = New("Motor", A1, "mot", { | |
1213 | Part0 = A1, | |
1214 | Part1 = Handle, | |
1215 | C0 = CFrame.new(0, 0, 0, 3.04589466E-5, -1, 1.34634383E-5, -6.8224125E-7, -1.34634593E-5, -1, 1, 3.04589375E-5, -6.82651319E-7), | |
1216 | C1 = CFrame.new(0.0608444214, 0.701386213, 0.0953493118, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1217 | }) | |
1218 | Cylinder1 = New("Part", Uzi, "Cylinder", { | |
1219 | BrickColor = BrickColor.new("Really black"), | |
1220 | Elasticity = 0, | |
1221 | FormFactor = Enum.FormFactor.Plate, | |
1222 | Size = Vector3.new(1.51969779, 0.607879162, 1.51969779), | |
1223 | CFrame = CFrame.new(-63.8792877, 4.10842991, 9.93623352, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5), | |
1224 | CanCollide = false, | |
1225 | BottomSurface = Enum.SurfaceType.Smooth, | |
1226 | TopSurface = Enum.SurfaceType.Smooth, | |
1227 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1228 | }) | |
1229 | Mesh = New("CylinderMesh", Cylinder1, "Mesh", { | |
1230 | Offset = Vector3.new(0, -0.0185714271, 0), | |
1231 | Scale = Vector3.new(0.0666666627, 0.0476190485, 0.0666666627) | |
1232 | }) | |
1233 | mot = New("Motor", Cylinder1, "mot", { | |
1234 | Part0 = Cylinder1, | |
1235 | Part1 = Handle, | |
1236 | C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5), | |
1237 | C1 = CFrame.new(-0.0704956055, 0.710842848, -1.84572601, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1238 | }) | |
1239 | Mag1 = New("Part", Uzi, "Mag1", { | |
1240 | BrickColor = BrickColor.new("Dark stone grey"), | |
1241 | Elasticity = 0, | |
1242 | FormFactor = Enum.FormFactor.Custom, | |
1243 | Size = Vector3.new(0.303939581, 0.723665655, 0.303939581), | |
1244 | CFrame = CFrame.new(-63.8785477, 2.8062222, 8.01299381, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5), | |
1245 | CanCollide = false, | |
1246 | BottomSurface = Enum.SurfaceType.Smooth, | |
1247 | TopSurface = Enum.SurfaceType.Smooth, | |
1248 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1249 | }) | |
1250 | Mesh = New("BlockMesh", Mag1, "Mesh", { | |
1251 | Scale = Vector3.new(0.809523821, 1, 0.714285731) | |
1252 | }) | |
1253 | mot = New("Motor", Mag1, "mot", { | |
1254 | Part0 = Mag1, | |
1255 | Part1 = Handle, | |
1256 | C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5), | |
1257 | C1 = CFrame.new(-0.0712356567, -0.591379881, 0.077539444, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1258 | }) | |
1259 | Part = New("Part", Uzi, "Part", { | |
1260 | BrickColor = BrickColor.new("Black"), | |
1261 | Elasticity = 0, | |
1262 | FormFactor = Enum.FormFactor.Symmetric, | |
1263 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1264 | CFrame = CFrame.new(-63.8792839, 3.96399546, 8.94571686, 4.20436263E-4, -1.53869969E-5, 0.999994516, -0.999985397, -4.49496983E-5, 4.20421362E-4, 4.57110073E-5, -0.999980092, -1.53492692E-5), | |
1265 | CanCollide = false, | |
1266 | BottomSurface = Enum.SurfaceType.Smooth, | |
1267 | TopSurface = Enum.SurfaceType.Smooth, | |
1268 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1269 | }) | |
1270 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1271 | Scale = Vector3.new(0.095238097, 0.523809552, 0.238095239) | |
1272 | }) | |
1273 | Weld = New("ManualWeld", Part, "Weld", { | |
1274 | Part0 = Part, | |
1275 | Part1 = Port, | |
1276 | C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
1277 | C1 = CFrame.new(-0.862224281, 0.690827668, 0.238218009, -0.965815187, -0.259224743, 4.81826173E-5, -0.259224653, 0.965815544, -3.01207638E-6, -4.59400871E-5, -1.53690817E-5, -0.999996901) | |
1278 | }) | |
1279 | mot = New("Motor", Part, "mot", { | |
1280 | Part0 = Part, | |
1281 | Part1 = Handle, | |
1282 | C0 = CFrame.new(0, 0, 0, 4.20408818E-4, -0.99999994, 4.51425221E-5, -1.53889487E-5, -4.51489977E-5, -1, 1, 4.20408091E-4, -1.5407928E-5), | |
1283 | C1 = CFrame.new(-0.0704994202, 0.566405296, -0.855195999, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1284 | }) | |
1285 | Part = New("Part", Uzi, "Part", { | |
1286 | BrickColor = BrickColor.new("Black"), | |
1287 | Elasticity = 0, | |
1288 | FormFactor = Enum.FormFactor.Symmetric, | |
1289 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1290 | CFrame = CFrame.new(-63.8792877, 4.07189083, 8.22297764, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5), | |
1291 | CanCollide = false, | |
1292 | BottomSurface = Enum.SurfaceType.Smooth, | |
1293 | TopSurface = Enum.SurfaceType.Smooth, | |
1294 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1295 | }) | |
1296 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1297 | Scale = Vector3.new(0.238095239, 1.47619045, 0.190476194) | |
1298 | }) | |
1299 | mot = New("Motor", Part, "mot", { | |
1300 | Part0 = Part, | |
1301 | Part1 = Handle, | |
1302 | C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5), | |
1303 | C1 = CFrame.new(-0.0704956055, 0.674302816, -0.132447243, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1304 | }) | |
1305 | Part = New("Part", Uzi, "Part", { | |
1306 | BrickColor = BrickColor.new("Black"), | |
1307 | Elasticity = 0, | |
1308 | FormFactor = Enum.FormFactor.Symmetric, | |
1309 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1310 | CFrame = CFrame.new(-63.8792877, 3.89102483, 8.94586086, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5), | |
1311 | CanCollide = false, | |
1312 | BottomSurface = Enum.SurfaceType.Smooth, | |
1313 | TopSurface = Enum.SurfaceType.Smooth, | |
1314 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1315 | }) | |
1316 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1317 | Scale = Vector3.new(0.285714298, 0.523809552, 0.238095239) | |
1318 | }) | |
1319 | Weld = New("ManualWeld", Part, "Weld", { | |
1320 | Part0 = Part, | |
1321 | Part1 = Port, | |
1322 | C0 = CFrame.new(-0.759848893, 0.759848893, 0.759848893, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
1323 | C1 = CFrame.new(-0.791742086, 0.70971489, 0.238357142, -0.965815187, -0.259224743, 4.81826173E-5, -0.259224653, 0.965815544, -3.01207638E-6, -4.59400871E-5, -1.53690817E-5, -0.999996901) | |
1324 | }) | |
1325 | mot = New("Motor", Part, "mot", { | |
1326 | Part0 = Part, | |
1327 | Part1 = Handle, | |
1328 | C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5), | |
1329 | C1 = CFrame.new(-0.0704956055, 0.493435144, -0.855340004, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1330 | }) | |
1331 | Part = New("Part", Uzi, "Part", { | |
1332 | BrickColor = BrickColor.new("Black"), | |
1333 | Elasticity = 0, | |
1334 | FormFactor = Enum.FormFactor.Symmetric, | |
1335 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1336 | CFrame = CFrame.new(-63.8792877, 3.38516831, 8.00556946, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5), | |
1337 | CanCollide = false, | |
1338 | BottomSurface = Enum.SurfaceType.Smooth, | |
1339 | TopSurface = Enum.SurfaceType.Smooth, | |
1340 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1341 | }) | |
1342 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1343 | Scale = Vector3.new(0.238095239, 0.476190478, 0.190476194) | |
1344 | }) | |
1345 | mot = New("Motor", Part, "mot", { | |
1346 | Part0 = Part, | |
1347 | Part1 = Handle, | |
1348 | C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5), | |
1349 | C1 = CFrame.new(-0.0704956055, -0.0124275684, 0.0849637985, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1350 | }) | |
1351 | Part = New("Part", Uzi, "Part", { | |
1352 | BrickColor = BrickColor.new("Black"), | |
1353 | Elasticity = 0, | |
1354 | FormFactor = Enum.FormFactor.Symmetric, | |
1355 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1356 | CFrame = CFrame.new(-63.8792877, 3.13159156, 7.78817034, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5), | |
1357 | CanCollide = false, | |
1358 | BottomSurface = Enum.SurfaceType.Smooth, | |
1359 | TopSurface = Enum.SurfaceType.Smooth, | |
1360 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1361 | }) | |
1362 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1363 | Scale = Vector3.new(0.0476190485, 0.142857149, 0.190476194) | |
1364 | }) | |
1365 | mot = New("Motor", Part, "mot", { | |
1366 | Part0 = Part, | |
1367 | Part1 = Handle, | |
1368 | C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5), | |
1369 | C1 = CFrame.new(-0.0704956055, -0.266007185, 0.302366257, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1370 | }) | |
1371 | Part = New("Part", Uzi, "Part", { | |
1372 | BrickColor = BrickColor.new("Black"), | |
1373 | Elasticity = 0, | |
1374 | FormFactor = Enum.FormFactor.Symmetric, | |
1375 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1376 | CFrame = CFrame.new(-63.8792877, 3.81812668, 8.18587875, 3.34118115E-4, 1.53568108E-5, -0.999997318, -0.999989092, 4.51352062E-5, -3.34113749E-4, 4.5527253E-5, 0.999986291, 1.53755864E-5), | |
1377 | CanCollide = false, | |
1378 | BottomSurface = Enum.SurfaceType.Smooth, | |
1379 | TopSurface = Enum.SurfaceType.Smooth, | |
1380 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1381 | }) | |
1382 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1383 | Scale = Vector3.new(0.095238097, 0.476190478, 0.190476194) | |
1384 | }) | |
1385 | mot = New("Motor", Part, "mot", { | |
1386 | Part0 = Part, | |
1387 | Part1 = Handle, | |
1388 | C0 = CFrame.new(0, 0, 0, 3.34118522E-4, -0.99999994, 4.53292159E-5, 1.53587171E-5, 4.53343491E-5, 1, -0.99999994, -3.34117853E-4, 1.53738638E-5), | |
1389 | C1 = CFrame.new(-0.0704956055, 0.420535564, -0.0953474045, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1390 | }) | |
1391 | Part = New("Part", Uzi, "Part", { | |
1392 | BrickColor = BrickColor.new("Black"), | |
1393 | Elasticity = 0, | |
1394 | FormFactor = Enum.FormFactor.Symmetric, | |
1395 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1396 | CFrame = CFrame.new(-63.8792877, 3.57790494, 7.28955317, 2.37775297E-4, -2.39374975E-4, -0.999997377, -0.707075596, 0.707122624, -3.37392528E-4, 0.707120895, 0.707073271, -1.11602742E-6), | |
1397 | CanCollide = false, | |
1398 | BottomSurface = Enum.SurfaceType.Smooth, | |
1399 | TopSurface = Enum.SurfaceType.Smooth, | |
1400 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1401 | }) | |
1402 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1403 | Scale = Vector3.new(0.0476190485, 0.428571433, 0.095238097) | |
1404 | }) | |
1405 | mot = New("Motor", Part, "mot", { | |
1406 | Part0 = Part, | |
1407 | Part1 = Handle, | |
1408 | C0 = CFrame.new(0, 0, 0, 2.37776927E-4, -0.707083166, 0.707130432, -2.39373941E-4, 0.707130432, 0.707083166, -1, -3.37396661E-4, -1.1179759E-6), | |
1409 | C1 = CFrame.new(-0.0704956055, 0.180310726, 0.800990105, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1410 | }) | |
1411 | Part = New("Part", Uzi, "Part", { | |
1412 | BrickColor = BrickColor.new("Black"), | |
1413 | Elasticity = 0, | |
1414 | FormFactor = Enum.FormFactor.Symmetric, | |
1415 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1416 | CFrame = CFrame.new(-63.8792877, 3.91217613, 7.10108757, 1.53677556E-5, 0.999997318, -3.44614644E-4, 5.5595694E-5, 3.44610075E-4, 0.999989152, 0.999986291, -1.53906112E-5, -5.59875407E-5), | |
1417 | CanCollide = false, | |
1418 | BottomSurface = Enum.SurfaceType.Smooth, | |
1419 | TopSurface = Enum.SurfaceType.Smooth, | |
1420 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1421 | }) | |
1422 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1423 | Scale = Vector3.new(0.190476194, 0.190476194, 0.190476194) | |
1424 | }) | |
1425 | mot = New("Motor", Part, "mot", { | |
1426 | Part0 = Part, | |
1427 | Part1 = Handle, | |
1428 | C0 = CFrame.new(0, 0, 0, 1.53696619E-5, 5.57949534E-5, 1, 0.99999994, 3.44614265E-4, -1.53888886E-5, -3.4461508E-4, 1, -5.57896492E-5), | |
1429 | C1 = CFrame.new(-0.0704956055, 0.514585495, 0.989458561, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1430 | }) | |
1431 | Part = New("Part", Uzi, "Part", { | |
1432 | BrickColor = BrickColor.new("Black"), | |
1433 | Elasticity = 0, | |
1434 | FormFactor = Enum.FormFactor.Symmetric, | |
1435 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1436 | CFrame = CFrame.new(-63.8792877, 3.49313116, 7.78817034, -0.999997318, -4.58751165E-5, 4.07794083E-4, -4.07787855E-4, -4.30788677E-5, -0.999989152, 4.58960603E-5, -0.999986291, 4.3457334E-5), | |
1437 | CanCollide = false, | |
1438 | BottomSurface = Enum.SurfaceType.Smooth, | |
1439 | TopSurface = Enum.SurfaceType.Smooth, | |
1440 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1441 | }) | |
1442 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
1443 | Scale = Vector3.new(0.190476194, 0.0476190485, 0.333333343), | |
1444 | MeshType = Enum.MeshType.Wedge | |
1445 | }) | |
1446 | mot = New("Motor", Part, "mot", { | |
1447 | Part0 = Part, | |
1448 | Part1 = Handle, | |
1449 | C0 = CFrame.new(0, 0, 0, -0.99999994, -4.07792744E-4, 4.58947434E-5, -4.58770992E-5, -4.32779889E-5, -1, 4.07794694E-4, -1, 4.32592715E-5), | |
1450 | C1 = CFrame.new(-0.0704956055, 0.0955364704, 0.302366257, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1451 | }) | |
1452 | Part = New("Part", Uzi, "Part", { | |
1453 | BrickColor = BrickColor.new("Black"), | |
1454 | Elasticity = 0, | |
1455 | FormFactor = Enum.FormFactor.Symmetric, | |
1456 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1457 | CFrame = CFrame.new(-63.8792877, 3.81812716, 7.78816938, 0.999997377, 7.62029813E-5, -4.07784712E-4, 4.0778832E-4, -1.04068669E-4, 0.999989092, 7.61557822E-5, -0.999986291, -1.0449675E-4), | |
1458 | CanCollide = false, | |
1459 | BottomSurface = Enum.SurfaceType.Smooth, | |
1460 | TopSurface = Enum.SurfaceType.Smooth, | |
1461 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1462 | }) | |
1463 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
1464 | Scale = Vector3.new(0.190476194, 0.0476190485, 0.095238097), | |
1465 | MeshType = Enum.MeshType.Wedge | |
1466 | }) | |
1467 | mot = New("Motor", Part, "mot", { | |
1468 | Part0 = Part, | |
1469 | Part1 = Handle, | |
1470 | C0 = CFrame.new(0, 0, 0, 1, 4.07793239E-4, 7.61587726E-5, 7.62013078E-5, -1.04268453E-4, -1, -4.07785323E-4, 0.99999994, -1.04299521E-4), | |
1471 | C1 = CFrame.new(-0.0704956055, 0.420535803, 0.30236721, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1472 | }) | |
1473 | Part = New("Part", Uzi, "Part", { | |
1474 | BrickColor = BrickColor.new("Black"), | |
1475 | Elasticity = 0, | |
1476 | FormFactor = Enum.FormFactor.Symmetric, | |
1477 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1478 | CFrame = CFrame.new(-63.8792877, 4.10843039, 9.41535473, 4.20435099E-4, -1.53568108E-5, 0.999997318, -0.999989092, -4.51352062E-5, 4.20430006E-4, 4.55259251E-5, -0.999986291, -1.53795154E-5), | |
1479 | CanCollide = false, | |
1480 | BottomSurface = Enum.SurfaceType.Smooth, | |
1481 | TopSurface = Enum.SurfaceType.Smooth, | |
1482 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1483 | }) | |
1484 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1485 | Scale = Vector3.new(0.142857149, 0.095238097, 0.142857149) | |
1486 | }) | |
1487 | mot = New("Motor", Part, "mot", { | |
1488 | Part0 = Part, | |
1489 | Part1 = Handle, | |
1490 | C0 = CFrame.new(0, 0, 0, 4.20435739E-4, -0.99999994, 4.53278881E-5, -1.53587171E-5, -4.53343491E-5, -1, 0.99999994, 4.20435041E-4, -1.53777764E-5), | |
1491 | C1 = CFrame.new(-0.0704956055, 0.710843325, -1.32484055, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1492 | }) | |
1493 | Block = New("Part", Uzi, "Block", { | |
1494 | BrickColor = BrickColor.new("Black"), | |
1495 | Elasticity = 0, | |
1496 | FormFactor = Enum.FormFactor.Plate, | |
1497 | Size = Vector3.new(1.51969779, 0.607879162, 1.51969779), | |
1498 | CFrame = CFrame.new(-63.8792877, 3.673805, 8.25339222, -3.23260669E-4, 2.16992383E-4, -0.999997377, 0.866039515, -0.499953777, -3.88442742E-4, -0.499952704, -0.866036952, -2.63046823E-5), | |
1499 | CanCollide = false, | |
1500 | BottomSurface = Enum.SurfaceType.Smooth, | |
1501 | TopSurface = Enum.SurfaceType.Smooth, | |
1502 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1503 | }) | |
1504 | Mesh = New("BlockMesh", Block, "Mesh", { | |
1505 | Scale = Vector3.new(0.142857149, 0.0952381045, 0.0476190485) | |
1506 | }) | |
1507 | mot = New("Motor", Block, "mot", { | |
1508 | Part0 = Block, | |
1509 | Part1 = Handle, | |
1510 | C0 = CFrame.new(0, 0, 0, -3.23262066E-4, 0.866048813, -0.499959379, 2.16991102E-4, -0.49995935, -0.866048872, -1, -3.88447457E-4, -2.63069869E-5), | |
1511 | C1 = CFrame.new(-0.0704956055, 0.276212454, -0.162861824, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1512 | }) | |
1513 | NoSight = New("Part", Uzi, "NoSight", { | |
1514 | BrickColor = BrickColor.new("Black"), | |
1515 | Elasticity = 0, | |
1516 | FormFactor = Enum.FormFactor.Plate, | |
1517 | Size = Vector3.new(1.51969779, 0.607879162, 1.51969779), | |
1518 | CFrame = CFrame.new(-63.7637138, 4.25275517, 7.24577427, 3.16243502E-4, -0.999997318, -1.53725232E-5, -0.999989152, -3.16239311E-4, -4.30490618E-5, 4.34413814E-5, 1.53898236E-5, -0.999986291), | |
1519 | CanCollide = false, | |
1520 | BottomSurface = Enum.SurfaceType.Smooth, | |
1521 | TopSurface = Enum.SurfaceType.Smooth, | |
1522 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1523 | }) | |
1524 | Mesh = New("CylinderMesh", NoSight, "Mesh", { | |
1525 | Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194) | |
1526 | }) | |
1527 | mot = New("Motor", NoSight, "mot", { | |
1528 | Part0 = NoSight, | |
1529 | Part1 = Handle, | |
1530 | C0 = CFrame.new(0, 0, 0, 3.16243852E-4, -1, 4.32433153E-5, -0.99999994, -3.16243211E-4, 1.53881065E-5, -1.53744295E-5, -4.32481829E-5, -1), | |
1531 | C1 = CFrame.new(-0.186069489, 0.855168581, 0.844769955, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1532 | }) | |
1533 | NoSight = New("Part", Uzi, "NoSight", { | |
1534 | BrickColor = BrickColor.new("Black"), | |
1535 | Elasticity = 0, | |
1536 | FormFactor = Enum.FormFactor.Custom, | |
1537 | Size = Vector3.new(0.303939581, 0.303939581, 0.303939581), | |
1538 | CFrame = CFrame.new(-63.857769, 4.31044102, 8.6785574, 1.51598751E-5, -4.07793617E-4, 0.999997377, -4.30490618E-5, 0.999989152, 4.07790008E-4, -0.999986291, -4.34524227E-5, 1.51382555E-5), | |
1539 | CanCollide = false, | |
1540 | BottomSurface = Enum.SurfaceType.Smooth, | |
1541 | TopSurface = Enum.SurfaceType.Smooth, | |
1542 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1543 | }) | |
1544 | Mesh = New("SpecialMesh", NoSight, "Mesh", { | |
1545 | Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105), | |
1546 | MeshType = Enum.MeshType.Wedge | |
1547 | }) | |
1548 | mot = New("Motor", NoSight, "mot", { | |
1549 | Part0 = NoSight, | |
1550 | Part1 = Handle, | |
1551 | C0 = CFrame.new(0, 0, 0, 1.51580489E-5, -4.32481829E-5, -1, -4.07794229E-4, 1, -4.32543566E-5, 1, 4.07794898E-4, 1.51404101E-5), | |
1552 | C1 = CFrame.new(-0.0920143127, 0.912855864, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1553 | }) | |
1554 | Ring = New("Part", Uzi, "Ring", { | |
1555 | BrickColor = BrickColor.new("Black"), | |
1556 | Elasticity = 0, | |
1557 | FormFactor = Enum.FormFactor.Symmetric, | |
1558 | Size = Vector3.new(1.51969779, 1.51969779, 1.51969779), | |
1559 | CFrame = CFrame.new(-63.8792877, 3.71034932, 8.25933456, 4.58751165E-5, 4.0779452E-4, 0.999997318, 4.30788677E-5, -0.999989152, 4.07788291E-4, 0.999986291, 4.34573376E-5, -4.58960603E-5), | |
1560 | CanCollide = false, | |
1561 | BottomSurface = Enum.SurfaceType.Smooth, | |
1562 | TopSurface = Enum.SurfaceType.Smooth, | |
1563 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1564 | }) | |
1565 | Mesh = New("SpecialMesh", Ring, "Mesh", { | |
1566 | Scale = Vector3.new(0.434199393, 0.361832827, 0.361832827), | |
1567 | MeshId = "http://www.roblox.com/asset/?id=3270017", | |
1568 | MeshType = Enum.MeshType.FileMesh | |
1569 | }) | |
1570 | mot = New("Motor", Ring, "mot", { | |
1571 | Part0 = Ring, | |
1572 | Part1 = Handle, | |
1573 | C0 = CFrame.new(0, 0, 0, 4.58770992E-5, 4.32779889E-5, 1, 4.07795131E-4, -1, 4.32592751E-5, 0.99999994, 4.07793181E-4, -4.58947434E-5), | |
1574 | C1 = CFrame.new(-0.0704956055, 0.312757254, -0.168804169, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1575 | }) | |
1576 | NoSight = New("Part", Uzi, "NoSight", { | |
1577 | BrickColor = BrickColor.new("Black"), | |
1578 | Elasticity = 0, | |
1579 | FormFactor = Enum.FormFactor.Custom, | |
1580 | Size = Vector3.new(0.303939581, 0.303939581, 0.303939581), | |
1581 | CFrame = CFrame.new(-63.9008064, 4.31044102, 8.6785574, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490618E-5, 0.999989152, -3.46755522E-4, 0.999986291, -4.34514986E-5, -1.51409104E-5), | |
1582 | CanCollide = false, | |
1583 | BottomSurface = Enum.SurfaceType.Smooth, | |
1584 | TopSurface = Enum.SurfaceType.Smooth, | |
1585 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1586 | }) | |
1587 | Mesh = New("SpecialMesh", NoSight, "Mesh", { | |
1588 | Scale = Vector3.new(0.333333224, 0.0476190485, 0.142857105), | |
1589 | MeshType = Enum.MeshType.Wedge | |
1590 | }) | |
1591 | mot = New("Motor", NoSight, "mot", { | |
1592 | Part0 = NoSight, | |
1593 | Part1 = Handle, | |
1594 | C0 = CFrame.new(0, 0, 0, -1.51580507E-5, 4.32481829E-5, 1, -3.46759072E-4, 1, -4.32534325E-5, -1, -3.46759742E-4, -1.51430522E-5), | |
1595 | C1 = CFrame.new(-0.0489768982, 0.912855864, -0.588032722, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1596 | }) | |
1597 | NoSight = New("Part", Uzi, "NoSight", { | |
1598 | BrickColor = BrickColor.new("Black"), | |
1599 | Elasticity = 0, | |
1600 | FormFactor = Enum.FormFactor.Plate, | |
1601 | Size = Vector3.new(1.51969779, 0.607879162, 1.51969779), | |
1602 | CFrame = CFrame.new(-63.7637138, 4.25256538, 9.19813633, 3.16242484E-4, -0.999998629, -1.53781439E-5, -0.999994516, -3.16240039E-4, -4.36452538E-5, 4.38389834E-5, 1.53937908E-5, -0.999993145), | |
1603 | CanCollide = false, | |
1604 | BottomSurface = Enum.SurfaceType.Smooth, | |
1605 | TopSurface = Enum.SurfaceType.Smooth, | |
1606 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1607 | }) | |
1608 | Mesh = New("CylinderMesh", NoSight, "Mesh", { | |
1609 | Scale = Vector3.new(0.190476194, 0.095238097, 0.190476194) | |
1610 | }) | |
1611 | mot = New("Motor", NoSight, "mot", { | |
1612 | Part0 = NoSight, | |
1613 | Part1 = Handle, | |
1614 | C0 = CFrame.new(0, 0, 0, 3.16242484E-4, -0.999994516, 4.38389834E-5, -0.999998629, -3.16240039E-4, 1.53937908E-5, -1.53781439E-5, -4.36452538E-5, -0.999993145), | |
1615 | C1 = CFrame.new(-0.186069489, 0.854979753, -1.10761929, -1, -9.26473731E-10, -3.73439546E-9, -9.2647523E-10, 1, 3.97311624E-7, 3.73439502E-9, 3.97311624E-7, -1) | |
1616 | }) | |
1617 | NoSight = New("Part", Uzi, "NoSight", { | |
1618 | BrickColor = BrickColor.new("Black"), | |
1619 | Elasticity = 0, | |
1620 | FormFactor = Enum.FormFactor.Custom, | |
1621 | Size = Vector3.new(0.303939581, 0.303939581, 0.303939581), | |
1622 | CFrame = CFrame.new(-63.8792877, 4.27389956, 7.20867825, -1.5159877E-5, -3.46758636E-4, -0.999997377, 4.30490654E-5, 0.999989152, -3.46755493E-4, 0.999986291, -4.34515023E-5, -1.51409085E-5), | |
1623 | CanCollide = false, | |
1624 | BottomSurface = Enum.SurfaceType.Smooth, | |
1625 | TopSurface = Enum.SurfaceType.Smooth, | |
1626 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1627 | }) | |
1628 | Mesh = New("BlockMesh", NoSight, "Mesh", { | |
1629 | Scale = Vector3.new(0.0476190522, 0.190476194, 0.19047603) | |
1630 | }) | |
1631 | mot = New("Motor", NoSight, "mot", { | |
1632 | Part0 = NoSight, | |
1633 | Part1 = Handle, | |
1634 | C0 = CFrame.new(0, 0, 0, -1.5159917E-5, 4.30495311E-5, 1, -3.46759538E-4, 1, -4.30547843E-5, -1, -3.46760178E-4, -1.51449858E-5), | |
1635 | C1 = CFrame.new(-0.0704956055, 0.876312971, 0.881866455, -1, -1.38907941E-9, -5.60068347E-9, -1.38908274E-9, 1, 5.95965616E-7, 5.60068303E-9, 5.95965616E-7, -1) | |
1636 | }) | |
1637 | A2 = New("Part", Uzi, "A2", { | |
1638 | BrickColor = BrickColor.new("Dark stone grey"), | |
1639 | Elasticity = 0, | |
1640 | FormFactor = Enum.FormFactor.Custom, | |
1641 | Size = Vector3.new(0.303939581, 0.303939581, 1.8236376), | |
1642 | CFrame = CFrame.new(-64.1623764, 4.10658884, 8.22297573, 3.04593304E-5, -6.80373148E-7, 0.999997377, -0.999989152, -1.32646619E-5, 3.04581481E-5, 1.36619119E-5, -0.999986291, -6.84514305E-7), | |
1643 | CanCollide = false, | |
1644 | BottomSurface = Enum.SurfaceType.Smooth, | |
1645 | TopSurface = Enum.SurfaceType.Smooth, | |
1646 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1647 | }) | |
1648 | Mesh = New("BlockMesh", A2, "Mesh", { | |
1649 | Offset = Vector3.new(0, 0, 0.0599999987), | |
1650 | Scale = Vector3.new(0.200000003, 0.200000003, 0.0480000004) | |
1651 | }) | |
1652 | mot = New("Motor", A2, "mot", { | |
1653 | Part0 = A2, | |
1654 | Part1 = Handle, | |
1655 | C0 = CFrame.new(0, 0, 0, 3.04594105E-5, -1, 1.32647847E-5, -6.80374967E-7, -1.32648056E-5, -1, 1, 3.04594014E-5, -6.8077901E-7), | |
1656 | C1 = CFrame.new(0.212593079, 0.709000826, -0.132445335, -1, -1.38907941E-9, -5.60068347E-9, -1.38908274E-9, 1, 5.95965616E-7, 5.60068303E-9, 5.95965616E-7, -1) | |
1657 | }) | |
1658 | for _, v in pairs(Uzi:GetChildren()) do | |
1659 | if v:IsA("BasePart") then | |
1660 | v.CanCollide = false | |
1661 | end | |
1662 | end | |
1663 | local NewInstance = function(instance, parent, properties) | |
1664 | local inst = Instance.new(instance, parent) | |
1665 | if properties then | |
1666 | for i, v in next, properties, nil do | |
1667 | pcall(function() | |
1668 | inst[i] = v | |
1669 | end) | |
1670 | end | |
1671 | end | |
1672 | return inst | |
1673 | end | |
1674 | local HW = NewInstance("Weld", char, { | |
1675 | Part0 = ra, | |
1676 | Part1 = Handle, | |
1677 | C0 = CFrame.new(0, -1.1, -0.2) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
1678 | }) | |
1679 | hed.face.Texture = "http://www.roblox.com/asset/?id=120463437" | |
1680 | local naeeym2 = Instance.new("BillboardGui", char) | |
1681 | naeeym2.AlwaysOnTop = true | |
1682 | naeeym2.Size = UDim2.new(2, 0, 1, 0) | |
1683 | naeeym2.StudsOffset = Vector3.new(-4, 4, 0) | |
1684 | naeeym2.Adornee = hed | |
1685 | naeeym2.Name = "Name" | |
1686 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
1687 | tecks2.BackgroundTransparency = 1 | |
1688 | tecks2.TextScaled = true | |
1689 | tecks2.BorderSizePixel = 0 | |
1690 | tecks2.Text = "Verr\195\188ckt V\195\182lkerm\195\182rder" | |
1691 | tecks2.Font = 15 | |
1692 | tecks2.TextSize = 24 | |
1693 | tecks2.TextStrokeTransparency = 0 | |
1694 | tecks2.TextColor3 = Color3.new(0.7058823529411765, 0, 0) | |
1695 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1696 | tecks2.Size = UDim2.new(5, 0, 2.5, 0) | |
1697 | tecks2.Parent = naeeym2 | |
1698 | VALUE1 = false | |
1699 | coroutine.wrap(function() | |
1700 | while true do | |
1701 | swait(15) | |
1702 | hum.Health = hum.Health + 55 | |
1703 | local chance = 200 | |
1704 | local name = math.random(1, 45) | |
1705 | if name == 1 then | |
1706 | tecks2.Text = "iNSaNiTY" | |
1707 | wait(0.3) | |
1708 | tecks2.Text = "Glitch Maniac" | |
1709 | elseif name == 2 then | |
1710 | tecks2.Text = "ERRORRRRRRRRRRRRRRRRR" | |
1711 | wait(0.3) | |
1712 | tecks2.Text = "Glitch Maniac" | |
1713 | elseif name == 3 then | |
1714 | tecks2.Text = ":))))))))))))))))))" | |
1715 | wait(0.3) | |
1716 | tecks2.Text = "Glitch Maniac" | |
1717 | elseif name == 4 then | |
1718 | tecks2.Text = "WinDOWS sevEn StarterRrrrRrrrRRR" | |
1719 | wait(0.3) | |
1720 | - | tecks2.Text = "Insane Genocidal Maniac" |
1720 | + | |
1721 | elseif math.random(1, chance) == math.ceil(chance / 2) then | |
1722 | tecks2.Text = "heHEhehehe" | |
1723 | else | |
1724 | - | tecks2.Text = "Insane Genocidal Maniac" |
1724 | + | |
1725 | end | |
1726 | if VALUE1 then | |
1727 | tecks2.Text = tecks2.Text:gsub("", string.char(math.random(1, 127))) | |
1728 | end | |
1729 | end | |
1730 | end)() | |
1731 | local BBG = Instance.new("BillboardGui", char) | |
1732 | BBG.Size = UDim2.new(10, 0, 10, 0) | |
1733 | BBG.Enabled = false | |
1734 | local TargetCircle = Instance.new("ImageLabel", BBG) | |
1735 | TargetCircle.Position = UDim2.new(0, 0, 0, 0) | |
1736 | TargetCircle.Size = UDim2.new(1, 0, 1, 0) | |
1737 | TargetCircle.Image = "rbxassetid://845483336" | |
1738 | TargetCircle.BackgroundTransparency = 1 | |
1739 | TargetCircle.ImageColor3 = Color3.new(1, 0, 0) | |
1740 | local TargetCircle2 = TargetCircle:Clone() | |
1741 | TargetCircle2.Parent = BBG | |
1742 | TargetCircle2.ImageTransparency = 1 | |
1743 | targgeted = nil | |
1744 | function TargetSelect(ch) | |
1745 | local dd = coroutine.wrap(function() | |
1746 | if targgeted ~= ch then | |
1747 | targgeted = ch | |
1748 | TargetCircle2.Size = UDim2.new(1, 0, 1, 0) | |
1749 | TargetCircle2.ImageTransparency = 0 | |
1750 | TargetCircle2.Position = UDim2.new(0, 0, 0, 0) | |
1751 | for i = 0, 2, 0.1 do | |
1752 | wait() | |
1753 | TargetCircle2.Size = TargetCircle2.Size + UDim2.new(0.05, 0, 0.05, 0) | |
1754 | TargetCircle2.Position = TargetCircle2.Position + UDim2.new(-0.025, 0, -0.025, 0) | |
1755 | TargetCircle2.ImageTransparency = TargetCircle2.ImageTransparency + 0.05 | |
1756 | end | |
1757 | end | |
1758 | end)() | |
1759 | end | |
1760 | function LockOn() | |
1761 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1762 | TargetSelect(mouse.Target.Parent) | |
1763 | end | |
1764 | end | |
1765 | function TargetSelect(person) | |
1766 | local dd = coroutine.wrap(function() | |
1767 | if targetted ~= person then | |
1768 | targetted = person | |
1769 | TargetCircle2.Size = UDim2.new(1, 0, 1, 0) | |
1770 | TargetCircle2.ImageTransparency = 0 | |
1771 | TargetCircle2.Position = UDim2.new(0, 0, 0, 0) | |
1772 | for i = 0, 2, 0.1 do | |
1773 | swait() | |
1774 | TargetCircle2.Size = TargetCircle2.Size + UDim2.new(0.05, 0, 0.05, 0) | |
1775 | TargetCircle2.Position = TargetCircle2.Position + UDim2.new(-0.025, 0, -0.025, 0) | |
1776 | TargetCircle2.ImageTransparency = TargetCircle2.ImageTransparency + 0.05 | |
1777 | end | |
1778 | end | |
1779 | end) | |
1780 | dd() | |
1781 | end | |
1782 | local sine = 0 | |
1783 | function Laugh() | |
1784 | attack = true | |
1785 | hum.WalkSpeed = 0 | |
1786 | CreateSound("221057812", tors, 3, 1) | |
1787 | for i = 0, 4.5, 0.03333333333333333 do | |
1788 | swait() | |
1789 | rootj.C0 = clerp(rootj.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 1.5)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
1790 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
1791 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1792 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1793 | RH.C0 = clerp(RH.C0, cf(1, -0.9 - 0.1 * math.cos(sine / 1.5), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.15) | |
1794 | LH.C0 = clerp(LH.C0, cf(-1, -0.9 - 0.1 * math.cos(sine / 1.5), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.15) | |
1795 | end | |
1796 | attack = false | |
1797 | hum.WalkSpeed = 8 | |
1798 | end | |
1799 | function smileforme() | |
1800 | attack = true | |
1801 | hum.WalkSpeed = 0 | |
1802 | for i = 1, 55 do | |
1803 | for i = 0, 0.1, 0.1 do | |
1804 | swait() | |
1805 | rootj.C0 = clerp(rootj.C0, RootCF * cf(0, 0, -1.25) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
1806 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.15) | |
1807 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(0), math.rad(0), math.rad(-4.5)), 0.15) | |
1808 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-75), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15) | |
1809 | LH.C0 = clerp(LH.C0, cf(-0.75, 0.25, -1) * angles(math.rad(-15), math.rad(-90), math.rad(0)) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15) | |
1810 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3) | |
1811 | end | |
1812 | Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1813 | - | Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) |
1813 | + | Effects.Block.Create(BrickColor.new("Lime green"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) |
1814 | CreateSound("249050335", char, 1, 0.5) | |
1815 | for i = 0, 0.1, 0.1 do | |
1816 | swait() | |
1817 | rootj.C0 = clerp(rootj.C0, RootCF * cf(0, 0, -1.25) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
1818 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.15) | |
1819 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(0), math.rad(0), math.rad(-4.5)), 0.15) | |
1820 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-75), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15) | |
1821 | LH.C0 = clerp(LH.C0, cf(-0.75, 0.25, -1) * angles(math.rad(-15), math.rad(-90), math.rad(0)) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15) | |
1822 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3) | |
1823 | end | |
1824 | end | |
1825 | local ref1 = New("Part", char, "ref", { | |
1826 | Transparency = 1, | |
1827 | Size = Vector3.new(0.2, 0.2, 0.2), | |
1828 | CFrame = tors.CFrame, | |
1829 | Anchored = true, | |
1830 | CanCollide = false, | |
1831 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1832 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1833 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1834 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1835 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1836 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1837 | }) | |
1838 | wait(0.4) | |
1839 | attack = false | |
1840 | hum.WalkSpeed = 8 | |
1841 | for i = 1, 65 do | |
1842 | wait(0.1) | |
1843 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=192410089", char, 1.5, 0.7) | |
1844 | ref1.Position = mouse.hit.p | |
1845 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-0.5, 0.5), 0, math.random(-0.5, 0.5)) | |
1846 | mdmg(ref1, 10) | |
1847 | Effects.Cylinder.Create(BrickColor.new("Dark orange"), ref1.CFrame, 0.5, 9999, 0.5, 0.7, 0, 0.7, 0.05) | |
1848 | Effects.Sphere.Create(BrickColor.new("Dark orange"), ref1.CFrame, 1, 1, 1, 0.7, 0.7, 0.7, 0.05) | |
1849 | end | |
1850 | ref1:Remove() | |
1851 | end | |
1852 | function targetkill() | |
1853 | attack = true | |
1854 | hum.WalkSpeed = 0 | |
1855 | for i = 1, 15 do | |
1856 | for i = 0, 0.1, 0.1 do | |
1857 | swait() | |
1858 | rootj.C0 = clerp(rootj.C0, RootCF * cf(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.15) | |
1859 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3) | |
1860 | RH.C0 = clerp(RH.C0, cf(1, -1, 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.15) | |
1861 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(-5)), 0.15) | |
1862 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1863 | end | |
1864 | Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1865 | - | Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) |
1865 | + | Effects.Block.Create(BrickColor.new("Lime green"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) |
1866 | CreateSound("249050335", char, 1, 0.5) | |
1867 | for i = 0, 0.1, 0.1 do | |
1868 | swait() | |
1869 | rootj.C0 = clerp(rootj.C0, RootCF * cf(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.15) | |
1870 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3) | |
1871 | RH.C0 = clerp(RH.C0, cf(1, -1, 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.15) | |
1872 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(-5)), 0.15) | |
1873 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0.2) * angles(math.rad(95), math.rad(0), math.rad(0)), 0.3) | |
1874 | end | |
1875 | end | |
1876 | coroutine.wrap(function() | |
1877 | if targetted then | |
1878 | dmg(targetted) | |
1879 | end | |
1880 | end)() | |
1881 | attack = false | |
1882 | hum.WalkSpeed = 8 | |
1883 | end | |
1884 | function shootyboi() | |
1885 | attack = true | |
1886 | hum.WalkSpeed = 0 | |
1887 | for i = 0, 65 do | |
1888 | for i = 0, 0.1, 0.1 do | |
1889 | swait() | |
1890 | rootj.C0 = clerp(rootj.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
1891 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3) | |
1892 | RH.C0 = clerp(RH.C0, cf(1, -1, 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15) | |
1893 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.15) | |
1894 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(100), math.rad(0), math.rad(0)), 0.3) | |
1895 | end | |
1896 | Effects.Block.Create(BrickColor.new("Dark orange"), Cylinder1.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1897 | - | Effects.Block.Create(BrickColor.new("Really red"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) |
1897 | + | Effects.Block.Create(BrickColor.new("Lime green"), Cylinder1.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) |
1898 | CreateSound("249050335", char, 1, 0.5) | |
1899 | do | |
1900 | local ref1 = New("Part", char, "ref", { | |
1901 | Transparency = 1, | |
1902 | Size = Vector3.new(0.2, 0.2, 0.2), | |
1903 | CFrame = tors.CFrame, | |
1904 | Anchored = true, | |
1905 | CanCollide = false, | |
1906 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1907 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1908 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1909 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1910 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1911 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1912 | }) | |
1913 | ref1.Position = mouse.hit.p | |
1914 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-0.5, 0.5), 0, math.random(-0.5, 0.5)) | |
1915 | coroutine.wrap(function() | |
1916 | for i, v in next, workspace:children() do | |
1917 | do | |
1918 | local selected = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
1919 | if v ~= char and selected and (ref1.CFrame.p - selected.CFrame.p).magnitude < 3 then | |
1920 | local hum = v:FindFirstChildOfClass("Humanoid") | |
1921 | if hum and hum.Health > 0 then | |
1922 | coroutine.wrap(function() | |
1923 | dmg(v) | |
1924 | end)() | |
1925 | end | |
1926 | end | |
1927 | end | |
1928 | end | |
1929 | end)() | |
1930 | local dist = (Cylinder1.CFrame.p - ref1.CFrame.p).magnitude | |
1931 | local ray1 = Create("Part")({ | |
1932 | Parent = workspace, | |
1933 | BrickColor = BrickColor.new("Dark orange"), | |
1934 | Material = "Neon", | |
1935 | Transparency = 0.25, | |
1936 | Anchored = true, | |
1937 | Locked = true, | |
1938 | CanCollide = false, | |
1939 | Size = Vector3.new(0.3, 0.3, dist), | |
1940 | CFrame = CFrame.new(Cylinder1.CFrame.p, ref1.CFrame.p) * CFrame.new(0, 0, -dist / 2) | |
1941 | }) | |
1942 | delay(0, function() | |
1943 | ray1.Anchored = true | |
1944 | for i = 0.25, 1, 0.1 do | |
1945 | ray1.Transparency = i | |
1946 | wait() | |
1947 | end | |
1948 | ray1:destroy() | |
1949 | end) | |
1950 | for i = 0, 0.1, 0.1 do | |
1951 | swait() | |
1952 | rootj.C0 = clerp(rootj.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
1953 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3) | |
1954 | RH.C0 = clerp(RH.C0, cf(1, -1, 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15) | |
1955 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.15) | |
1956 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(115), math.rad(0), math.rad(0)), 0.3) | |
1957 | end | |
1958 | end | |
1959 | end | |
1960 | attack = false | |
1961 | hum.WalkSpeed = 8 | |
1962 | end | |
1963 | function nothinpersonal(pos) | |
1964 | CFuncs.Sound.Create("rbxassetid://743521656", char, 1, 0.8) | |
1965 | for _, v in pairs(char:children()) do | |
1966 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
1967 | do | |
1968 | local p = v:clone() | |
1969 | p.Name = "trail" | |
1970 | p.Parent = EffectModel | |
1971 | p.Transparency = 0.5 | |
1972 | p.Anchored = true | |
1973 | p.BrickColor = BrickColor.new("Really black") | |
1974 | p.Material = "Neon" | |
1975 | p:BreakJoints() | |
1976 | p.CanCollide = false | |
1977 | if v == hed then | |
1978 | for a, b in pairs(p:children()) do | |
1979 | if b:IsA("Sound") then | |
1980 | b:Destroy() | |
1981 | end | |
1982 | end | |
1983 | end | |
1984 | coroutine.resume(coroutine.create(function() | |
1985 | for i = 1, 50 do | |
1986 | swait() | |
1987 | p.Transparency = i / 50 | |
1988 | end | |
1989 | p:Destroy() | |
1990 | end)) | |
1991 | end | |
1992 | end | |
1993 | if v.className == "Accessory" then | |
1994 | end | |
1995 | end | |
1996 | root.CFrame = pos | |
1997 | end | |
1998 | local music = Instance.new("Sound", tors) | |
1999 | - | music.SoundId = "rbxassetid://143988976" |
1999 | + | music.SoundId = "rbxassetid://904026459" |
2000 | music.Looped = true | |
2001 | music.Volume = 5 | |
2002 | music:Play() | |
2003 | angery = false | |
2004 | function ohshitimangry() | |
2005 | attack = true | |
2006 | ShadowHead = New("Part", char, "ShadowHeadss", { | |
2007 | CanCollide = false, | |
2008 | BrickColor = BrickColor.new("Really black"), | |
2009 | Size = Vector3.new(1.20000005, 0.600000024, 1), | |
2010 | CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
2011 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
2012 | }) | |
2013 | Mesh = New("SpecialMesh", ShadowHead, "Mesh", { | |
2014 | Scale = Vector3.new(1.25999999, 1.5, 1.25999999) | |
2015 | }) | |
2016 | Weld = New("Weld", ShadowHead, "mot", { | |
2017 | Part0 = ShadowHead, | |
2018 | Part1 = char.Head, | |
2019 | C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2020 | }) | |
2021 | angery = true | |
2022 | music.SoundId = "rbxassetid://576474523" | |
2023 | music:Play() | |
2024 | local BodyColors = char:FindFirstChildOfClass("BodyColors") | |
2025 | if BodyColors then | |
2026 | BodyColors.TorsoColor = BrickColor.new("Really black") | |
2027 | BodyColors.LeftArmColor = BrickColor.new("Lime green") | |
2028 | BodyColors.RightArmColor = BrickColor.new("Really red") | |
2029 | BodyColors.LeftLegColor = BrickColor.new("Bright yellow") | |
2030 | BodyColors.RightLegColor = BrickColor.new("Pastel white") | |
2031 | end | |
2032 | attack = false | |
2033 | end | |
2034 | mouse.Button1Down:connect(function() | |
2035 | if attack == false and targetted ~= nil and targetted.Parent ~= nil then | |
2036 | targetkill() | |
2037 | end | |
2038 | end) | |
2039 | mouse.KeyDown:connect(function(key) | |
2040 | if attack == false then | |
2041 | if key == "t" then | |
2042 | Laugh() | |
2043 | elseif key == "v" then | |
2044 | smileforme() | |
2045 | elseif key == "q" then | |
2046 | LockOn() | |
2047 | elseif key == "x" then | |
2048 | shootyboi() | |
2049 | elseif key == "e" and targetted ~= nil then | |
2050 | nothinpersonal(targetted.Head.CFrame * CFrame.new(0, -1.5, 3)) | |
2051 | elseif key == "b" and angery == false then | |
2052 | ohshitimangry() | |
2053 | end | |
2054 | end | |
2055 | end) | |
2056 | local PlayerSize = 1 | |
2057 | local FT, RA, LA, RL, LL = Instance.new("SpecialMesh"), Instance.new("SpecialMesh"), Instance.new("SpecialMesh"), Instance.new("SpecialMesh"), Instance.new("SpecialMesh") | |
2058 | FT.MeshId, FT.Scale = "rbxasset://fonts/torso.mesh", Vector3.new(PlayerSize, PlayerSize, PlayerSize) | |
2059 | RA.MeshId, RA.Scale = "rbxasset://fonts/rightarm.mesh", Vector3.new(PlayerSize, PlayerSize, PlayerSize) | |
2060 | LA.MeshId, LA.Scale = "rbxasset://fonts/leftarm.mesh", Vector3.new(PlayerSize, PlayerSize, PlayerSize) | |
2061 | RL.MeshId, RL.Scale = "rbxasset://fonts/rightleg.mesh", Vector3.new(PlayerSize, PlayerSize, PlayerSize) | |
2062 | LL.MeshId, LL.Scale = "rbxasset://fonts/leftleg.mesh", Vector3.new(PlayerSize, PlayerSize, PlayerSize) | |
2063 | local idle = 0 | |
2064 | local change = 1 | |
2065 | local val = 0 | |
2066 | toim = 0 | |
2067 | hum.Animator.Parent = nil | |
2068 | idleanim = 0.4 | |
2069 | while true do | |
2070 | swait() | |
2071 | naeeym2.StudsOffset = Vector3.new(-4, 4, 0) + Vector3.new(math.random(-10, 10) / 100, math.random(-10, 10) / 100, 0) | |
2072 | TargetCircle.Rotation = TargetCircle.Rotation + 3 | |
2073 | TargetCircle2.Rotation = TargetCircle2.Rotation + 3 | |
2074 | if targetted ~= nil then | |
2075 | BBG.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
2076 | BBG.Enabled = true | |
2077 | elseif targetted == nil then | |
2078 | BBG.Adornee = nil | |
2079 | BBG.Enabled = false | |
2080 | end | |
2081 | while TargetCircle.Rotation >= 360 do | |
2082 | TargetCircle.Rotation = 0 | |
2083 | TargetCircle.Rotation = 0 | |
2084 | end | |
2085 | sine = sine + change | |
2086 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2087 | local velderp = root.Velocity.y | |
2088 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) | |
2089 | if equipped == true or equipped == false then | |
2090 | if attack == false then | |
2091 | idle = idle + 1 | |
2092 | else | |
2093 | idle = 0 | |
2094 | end | |
2095 | if root.Velocity.y > 1 and hitfloor == nil then | |
2096 | Anim = "Jump" | |
2097 | if attack == false then | |
2098 | rootj.C0 = clerp(rootj.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2099 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
2100 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3) | |
2101 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
2102 | LH.C0 = clerp(LH.C0, cf(-1, -0.9 - 0.1 * math.cos(sine / 20), -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.15) | |
2103 | RH.C0 = clerp(RH.C0, cf(1, -1, 0.3) * angles(math.rad(0), math.rad(90), math.rad(-20)), 0.3) | |
2104 | end | |
2105 | elseif root.Velocity.y < -1 and hitfloor == nil then | |
2106 | Anim = "Fall" | |
2107 | if attack == false then | |
2108 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-20)), 0.3) | |
2109 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3) | |
2110 | rootj.C0 = clerp(rootj.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2111 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(40), math.rad(0), math.rad(0)), 0.3) | |
2112 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
2113 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
2114 | end | |
2115 | elseif torvel < 1 and hitfloor ~= nil then | |
2116 | Anim = "Idle" | |
2117 | change = 0.5 | |
2118 | if attack == false then | |
2119 | if angery == false then | |
2120 | VALUE1 = false | |
2121 | rootj.C0 = clerp(rootj.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.15) | |
2122 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(15 * math.sin(sine / 25) / 2), math.rad(0), math.rad(10 * math.sin(sine / 25))), 0.3) | |
2123 | RH.C0 = clerp(RH.C0, cf(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.15) | |
2124 | LH.C0 = clerp(LH.C0, cf(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-3), math.rad(-4 * math.sin(sine / 25)), math.rad(-5)), 0.15) | |
2125 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.04 * math.sin(sine / 25), 0) * angles(math.rad(20), math.rad(-7 * math.sin(sine / 25)), math.rad(5)), 0.1) | |
2126 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.04 * math.sin(sine / 25), 0) * angles(math.rad(20), math.rad(7 * math.sin(sine / 25)), math.rad(-5)), 0.1) | |
2127 | if VALUE1 == false and math.random(1, 200) == 1 then | |
2128 | coroutine.resume(coroutine.create(function() | |
2129 | VALUE1 = true | |
2130 | for i = 1, 25 do | |
2131 | swait() | |
2132 | music.Pitch = 0.5 + math.random(0.5, 0.2) / 0.5 | |
2133 | hed.face.Texture = "http://www.roblox.com/asset/?id=124907882" | |
2134 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-25), math.rad(15 + math.random(-15, 15) / 15), math.rad(30)), 0.3) | |
2135 | end | |
2136 | music.Pitch = 1 | |
2137 | hed.face.Texture = "http://www.roblox.com/asset/?id=120463437" | |
2138 | VALUE1 = false | |
2139 | end)) | |
2140 | end | |
2141 | elseif angery == true then | |
2142 | rootj.C0 = clerp(rootj.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15) | |
2143 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-15 * math.sin(sine / 25) / 2), math.rad(0), math.rad(10 * math.sin(sine / 25))), 0.3) | |
2144 | RH.C0 = clerp(RH.C0, cf(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(-25)), 0.15) | |
2145 | LH.C0 = clerp(LH.C0, cf(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-3), math.rad(-4 * math.sin(sine / 25)), math.rad(15)), 0.15) | |
2146 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.04 * math.sin(sine / 25), 0) * angles(math.rad(-35), math.rad(-7 * math.sin(sine / 25)), math.rad(5)), 0.1) | |
2147 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.04 * math.sin(sine / 25), 0) * angles(math.rad(-35), math.rad(7 * math.sin(sine / 25)), math.rad(-5)), 0.1) | |
2148 | if VALUE1 == false and math.random(1, 200) == 1 then | |
2149 | coroutine.resume(coroutine.create(function() | |
2150 | VALUE1 = true | |
2151 | for i = 1, 25 do | |
2152 | swait() | |
2153 | music.Pitch = 0.5 + math.random(0.5, 0.2) / 0.5 | |
2154 | FT.Parent = tors | |
2155 | RA.Parent = ra | |
2156 | LA.Parent = la | |
2157 | RL.Parent = rl | |
2158 | LL.Parent = ll | |
2159 | for _, v in next, char:GetDescendants() do | |
2160 | if v:IsA("DataModelMesh") then | |
2161 | v.Offset = Vector3.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) | |
2162 | end | |
2163 | end | |
2164 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-25), math.rad(15 + math.random(-15, 15) / 15), math.rad(0)), 0.3) | |
2165 | end | |
2166 | music.Pitch = 0.66 | |
2167 | VALUE1 = false | |
2168 | FT.Parent = nil | |
2169 | RA.Parent = nil | |
2170 | LA.Parent = nil | |
2171 | RL.Parent = nil | |
2172 | LL.Parent = nil | |
2173 | for _, v in next, char:GetDescendants() do | |
2174 | if v:IsA("DataModelMesh") then | |
2175 | v.Offset = Vector3.new(0, 0, 0) | |
2176 | end | |
2177 | end | |
2178 | end)) | |
2179 | end | |
2180 | end | |
2181 | end | |
2182 | elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then | |
2183 | Anim = "Walk" | |
2184 | change = 0.6 | |
2185 | char.Humanoid.WalkSpeed = 8 | |
2186 | if attack == false then | |
2187 | rootj.C0 = clerp(rootj.C0, RootCF * cf(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 2.5 * math.cos(sine / 3.5)), math.rad(0) + root.RotVelocity.Y / 30, math.rad(0) + root.RotVelocity.Y / 30), 0.15) | |
2188 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2189 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.05 * math.sin(sine / 15), 0) * angles(math.rad(20) * math.cos(sine / 7), math.rad(0), math.rad(5)), 0.3) | |
2190 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.sin(sine / 15), 0) * angles(math.rad(-20) * math.cos(sine / 7), math.rad(0), math.rad(-5)), 0.1) | |
2191 | RH.C0 = clerp(RH.C0, cf(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.025 * math.cos(sine / 7) / 2) * angles(math.rad(-5 - 15 * math.cos(sine / 7)) + -math.sin(sine / 7) / 1.5, math.rad(90 - 0.1 * math.cos(sine / 7)), math.rad(0)), 0.15) | |
2192 | LH.C0 = clerp(LH.C0, cf(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.025 * math.cos(sine / 7) / 2) * angles(math.rad(-5 + 15 * math.cos(sine / 7)) + math.sin(sine / 7) / 1.5, math.rad(-90 - 0.1 * math.cos(sine / 7)), math.rad(0)), 0.15) | |
2193 | end | |
2194 | end | |
2195 | end | |
2196 | if 0 < #Effects then | |
2197 | for e = 1, #Effects do | |
2198 | if Effects[e] ~= nil then | |
2199 | local Thing = Effects[e] | |
2200 | if Thing ~= nil then | |
2201 | local Part = Thing[1] | |
2202 | local Mode = Thing[2] | |
2203 | local Delay = Thing[3] | |
2204 | local IncX = Thing[4] | |
2205 | local IncY = Thing[5] | |
2206 | local IncZ = Thing[6] | |
2207 | if 1 >= Thing[1].Transparency then | |
2208 | if Thing[2] == "Block1" then | |
2209 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2210 | local Mesh = Thing[1].Mesh | |
2211 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2212 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2213 | elseif Thing[2] == "Block2" then | |
2214 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2215 | local Mesh = Thing[7] | |
2216 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2217 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2218 | elseif Thing[2] == "Block3" then | |
2219 | 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) | |
2220 | local Mesh = Thing[7] | |
2221 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2222 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2223 | elseif Thing[2] == "Cylinder" then | |
2224 | local Mesh = Thing[1].Mesh | |
2225 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2226 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2227 | elseif Thing[2] == "Blood" then | |
2228 | local Mesh = Thing[7] | |
2229 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2230 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2231 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2232 | elseif Thing[2] == "Elec" then | |
2233 | local Mesh = Thing[1].Mesh | |
2234 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2235 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2236 | elseif Thing[2] == "Disappear" then | |
2237 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2238 | elseif Thing[2] == "Shatter" then | |
2239 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2240 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2241 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2242 | Thing[6] = Thing[6] + Thing[5] | |
2243 | end | |
2244 | else | |
2245 | Part.Parent = nil | |
2246 | table.remove(Effects, e) | |
2247 | end | |
2248 | end | |
2249 | end | |
2250 | end | |
2251 | end | |
2252 | end |