SHOW:
|
|
- or go back to the newest paste.
1 | --[[Nemessis.Inc]]-- | |
2 | --[[Nemessis.Inc Members]]-- | |
3 | --[[Ki_tchen [Owner] ]]-- | |
4 | --[[Mewy23 CO-OWNER]]-- | |
5 | --[[Unknown]]-- | |
6 | --[[Unknown]]-- | |
7 | --[[Unknown]]-- | |
8 | --[[Unknown]]-- | |
9 | --[[Unknown]]-- | |
10 | --[[Unknown]]-- | |
11 | --[[Unknown]]-- | |
12 | ||
13 | --[[Every Script we release a new member will be shown.]]-- | |
14 | ||
15 | --[[Nemessis.Inc Out.]]-- | |
16 | ||
17 | wait(1 / 60) | |
18 | -- Trail Made by Gallizur | |
19 | --R15 Compatible in TrailSettings | |
20 | local Player = game:GetService('Players').LocalPlayer | |
21 | repeat wait() until Player.Character | |
22 | local Character = Player.Character | |
23 | ||
24 | --All The Settings for Trails in this Script | |
25 | TrailSettings = { | |
26 | Lifetime = 0.5, | |
27 | Texture = 'rbxassetid://31270182', | |
28 | --Color1 is for UpperBody and Accessories, Color2 is for Lower Body | |
29 | Color1 = ColorSequence.new(BrickColor.new('Toothpaste').Color,BrickColor.new('Royal purple').Color), | |
30 | Color2 = ColorSequence.new(BrickColor.new('Institutional white').Color,BrickColor.new('Really black').Color), | |
31 | AllBody = true, | |
32 | UpperBodyOnly = false, | |
33 | LowerBodyOnly = false, | |
34 | Accessories = false, | |
35 | Extras = true, | |
36 | R15 = false, --Change to true if you're using R15 | |
37 | R15Parts = { | |
38 | 'UpperTorso', | |
39 | 'LowerTorso', | |
40 | } | |
41 | } | |
42 | ||
43 | local Trail; --Making other Trails uses this in this Script | |
44 | ||
45 | --UpperBody Function | |
46 | UpperBody = function() | |
47 | if TrailSettings.R15 == false then | |
48 | A0 = Instance.new('Attachment',Character.Torso) | |
49 | A1 = Instance.new('Attachment',Character.Head) | |
50 | A2 = Instance.new('Attachment',Character['Right Arm']) | |
51 | A3 = Instance.new('Attachment',Character['Left Arm']) | |
52 | Trail = Instance.new('Trail',Character) | |
53 | Trail.Attachment0 = A0 | |
54 | Trail.Attachment1 = A1 | |
55 | Trail.Texture = TrailSettings.Texture | |
56 | Trail.Color = TrailSettings.Color1 | |
57 | Trail.Lifetime = TrailSettings.Lifetime | |
58 | local Trail2 = Trail:Clone() | |
59 | Trail2.Parent = Character | |
60 | Trail2.Attachment1 = A2 | |
61 | local Trail3 = Trail:Clone() | |
62 | Trail3.Parent = Character | |
63 | Trail3.Attachment1 = A3 | |
64 | local Trail6 = Trail:Clone() | |
65 | Trail6.Parent = Character | |
66 | Trail6.Attachment0 = A1 | |
67 | Trail6.Attachment1 = A2 | |
68 | local Trail7 = Trail:Clone() | |
69 | Trail7.Parent = Character | |
70 | Trail7.Attachment0 = A1 | |
71 | Trail7.Attachment1 = A3 | |
72 | else | |
73 | A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]]) | |
74 | A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]]) | |
75 | A1 = Instance.new('Attachment',Character.Head) | |
76 | A2 = Instance.new('Attachment',Character['RightUpperArm']) | |
77 | A2R = Instance.new('Attachment',Character['RightLowerArm']) | |
78 | A3 = Instance.new('Attachment',Character['LeftUpperArm']) | |
79 | A3R = Instance.new('Attachment',Character['LeftLowerArm']) | |
80 | Trail = Instance.new('Trail',Character) | |
81 | Trail.Attachment0 = A0 | |
82 | Trail.Attachment1 = A1 | |
83 | Trail.Texture = TrailSettings.Texture | |
84 | Trail.Color = TrailSettings.Color1 | |
85 | Trail.Lifetime = TrailSettings.Lifetime | |
86 | local Trail2 = Trail:Clone() | |
87 | Trail2.Parent = Character | |
88 | Trail2.Attachment1 = A2 | |
89 | local Trail3 = Trail:Clone() | |
90 | Trail3.Parent = Character | |
91 | Trail3.Attachment1 = A3 | |
92 | local Trail6 = Trail:Clone() | |
93 | Trail6.Parent = Character | |
94 | Trail6.Attachment0 = A1 | |
95 | Trail6.Attachment1 = A2 | |
96 | local Trail7 = Trail:Clone() | |
97 | Trail7.Parent = Character | |
98 | Trail7.Attachment0 = A1 | |
99 | Trail7.Attachment1 = A3 | |
100 | --R15 Trails | |
101 | local Trail1R = Trail:Clone() | |
102 | Trail1R.Parent = Character | |
103 | Trail1R.Attachment1 = A2R | |
104 | local Trail2R = Trail:Clone() | |
105 | Trail2R.Parent = Character | |
106 | Trail2R.Attachment1 = A3R | |
107 | local Trail6R = Trail:Clone() | |
108 | Trail6.Parent = Character | |
109 | Trail6.Attachment0 = A1 | |
110 | Trail6.Attachment1 = A2R | |
111 | local Trail7R = Trail:Clone() | |
112 | Trail7.Parent = Character | |
113 | Trail7.Attachment0 = A1 | |
114 | Trail7.Attachment1 = A3R | |
115 | end | |
116 | end | |
117 | ||
118 | --Lower Body Function | |
119 | LowerBody = function() | |
120 | if TrailSettings.R15 == false then | |
121 | A4 = Instance.new('Attachment',Character['Right Leg']) | |
122 | A5 = Instance.new('Attachment',Character['Left Leg']) | |
123 | local Trail4 = Trail:Clone() | |
124 | Trail4.Parent = Character | |
125 | Trail4.Attachment1 = A4 | |
126 | local Trail5 = Trail:Clone() | |
127 | Trail5.Parent = Character | |
128 | Trail5.Attachment1 = A5 | |
129 | local Trail8 = Trail:Clone() | |
130 | Trail8.Parent = Character | |
131 | Trail8.Attachment0 = A2 | |
132 | Trail8.Attachment1 = A4 | |
133 | Trail8.Color = TrailSettings.Color2 | |
134 | local Trail9 = Trail:Clone() | |
135 | Trail9.Parent = Character | |
136 | Trail9.Attachment0 = A3 | |
137 | Trail9.Attachment1 = A5 | |
138 | Trail9.Color = TrailSettings.Color2 | |
139 | local FT = Trail:Clone() | |
140 | FT.Parent = Character | |
141 | FT.Attachment0 = A4 | |
142 | FT.Attachment1 = A5 | |
143 | FT.Color = TrailSettings.Color2 | |
144 | else | |
145 | A4 = Instance.new('Attachment',Character['RightLowerLeg']) | |
146 | A4R = Instance.new('Attachment',Character['RightUpperLeg']) | |
147 | A5 = Instance.new('Attachment',Character['LeftLowerLeg']) | |
148 | A5R = Instance.new('Attachment',Character['LeftUpperLeg']) | |
149 | local Trail4 = Trail:Clone() | |
150 | Trail4.Parent = Character | |
151 | Trail4.Attachment1 = A4 | |
152 | local Trail5 = Trail:Clone() | |
153 | Trail5.Parent = Character | |
154 | Trail5.Attachment1 = A5 | |
155 | local Trail8 = Trail:Clone() | |
156 | Trail8.Parent = Character | |
157 | Trail8.Attachment0 = A2 | |
158 | Trail8.Attachment1 = A4 | |
159 | Trail8.Color = TrailSettings.Color2 | |
160 | local Trail9 = Trail:Clone() | |
161 | Trail9.Parent = Character | |
162 | Trail9.Attachment0 = A3 | |
163 | Trail9.Attachment1 = A5 | |
164 | Trail9.Color = TrailSettings.Color2 | |
165 | local FT = Trail:Clone() | |
166 | FT.Parent = Character | |
167 | FT.Attachment0 = A4 | |
168 | FT.Attachment1 = A5 | |
169 | FT.Color = TrailSettings.Color2 | |
170 | --R15 Trails | |
171 | local Trail3R = Trail:Clone() | |
172 | Trail3R.Parent = Character | |
173 | Trail3R.Attachment1 = A4R | |
174 | local Trail4R = Trail:Clone() | |
175 | Trail4R.Parent = Character | |
176 | Trail4R.Attachment1 = A5R | |
177 | local Trail8 = Trail:Clone() | |
178 | Trail8.Parent = Character | |
179 | Trail8.Attachment0 = A2R | |
180 | Trail8.Attachment1 = A4R | |
181 | Trail8.Color = TrailSettings.Color2 | |
182 | local Trail9 = Trail:Clone() | |
183 | Trail9.Parent = Character | |
184 | Trail9.Attachment0 = A3R | |
185 | Trail9.Attachment1 = A5R | |
186 | Trail9.Color = TrailSettings.Color2 | |
187 | local FT2R = Trail:Clone() | |
188 | FT2R.Parent = Character | |
189 | FT2R.Attachment0 = A4R | |
190 | FT2R.Attachment1 = A5R | |
191 | FT2R.Color = TrailSettings.Color2 | |
192 | end | |
193 | end | |
194 | ||
195 | --All Body Function calling Both Functions | |
196 | AllBody = function() | |
197 | UpperBody() | |
198 | LowerBody() | |
199 | end | |
200 | ||
201 | --Checking to make sure that Only some Variables are Selected else do All Body | |
202 | if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
203 | TrailSettings.UpperBodyOnly = false | |
204 | TrailSettings.LowerBodyOnly = false | |
205 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then | |
206 | TrailSettings.UpperBodyOnly = false | |
207 | TrailSettings.LowerBodyOnly = false | |
208 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then | |
209 | TrailSettings.UpperBodyOnly = false | |
210 | TrailSettings.LowerBodyOnly = false | |
211 | elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
212 | TrailSettings.AllBody = true | |
213 | TrailSettings.UpperBodyOnly = false | |
214 | TrailSettings.LowerBodyOnly = false | |
215 | end | |
216 | ||
217 | --Call Trail Functions | |
218 | if TrailSettings.UpperBodyOnly == true then | |
219 | UpperBody() | |
220 | print('Called Upper Body Trail') | |
221 | elseif TrailSettings.LowerBodyOnly == true then | |
222 | LowerBody() | |
223 | print('Called Lower Body Trail') | |
224 | elseif TrailSettings.AllBody == true then | |
225 | AllBody() | |
226 | print('Called Full Body Trail') | |
227 | end | |
228 | ||
229 | --Trails for Accessories | |
230 | if TrailSettings.Accessories == true then | |
231 | for Index,Item in pairs(Character:GetChildren()) do | |
232 | if Item:IsA'Accessory' then | |
233 | local AA = Instance.new('Attachment',Item.Handle) | |
234 | local ATrail = Trail:Clone() | |
235 | ATrail.Parent = Character | |
236 | ATrail.Attachment1 = AA | |
237 | end | |
238 | end | |
239 | end | |
240 | ||
241 | --Extras | |
242 | if TrailSettings.Extras == true then | |
243 | --Making an Invisible Platform Part | |
244 | local a = Instance.new('Part',Character) | |
245 | a.CanCollide = false | |
246 | a.Size = Vector3.new(2,.2,2) | |
247 | a.Transparency = 1 | |
248 | ||
249 | --Constantly putting it under your feet | |
250 | if TrailSettings.R15 == false then | |
251 | spawn(function() | |
252 | game:GetService('RunService').RenderStepped:connect(function() | |
253 | a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0) | |
254 | end) | |
255 | end) | |
256 | else | |
257 | spawn(function() | |
258 | game:GetService('RunService').RenderStepped:connect(function() | |
259 | a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0) | |
260 | end) | |
261 | end) | |
262 | end | |
263 | ||
264 | --Make a Trail from both feet to the Platform | |
265 | spawn(function() | |
266 | repeat wait() until Trail | |
267 | local AB = Instance.new('Attachment',a) | |
268 | local ABT = Trail:Clone() | |
269 | ABT.Parent = Character | |
270 | ABT.Attachment0 = A4 | |
271 | ABT.Attachment1 = AB | |
272 | ABT.Color = TrailSettings.Color2 | |
273 | local ABT2 = Trail:Clone() | |
274 | ABT2.Parent = Character | |
275 | ABT2.Attachment0 = A5 | |
276 | ABT2.Attachment1 = AB | |
277 | ABT2.Color = TrailSettings.Color2 | |
278 | end) | |
279 | end | |
280 | ||
281 | Effects = { } | |
282 | local Player = game.Players.localPlayer | |
283 | local Character = Player.Character | |
284 | local Humanoid = Character.Humanoid | |
285 | local Mouse = Player:GetMouse() | |
286 | local LeftArm = Character["Left Arm"] | |
287 | local RightArm = Character["Right Arm"] | |
288 | local LeftLeg = Character["Left Leg"] | |
289 | local RightLeg = Character["Right Leg"] | |
290 | local Head = Character.Head | |
291 | local Torso = Character.Torso | |
292 | local Camera = game.Workspace.CurrentCamera | |
293 | local RootPart = Character.HumanoidRootPart | |
294 | local RootJoint = RootPart.RootJoint | |
295 | local attack = false | |
296 | local Anim = 'Idle' | |
297 | local attacktype = 1 | |
298 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
299 | local velocity = RootPart.Velocity.y | |
300 | local sine = 0 | |
301 | local change = 1 | |
302 | local Create = LoadLibrary("RbxUtility").Create | |
303 | local sick = Instance.new("Sound",Character.Torso) | |
304 | - | sick.SoundId = "rbxassetid://379729974" |
304 | + | sick.SoundId = "rbxassetid://1072410152" |
305 | sick.Looped = true | |
306 | sick.Pitch = 1 | |
307 | sick.Volume = 1 | |
308 | sick:Play() | |
309 | ||
310 | local m = Create("Model"){ | |
311 | Parent = Character, | |
312 | Name = "WeaponModel", | |
313 | } | |
314 | ||
315 | Humanoid.Animator.Parent = nil | |
316 | Character.Animate.Parent = nil | |
317 | ||
318 | local newMotor = function(part0, part1, c0, c1) | |
319 | local w = Create('Motor'){ | |
320 | Parent = part0, | |
321 | Part0 = part0, | |
322 | Part1 = part1, | |
323 | C0 = c0, | |
324 | C1 = c1, | |
325 | } | |
326 | return w | |
327 | end | |
328 | ||
329 | function clerp(a, b, t) | |
330 | return a:lerp(b, t) | |
331 | end | |
332 | ||
333 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
334 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
335 | ||
336 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
337 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
338 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
339 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
340 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
341 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
342 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
343 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
344 | ||
345 | local rarmc1 = RW.C1 | |
346 | local larmc1 = LW.C1 | |
347 | local rlegc1 = RH.C1 | |
348 | local llegc1 = LH.C1 | |
349 | ||
350 | local resetc1 = false | |
351 | ||
352 | function PlayAnimationFromTable(table, speed, bool) | |
353 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
354 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
355 | RW.C0 = clerp(RW.C0, table[3], speed) | |
356 | LW.C0 = clerp(LW.C0, table[4], speed) | |
357 | RH.C0 = clerp(RH.C0, table[5], speed) | |
358 | LH.C0 = clerp(LH.C0, table[6], speed) | |
359 | if bool == true then | |
360 | if resetc1 == false then | |
361 | resetc1 = true | |
362 | RootJoint.C1 = RootJoint.C1 | |
363 | Torso.Neck.C1 = Torso.Neck.C1 | |
364 | RW.C1 = rarmc1 | |
365 | LW.C1 = larmc1 | |
366 | RH.C1 = rlegc1 | |
367 | LH.C1 = llegc1 | |
368 | end | |
369 | end | |
370 | end | |
371 | ||
372 | ArtificialHB = Create("BindableEvent", script){ | |
373 | Parent = script, | |
374 | Name = "Heartbeat", | |
375 | } | |
376 | ||
377 | script:WaitForChild("Heartbeat") | |
378 | ||
379 | frame = 1 / 30 | |
380 | tf = 0 | |
381 | allowframeloss = false | |
382 | tossremainder = false | |
383 | lastframe = tick() | |
384 | script.Heartbeat:Fire() | |
385 | ||
386 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
387 | tf = tf + s | |
388 | if tf >= frame then | |
389 | if allowframeloss then | |
390 | script.Heartbeat:Fire() | |
391 | lastframe = tick() | |
392 | else | |
393 | for i = 1, math.floor(tf / frame) do | |
394 | script.Heartbeat:Fire() | |
395 | end | |
396 | lastframe = tick() | |
397 | end | |
398 | if tossremainder then | |
399 | tf = 0 | |
400 | else | |
401 | tf = tf - frame * math.floor(tf / frame) | |
402 | end | |
403 | end | |
404 | end) | |
405 | ||
406 | function swait(num) | |
407 | if num == 0 or num == nil then | |
408 | ArtificialHB.Event:wait() | |
409 | else | |
410 | for i = 0, num do | |
411 | ArtificialHB.Event:wait() | |
412 | end | |
413 | end | |
414 | end | |
415 | ||
416 | function RemoveOutlines(part) | |
417 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
418 | end | |
419 | ||
420 | CFuncs = { | |
421 | Part = { | |
422 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
423 | local Part = Create("Part"){ | |
424 | Parent = Parent, | |
425 | Reflectance = Reflectance, | |
426 | Transparency = Transparency, | |
427 | CanCollide = false, | |
428 | Locked = true, | |
429 | BrickColor = BrickColor.new(tostring(BColor)), | |
430 | Name = Name, | |
431 | Size = Size, | |
432 | Material = Material, | |
433 | } | |
434 | RemoveOutlines(Part) | |
435 | return Part | |
436 | end; | |
437 | }; | |
438 | ||
439 | Mesh = { | |
440 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
441 | local Msh = Create(Mesh){ | |
442 | Parent = Part, | |
443 | Offset = OffSet, | |
444 | Scale = Scale, | |
445 | } | |
446 | if Mesh == "SpecialMesh" then | |
447 | Msh.MeshType = MeshType | |
448 | Msh.MeshId = MeshId | |
449 | end | |
450 | return Msh | |
451 | end; | |
452 | }; | |
453 | ||
454 | Weld = { | |
455 | Create = function(Parent, Part0, Part1, C0, C1) | |
456 | local Weld = Create("Weld"){ | |
457 | Parent = Parent, | |
458 | Part0 = Part0, | |
459 | Part1 = Part1, | |
460 | C0 = C0, | |
461 | C1 = C1, | |
462 | } | |
463 | return Weld | |
464 | end; | |
465 | }; | |
466 | ||
467 | Sound = { | |
468 | Create = function(id, par, vol, pit) | |
469 | coroutine.resume(coroutine.create(function() | |
470 | local Sound = Create("Sound"){ | |
471 | Volume = vol, | |
472 | Pitch = pit or 1, | |
473 | SoundId = "rbxassetid://" .. id, | |
474 | Parent = par or workspace, | |
475 | } | |
476 | Sound:play() | |
477 | game:GetService("Debris"):AddItem(Sound, 10) | |
478 | end)) | |
479 | end; | |
480 | }; | |
481 | ||
482 | Decal = { | |
483 | Create = function(Color, Texture, Transparency, Name, Parent) | |
484 | local Decal = Create("Decal"){ | |
485 | Color3 = Color, | |
486 | Texture = "rbxassetid://" .. Texture, | |
487 | Transparency = Transparency, | |
488 | Name = Name, | |
489 | Parent = Parent, | |
490 | } | |
491 | return Decal | |
492 | end; | |
493 | }; | |
494 | ||
495 | BillboardGui = { | |
496 | Create = function(Parent, Image, Position, Size) | |
497 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1)) | |
498 | BillPar.CFrame = CFrame.new(Position) | |
499 | local Bill = Create("BillboardGui"){ | |
500 | Parent = BillPar, | |
501 | Adornee = BillPar, | |
502 | Size = UDim2.new(1, 0, 1, 0), | |
503 | SizeOffset = Vector2.new(Size, Size), | |
504 | } | |
505 | local d = Create("ImageLabel", Bill){ | |
506 | Parent = Bill, | |
507 | BackgroundTransparency = 1, | |
508 | Size = UDim2.new(1, 0, 1, 0), | |
509 | Image = "rbxassetid://" .. Image, | |
510 | } | |
511 | return BillPar | |
512 | end | |
513 | }; | |
514 | ||
515 | ParticleEmitter = { | |
516 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
517 | local Particle = Create("ParticleEmitter"){ | |
518 | Parent = Parent, | |
519 | Color = ColorSequence.new(Color1, Color2), | |
520 | LightEmission = LightEmission, | |
521 | Size = Size, | |
522 | Texture = Texture, | |
523 | Transparency = Transparency, | |
524 | ZOffset = ZOffset, | |
525 | Acceleration = Accel, | |
526 | Drag = Drag, | |
527 | LockedToPart = LockedToPart, | |
528 | VelocityInheritance = VelocityInheritance, | |
529 | EmissionDirection = EmissionDirection, | |
530 | Enabled = Enabled, | |
531 | Lifetime = LifeTime, | |
532 | Rate = Rate, | |
533 | Rotation = Rotation, | |
534 | RotSpeed = RotSpeed, | |
535 | Speed = Speed, | |
536 | VelocitySpread = VelocitySpread, | |
537 | } | |
538 | return Particle | |
539 | end; | |
540 | }; | |
541 | ||
542 | CreateTemplate = { | |
543 | ||
544 | }; | |
545 | } | |
546 | ||
547 | function rayCast(Position, Direction, Range, Ignore) | |
548 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
549 | end | |
550 | ||
551 | FindNearestTorso = function(pos) | |
552 | local list = (game.Workspace:children()) | |
553 | local torso = nil | |
554 | local dist = 1000 | |
555 | local temp, human, temp2 = nil, nil, nil | |
556 | for x = 1, #list do | |
557 | temp2 = list[x] | |
558 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
559 | temp = temp2:findFirstChild("Torso") | |
560 | human = temp2:findFirstChild("Humanoid") | |
561 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
562 | local dohit = true | |
563 | if dohit == true then | |
564 | torso = temp | |
565 | dist = (temp.Position - pos).magnitude | |
566 | end | |
567 | end | |
568 | end | |
569 | end | |
570 | return torso, dist | |
571 | end | |
572 | ||
573 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
574 | if hit.Parent == nil then | |
575 | return | |
576 | end | |
577 | local h = hit.Parent:FindFirstChild("Humanoid") | |
578 | for _, v in pairs(hit.Parent:children()) do | |
579 | if v:IsA("Humanoid") then | |
580 | h = v | |
581 | end | |
582 | end | |
583 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
584 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
585 | if hit.Parent.DebounceHit.Value == true then | |
586 | return | |
587 | end | |
588 | end | |
589 | local c = Create("ObjectValue"){ | |
590 | Name = "creator", | |
591 | Value = game:service("Players").LocalPlayer, | |
592 | Parent = h, | |
593 | } | |
594 | game:GetService("Debris"):AddItem(c, .5) | |
595 | if HitSound ~= nil and HitPitch ~= nil then | |
596 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
597 | end | |
598 | local Damage = math.random(minim, maxim) | |
599 | local blocked = false | |
600 | local block = hit.Parent:findFirstChild("Block") | |
601 | if block ~= nil then | |
602 | if block.className == "IntValue" then | |
603 | if block.Value > 0 then | |
604 | blocked = true | |
605 | block.Value = block.Value - 1 | |
606 | print(block.Value) | |
607 | end | |
608 | end | |
609 | end | |
610 | if blocked == false then | |
611 | h.Health = h.Health - Damage | |
612 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
613 | else | |
614 | h.Health = h.Health - (Damage / 2) | |
615 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
616 | end | |
617 | if Type == "Knockdown" then | |
618 | local hum = hit.Parent.Humanoid | |
619 | hum.PlatformStand = true | |
620 | coroutine.resume(coroutine.create(function(HHumanoid) | |
621 | swait(1) | |
622 | HHumanoid.PlatformStand = false | |
623 | end), hum) | |
624 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
625 | local bodvol = Create("BodyVelocity"){ | |
626 | velocity = angle * knockback, | |
627 | P = 5000, | |
628 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
629 | Parent = hit, | |
630 | } | |
631 | local rl = Create("BodyAngularVelocity"){ | |
632 | P = 3000, | |
633 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
634 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
635 | Parent = hit, | |
636 | } | |
637 | game:GetService("Debris"):AddItem(bodvol, .5) | |
638 | game:GetService("Debris"):AddItem(rl, .5) | |
639 | elseif Type == "Normal" then | |
640 | local vp = Create("BodyVelocity"){ | |
641 | P = 500, | |
642 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
643 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
644 | } | |
645 | if knockback > 0 then | |
646 | vp.Parent = hit.Parent.Torso | |
647 | end | |
648 | game:GetService("Debris"):AddItem(vp, .5) | |
649 | elseif Type == "Up" then | |
650 | local bodyVelocity = Create("BodyVelocity"){ | |
651 | velocity = Vector3.new(0, 20, 0), | |
652 | P = 5000, | |
653 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
654 | Parent = hit, | |
655 | } | |
656 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
657 | elseif Type == "DarkUp" then | |
658 | coroutine.resume(coroutine.create(function() | |
659 | for i = 0, 1, 0.1 do | |
660 | swait() | |
661 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
662 | end | |
663 | end)) | |
664 | local bodyVelocity = Create("BodyVelocity"){ | |
665 | velocity = Vector3.new(0, 20, 0), | |
666 | P = 5000, | |
667 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
668 | Parent = hit, | |
669 | } | |
670 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
671 | elseif Type == "Snare" then | |
672 | local bp = Create("BodyPosition"){ | |
673 | P = 2000, | |
674 | D = 100, | |
675 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
676 | position = hit.Parent.Torso.Position, | |
677 | Parent = hit.Parent.Torso, | |
678 | } | |
679 | game:GetService("Debris"):AddItem(bp, 1) | |
680 | elseif Type == "Freeze" then | |
681 | local BodPos = Create("BodyPosition"){ | |
682 | P = 50000, | |
683 | D = 1000, | |
684 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
685 | position = hit.Parent.Torso.Position, | |
686 | Parent = hit.Parent.Torso, | |
687 | } | |
688 | local BodGy = Create("BodyGyro") { | |
689 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
690 | P = 20e+003, | |
691 | Parent = hit.Parent.Torso, | |
692 | cframe = hit.Parent.Torso.CFrame, | |
693 | } | |
694 | hit.Parent.Torso.Anchored = true | |
695 | coroutine.resume(coroutine.create(function(Part) | |
696 | swait(1.5) | |
697 | Part.Anchored = false | |
698 | end), hit.Parent.Torso) | |
699 | game:GetService("Debris"):AddItem(BodPos, 3) | |
700 | game:GetService("Debris"):AddItem(BodGy, 3) | |
701 | end | |
702 | local debounce = Create("BoolValue"){ | |
703 | Name = "DebounceHit", | |
704 | Parent = hit.Parent, | |
705 | Value = true, | |
706 | } | |
707 | game:GetService("Debris"):AddItem(debounce, Delay) | |
708 | c = Create("ObjectValue"){ | |
709 | Name = "creator", | |
710 | Value = Player, | |
711 | Parent = h, | |
712 | } | |
713 | game:GetService("Debris"):AddItem(c, .5) | |
714 | end | |
715 | end | |
716 | ||
717 | function ShowDamage(Pos, Text, Time, Color) | |
718 | local Rate = (1 / 30) | |
719 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
720 | local Text = (Text or "") | |
721 | local Time = (Time or 2) | |
722 | local Color = (Color or Color3.new(1, 0, 1)) | |
723 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
724 | EffectPart.Anchored = true | |
725 | local BillboardGui = Create("BillboardGui"){ | |
726 | Size = UDim2.new(3, 0, 3, 0), | |
727 | Adornee = EffectPart, | |
728 | Parent = EffectPart, | |
729 | } | |
730 | local TextLabel = Create("TextLabel"){ | |
731 | BackgroundTransparency = 1, | |
732 | Size = UDim2.new(1, 0, 1, 0), | |
733 | Text = Text, | |
734 | Font = "SciFi", | |
735 | TextColor3 = Color, | |
736 | TextScaled = true, | |
737 | Parent = BillboardGui, | |
738 | } | |
739 | game.Debris:AddItem(EffectPart, (Time)) | |
740 | EffectPart.Parent = game:GetService("Workspace") | |
741 | delay(0, function() | |
742 | local Frames = (Time / Rate) | |
743 | for Frame = 1, Frames do | |
744 | wait(Rate) | |
745 | local Percent = (Frame / Frames) | |
746 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
747 | TextLabel.TextTransparency = Percent | |
748 | end | |
749 | if EffectPart and EffectPart.Parent then | |
750 | EffectPart:Destroy() | |
751 | end | |
752 | end) | |
753 | end | |
754 | ||
755 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
756 | for _, c in pairs(workspace:children()) do | |
757 | local hum = c:findFirstChild("Humanoid") | |
758 | if hum ~= nil then | |
759 | local head = c:findFirstChild("Torso") | |
760 | if head ~= nil then | |
761 | local targ = head.Position - Part.Position | |
762 | local mag = targ.magnitude | |
763 | if mag <= Magnitude and c.Name ~= Player.Name then | |
764 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
765 | end | |
766 | end | |
767 | end | |
768 | end | |
769 | end | |
770 | ||
771 | ||
772 | ||
773 | ---some future chest tinglol--- | |
774 | ||
775 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1.18999839, 1.59999871, 1)) | |
776 | HandleWeld=CFuncs.Weld.Create(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0236663818, -0.0907719135, 0.317821503, 0.999962866, 0.000129007996, -0.00902621169, -0.000127925552, 1, 0.000120364391, 0.00902613625, -0.000119204378, 0.999959409)) | |
777 | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=102606179 ",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.5)) | |
778 | Middle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Institutional white","Middle",Vector3.new(2, 2, 1)) | |
779 | MiddleWeld=CFuncs.Weld.Create(m,Handle,Middle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00523376465, 0.580596685, -0.170185089, 1.00000691, 7.90009835e-10, -5.96046448e-08, 7.90009835e-10, 1, 4.22005542e-10, -5.96046448e-08, 4.22005542e-10, 1)) | |
780 | CFuncs.Mesh.Create("BlockMesh",Middle,"","",Vector3.new(0, 0, 0),Vector3.new(0, 0, 0)) | |
781 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
782 | CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.231455326, 0.269420624, 0.305145264, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07)) | |
783 | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5)) | |
784 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
785 | CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.231508732, 0.269851685, -0.294754028, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07)) | |
786 | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5)) | |
787 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
788 | CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.580579519, 0.26966095, 0.00581359863, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07)) | |
789 | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5)) | |
790 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
791 | CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.020678997, 0.429592133, 0.00504302979, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07)) | |
792 | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1, 1.00999999)) | |
793 | ||
794 | ----rarm---- | |
795 | ||
796 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Handle",Vector3.new(0.5625, 0.200000003, 0.5625)) | |
797 | HandleWeld=CFuncs.Weld.Create(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.851722717, 1.10561752, -0.00168609619, 0.470270246, -0.882519305, 0.0023733438, -0.882508159, -0.470276207, -0.00445381179, 0.00504670199, 0, -0.999987364)) | |
798 | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1)) | |
799 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.100000113, 0.490000099, 1.01999998)) | |
800 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.180709839, 2.04907203, 0.000366210938, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) | |
801 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
802 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
803 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -1.84852219, -0.850482941, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0)) | |
804 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
805 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999)) | |
806 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.575714111, 0.564062595, -0.00463867188, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) | |
807 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
808 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003)) | |
809 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.554020643, 0.255722046, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) | |
810 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
811 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
812 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13999939, 0.504084587, -0.299934387, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) | |
813 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01000011, 0.579999983, 1.00999999)) | |
814 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.575714111, 2.01406956, -0.00463867188, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) | |
815 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
816 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
817 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13999939, 0.504084587, 0.300064087, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) | |
818 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
819 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13999939, 0.504084587, 4.57763672e-05, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) | |
820 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
821 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -2.06848907, -1.07044983, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0)) | |
822 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
823 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003)) | |
824 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.624020576, 0.695724487, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) | |
825 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
826 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
827 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -1.84853363, -1.07049561, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0)) | |
828 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
829 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003)) | |
830 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.654026508, 0.475715637, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) | |
831 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
832 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003)) | |
833 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.584041595, 0.915710449, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) | |
834 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
835 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
836 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -2.06853485, -0.850494385, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0)) | |
837 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
838 | RFHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RFHitbox",Vector3.new(1.37, 2.26999998, 1.10000002)) | |
839 | RFHitboxWeld=CFuncs.Weld.Create(m,Handle,RFHitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.60017395, 1.22661018, -0.000686645508, -0.470276177, 0.882519305, 0, -0.882519305, -0.470276207, 0, 0, 0, 1)) | |
840 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
841 | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) | |
842 | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.393749982, 0.393749982, 0.393749982)) | |
843 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
844 | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) | |
845 | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.506249964, 0.506249964, 0.506249964)) | |
846 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
847 | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) | |
848 | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.28125, 0.28125, 0.28125)) | |
849 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
850 | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) | |
851 | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006)) | |
852 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
853 | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) | |
854 | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.5625, 0.5625, 0.5625)) | |
855 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996)) | |
856 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, 1.54413247, 0.275726318, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) | |
857 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999)) | |
858 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, 1.62406158, 0.575714111, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) | |
859 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979)) | |
860 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, -0.57572937, 0.624048471, 0, 0, 1, -0.470276177, 0.882519305, 0, -0.882519305, -0.470276207, 0)) | |
861 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999)) | |
862 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, 0.224089146, 0.645721436, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) | |
863 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979)) | |
864 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, -0.00249481201, 0.544101715, 0, 0, 1, -0.999762774, 0.0217780173, 0, -0.0217780471, -0.999762833, 0)) | |
865 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003)) | |
866 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0026473999, 1.2640996, -0.0157165527, -0, 0, -1, -0.882519305, -0.470276207, 0, -0.470276177, 0.882519305, 0)) | |
867 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
868 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.302642822, -0.423362732, 2.30372047, -0, 0, -1, 0.685295701, -0.728264928, 0, -0.728264987, -0.685295761, 0)) | |
869 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
870 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0026473999, -0.423362732, 2.30372047, -0, 0, -1, 0.685295701, -0.728264928, 0, -0.728264987, -0.685295761, 0)) | |
871 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
872 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.297370911, -0.423362732, 2.30372047, -0, 0, -1, 0.685295701, -0.728264928, 0, -0.728264987, -0.685295761, 0)) | |
873 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
874 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.302642822, 1.75408459, -0.0157165527, -0, 0, -1, -0.882519305, -0.470276207, 0, -0.470276177, 0.882519305, 0)) | |
875 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
876 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.297355652, 1.75408459, -0.0157165527, -0, 0, -1, -0.882519305, -0.470276207, 0, -0.470276177, 0.882519305, 0)) | |
877 | ---larm--- | |
878 | ||
879 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
880 | HandleWeld=CFuncs.Weld.Create(m,Character["Left Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00811767578, -0.855991364, 1.11441803, 0.00504670199, 0, -0.999987364, 0.470269799, 0.882519484, 0.00237334147, 0.882508337, -0.47027573, 0.00445381273)) | |
881 | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.393749982, 0.393749982, 0.393749982)) | |
882 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
883 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) | |
884 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
885 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) | |
886 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.5625, 0.5625, 0.5625)) | |
887 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
888 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) | |
889 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.28125, 0.28125, 0.28125)) | |
890 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
891 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) | |
892 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.506249964, 0.506249964, 0.506249964)) | |
893 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
894 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) | |
895 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006)) | |
896 | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.5625, 0.200000003, 0.5625)) | |
897 | InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0023727417, 7.62939453e-06, 0.00561523438, 0, -0.99999994, 0, 0, 0, 0.99999994, -1, 0, -0)) | |
898 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1)) | |
899 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003)) | |
900 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.65192318, 0.476837158, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) | |
901 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
902 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
903 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.141113281, 0.501981974, 0.294425964, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) | |
904 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
905 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -2.06778336, -1.06818008, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) | |
906 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
907 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003)) | |
908 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.551918268, 0.256835938, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) | |
909 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
910 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
911 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.141113281, 0.501981974, -0.0055770874, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) | |
912 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003)) | |
913 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.621917725, 0.696838379, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) | |
914 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
915 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
916 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.141113281, 0.501981974, -0.305580139, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) | |
917 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.579999983, 1.00999999)) | |
918 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.581832886, 2.01196575, -0.0102539063, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) | |
919 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
920 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
921 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -1.84783173, -1.06821442, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) | |
922 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
923 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003)) | |
924 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.581938982, 0.916824341, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) | |
925 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
926 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
927 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -2.06782913, -0.84821701, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) | |
928 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
929 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
930 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -1.84781265, -0.848209381, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) | |
931 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
932 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999)) | |
933 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.576828003, 0.561959505, -0.0102539063, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) | |
934 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
935 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979)) | |
936 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, -0.576843262, 0.621945381, -1, 0, -0, 0, 0.47027573, 0.882519484, 0, 0.882519484, -0.47027573)) | |
937 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999)) | |
938 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, 1.62195778, 0.576828003, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) | |
939 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999)) | |
940 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, 0.221988678, 0.646835327, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) | |
941 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996)) | |
942 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, 1.54202843, 0.27684021, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) | |
943 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979)) | |
944 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, -0.0048789978, 0.544052124, -1, 0, -0, 0, 0.999762774, 0.0217780173, 0, 0.0217780173, -0.999762774)) | |
945 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
946 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00826263428, -0.4217453, 2.30198288, 1, 0, 0, 0, -0.685295343, -0.728265285, 0, 0.728265285, -0.685295343)) | |
947 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
948 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.291732788, -0.4217453, 2.30198288, 1, 0, 0, 0, -0.685295343, -0.728265285, 0, 0.728265285, -0.685295343)) | |
949 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
950 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.308265686, -0.4217453, 2.30198288, 1, 0, 0, 0, -0.685295343, -0.728265285, 0, 0.728265285, -0.685295343)) | |
951 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003)) | |
952 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00826263428, 1.26199555, -0.0168457031, 1, 0, 0, 0, 0.882519484, -0.47027573, 0, 0.47027573, 0.882519484)) | |
953 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
954 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.291732788, 1.75198078, -0.0168457031, 1, 0, 0, 0, 0.882519484, -0.47027573, 0, 0.47027573, 0.882519484)) | |
955 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
956 | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.308265686, 1.75198078, -0.0168457031, 1, 0, 0, 0, 0.882519484, -0.47027573, 0, 0.47027573, 0.882519484)) | |
957 | LfHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","LfHitbox",Vector3.new(1.23000014, 2.07999992, 1.08000004)) | |
958 | LfHitboxWeld=CFuncs.Weld.Create(m,Handle,LfHitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.486152649, 1.3195107, -0.0055847168, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) | |
959 | ||
960 | --headlol---- | |
961 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Brown","Handle",Vector3.new(1, 0.800000012, 2)) | |
962 | HandleWeld=CFuncs.Weld.Create(m,Character["Head"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0050201416, -0.737044811, 0.0650024414, -0.999626577, 5.26573444e-21, -0.0273229256, 5.2506392e-21, 1, 6.24212331e-22, 0.0273229256, 4.80515498e-22, -0.999626577)) | |
963 | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11185882",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 0.800000012, 0.800000012)) | |
964 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
965 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0264434814, -0.524188995, -0.543628693, -0.999751627, 5.25372174e-21, 0.0222777594, -0.0194845516, -0.484811008, -0.874401748, 0.0108005032, -0.874619007, 0.484690607)) | |
966 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=118974072 ",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 1, 1)) | |
967 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
968 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0264434814, -0.524188995, -0.543628693, -0.999751627, 5.25372174e-21, 0.0222777594, -0.0194845516, -0.484811008, -0.874401748, 0.0108005032, -0.874619007, 0.484690607)) | |
969 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=118974072 ",Vector3.new(0, 0, 0),Vector3.new(1.14999998, 0.99000001, 0.99000001)) | |
970 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
971 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.016456604, 0.539620876, 0.465080261, -0.999751627, 5.25372174e-21, 0.0222777594, 5.26573444e-21, 1, 4.80515498e-22, -0.0222777594, 5.97705948e-22, -0.999751627)) | |
972 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134030318 ",Vector3.new(0, 0, 0),Vector3.new(1.03999996, 1.03999996, 1.03999996)) | |
973 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
974 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.016456604, 0.539620876, 0.465080261, -0.999751627, 5.25372174e-21, 0.0222777594, 5.26573444e-21, 1, 4.80515498e-22, -0.0222777594, 5.97705948e-22, -0.999751627)) | |
975 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134030318 ",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 1.01999998, 1.01999998)) | |
976 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.60000002384186,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
977 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.016456604, 0.539620876, 0.465080261, -0.999751627, 5.25372174e-21, 0.0222777594, 5.26573444e-21, 1, 4.80515498e-22, -0.0222777594, 5.97705948e-22, -0.999751627)) | |
978 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134030318 ",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
979 | ||
980 | ||
981 | --torsoa---- | |
982 | ||
983 | ||
984 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
985 | HandleWeld=CFuncs.Weld.Create(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0299911499, -0.493329048, 0.770057678, -0.999987364, 0, -0.00504670199, 0, 1, 0, 0.00504670199, 0, -0.999987364)) | |
986 | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.600000024)) | |
987 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
988 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
989 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 0.800000012, 0.800000012)) | |
990 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
991 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
992 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 0.5)) | |
993 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
994 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
995 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 0.699999988, 0.699999988)) | |
996 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
997 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
998 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.899999976, 0.899999976, 0.899999976)) | |
999 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1000 | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1001 | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1002 | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(1, 0.200000003, 1)) | |
1003 | InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00417709351, -2.28881836e-05, 0.0100097656, 0, -1, 0, 0, 0, 1, -1, 0, 0)) | |
1004 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1005 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1006 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, 0.355865002, 0.809951782, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
1007 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
1008 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, 0.148796082, 0.128662109, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) | |
1009 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1010 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
1011 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, -0.193378448, 0.128658295, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) | |
1012 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1013 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
1014 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, 0.148769379, -0.213489532, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) | |
1015 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1016 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(2.00999999, 1.13, 0.620000005)) | |
1017 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0342407227, 0.055727005, -0.559654236, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1018 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
1019 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, -0.193340302, -0.213474274, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) | |
1020 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1021 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1022 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, -0.224153996, -0.71006012, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
1023 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1024 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, -0.224153996, 0.81993103, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
1025 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014)) | |
1026 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.782676697, 0.765777588, -0.204174995, 0, 0, 1, 1, 0, 0, 0, 1, 0)) | |
1027 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014)) | |
1028 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.792671204, 0.844223022, -0.204174995, 0, 0, -1, -1, 0, 0, 0, 1, 0)) | |
1029 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1030 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, 0.355865002, -0.71006012, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
1031 | ||
1032 | ---rightleg--- | |
1033 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1034 | HandleWeld=CFuncs.Weld.Create(m,Character["Right Leg"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00577545166, 0.163275599, 0.527420044, 0.999987364, 0, 0.00504670199, 0, 1, 0, -0.00504670199, 0, 0.999987364)) | |
1035 | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.379687488, 0.379687488, 0.379687488)) | |
1036 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1037 | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1038 | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.2109375, 0.2109375, 0.2109375)) | |
1039 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1040 | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1041 | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.253125012, 0.253125012, 0.253125012)) | |
1042 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1043 | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1044 | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.295312494, 0.295312494, 0.295312494)) | |
1045 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1046 | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1047 | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.421875, 0.421875, 0.421875)) | |
1048 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1049 | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1050 | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006)) | |
1051 | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875)) | |
1052 | InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00174897909, -3.05175781e-05, 0.00421905518, 0, -1, 0, 0, 0, 1, -1, 0, 0)) | |
1053 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1)) | |
1054 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.410000026, 1.01999998)) | |
1055 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.404953003, -0.835816026, 0.530357361, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
1056 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1057 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.277801514, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1058 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1059 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1060 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.617797852, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1061 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1062 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021)) | |
1063 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100349426, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
1064 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5)) | |
1065 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100349426, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
1066 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003)) | |
1067 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.364208221, -0.519493103, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) | |
1068 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
1069 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1070 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.447799683, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1071 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1072 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003)) | |
1073 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.416698456, -0.189483643, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) | |
1074 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
1075 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1076 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.447799683, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1077 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1078 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981)) | |
1079 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100349426, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
1080 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998)) | |
1081 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00503540039, -0.180850029, 0.530357361, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
1082 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1083 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.787796021, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1084 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1085 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1086 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.787796021, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1087 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1088 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1089 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.277801514, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1090 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1091 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1092 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.617797852, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1093 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1094 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003)) | |
1095 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.386646271, -0.024520874, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) | |
1096 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
1097 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003)) | |
1098 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.439151764, -0.354492188, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) | |
1099 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1100 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1101 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.0944480896, 0.094493866, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0)) | |
1102 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1103 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1104 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.314418793, 0.314464569, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0)) | |
1105 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1106 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1107 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.314434052, 0.0945091248, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0)) | |
1108 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1109 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1110 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.0944519043, 0.31451416, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0)) | |
1111 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1112 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997)) | |
1113 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00503540039, 0.289182007, 0.530357361, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
1114 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017)) | |
1115 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -1.0478363, -0.287506104, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086)) | |
1116 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1117 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.147018433, -0.465834022, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
1118 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995)) | |
1119 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0100402832, 0.714154005, 0.527000427, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
1120 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1121 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.147018433, -0.465834022, 0.249954224, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
1122 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1123 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.137023926, -0.415816069, 0.249969482, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
1124 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1125 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.137023926, -0.415816069, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
1126 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005)) | |
1127 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -0.772094727, -0.486150742, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086)) | |
1128 | ||
1129 | ----leftleg---- | |
1130 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1131 | HandleWeld=CFuncs.Weld.Create(m,Character["Left Leg"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00580596924, 0.18327564, 0.52255249, 0.999987364, 0, 0.00504670199, 0, 1, 0, -0.00504670199, 0, 0.999987364)) | |
1132 | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006)) | |
1133 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1134 | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1135 | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.253125012, 0.253125012, 0.253125012)) | |
1136 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1137 | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1138 | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.379687488, 0.379687488, 0.379687488)) | |
1139 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1140 | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1141 | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.295312494, 0.295312494, 0.295312494)) | |
1142 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1143 | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1144 | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.421875, 0.421875, 0.421875)) | |
1145 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1146 | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1147 | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.2109375, 0.2109375, 0.2109375)) | |
1148 | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875)) | |
1149 | InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00174897909, -3.05175781e-05, 0.00421142578, 0, -1, 0, 0, 0, 1, -1, 0, 0)) | |
1150 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1)) | |
1151 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021)) | |
1152 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100334167, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
1153 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003)) | |
1154 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.43914032, -0.354473114, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) | |
1155 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1156 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003)) | |
1157 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.416690826, -0.189472198, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) | |
1158 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
1159 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981)) | |
1160 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100334167, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
1161 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003)) | |
1162 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.364192963, -0.519462585, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) | |
1163 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
1164 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998)) | |
1165 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0050201416, -0.180850029, 0.530334473, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
1166 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5)) | |
1167 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100334167, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
1168 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003)) | |
1169 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.386638641, -0.0245018005, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) | |
1170 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
1171 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1172 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.0944595337, -0.314498901, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0)) | |
1173 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1174 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.230000004, 1.01999998)) | |
1175 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0713348389, -0.872953892, 0.530334473, -0.996194899, -0.0871539935, 0, -0.087154001, 0.996194899, 0, 0, 0, -1)) | |
1176 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997)) | |
1177 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0050201416, 0.289182007, 0.530334473, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
1178 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.02999997, 0.200000003, 1.02999997)) | |
1179 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0713348389, -0.872953892, 0.530334473, -0.996194899, -0.0871539935, 0, -0.087154001, 0.996194899, 0, 0, 0, -1)) | |
1180 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1181 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.314414978, -0.314460754, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0)) | |
1182 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1183 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1184 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.0944480896, -0.094493866, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0)) | |
1185 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1186 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1187 | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.31445694, -0.0945014954, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0)) | |
1188 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1189 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995)) | |
1190 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0100402832, 0.714154005, 0.526977539, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
1191 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1192 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.137008667, -0.415816009, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
1193 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005)) | |
1194 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -0.77205658, -0.486157417, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086)) | |
1195 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1196 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.137008667, -0.415816009, 0.249969482, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
1197 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1198 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.147003174, -0.465833962, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
1199 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017)) | |
1200 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -1.0477829, -0.287514687, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086)) | |
1201 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1202 | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.147003174, -0.465833962, 0.249954224, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
1203 | ||
1204 | ||
1205 | ||
1206 | EffectModel = Create("Model"){ | |
1207 | Parent = Character, | |
1208 | Name = "Effects", | |
1209 | } | |
1210 | ||
1211 | Effects = { | |
1212 | Block = { | |
1213 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1214 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1215 | prt.Anchored = true | |
1216 | prt.CFrame = cframe | |
1217 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1218 | game:GetService("Debris"):AddItem(prt, 10) | |
1219 | if Type == 1 or Type == nil then | |
1220 | table.insert(Effects, { | |
1221 | prt, | |
1222 | "Block1", | |
1223 | delay, | |
1224 | x3, | |
1225 | y3, | |
1226 | z3, | |
1227 | msh | |
1228 | }) | |
1229 | elseif Type == 2 then | |
1230 | table.insert(Effects, { | |
1231 | prt, | |
1232 | "Block2", | |
1233 | delay, | |
1234 | x3, | |
1235 | y3, | |
1236 | z3, | |
1237 | msh | |
1238 | }) | |
1239 | end | |
1240 | end; | |
1241 | }; | |
1242 | ||
1243 | Cylinder = { | |
1244 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1245 | local prt = CFuncs.Part..Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
1246 | prt.Anchored = true | |
1247 | prt.CFrame = cframe | |
1248 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1249 | game:GetService("Debris"):AddItem(prt, 2) | |
1250 | Effects[#Effects + 1] = { | |
1251 | prt, | |
1252 | "Cylinder", | |
1253 | delay, | |
1254 | x3, | |
1255 | y3, | |
1256 | z3 | |
1257 | } | |
1258 | end; | |
1259 | }; | |
1260 | ||
1261 | Head = { | |
1262 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1263 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1264 | prt.Anchored = true | |
1265 | prt.CFrame = cframe | |
1266 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1267 | game:GetService("Debris"):AddItem(prt, 10) | |
1268 | table.insert(Effects, { | |
1269 | prt, | |
1270 | "Cylinder", | |
1271 | delay, | |
1272 | x3, | |
1273 | y3, | |
1274 | z3, | |
1275 | msh | |
1276 | }) | |
1277 | end; | |
1278 | }; | |
1279 | ||
1280 | Sphere = { | |
1281 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1282 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1283 | prt.Anchored = true | |
1284 | prt.CFrame = cframe | |
1285 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1286 | game:GetService("Debris"):AddItem(prt, 10) | |
1287 | table.insert(Effects, { | |
1288 | prt, | |
1289 | "Cylinder", | |
1290 | delay, | |
1291 | x3, | |
1292 | y3, | |
1293 | z3, | |
1294 | msh | |
1295 | }) | |
1296 | end; | |
1297 | }; | |
1298 | ||
1299 | Elect = { | |
1300 | Create = function(cff, x, y, z) | |
1301 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
1302 | prt.Anchored = true | |
1303 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
1304 | prt.CFrame = CFrame.new(prt.Position) | |
1305 | game:GetService("Debris"):AddItem(prt, 2) | |
1306 | local xval = math.random() / 2 | |
1307 | local yval = math.random() / 2 | |
1308 | local zval = math.random() / 2 | |
1309 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
1310 | table.insert(Effects, { | |
1311 | prt, | |
1312 | "Elec", | |
1313 | 0.1, | |
1314 | x, | |
1315 | y, | |
1316 | z, | |
1317 | xval, | |
1318 | yval, | |
1319 | zval | |
1320 | }) | |
1321 | end; | |
1322 | ||
1323 | }; | |
1324 | ||
1325 | Ring = { | |
1326 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1327 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1328 | prt.Anchored = true | |
1329 | prt.CFrame = cframe | |
1330 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1331 | game:GetService("Debris"):AddItem(prt, 10) | |
1332 | table.insert(Effects, { | |
1333 | prt, | |
1334 | "Cylinder", | |
1335 | delay, | |
1336 | x3, | |
1337 | y3, | |
1338 | z3, | |
1339 | msh | |
1340 | }) | |
1341 | end; | |
1342 | }; | |
1343 | ||
1344 | ||
1345 | Wave = { | |
1346 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1347 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1348 | prt.Anchored = true | |
1349 | prt.CFrame = cframe | |
1350 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1351 | game:GetService("Debris"):AddItem(prt, 10) | |
1352 | table.insert(Effects, { | |
1353 | prt, | |
1354 | "Cylinder", | |
1355 | delay, | |
1356 | x3, | |
1357 | y3, | |
1358 | z3, | |
1359 | msh | |
1360 | }) | |
1361 | end; | |
1362 | }; | |
1363 | ||
1364 | Break = { | |
1365 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1366 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1367 | prt.Anchored = true | |
1368 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1369 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1370 | local num = math.random(10, 50) / 1000 | |
1371 | game:GetService("Debris"):AddItem(prt, 10) | |
1372 | table.insert(Effects, { | |
1373 | prt, | |
1374 | "Shatter", | |
1375 | num, | |
1376 | prt.CFrame, | |
1377 | math.random() - math.random(), | |
1378 | 0, | |
1379 | math.random(50, 100) / 100 | |
1380 | }) | |
1381 | end; | |
1382 | }; | |
1383 | ||
1384 | Fire = { | |
1385 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1386 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1387 | prt.Anchored = true | |
1388 | prt.CFrame = cframe | |
1389 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1390 | game:GetService("Debris"):AddItem(prt, 10) | |
1391 | table.insert(Effects, { | |
1392 | prt, | |
1393 | "Fire", | |
1394 | delay, | |
1395 | 1, | |
1396 | 1, | |
1397 | 1, | |
1398 | msh | |
1399 | }) | |
1400 | end; | |
1401 | }; | |
1402 | ||
1403 | FireWave = { | |
1404 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1405 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
1406 | prt.Anchored = true | |
1407 | prt.CFrame = cframe | |
1408 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1409 | local d = Create("Decal"){ | |
1410 | Parent = prt, | |
1411 | Texture = "rbxassetid://26356434", | |
1412 | Face = "Top", | |
1413 | } | |
1414 | local d = Create("Decal"){ | |
1415 | Parent = prt, | |
1416 | Texture = "rbxassetid://26356434", | |
1417 | Face = "Bottom", | |
1418 | } | |
1419 | game:GetService("Debris"):AddItem(prt, 10) | |
1420 | table.insert(Effects, { | |
1421 | prt, | |
1422 | "FireWave", | |
1423 | 1, | |
1424 | 30, | |
1425 | math.random(400, 600) / 100, | |
1426 | msh | |
1427 | }) | |
1428 | end; | |
1429 | }; | |
1430 | ||
1431 | Lightning = { | |
1432 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1433 | local magz = (p0 - p1).magnitude | |
1434 | local curpos = p0 | |
1435 | local trz = { | |
1436 | -ofs, | |
1437 | ofs | |
1438 | } | |
1439 | for i = 1, tym do | |
1440 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1441 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1442 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1443 | li.Material = "Neon" | |
1444 | if tym == i then | |
1445 | local magz2 = (curpos - p1).magnitude | |
1446 | li.Size = Vector3.new(th, th, magz2) | |
1447 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1448 | table.insert(Effects, { | |
1449 | li, | |
1450 | "Disappear", | |
1451 | last | |
1452 | }) | |
1453 | else | |
1454 | do | |
1455 | do | |
1456 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1457 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1458 | game.Debris:AddItem(li, 10) | |
1459 | table.insert(Effects, { | |
1460 | li, | |
1461 | "Disappear", | |
1462 | last | |
1463 | }) | |
1464 | end | |
1465 | end | |
1466 | end | |
1467 | end | |
1468 | end | |
1469 | }; | |
1470 | ||
1471 | EffectTemplate = { | |
1472 | ||
1473 | }; | |
1474 | } | |
1475 | ||
1476 | function attackone() | |
1477 | attack = true | |
1478 | for i = 0, 1, 0.1 do | |
1479 | swait() | |
1480 | PlayAnimationFromTable({ | |
1481 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1482 | CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1483 | CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1484 | CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1485 | CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1486 | CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1487 | }, .3, false) | |
1488 | end | |
1489 | attack = false | |
1490 | end | |
1491 | ||
1492 | Mouse.Button1Down:connect(function() | |
1493 | if attack == false and attacktype == 1 then | |
1494 | attackone() | |
1495 | end | |
1496 | end) | |
1497 | ||
1498 | Mouse.KeyDown:connect(function(k) | |
1499 | k = k:lower() | |
1500 | if attack == false and k == '' then | |
1501 | ||
1502 | end | |
1503 | end) | |
1504 | ||
1505 | while true do | |
1506 | swait() | |
1507 | for i, v in pairs(Character:GetChildren()) do | |
1508 | if v:IsA("Part") then | |
1509 | v.Material = "SmoothPlastic" | |
1510 | elseif v:IsA("Accessory") then | |
1511 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1512 | end | |
1513 | end | |
1514 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1515 | velocity = RootPart.Velocity.y | |
1516 | sine = sine + change | |
1517 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1518 | if RootPart.Velocity.y > 1 and hit == nil then | |
1519 | Anim = "Jump" | |
1520 | if attack == false then | |
1521 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1522 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1523 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1524 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1525 | RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1526 | LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1527 | end | |
1528 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1529 | Anim = "Fall" | |
1530 | if attack == false then | |
1531 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1532 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1533 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1534 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1535 | RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1536 | LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1537 | end | |
1538 | elseif Torsovelocity < 1 and hit ~= nil then | |
1539 | Anim = "Idle" | |
1540 | if attack == false then | |
1541 | change = 1 | |
1542 | PlayAnimationFromTable({ | |
1543 | CFrame.new(0.0305537544, 0.101244226, -0.110436231, 0.751921654, -2.69948202e-07, 0.659252584, 2.48371833e-07, 1, 1.26191509e-07, -0.659252584, 6.88536517e-08, 0.751921654) * CFrame.new(0, -0.1 + .1 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0), | |
1544 | CFrame.new(0.133692384, 1.49995291, -0.122152172, 0.751921654, 0.118821487, -0.648456573, -2.85284614e-07, 0.983623922, 0.18023634, 0.659252584, -0.135523424, 0.739608109) * CFrame.Angles(math.rad(0 + 1 * math.cos(sine / 20)), 0, 0), | |
1545 | CFrame.new(1.56342208, 0.082565181, 0.184068531, 0.944978952, -0.210362762, -0.250524461, 0.217591718, 0.976039171, 0.00118678785, 0.244271994, -0.0556335375, 0.968109608) * CFrame.new(0, 0, 0 - 0.1 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0), | |
1546 | CFrame.new(-1.43761444, 0.138237804, 0.339363664, 0.86690402, 0.278344274, 0.413524032, -0.320227653, 0.946727693, 0.0340739228, -0.3820104, -0.161960647, 0.909855604) * CFrame.new(0, 0, 0) * CFrame.new(0, 0, 0 - 0.1 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0), | |
1547 | CFrame.new(0.620094717, -1.99999762, -0.161182314, 0.97460556, -0.0876395851, -0.206067026, 0.0712375641, 0.993768871, -0.0857243761, 0.21229586, 0.0688677281, 0.974775851) * CFrame.new(0, 0, 0) * CFrame.new(0 - 0.01 * math.cos(sine / 20), 0 - .1 * math.cos(sine / 20), 0) * CFrame.Angles(0 + 0.02 * math.cos(sine / 20), 0, 0 - 0.01 * math.cos(sine / 20)), | |
1548 | CFrame.new(-0.646371901, -1.99999869, 0.0849364698, 0.992579937, 0.118687555, 0.0264309049, -0.120671012, 0.988230288, 0.0940183029, -0.0149610043, -0.0965101048, 0.995219648) * CFrame.new(0 + 0.01 * math.cos(sine / 20), 0 - .1 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.02 * math.cos(sine / 20), 0, 0 + 0.01 * math.cos(sine / 20)), | |
1549 | }, .3, false) | |
1550 | end | |
1551 | ||
1552 | elseif Torsovelocity > 2 and hit ~= nil then | |
1553 | Anim = "Walk" | |
1554 | if attack == false then | |
1555 | Character.Humanoid.WalkSpeed = 100 | |
1556 | PlayAnimationFromTable({ | |
1557 | CFrame.new(0, -0.0193441566, -0.137761548, 1, 0, 0, 0, 0.961308897, 0.275472969, 0, -0.275472969, 0.961308897) * CFrame.new(0, 0+ .1 * math.cos((sine) / 2), 0) * CFrame.Angles(0, 0, 0), | |
1558 | CFrame.new(0, 1.44159341, 0.0451771915, 1, 0, 0, 0, 0.98646307, -0.163984656, 0, 0.163984656, 0.98646307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1559 | CFrame.new(1.63363111, 0.0754526258, -2.72151652e-007, 0.985570133, -0.16926825, 1.56980732e-007, 0.16926825, 0.985570133, 2.38418579e-007, -1.86264515e-007, -1.49011612e-007, 1.00000024) * CFrame.new(0-.2+.5 * math.cos((sine) / 4), 0.2+ .65 * math.cos((sine) / 2), 0+ 1.1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0- 120 * math.cos((sine) / 4)),0, math.rad(0+ 60 * math.cos((sine) / 4))), | |
1560 | CFrame.new(-1.61827064, 0.111134544, 1.51569429e-006, 0.978242338, 0.207465827, 7.76345075e-007, -0.207465842, 0.978242397, -2.41398811e-006, -1.25542283e-006, 2.20537186e-006, 1.00000012) * CFrame.new(0.2+.5 * math.cos((sine) / 4), 0.2+ .65 * math.cos((sine) / 2), 0- 1.1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0+ 120 * math.cos((sine) / 4)), 0, math.rad(0+ 60 * math.cos((sine) / 4))), | |
1561 | CFrame.new(0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .4 * math.cos((sine) / 2), 0 + 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 - 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)), | |
1562 | CFrame.new(-0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .4 * math.cos((sine) / 2), 0 - 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 + 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)), | |
1563 | }, .9, false) | |
1564 | end | |
1565 | end | |
1566 | if 0 < #Effects then | |
1567 | for e = 1, #Effects do | |
1568 | if Effects[e] ~= nil then | |
1569 | local Thing = Effects[e] | |
1570 | if Thing ~= nil then | |
1571 | local Part = Thing[1] | |
1572 | local Mode = Thing[2] | |
1573 | local Delay = Thing[3] | |
1574 | local IncX = Thing[4] | |
1575 | local IncY = Thing[5] | |
1576 | local IncZ = Thing[6] | |
1577 | if Thing[2] == "Shoot" then | |
1578 | local Look = Thing[1] | |
1579 | local move = 30 | |
1580 | if Thing[8] == 3 then | |
1581 | move = 10 | |
1582 | end | |
1583 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
1584 | if Thing[10] ~= nil then | |
1585 | da = pos | |
1586 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
1587 | cfa = CFrame.new(Thing[4], pos) | |
1588 | tehCF = cfa:lerp(cf2, 0.2) | |
1589 | Thing[1] = tehCF.lookVector | |
1590 | end | |
1591 | local mag = (Thing[4] - pos).magnitude | |
1592 | Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
1593 | if Thing[8] == 2 then | |
1594 | Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
1595 | end | |
1596 | Thing[4] = Thing[4] + Look * move | |
1597 | Thing[3] = Thing[3] - 1 | |
1598 | if 2 < Thing[5] then | |
1599 | Thing[5] = Thing[5] - 0.3 | |
1600 | Thing[6] = Thing[6] - 0.3 | |
1601 | end | |
1602 | if hit ~= nil then | |
1603 | Thing[3] = 0 | |
1604 | if Thing[8] == 1 or Thing[8] == 3 then | |
1605 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1606 | else | |
1607 | if Thing[8] == 2 then | |
1608 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1609 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
1610 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
1611 | ref.Anchored = true | |
1612 | ref.CFrame = CFrame.new(pos) | |
1613 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
1614 | game:GetService("Debris"):AddItem(ref, 0.2) | |
1615 | Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
1616 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1) | |
1617 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
1618 | end | |
1619 | end | |
1620 | end | |
1621 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
1622 | ref.Anchored = true | |
1623 | ref.CFrame = CFrame.new(pos) | |
1624 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
1625 | game:GetService("Debris"):AddItem(ref, 1) | |
1626 | end | |
1627 | if Thing[3] <= 0 then | |
1628 | table.remove(Effects, e) | |
1629 | end | |
1630 | end | |
1631 | do | |
1632 | do | |
1633 | if Thing[2] == "FireWave" then | |
1634 | if Thing[3] <= Thing[4] then | |
1635 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
1636 | Thing[3] = Thing[3] + 1 | |
1637 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
1638 | else | |
1639 | Part.Parent = nil | |
1640 | table.remove(Effects, e) | |
1641 | end | |
1642 | end | |
1643 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
1644 | if Thing[1].Transparency <= 1 then | |
1645 | if Thing[2] == "Block1" then | |
1646 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1647 | Mesh = Thing[7] | |
1648 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1649 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1650 | else | |
1651 | if Thing[2] == "Block2" then | |
1652 | Thing[1].CFrame = Thing[1].CFrame | |
1653 | Mesh = Thing[7] | |
1654 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1655 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1656 | else | |
1657 | if Thing[2] == "Fire" then | |
1658 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
1659 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1660 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1661 | else | |
1662 | if Thing[2] == "Cylinder" then | |
1663 | Mesh = Thing[7] | |
1664 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1665 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1666 | else | |
1667 | if Thing[2] == "Blood" then | |
1668 | Mesh = Thing[7] | |
1669 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
1670 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1671 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1672 | else | |
1673 | if Thing[2] == "Elec" then | |
1674 | Mesh = Thing[10] | |
1675 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1676 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1677 | else | |
1678 | if Thing[2] == "Disappear" then | |
1679 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1680 | end | |
1681 | end | |
1682 | end | |
1683 | end | |
1684 | end | |
1685 | end | |
1686 | end | |
1687 | else | |
1688 | Part.Parent = nil | |
1689 | table.remove(Effects, e) | |
1690 | end | |
1691 | end | |
1692 | end | |
1693 | end | |
1694 | end | |
1695 | end | |
1696 | end | |
1697 | end | |
1698 | end |