SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | print("FE Compatibility code by Mokiros") | |
6 | local rp = RealPlayer | |
7 | script.Parent = rp.Character | |
8 | ||
9 | --RemoteEvent for communicating | |
10 | local Event = Instance.new("RemoteEvent") | |
11 | Event.Name = "UserInput_Event" | |
12 | ||
13 | --Fake event to make stuff like Mouse.KeyDown work | |
14 | local function fakeEvent() | |
15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
16 | t.connect = t.Connect | |
17 | return t | |
18 | end | |
19 | ||
20 | --Creating fake input objects with fake variables | |
21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
25 | end} | |
26 | --Merged 2 functions into one by checking amount of arguments | |
27 | CAS.UnbindAction = CAS.BindAction | |
28 | ||
29 | --This function will trigger the events that have been :Connect()'ed | |
30 | local function te(self,ev,...) | |
31 | local t = m[ev] | |
32 | if t and t._fakeEvent then | |
33 | for _,f in pairs(t.Functions) do | |
34 | f(...) | |
35 | end | |
36 | end | |
37 | end | |
38 | m.TrigEvent = te | |
39 | UIS.TrigEvent = te | |
40 | ||
41 | Event.OnServerEvent:Connect(function(plr,io) | |
42 | if plr~=rp then return end | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | if not io.isMouse then | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local Mouse = Player:GetMouse() | |
66 | local UIS = game:GetService("UserInputService") | |
67 | local input = function(io,a) | |
68 | if a then return end | |
69 | --Since InputObject is a client-side instance, we create and pass table instead | |
70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
71 | end | |
72 | UIS.InputBegan:Connect(input) | |
73 | UIS.InputEnded:Connect(input) | |
74 | ||
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | ||
85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
86 | --Real game object | |
87 | local _rg = game | |
88 | ||
89 | --Metatable for fake service | |
90 | local fsmt = { | |
91 | __index = function(self,k) | |
92 | local s = rawget(self,"_RealService") | |
93 | if s then return s[k] end | |
94 | end, | |
95 | __newindex = function(self,k,v) | |
96 | local s = rawget(self,"_RealService") | |
97 | if s then s[k]=v end | |
98 | end, | |
99 | __call = function(self,...) | |
100 | local s = rawget(self,"_RealService") | |
101 | if s then return s(...) end | |
102 | end | |
103 | } | |
104 | local function FakeService(t,RealService) | |
105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
106 | return setmetatable(t,fsmt) | |
107 | end | |
108 | ||
109 | --Fake game object | |
110 | local g = { | |
111 | GetService = function(self,s) | |
112 | return self[s] | |
113 | end, | |
114 | Players = FakeService({ | |
115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
116 | },"Players"), | |
117 | UserInputService = FakeService(UIS,"UserInputService"), | |
118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
119 | } | |
120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
121 | g.service = g.GetService | |
122 | ||
123 | g.RunService = FakeService({ | |
124 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
125 | BindToRenderStep = function(self,name,_,fun) | |
126 | ||
127 | end, | |
128 | UnbindFromRenderStep = function(self,name) | |
129 | self._btrs[name]:Disconnect() | |
130 | end, | |
131 | },"RunService") | |
132 | ||
133 | setmetatable(g,{ | |
134 | __index=function(self,s) | |
135 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
136 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
137 | end, | |
138 | __newindex = fsmt.__newindex, | |
139 | __call = fsmt.__call | |
140 | }) | |
141 | --Changing owner to fake player object to support owner:GetMouse() | |
142 | game,owner = g,g.Players.LocalPlayer | |
143 | end | |
144 | ---------------------------------------------------------------------- | |
145 | --[[Nemessis.Inc]]-- | |
146 | --[[Nemessis.Inc Members]]-- | |
147 | --[[Ki_tchen [Owner] ]]-- | |
148 | --[[Mewy23 CO-OWNER]]-- | |
149 | --[[Unknown]]-- | |
150 | --[[Unknown]]-- | |
151 | --[[Unknown]]-- | |
152 | --[[Unknown]]-- | |
153 | --[[Unknown]]-- | |
154 | --[[Unknown]]-- | |
155 | --[[Unknown]]-- | |
156 | ||
157 | --[[Every Script we release a new member will be shown.]]-- | |
158 | ||
159 | --[[Nemessis.Inc Out.]]-- | |
160 | ||
161 | wait(1 / 60) | |
162 | -- Trail Made by Gallizur | |
163 | --R15 Compatible in TrailSettings | |
164 | local Player = game:GetService('Players').LocalPlayer | |
165 | repeat wait() until Player.Character | |
166 | local Character = Player.Character | |
167 | ||
168 | --All The Settings for Trails in this Script | |
169 | TrailSettings = { | |
170 | Lifetime = 0.5, | |
171 | Texture = 'rbxassetid://31270182', | |
172 | --Color1 is for UpperBody and Accessories, Color2 is for Lower Body | |
173 | Color1 = ColorSequence.new(BrickColor.new('Toothpaste').Color,BrickColor.new('Royal purple').Color), | |
174 | Color2 = ColorSequence.new(BrickColor.new('Institutional white').Color,BrickColor.new('Really black').Color), | |
175 | AllBody = true, | |
176 | UpperBodyOnly = false, | |
177 | LowerBodyOnly = false, | |
178 | Accessories = false, | |
179 | Extras = true, | |
180 | R15 = false, --Change to true if you're using R15 | |
181 | R15Parts = { | |
182 | 'UpperTorso', | |
183 | 'LowerTorso', | |
184 | } | |
185 | } | |
186 | ||
187 | local Trail; --Making other Trails uses this in this Script | |
188 | ||
189 | --UpperBody Function | |
190 | UpperBody = function() | |
191 | if TrailSettings.R15 == false then | |
192 | A0 = Instance.new('Attachment',Character.Torso) | |
193 | A1 = Instance.new('Attachment',Character.Head) | |
194 | A2 = Instance.new('Attachment',Character['Right Arm']) | |
195 | A3 = Instance.new('Attachment',Character['Left Arm']) | |
196 | Trail = Instance.new('Trail',Character) | |
197 | Trail.Attachment0 = A0 | |
198 | Trail.Attachment1 = A1 | |
199 | Trail.Texture = TrailSettings.Texture | |
200 | Trail.Color = TrailSettings.Color1 | |
201 | Trail.Lifetime = TrailSettings.Lifetime | |
202 | local Trail2 = Trail:Clone() | |
203 | Trail2.Parent = Character | |
204 | Trail2.Attachment1 = A2 | |
205 | local Trail3 = Trail:Clone() | |
206 | Trail3.Parent = Character | |
207 | Trail3.Attachment1 = A3 | |
208 | local Trail6 = Trail:Clone() | |
209 | Trail6.Parent = Character | |
210 | Trail6.Attachment0 = A1 | |
211 | Trail6.Attachment1 = A2 | |
212 | local Trail7 = Trail:Clone() | |
213 | Trail7.Parent = Character | |
214 | Trail7.Attachment0 = A1 | |
215 | Trail7.Attachment1 = A3 | |
216 | else | |
217 | A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]]) | |
218 | A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]]) | |
219 | A1 = Instance.new('Attachment',Character.Head) | |
220 | A2 = Instance.new('Attachment',Character['RightUpperArm']) | |
221 | A2R = Instance.new('Attachment',Character['RightLowerArm']) | |
222 | A3 = Instance.new('Attachment',Character['LeftUpperArm']) | |
223 | A3R = Instance.new('Attachment',Character['LeftLowerArm']) | |
224 | Trail = Instance.new('Trail',Character) | |
225 | Trail.Attachment0 = A0 | |
226 | Trail.Attachment1 = A1 | |
227 | Trail.Texture = TrailSettings.Texture | |
228 | Trail.Color = TrailSettings.Color1 | |
229 | Trail.Lifetime = TrailSettings.Lifetime | |
230 | local Trail2 = Trail:Clone() | |
231 | Trail2.Parent = Character | |
232 | Trail2.Attachment1 = A2 | |
233 | local Trail3 = Trail:Clone() | |
234 | Trail3.Parent = Character | |
235 | Trail3.Attachment1 = A3 | |
236 | local Trail6 = Trail:Clone() | |
237 | Trail6.Parent = Character | |
238 | Trail6.Attachment0 = A1 | |
239 | Trail6.Attachment1 = A2 | |
240 | local Trail7 = Trail:Clone() | |
241 | Trail7.Parent = Character | |
242 | Trail7.Attachment0 = A1 | |
243 | Trail7.Attachment1 = A3 | |
244 | --R15 Trails | |
245 | local Trail1R = Trail:Clone() | |
246 | Trail1R.Parent = Character | |
247 | Trail1R.Attachment1 = A2R | |
248 | local Trail2R = Trail:Clone() | |
249 | Trail2R.Parent = Character | |
250 | Trail2R.Attachment1 = A3R | |
251 | local Trail6R = Trail:Clone() | |
252 | Trail6.Parent = Character | |
253 | Trail6.Attachment0 = A1 | |
254 | Trail6.Attachment1 = A2R | |
255 | local Trail7R = Trail:Clone() | |
256 | Trail7.Parent = Character | |
257 | Trail7.Attachment0 = A1 | |
258 | Trail7.Attachment1 = A3R | |
259 | end | |
260 | end | |
261 | ||
262 | --Lower Body Function | |
263 | LowerBody = function() | |
264 | if TrailSettings.R15 == false then | |
265 | A4 = Instance.new('Attachment',Character['Right Leg']) | |
266 | A5 = Instance.new('Attachment',Character['Left Leg']) | |
267 | local Trail4 = Trail:Clone() | |
268 | Trail4.Parent = Character | |
269 | Trail4.Attachment1 = A4 | |
270 | local Trail5 = Trail:Clone() | |
271 | Trail5.Parent = Character | |
272 | Trail5.Attachment1 = A5 | |
273 | local Trail8 = Trail:Clone() | |
274 | Trail8.Parent = Character | |
275 | Trail8.Attachment0 = A2 | |
276 | Trail8.Attachment1 = A4 | |
277 | Trail8.Color = TrailSettings.Color2 | |
278 | local Trail9 = Trail:Clone() | |
279 | Trail9.Parent = Character | |
280 | Trail9.Attachment0 = A3 | |
281 | Trail9.Attachment1 = A5 | |
282 | Trail9.Color = TrailSettings.Color2 | |
283 | local FT = Trail:Clone() | |
284 | FT.Parent = Character | |
285 | FT.Attachment0 = A4 | |
286 | FT.Attachment1 = A5 | |
287 | FT.Color = TrailSettings.Color2 | |
288 | else | |
289 | A4 = Instance.new('Attachment',Character['RightLowerLeg']) | |
290 | A4R = Instance.new('Attachment',Character['RightUpperLeg']) | |
291 | A5 = Instance.new('Attachment',Character['LeftLowerLeg']) | |
292 | A5R = Instance.new('Attachment',Character['LeftUpperLeg']) | |
293 | local Trail4 = Trail:Clone() | |
294 | Trail4.Parent = Character | |
295 | Trail4.Attachment1 = A4 | |
296 | local Trail5 = Trail:Clone() | |
297 | Trail5.Parent = Character | |
298 | Trail5.Attachment1 = A5 | |
299 | local Trail8 = Trail:Clone() | |
300 | Trail8.Parent = Character | |
301 | Trail8.Attachment0 = A2 | |
302 | Trail8.Attachment1 = A4 | |
303 | Trail8.Color = TrailSettings.Color2 | |
304 | local Trail9 = Trail:Clone() | |
305 | Trail9.Parent = Character | |
306 | Trail9.Attachment0 = A3 | |
307 | Trail9.Attachment1 = A5 | |
308 | Trail9.Color = TrailSettings.Color2 | |
309 | local FT = Trail:Clone() | |
310 | FT.Parent = Character | |
311 | FT.Attachment0 = A4 | |
312 | FT.Attachment1 = A5 | |
313 | FT.Color = TrailSettings.Color2 | |
314 | --R15 Trails | |
315 | local Trail3R = Trail:Clone() | |
316 | Trail3R.Parent = Character | |
317 | Trail3R.Attachment1 = A4R | |
318 | local Trail4R = Trail:Clone() | |
319 | Trail4R.Parent = Character | |
320 | Trail4R.Attachment1 = A5R | |
321 | local Trail8 = Trail:Clone() | |
322 | Trail8.Parent = Character | |
323 | Trail8.Attachment0 = A2R | |
324 | Trail8.Attachment1 = A4R | |
325 | Trail8.Color = TrailSettings.Color2 | |
326 | local Trail9 = Trail:Clone() | |
327 | Trail9.Parent = Character | |
328 | Trail9.Attachment0 = A3R | |
329 | Trail9.Attachment1 = A5R | |
330 | Trail9.Color = TrailSettings.Color2 | |
331 | local FT2R = Trail:Clone() | |
332 | FT2R.Parent = Character | |
333 | FT2R.Attachment0 = A4R | |
334 | FT2R.Attachment1 = A5R | |
335 | FT2R.Color = TrailSettings.Color2 | |
336 | end | |
337 | end | |
338 | ||
339 | --All Body Function calling Both Functions | |
340 | AllBody = function() | |
341 | UpperBody() | |
342 | LowerBody() | |
343 | end | |
344 | ||
345 | --Checking to make sure that Only some Variables are Selected else do All Body | |
346 | if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
347 | TrailSettings.UpperBodyOnly = false | |
348 | TrailSettings.LowerBodyOnly = false | |
349 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then | |
350 | TrailSettings.UpperBodyOnly = false | |
351 | TrailSettings.LowerBodyOnly = false | |
352 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then | |
353 | TrailSettings.UpperBodyOnly = false | |
354 | TrailSettings.LowerBodyOnly = false | |
355 | elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
356 | TrailSettings.AllBody = true | |
357 | TrailSettings.UpperBodyOnly = false | |
358 | TrailSettings.LowerBodyOnly = false | |
359 | end | |
360 | ||
361 | --Call Trail Functions | |
362 | if TrailSettings.UpperBodyOnly == true then | |
363 | UpperBody() | |
364 | print('Called Upper Body Trail') | |
365 | elseif TrailSettings.LowerBodyOnly == true then | |
366 | LowerBody() | |
367 | print('Called Lower Body Trail') | |
368 | elseif TrailSettings.AllBody == true then | |
369 | AllBody() | |
370 | print('Called Full Body Trail') | |
371 | end | |
372 | ||
373 | --Trails for Accessories | |
374 | if TrailSettings.Accessories == true then | |
375 | for Index,Item in pairs(Character:GetChildren()) do | |
376 | if Item:IsA'Accessory' then | |
377 | local AA = Instance.new('Attachment',Item.Handle) | |
378 | local ATrail = Trail:Clone() | |
379 | ATrail.Parent = Character | |
380 | ATrail.Attachment1 = AA | |
381 | end | |
382 | end | |
383 | end | |
384 | ||
385 | --Extras | |
386 | if TrailSettings.Extras == true then | |
387 | --Making an Invisible Platform Part | |
388 | local a = Instance.new('Part',Character) | |
389 | a.CanCollide = false | |
390 | a.Size = Vector3.new(2,.2,2) | |
391 | a.Transparency = 1 | |
392 | ||
393 | --Constantly putting it under your feet | |
394 | if TrailSettings.R15 == false then | |
395 | spawn(function() | |
396 | game:GetService('RunService').RenderStepped:connect(function() | |
397 | a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0) | |
398 | end) | |
399 | end) | |
400 | else | |
401 | spawn(function() | |
402 | game:GetService('RunService').RenderStepped:connect(function() | |
403 | a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0) | |
404 | end) | |
405 | end) | |
406 | end | |
407 | ||
408 | --Make a Trail from both feet to the Platform | |
409 | spawn(function() | |
410 | repeat wait() until Trail | |
411 | local AB = Instance.new('Attachment',a) | |
412 | local ABT = Trail:Clone() | |
413 | ABT.Parent = Character | |
414 | ABT.Attachment0 = A4 | |
415 | ABT.Attachment1 = AB | |
416 | ABT.Color = TrailSettings.Color2 | |
417 | local ABT2 = Trail:Clone() | |
418 | ABT2.Parent = Character | |
419 | ABT2.Attachment0 = A5 | |
420 | ABT2.Attachment1 = AB | |
421 | ABT2.Color = TrailSettings.Color2 | |
422 | end) | |
423 | end | |
424 | ||
425 | Effects = { } | |
426 | local Player = game.Players.localPlayer | |
427 | local Character = Player.Character | |
428 | local Humanoid = Character.Humanoid | |
429 | local Mouse = Player:GetMouse() | |
430 | local LeftArm = Character["Left Arm"] | |
431 | local RightArm = Character["Right Arm"] | |
432 | local LeftLeg = Character["Left Leg"] | |
433 | local RightLeg = Character["Right Leg"] | |
434 | local Head = Character.Head | |
435 | local Torso = Character.Torso | |
436 | local Camera = game.Workspace.CurrentCamera | |
437 | local RootPart = Character.HumanoidRootPart | |
438 | local RootJoint = RootPart.RootJoint | |
439 | local attack = false | |
440 | local Anim = 'Idle' | |
441 | local attacktype = 1 | |
442 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
443 | local velocity = RootPart.Velocity.y | |
444 | local sine = 0 | |
445 | local change = 1 | |
446 | local Create = LoadLibrary("RbxUtility").Create | |
447 | local sick = Instance.new("Sound",Character.Torso) | |
448 | sick.SoundId = "rbxassetid://869000977" | |
449 | sick.Looped = true | |
450 | sick.Pitch = 1 | |
451 | sick.Volume = 1 | |
452 | sick:Play() | |
453 | ||
454 | local m = Create("Model"){ | |
455 | Parent = Character, | |
456 | Name = "WeaponModel", | |
457 | } | |
458 | ||
459 | Humanoid.Animator.Parent = nil | |
460 | Character.Animate.Parent = nil | |
461 | ||
462 | local newMotor = function(part0, part1, c0, c1) | |
463 | local w = Create('Motor'){ | |
464 | Parent = part0, | |
465 | Part0 = part0, | |
466 | Part1 = part1, | |
467 | C0 = c0, | |
468 | C1 = c1, | |
469 | } | |
470 | return w | |
471 | end | |
472 | ||
473 | function clerp(a, b, t) | |
474 | return a:lerp(b, t) | |
475 | end | |
476 | ||
477 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
478 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
479 | ||
480 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
481 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
482 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
483 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
484 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
485 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
486 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
487 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
488 | ||
489 | local rarmc1 = RW.C1 | |
490 | local larmc1 = LW.C1 | |
491 | local rlegc1 = RH.C1 | |
492 | local llegc1 = LH.C1 | |
493 | ||
494 | local resetc1 = false | |
495 | ||
496 | function PlayAnimationFromTable(table, speed, bool) | |
497 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
498 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
499 | RW.C0 = clerp(RW.C0, table[3], speed) | |
500 | LW.C0 = clerp(LW.C0, table[4], speed) | |
501 | RH.C0 = clerp(RH.C0, table[5], speed) | |
502 | LH.C0 = clerp(LH.C0, table[6], speed) | |
503 | if bool == true then | |
504 | if resetc1 == false then | |
505 | resetc1 = true | |
506 | RootJoint.C1 = RootJoint.C1 | |
507 | Torso.Neck.C1 = Torso.Neck.C1 | |
508 | RW.C1 = rarmc1 | |
509 | LW.C1 = larmc1 | |
510 | RH.C1 = rlegc1 | |
511 | LH.C1 = llegc1 | |
512 | end | |
513 | end | |
514 | end | |
515 | ||
516 | ArtificialHB = Create("BindableEvent", script){ | |
517 | Parent = script, | |
518 | Name = "Heartbeat", | |
519 | } | |
520 | ||
521 | script:WaitForChild("Heartbeat") | |
522 | ||
523 | frame = 1 / 30 | |
524 | tf = 0 | |
525 | allowframeloss = false | |
526 | tossremainder = false | |
527 | lastframe = tick() | |
528 | script.Heartbeat:Fire() | |
529 | ||
530 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
531 | tf = tf + s | |
532 | if tf >= frame then | |
533 | if allowframeloss then | |
534 | script.Heartbeat:Fire() | |
535 | lastframe = tick() | |
536 | else | |
537 | for i = 1, math.floor(tf / frame) do | |
538 | script.Heartbeat:Fire() | |
539 | end | |
540 | lastframe = tick() | |
541 | end | |
542 | if tossremainder then | |
543 | tf = 0 | |
544 | else | |
545 | tf = tf - frame * math.floor(tf / frame) | |
546 | end | |
547 | end | |
548 | end) | |
549 | ||
550 | function swait(num) | |
551 | if num == 0 or num == nil then | |
552 | ArtificialHB.Event:wait() | |
553 | else | |
554 | for i = 0, num do | |
555 | ArtificialHB.Event:wait() | |
556 | end | |
557 | end | |
558 | end | |
559 | ||
560 | function RemoveOutlines(part) | |
561 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
562 | end | |
563 | ||
564 | CFuncs = { | |
565 | Part = { | |
566 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
567 | local Part = Create("Part"){ | |
568 | Parent = Parent, | |
569 | Reflectance = Reflectance, | |
570 | Transparency = Transparency, | |
571 | CanCollide = false, | |
572 | Locked = true, | |
573 | BrickColor = BrickColor.new(tostring(BColor)), | |
574 | Name = Name, | |
575 | Size = Size, | |
576 | Material = Material, | |
577 | } | |
578 | RemoveOutlines(Part) | |
579 | return Part | |
580 | end; | |
581 | }; | |
582 | ||
583 | Mesh = { | |
584 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
585 | local Msh = Create(Mesh){ | |
586 | Parent = Part, | |
587 | Offset = OffSet, | |
588 | Scale = Scale, | |
589 | } | |
590 | if Mesh == "SpecialMesh" then | |
591 | Msh.MeshType = MeshType | |
592 | Msh.MeshId = MeshId | |
593 | end | |
594 | return Msh | |
595 | end; | |
596 | }; | |
597 | ||
598 | Weld = { | |
599 | Create = function(Parent, Part0, Part1, C0, C1) | |
600 | local Weld = Create("Weld"){ | |
601 | Parent = Parent, | |
602 | Part0 = Part0, | |
603 | Part1 = Part1, | |
604 | C0 = C0, | |
605 | C1 = C1, | |
606 | } | |
607 | return Weld | |
608 | end; | |
609 | }; | |
610 | ||
611 | Sound = { | |
612 | Create = function(id, par, vol, pit) | |
613 | coroutine.resume(coroutine.create(function() | |
614 | local Sound = Create("Sound"){ | |
615 | Volume = vol, | |
616 | Pitch = pit or 1, | |
617 | SoundId = "rbxassetid://" .. id, | |
618 | Parent = par or workspace, | |
619 | } | |
620 | Sound:play() | |
621 | game:GetService("Debris"):AddItem(Sound, 10) | |
622 | end)) | |
623 | end; | |
624 | }; | |
625 | ||
626 | Decal = { | |
627 | Create = function(Color, Texture, Transparency, Name, Parent) | |
628 | local Decal = Create("Decal"){ | |
629 | Color3 = Color, | |
630 | Texture = "rbxassetid://" .. Texture, | |
631 | Transparency = Transparency, | |
632 | Name = Name, | |
633 | Parent = Parent, | |
634 | } | |
635 | return Decal | |
636 | end; | |
637 | }; | |
638 | ||
639 | BillboardGui = { | |
640 | Create = function(Parent, Image, Position, Size) | |
641 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1)) | |
642 | BillPar.CFrame = CFrame.new(Position) | |
643 | local Bill = Create("BillboardGui"){ | |
644 | Parent = BillPar, | |
645 | Adornee = BillPar, | |
646 | Size = UDim2.new(1, 0, 1, 0), | |
647 | SizeOffset = Vector2.new(Size, Size), | |
648 | } | |
649 | local d = Create("ImageLabel", Bill){ | |
650 | Parent = Bill, | |
651 | BackgroundTransparency = 1, | |
652 | Size = UDim2.new(1, 0, 1, 0), | |
653 | Image = "rbxassetid://" .. Image, | |
654 | } | |
655 | return BillPar | |
656 | end | |
657 | }; | |
658 | ||
659 | ParticleEmitter = { | |
660 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
661 | local Particle = Create("ParticleEmitter"){ | |
662 | Parent = Parent, | |
663 | Color = ColorSequence.new(Color1, Color2), | |
664 | LightEmission = LightEmission, | |
665 | Size = Size, | |
666 | Texture = Texture, | |
667 | Transparency = Transparency, | |
668 | ZOffset = ZOffset, | |
669 | Acceleration = Accel, | |
670 | Drag = Drag, | |
671 | LockedToPart = LockedToPart, | |
672 | VelocityInheritance = VelocityInheritance, | |
673 | EmissionDirection = EmissionDirection, | |
674 | Enabled = Enabled, | |
675 | Lifetime = LifeTime, | |
676 | Rate = Rate, | |
677 | Rotation = Rotation, | |
678 | RotSpeed = RotSpeed, | |
679 | Speed = Speed, | |
680 | VelocitySpread = VelocitySpread, | |
681 | } | |
682 | return Particle | |
683 | end; | |
684 | }; | |
685 | ||
686 | CreateTemplate = { | |
687 | ||
688 | }; | |
689 | } | |
690 | ||
691 | function rayCast(Position, Direction, Range, Ignore) | |
692 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
693 | end | |
694 | ||
695 | FindNearestTorso = function(pos) | |
696 | local list = (game.Workspace:children()) | |
697 | local torso = nil | |
698 | local dist = 1000 | |
699 | local temp, human, temp2 = nil, nil, nil | |
700 | for x = 1, #list do | |
701 | temp2 = list[x] | |
702 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
703 | temp = temp2:findFirstChild("Torso") | |
704 | human = temp2:findFirstChild("Humanoid") | |
705 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
706 | local dohit = true | |
707 | if dohit == true then | |
708 | torso = temp | |
709 | dist = (temp.Position - pos).magnitude | |
710 | end | |
711 | end | |
712 | end | |
713 | end | |
714 | return torso, dist | |
715 | end | |
716 | ||
717 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
718 | if hit.Parent == nil then | |
719 | return | |
720 | end | |
721 | local h = hit.Parent:FindFirstChild("Humanoid") | |
722 | for _, v in pairs(hit.Parent:children()) do | |
723 | if v:IsA("Humanoid") then | |
724 | h = v | |
725 | end | |
726 | end | |
727 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
728 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
729 | if hit.Parent.DebounceHit.Value == true then | |
730 | return | |
731 | end | |
732 | end | |
733 | local c = Create("ObjectValue"){ | |
734 | Name = "creator", | |
735 | Value = game:service("Players").LocalPlayer, | |
736 | Parent = h, | |
737 | } | |
738 | game:GetService("Debris"):AddItem(c, .5) | |
739 | if HitSound ~= nil and HitPitch ~= nil then | |
740 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
741 | end | |
742 | local Damage = math.random(minim, maxim) | |
743 | local blocked = false | |
744 | local block = hit.Parent:findFirstChild("Block") | |
745 | if block ~= nil then | |
746 | if block.className == "IntValue" then | |
747 | if block.Value > 0 then | |
748 | blocked = true | |
749 | block.Value = block.Value - 1 | |
750 | print(block.Value) | |
751 | end | |
752 | end | |
753 | end | |
754 | if blocked == false then | |
755 | h.Health = h.Health - Damage | |
756 | 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) | |
757 | else | |
758 | h.Health = h.Health - (Damage / 2) | |
759 | 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) | |
760 | end | |
761 | if Type == "Knockdown" then | |
762 | local hum = hit.Parent.Humanoid | |
763 | hum.PlatformStand = true | |
764 | coroutine.resume(coroutine.create(function(HHumanoid) | |
765 | swait(1) | |
766 | HHumanoid.PlatformStand = false | |
767 | end), hum) | |
768 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
769 | local bodvol = Create("BodyVelocity"){ | |
770 | velocity = angle * knockback, | |
771 | P = 5000, | |
772 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
773 | Parent = hit, | |
774 | } | |
775 | local rl = Create("BodyAngularVelocity"){ | |
776 | P = 3000, | |
777 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
778 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
779 | Parent = hit, | |
780 | } | |
781 | game:GetService("Debris"):AddItem(bodvol, .5) | |
782 | game:GetService("Debris"):AddItem(rl, .5) | |
783 | elseif Type == "Normal" then | |
784 | local vp = Create("BodyVelocity"){ | |
785 | P = 500, | |
786 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
787 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
788 | } | |
789 | if knockback > 0 then | |
790 | vp.Parent = hit.Parent.Torso | |
791 | end | |
792 | game:GetService("Debris"):AddItem(vp, .5) | |
793 | elseif Type == "Up" then | |
794 | local bodyVelocity = Create("BodyVelocity"){ | |
795 | velocity = Vector3.new(0, 20, 0), | |
796 | P = 5000, | |
797 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
798 | Parent = hit, | |
799 | } | |
800 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
801 | elseif Type == "DarkUp" then | |
802 | coroutine.resume(coroutine.create(function() | |
803 | for i = 0, 1, 0.1 do | |
804 | swait() | |
805 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
806 | end | |
807 | end)) | |
808 | local bodyVelocity = Create("BodyVelocity"){ | |
809 | velocity = Vector3.new(0, 20, 0), | |
810 | P = 5000, | |
811 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
812 | Parent = hit, | |
813 | } | |
814 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
815 | elseif Type == "Snare" then | |
816 | local bp = Create("BodyPosition"){ | |
817 | P = 2000, | |
818 | D = 100, | |
819 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
820 | position = hit.Parent.Torso.Position, | |
821 | Parent = hit.Parent.Torso, | |
822 | } | |
823 | game:GetService("Debris"):AddItem(bp, 1) | |
824 | elseif Type == "Freeze" then | |
825 | local BodPos = Create("BodyPosition"){ | |
826 | P = 50000, | |
827 | D = 1000, | |
828 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
829 | position = hit.Parent.Torso.Position, | |
830 | Parent = hit.Parent.Torso, | |
831 | } | |
832 | local BodGy = Create("BodyGyro") { | |
833 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
834 | P = 20e+003, | |
835 | Parent = hit.Parent.Torso, | |
836 | cframe = hit.Parent.Torso.CFrame, | |
837 | } | |
838 | hit.Parent.Torso.Anchored = true | |
839 | coroutine.resume(coroutine.create(function(Part) | |
840 | swait(1.5) | |
841 | Part.Anchored = false | |
842 | end), hit.Parent.Torso) | |
843 | game:GetService("Debris"):AddItem(BodPos, 3) | |
844 | game:GetService("Debris"):AddItem(BodGy, 3) | |
845 | end | |
846 | local debounce = Create("BoolValue"){ | |
847 | Name = "DebounceHit", | |
848 | Parent = hit.Parent, | |
849 | Value = true, | |
850 | } | |
851 | game:GetService("Debris"):AddItem(debounce, Delay) | |
852 | c = Create("ObjectValue"){ | |
853 | Name = "creator", | |
854 | Value = Player, | |
855 | Parent = h, | |
856 | } | |
857 | game:GetService("Debris"):AddItem(c, .5) | |
858 | end | |
859 | end | |
860 | ||
861 | function ShowDamage(Pos, Text, Time, Color) | |
862 | local Rate = (1 / 30) | |
863 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
864 | local Text = (Text or "") | |
865 | local Time = (Time or 2) | |
866 | local Color = (Color or Color3.new(1, 0, 1)) | |
867 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
868 | EffectPart.Anchored = true | |
869 | local BillboardGui = Create("BillboardGui"){ | |
870 | Size = UDim2.new(3, 0, 3, 0), | |
871 | Adornee = EffectPart, | |
872 | Parent = EffectPart, | |
873 | } | |
874 | local TextLabel = Create("TextLabel"){ | |
875 | BackgroundTransparency = 1, | |
876 | Size = UDim2.new(1, 0, 1, 0), | |
877 | Text = Text, | |
878 | Font = "SciFi", | |
879 | TextColor3 = Color, | |
880 | TextScaled = true, | |
881 | Parent = BillboardGui, | |
882 | } | |
883 | game.Debris:AddItem(EffectPart, (Time)) | |
884 | EffectPart.Parent = game:GetService("Workspace") | |
885 | delay(0, function() | |
886 | local Frames = (Time / Rate) | |
887 | for Frame = 1, Frames do | |
888 | wait(Rate) | |
889 | local Percent = (Frame / Frames) | |
890 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
891 | TextLabel.TextTransparency = Percent | |
892 | end | |
893 | if EffectPart and EffectPart.Parent then | |
894 | EffectPart:Destroy() | |
895 | end | |
896 | end) | |
897 | end | |
898 | ||
899 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
900 | for _, c in pairs(workspace:children()) do | |
901 | local hum = c:findFirstChild("Humanoid") | |
902 | if hum ~= nil then | |
903 | local head = c:findFirstChild("Torso") | |
904 | if head ~= nil then | |
905 | local targ = head.Position - Part.Position | |
906 | local mag = targ.magnitude | |
907 | if mag <= Magnitude and c.Name ~= Player.Name then | |
908 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
909 | end | |
910 | end | |
911 | end | |
912 | end | |
913 | end | |
914 | ||
915 | ||
916 | ||
917 | ---some future chest tinglol--- | |
918 | ||
919 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1.18999839, 1.59999871, 1)) | |
920 | 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)) | |
921 | 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)) | |
922 | Middle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Institutional white","Middle",Vector3.new(2, 2, 1)) | |
923 | 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)) | |
924 | CFuncs.Mesh.Create("BlockMesh",Middle,"","",Vector3.new(0, 0, 0),Vector3.new(0, 0, 0)) | |
925 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
926 | 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)) | |
927 | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5)) | |
928 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
929 | 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)) | |
930 | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5)) | |
931 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
932 | 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)) | |
933 | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5)) | |
934 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
935 | 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)) | |
936 | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1, 1.00999999)) | |
937 | ||
938 | ----rarm---- | |
939 | ||
940 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Handle",Vector3.new(0.5625, 0.200000003, 0.5625)) | |
941 | 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)) | |
942 | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1)) | |
943 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.100000113, 0.490000099, 1.01999998)) | |
944 | 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)) | |
945 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
946 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
947 | 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)) | |
948 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
949 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999)) | |
950 | 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)) | |
951 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
952 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003)) | |
953 | 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)) | |
954 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
955 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
956 | 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)) | |
957 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01000011, 0.579999983, 1.00999999)) | |
958 | 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)) | |
959 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
960 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
961 | 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)) | |
962 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
963 | 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)) | |
964 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
965 | 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)) | |
966 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
967 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003)) | |
968 | 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)) | |
969 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
970 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
971 | 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)) | |
972 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
973 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003)) | |
974 | 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)) | |
975 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
976 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003)) | |
977 | 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)) | |
978 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
979 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
980 | 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)) | |
981 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
982 | RFHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RFHitbox",Vector3.new(1.37, 2.26999998, 1.10000002)) | |
983 | 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)) | |
984 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
985 | 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)) | |
986 | 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)) | |
987 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
988 | 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)) | |
989 | 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)) | |
990 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
991 | 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)) | |
992 | 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)) | |
993 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
994 | 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)) | |
995 | 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)) | |
996 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
997 | 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)) | |
998 | 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)) | |
999 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996)) | |
1000 | 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)) | |
1001 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999)) | |
1002 | 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)) | |
1003 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979)) | |
1004 | 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)) | |
1005 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999)) | |
1006 | 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)) | |
1007 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979)) | |
1008 | 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)) | |
1009 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003)) | |
1010 | 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)) | |
1011 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
1012 | 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)) | |
1013 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
1014 | 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)) | |
1015 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
1016 | 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)) | |
1017 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
1018 | 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)) | |
1019 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
1020 | 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)) | |
1021 | ---larm--- | |
1022 | ||
1023 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1024 | 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)) | |
1025 | 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)) | |
1026 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1027 | 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)) | |
1028 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1029 | 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)) | |
1030 | 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)) | |
1031 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1032 | 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)) | |
1033 | 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)) | |
1034 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1035 | 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)) | |
1036 | 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)) | |
1037 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1038 | 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)) | |
1039 | 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)) | |
1040 | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.5625, 0.200000003, 0.5625)) | |
1041 | 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)) | |
1042 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1)) | |
1043 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003)) | |
1044 | 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)) | |
1045 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1046 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1047 | 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)) | |
1048 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
1049 | 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)) | |
1050 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1051 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003)) | |
1052 | 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)) | |
1053 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1054 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
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.141113281, 0.501981974, -0.0055770874, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) | |
1056 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003)) | |
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.0102539063, 0.621917725, 0.696838379, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) | |
1058 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1059 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
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.141113281, 0.501981974, -0.305580139, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) | |
1061 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.579999983, 1.00999999)) | |
1062 | 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)) | |
1063 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1064 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
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.0102539063, -1.84783173, -1.06821442, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) | |
1066 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1067 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003)) | |
1068 | 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)) | |
1069 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1070 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
1071 | 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)) | |
1072 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1073 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
1074 | 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)) | |
1075 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1076 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999)) | |
1077 | 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)) | |
1078 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1079 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979)) | |
1080 | 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)) | |
1081 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999)) | |
1082 | 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)) | |
1083 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999)) | |
1084 | 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)) | |
1085 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996)) | |
1086 | 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)) | |
1087 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979)) | |
1088 | 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)) | |
1089 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
1090 | 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)) | |
1091 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
1092 | 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)) | |
1093 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
1094 | 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)) | |
1095 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003)) | |
1096 | 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)) | |
1097 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
1098 | 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)) | |
1099 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
1100 | 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)) | |
1101 | LfHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","LfHitbox",Vector3.new(1.23000014, 2.07999992, 1.08000004)) | |
1102 | 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)) | |
1103 | ||
1104 | --headlol---- | |
1105 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Brown","Handle",Vector3.new(1, 0.800000012, 2)) | |
1106 | 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)) | |
1107 | 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)) | |
1108 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1109 | 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)) | |
1110 | 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)) | |
1111 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1112 | 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)) | |
1113 | 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)) | |
1114 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1115 | 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)) | |
1116 | 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)) | |
1117 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1118 | 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)) | |
1119 | 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)) | |
1120 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.60000002384186,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1121 | 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)) | |
1122 | 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)) | |
1123 | ||
1124 | ||
1125 | --torsoa---- | |
1126 | ||
1127 | ||
1128 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1129 | 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)) | |
1130 | 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)) | |
1131 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1132 | 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)) | |
1133 | 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)) | |
1134 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1135 | 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)) | |
1136 | 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)) | |
1137 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1138 | 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)) | |
1139 | 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)) | |
1140 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1141 | 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)) | |
1142 | 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)) | |
1143 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1144 | 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)) | |
1145 | 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)) | |
1146 | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(1, 0.200000003, 1)) | |
1147 | 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)) | |
1148 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1149 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1150 | 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)) | |
1151 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
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.343719482, 0.148796082, 0.128662109, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) | |
1153 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1154 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
1155 | 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)) | |
1156 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1157 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
1158 | 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)) | |
1159 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1160 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(2.00999999, 1.13, 0.620000005)) | |
1161 | 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)) | |
1162 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
1163 | 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)) | |
1164 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1165 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1166 | 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)) | |
1167 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1168 | 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)) | |
1169 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014)) | |
1170 | 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)) | |
1171 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014)) | |
1172 | 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)) | |
1173 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1174 | 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)) | |
1175 | ||
1176 | ---rightleg--- | |
1177 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1178 | 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)) | |
1179 | 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)) | |
1180 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1181 | 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)) | |
1182 | 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)) | |
1183 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1184 | 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)) | |
1185 | 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)) | |
1186 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1187 | 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)) | |
1188 | 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)) | |
1189 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1190 | 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)) | |
1191 | 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)) | |
1192 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1193 | 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)) | |
1194 | 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)) | |
1195 | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875)) | |
1196 | 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)) | |
1197 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1)) | |
1198 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.410000026, 1.01999998)) | |
1199 | 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)) | |
1200 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1201 | 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)) | |
1202 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1203 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1204 | 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)) | |
1205 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1206 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021)) | |
1207 | 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)) | |
1208 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5)) | |
1209 | 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)) | |
1210 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003)) | |
1211 | 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)) | |
1212 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
1213 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1214 | 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)) | |
1215 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1216 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003)) | |
1217 | 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)) | |
1218 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
1219 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1220 | 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)) | |
1221 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1222 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981)) | |
1223 | 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)) | |
1224 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998)) | |
1225 | 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)) | |
1226 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1227 | 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)) | |
1228 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1229 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1230 | 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)) | |
1231 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1232 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1233 | 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)) | |
1234 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1235 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
1236 | 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)) | |
1237 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1238 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003)) | |
1239 | 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)) | |
1240 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
1241 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003)) | |
1242 | 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)) | |
1243 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1244 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1245 | 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)) | |
1246 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1247 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1248 | 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)) | |
1249 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1250 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1251 | 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)) | |
1252 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1253 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1254 | 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)) | |
1255 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1256 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997)) | |
1257 | 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)) | |
1258 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017)) | |
1259 | 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)) | |
1260 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1261 | 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)) | |
1262 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995)) | |
1263 | 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)) | |
1264 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1265 | 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)) | |
1266 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1267 | 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)) | |
1268 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1269 | 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)) | |
1270 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005)) | |
1271 | 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)) | |
1272 | ||
1273 | ----leftleg---- | |
1274 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1275 | 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)) | |
1276 | 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)) | |
1277 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1278 | 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)) | |
1279 | 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)) | |
1280 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1281 | 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)) | |
1282 | 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)) | |
1283 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1284 | 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)) | |
1285 | 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)) | |
1286 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1287 | 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)) | |
1288 | 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)) | |
1289 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1290 | 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)) | |
1291 | 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)) | |
1292 | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875)) | |
1293 | 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)) | |
1294 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1)) | |
1295 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021)) | |
1296 | 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)) | |
1297 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003)) | |
1298 | 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)) | |
1299 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
1300 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003)) | |
1301 | 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)) | |
1302 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
1303 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981)) | |
1304 | 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)) | |
1305 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003)) | |
1306 | 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)) | |
1307 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
1308 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998)) | |
1309 | 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)) | |
1310 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5)) | |
1311 | 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)) | |
1312 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003)) | |
1313 | 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)) | |
1314 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
1315 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1316 | 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)) | |
1317 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1318 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.230000004, 1.01999998)) | |
1319 | 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)) | |
1320 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997)) | |
1321 | 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)) | |
1322 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.02999997, 0.200000003, 1.02999997)) | |
1323 | 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)) | |
1324 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1325 | 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)) | |
1326 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1327 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1328 | 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)) | |
1329 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1330 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1331 | 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)) | |
1332 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1333 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995)) | |
1334 | 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)) | |
1335 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1336 | 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)) | |
1337 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005)) | |
1338 | 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)) | |
1339 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1340 | 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)) | |
1341 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1342 | 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)) | |
1343 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017)) | |
1344 | 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)) | |
1345 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
1346 | 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)) | |
1347 | ||
1348 | ||
1349 | ||
1350 | EffectModel = Create("Model"){ | |
1351 | Parent = Character, | |
1352 | Name = "Effects", | |
1353 | } | |
1354 | ||
1355 | Effects = { | |
1356 | Block = { | |
1357 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1358 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1359 | prt.Anchored = true | |
1360 | prt.CFrame = cframe | |
1361 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1362 | game:GetService("Debris"):AddItem(prt, 10) | |
1363 | if Type == 1 or Type == nil then | |
1364 | table.insert(Effects, { | |
1365 | prt, | |
1366 | "Block1", | |
1367 | delay, | |
1368 | x3, | |
1369 | y3, | |
1370 | z3, | |
1371 | msh | |
1372 | }) | |
1373 | elseif Type == 2 then | |
1374 | table.insert(Effects, { | |
1375 | prt, | |
1376 | "Block2", | |
1377 | delay, | |
1378 | x3, | |
1379 | y3, | |
1380 | z3, | |
1381 | msh | |
1382 | }) | |
1383 | end | |
1384 | end; | |
1385 | }; | |
1386 | ||
1387 | Cylinder = { | |
1388 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1389 | local prt = CFuncs.Part..Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
1390 | prt.Anchored = true | |
1391 | prt.CFrame = cframe | |
1392 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1393 | game:GetService("Debris"):AddItem(prt, 2) | |
1394 | Effects[#Effects + 1] = { | |
1395 | prt, | |
1396 | "Cylinder", | |
1397 | delay, | |
1398 | x3, | |
1399 | y3, | |
1400 | z3 | |
1401 | } | |
1402 | end; | |
1403 | }; | |
1404 | ||
1405 | Head = { | |
1406 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1407 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1408 | prt.Anchored = true | |
1409 | prt.CFrame = cframe | |
1410 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1411 | game:GetService("Debris"):AddItem(prt, 10) | |
1412 | table.insert(Effects, { | |
1413 | prt, | |
1414 | "Cylinder", | |
1415 | delay, | |
1416 | x3, | |
1417 | y3, | |
1418 | z3, | |
1419 | msh | |
1420 | }) | |
1421 | end; | |
1422 | }; | |
1423 | ||
1424 | Sphere = { | |
1425 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1426 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1427 | prt.Anchored = true | |
1428 | prt.CFrame = cframe | |
1429 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1430 | game:GetService("Debris"):AddItem(prt, 10) | |
1431 | table.insert(Effects, { | |
1432 | prt, | |
1433 | "Cylinder", | |
1434 | delay, | |
1435 | x3, | |
1436 | y3, | |
1437 | z3, | |
1438 | msh | |
1439 | }) | |
1440 | end; | |
1441 | }; | |
1442 | ||
1443 | Elect = { | |
1444 | Create = function(cff, x, y, z) | |
1445 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
1446 | prt.Anchored = true | |
1447 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
1448 | prt.CFrame = CFrame.new(prt.Position) | |
1449 | game:GetService("Debris"):AddItem(prt, 2) | |
1450 | local xval = math.random() / 2 | |
1451 | local yval = math.random() / 2 | |
1452 | local zval = math.random() / 2 | |
1453 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
1454 | table.insert(Effects, { | |
1455 | prt, | |
1456 | "Elec", | |
1457 | 0.1, | |
1458 | x, | |
1459 | y, | |
1460 | z, | |
1461 | xval, | |
1462 | yval, | |
1463 | zval | |
1464 | }) | |
1465 | end; | |
1466 | ||
1467 | }; | |
1468 | ||
1469 | Ring = { | |
1470 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1471 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1472 | prt.Anchored = true | |
1473 | prt.CFrame = cframe | |
1474 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1475 | game:GetService("Debris"):AddItem(prt, 10) | |
1476 | table.insert(Effects, { | |
1477 | prt, | |
1478 | "Cylinder", | |
1479 | delay, | |
1480 | x3, | |
1481 | y3, | |
1482 | z3, | |
1483 | msh | |
1484 | }) | |
1485 | end; | |
1486 | }; | |
1487 | ||
1488 | ||
1489 | Wave = { | |
1490 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1491 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1492 | prt.Anchored = true | |
1493 | prt.CFrame = cframe | |
1494 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1495 | game:GetService("Debris"):AddItem(prt, 10) | |
1496 | table.insert(Effects, { | |
1497 | prt, | |
1498 | "Cylinder", | |
1499 | delay, | |
1500 | x3, | |
1501 | y3, | |
1502 | z3, | |
1503 | msh | |
1504 | }) | |
1505 | end; | |
1506 | }; | |
1507 | ||
1508 | Break = { | |
1509 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1510 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1511 | prt.Anchored = true | |
1512 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1513 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1514 | local num = math.random(10, 50) / 1000 | |
1515 | game:GetService("Debris"):AddItem(prt, 10) | |
1516 | table.insert(Effects, { | |
1517 | prt, | |
1518 | "Shatter", | |
1519 | num, | |
1520 | prt.CFrame, | |
1521 | math.random() - math.random(), | |
1522 | 0, | |
1523 | math.random(50, 100) / 100 | |
1524 | }) | |
1525 | end; | |
1526 | }; | |
1527 | ||
1528 | Fire = { | |
1529 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1530 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1531 | prt.Anchored = true | |
1532 | prt.CFrame = cframe | |
1533 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1534 | game:GetService("Debris"):AddItem(prt, 10) | |
1535 | table.insert(Effects, { | |
1536 | prt, | |
1537 | "Fire", | |
1538 | delay, | |
1539 | 1, | |
1540 | 1, | |
1541 | 1, | |
1542 | msh | |
1543 | }) | |
1544 | end; | |
1545 | }; | |
1546 | ||
1547 | FireWave = { | |
1548 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1549 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
1550 | prt.Anchored = true | |
1551 | prt.CFrame = cframe | |
1552 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1553 | local d = Create("Decal"){ | |
1554 | Parent = prt, | |
1555 | Texture = "rbxassetid://26356434", | |
1556 | Face = "Top", | |
1557 | } | |
1558 | local d = Create("Decal"){ | |
1559 | Parent = prt, | |
1560 | Texture = "rbxassetid://26356434", | |
1561 | Face = "Bottom", | |
1562 | } | |
1563 | game:GetService("Debris"):AddItem(prt, 10) | |
1564 | table.insert(Effects, { | |
1565 | prt, | |
1566 | "FireWave", | |
1567 | 1, | |
1568 | 30, | |
1569 | math.random(400, 600) / 100, | |
1570 | msh | |
1571 | }) | |
1572 | end; | |
1573 | }; | |
1574 | ||
1575 | Lightning = { | |
1576 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1577 | local magz = (p0 - p1).magnitude | |
1578 | local curpos = p0 | |
1579 | local trz = { | |
1580 | -ofs, | |
1581 | ofs | |
1582 | } | |
1583 | for i = 1, tym do | |
1584 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1585 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1586 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1587 | li.Material = "Neon" | |
1588 | if tym == i then | |
1589 | local magz2 = (curpos - p1).magnitude | |
1590 | li.Size = Vector3.new(th, th, magz2) | |
1591 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1592 | table.insert(Effects, { | |
1593 | li, | |
1594 | "Disappear", | |
1595 | last | |
1596 | }) | |
1597 | else | |
1598 | do | |
1599 | do | |
1600 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1601 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1602 | game.Debris:AddItem(li, 10) | |
1603 | table.insert(Effects, { | |
1604 | li, | |
1605 | "Disappear", | |
1606 | last | |
1607 | }) | |
1608 | end | |
1609 | end | |
1610 | end | |
1611 | end | |
1612 | end | |
1613 | }; | |
1614 | ||
1615 | EffectTemplate = { | |
1616 | ||
1617 | }; | |
1618 | } | |
1619 | ||
1620 | function attackone() | |
1621 | attack = true | |
1622 | for i = 0, 1, 0.1 do | |
1623 | swait() | |
1624 | PlayAnimationFromTable({ | |
1625 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1626 | CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1627 | CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1628 | CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1629 | CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1630 | CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1631 | }, .3, false) | |
1632 | end | |
1633 | attack = false | |
1634 | end | |
1635 | ||
1636 | Mouse.Button1Down:connect(function() | |
1637 | if attack == false and attacktype == 1 then | |
1638 | attackone() | |
1639 | end | |
1640 | end) | |
1641 | ||
1642 | Mouse.KeyDown:connect(function(k) | |
1643 | k = k:lower() | |
1644 | if attack == false and k == '' then | |
1645 | ||
1646 | end | |
1647 | end) | |
1648 | ||
1649 | while true do | |
1650 | swait() | |
1651 | for i, v in pairs(Character:GetChildren()) do | |
1652 | if v:IsA("Part") then | |
1653 | v.Material = "SmoothPlastic" | |
1654 | elseif v:IsA("Accessory") then | |
1655 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1656 | end | |
1657 | end | |
1658 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1659 | velocity = RootPart.Velocity.y | |
1660 | sine = sine + change | |
1661 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1662 | if RootPart.Velocity.y > 1 and hit == nil then | |
1663 | Anim = "Jump" | |
1664 | if attack == false then | |
1665 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1666 | 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) | |
1667 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1668 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1669 | RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1670 | LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1671 | end | |
1672 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1673 | Anim = "Fall" | |
1674 | if attack == false then | |
1675 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1676 | 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) | |
1677 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1678 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1679 | RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1680 | LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1681 | end | |
1682 | elseif Torsovelocity < 1 and hit ~= nil then | |
1683 | Anim = "Idle" | |
1684 | if attack == false then | |
1685 | change = 1 | |
1686 | PlayAnimationFromTable({ | |
1687 | 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), | |
1688 | 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), | |
1689 | 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), | |
1690 | 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), | |
1691 | 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)), | |
1692 | 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)), | |
1693 | }, .3, false) | |
1694 | end | |
1695 | ||
1696 | elseif Torsovelocity > 2 and hit ~= nil then | |
1697 | Anim = "Walk" | |
1698 | if attack == false then | |
1699 | Character.Humanoid.WalkSpeed = 100 | |
1700 | PlayAnimationFromTable({ | |
1701 | 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), | |
1702 | 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), | |
1703 | 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))), | |
1704 | 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))), | |
1705 | 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)), | |
1706 | 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)), | |
1707 | }, .9, false) | |
1708 | end | |
1709 | end | |
1710 | if 0 < #Effects then | |
1711 | for e = 1, #Effects do | |
1712 | if Effects[e] ~= nil then | |
1713 | local Thing = Effects[e] | |
1714 | if Thing ~= nil then | |
1715 | local Part = Thing[1] | |
1716 | local Mode = Thing[2] | |
1717 | local Delay = Thing[3] | |
1718 | local IncX = Thing[4] | |
1719 | local IncY = Thing[5] | |
1720 | local IncZ = Thing[6] | |
1721 | if Thing[2] == "Shoot" then | |
1722 | local Look = Thing[1] | |
1723 | local move = 30 | |
1724 | if Thing[8] == 3 then | |
1725 | move = 10 | |
1726 | end | |
1727 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
1728 | if Thing[10] ~= nil then | |
1729 | da = pos | |
1730 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
1731 | cfa = CFrame.new(Thing[4], pos) | |
1732 | tehCF = cfa:lerp(cf2, 0.2) | |
1733 | Thing[1] = tehCF.lookVector | |
1734 | end | |
1735 | local mag = (Thing[4] - pos).magnitude | |
1736 | 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) | |
1737 | if Thing[8] == 2 then | |
1738 | 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) | |
1739 | end | |
1740 | Thing[4] = Thing[4] + Look * move | |
1741 | Thing[3] = Thing[3] - 1 | |
1742 | if 2 < Thing[5] then | |
1743 | Thing[5] = Thing[5] - 0.3 | |
1744 | Thing[6] = Thing[6] - 0.3 | |
1745 | end | |
1746 | if hit ~= nil then | |
1747 | Thing[3] = 0 | |
1748 | if Thing[8] == 1 or Thing[8] == 3 then | |
1749 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1750 | else | |
1751 | if Thing[8] == 2 then | |
1752 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1753 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
1754 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
1755 | ref.Anchored = true | |
1756 | ref.CFrame = CFrame.new(pos) | |
1757 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
1758 | game:GetService("Debris"):AddItem(ref, 0.2) | |
1759 | 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) | |
1760 | 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) | |
1761 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
1762 | end | |
1763 | end | |
1764 | end | |
1765 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
1766 | ref.Anchored = true | |
1767 | ref.CFrame = CFrame.new(pos) | |
1768 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
1769 | game:GetService("Debris"):AddItem(ref, 1) | |
1770 | end | |
1771 | if Thing[3] <= 0 then | |
1772 | table.remove(Effects, e) | |
1773 | end | |
1774 | end | |
1775 | do | |
1776 | do | |
1777 | if Thing[2] == "FireWave" then | |
1778 | if Thing[3] <= Thing[4] then | |
1779 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
1780 | Thing[3] = Thing[3] + 1 | |
1781 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
1782 | else | |
1783 | Part.Parent = nil | |
1784 | table.remove(Effects, e) | |
1785 | end | |
1786 | end | |
1787 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
1788 | if Thing[1].Transparency <= 1 then | |
1789 | if Thing[2] == "Block1" then | |
1790 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1791 | Mesh = Thing[7] | |
1792 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1793 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1794 | else | |
1795 | if Thing[2] == "Block2" then | |
1796 | Thing[1].CFrame = Thing[1].CFrame | |
1797 | Mesh = Thing[7] | |
1798 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1799 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1800 | else | |
1801 | if Thing[2] == "Fire" then | |
1802 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
1803 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1804 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1805 | else | |
1806 | if Thing[2] == "Cylinder" then | |
1807 | Mesh = Thing[7] | |
1808 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1809 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1810 | else | |
1811 | if Thing[2] == "Blood" then | |
1812 | Mesh = Thing[7] | |
1813 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
1814 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1815 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1816 | else | |
1817 | if Thing[2] == "Elec" then | |
1818 | Mesh = Thing[10] | |
1819 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1820 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1821 | else | |
1822 | if Thing[2] == "Disappear" then | |
1823 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1824 | end | |
1825 | end | |
1826 | end | |
1827 | end | |
1828 | end | |
1829 | end | |
1830 | end | |
1831 | else | |
1832 | Part.Parent = nil | |
1833 | table.remove(Effects, e) | |
1834 | end | |
1835 | end | |
1836 | end | |
1837 | end | |
1838 | end | |
1839 | end | |
1840 | end | |
1841 | end | |
1842 | end |