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 | --bird wings Gifted by harrypotterfan249, Local Script! | |
146 | --Jump Two Time | |
147 | --Down Press Q | |
148 | ||
149 | script.Parent = nil | |
150 | ||
151 | function fly() | |
152 | ||
153 | for i,v in pairs(script:GetChildren()) do | |
154 | ||
155 | pcall(function() v.Value = "" end) | |
156 | ||
157 | game:GetService("Debris"):AddItem(v,.1) | |
158 | ||
159 | end | |
160 | ||
161 | function weld(p0,p1,c0,c1,par) | |
162 | ||
163 | local w = Instance.new("Weld",p0 or par) | |
164 | ||
165 | w.Part0 = p0 | |
166 | ||
167 | w.Part1 = p1 | |
168 | ||
169 | w.C0 = c0 or CFrame.new() | |
170 | ||
171 | w.C1 = c1 or CFrame.new() | |
172 | ||
173 | return w | |
174 | ||
175 | end | |
176 | ||
177 | local motors = {} | |
178 | ||
179 | function motor(p0,p1,c0,c1,des,vel,par) | |
180 | ||
181 | local w = Instance.new("Motor6D",p0 or par) | |
182 | ||
183 | w.Part0 = p0 | |
184 | ||
185 | w.Part1 = p1 | |
186 | ||
187 | w.C0 = c0 or CFrame.new() | |
188 | ||
189 | w.C1 = c1 or CFrame.new() | |
190 | ||
191 | w.MaxVelocity = tonumber(vel) or .05 | |
192 | ||
193 | w.DesiredAngle = tonumber(des) or 0 | |
194 | ||
195 | return w | |
196 | ||
197 | end | |
198 | ||
199 | function lerp(a,b,c) | |
200 | ||
201 | return a+(b-a)*c | |
202 | ||
203 | end | |
204 | ||
205 | function clerp(c1,c2,al) | |
206 | ||
207 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
208 | ||
209 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
210 | ||
211 | for i,v in pairs(com1) do | |
212 | ||
213 | com1[i] = lerp(v,com2[i],al) | |
214 | ||
215 | end | |
216 | ||
217 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
218 | ||
219 | end | |
220 | ||
221 | function ccomplerp(c1,c2,al) | |
222 | ||
223 | local com1 = {c1:components()} | |
224 | ||
225 | local com2 = {c2:components()} | |
226 | ||
227 | for i,v in pairs(com1) do | |
228 | ||
229 | com1[i] = lerp(v,com2[i],al) | |
230 | ||
231 | end | |
232 | ||
233 | return CFrame.new(unpack(com1)) | |
234 | ||
235 | end | |
236 | ||
237 | function tickwave(time,length,offset) | |
238 | ||
239 | return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length | |
240 | ||
241 | end | |
242 | ||
243 | function invcol(c) | |
244 | ||
245 | c = c.Color | |
246 | ||
247 | return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r)) | |
248 | ||
249 | end | |
250 | ||
251 | local oc = oc or function(...) return ... end | |
252 | ||
253 | local plr = game.Players.LocalPlayer | |
254 | ||
255 | local char = plr.Character | |
256 | ||
257 | local tor = char.Torso | |
258 | ||
259 | local hum = char.Humanoid | |
260 | ||
261 | hum.PlatformStand = false | |
262 | ||
263 | pcall(function() | |
264 | ||
265 | char.Wings:Destroy() | |
266 | ||
267 | end) | |
268 | ||
269 | pcall(function() | |
270 | ||
271 | char.Angel:Destroy() -- hat | |
272 | ||
273 | end) | |
274 | ||
275 | local mod = Instance.new("Model",char) | |
276 | ||
277 | mod.Name = "Wings" | |
278 | ||
279 | local special = { | |
280 | ||
281 | --antiboomz0r = {"Really black","Institutional white",0,0,false,Color3.new(1,1,.95),Color3.new(1,1,.6)}, | |
282 | ||
283 | antiboomz0r = {"New Yeller",nil,0.4,0.7,true,Color3.new(1,1,.95),Color3.new(1,1,.6)}, | |
284 | ||
285 | --antiboomz0r = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)}, | |
286 | ||
287 | taart = {"Royal purple",nil,.4,.4,true}, | |
288 | ||
289 | mitta = {"Black",nil,0,0,false}, | |
290 | ||
291 | penjuin3 = {"White",nil,0,0,false}, | |
292 | ||
293 | thepc8110 = {"Black","Bright red",.5,0,false,Color3.new(1,0,0),Color3.new(0,0,0)}, | |
294 | ||
295 | nonspeaker = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)}, | |
296 | ||
297 | littleau999 = {"Reddish brown",1030,0,0,false}, | |
298 | ||
299 | unscripter = {"Really black","Really black",.2,0,true,Color3.new(0,0,0),Color3.new(0,0,0)}, | |
300 | ||
301 | oxcool1 = {"Really black","White",.2,0,false,Color3.new(0,0,0),Color3.new(0,0,0)}, | |
302 | ||
303 | krodmiss = {"Really black",nil,0,0,false}, | |
304 | ||
305 | } | |
306 | ||
307 | local topcolor = invcol(char.Torso.BrickColor) | |
308 | ||
309 | local feacolor = char.Torso.BrickColor | |
310 | ||
311 | local ptrans = 0 | |
312 | ||
313 | local pref = 0 | |
314 | ||
315 | local fire = false | |
316 | ||
317 | local fmcol = Color3.new() | |
318 | ||
319 | local fscol = Color3.new() | |
320 | ||
321 | local spec = special[plr.Name:lower()] | |
322 | ||
323 | if spec then | |
324 | ||
325 | topcolor,feacolor,ptrans,pref,fire,fmcol,fscol = spec[1] and BrickColor.new(spec[1]) or topcolor,spec[2] and BrickColor.new(spec[2]) or feacolor,spec[3],spec[4],spec[5],spec[6],spec[7] | |
326 | ||
327 | end | |
328 | ||
329 | local part = Instance.new("Part") | |
330 | ||
331 | part.FormFactor = "Custom" | |
332 | ||
333 | part.Size = Vector3.new(.2,.2,.2) | |
334 | ||
335 | part.TopSurface,part.BottomSurface = 0,0 | |
336 | ||
337 | part.CanCollide = false | |
338 | ||
339 | part.BrickColor = topcolor | |
340 | ||
341 | part.Transparency = ptrans | |
342 | ||
343 | part.Reflectance = pref | |
344 | ||
345 | local ef = Instance.new("Fire",fire and part or nil) | |
346 | ||
347 | ef.Size = .15 | |
348 | ||
349 | ef.Color = fmcol or Color3.new() | |
350 | ||
351 | ef.SecondaryColor = fscol or Color3.new() | |
352 | ||
353 | part:BreakJoints() | |
354 | ||
355 | ||
356 | function newpart() | |
357 | ||
358 | local clone = part:Clone() | |
359 | ||
360 | clone.Parent = mod | |
361 | ||
362 | clone:BreakJoints() | |
363 | ||
364 | return clone | |
365 | ||
366 | end | |
367 | ||
368 | local feath = newpart() | |
369 | ||
370 | feath.BrickColor = feacolor | |
371 | ||
372 | feath.Transparency = 0 | |
373 | ||
374 | Instance.new("SpecialMesh",feath).MeshType = "Sphere" | |
375 | ||
376 | function newfeather() | |
377 | ||
378 | local clone = feath:Clone() | |
379 | ||
380 | clone.Parent = mod | |
381 | ||
382 | clone:BreakJoints() | |
383 | ||
384 | return clone | |
385 | ||
386 | end | |
387 | ||
388 | ||
389 | ---------- RIGHT WING | |
390 | ||
391 | local r1 = newpart() | |
392 | ||
393 | r1.Size = Vector3.new(.3,1.5,.3)*1.2 | |
394 | ||
395 | local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1) | |
396 | ||
397 | local r2 = newpart() | |
398 | ||
399 | r2.Size = Vector3.new(.4,1.8,.4)*1.2 | |
400 | ||
401 | local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1) | |
402 | ||
403 | local r3 = newpart() | |
404 | ||
405 | r3.Size = Vector3.new(.3,2.2,.3)*1.2 | |
406 | ||
407 | local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1) | |
408 | ||
409 | local r4 = newpart() | |
410 | ||
411 | r4.Size = Vector3.new(.25,1.2,.25)*1.2 | |
412 | ||
413 | local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1) | |
414 | ||
415 | local feather = newfeather() | |
416 | ||
417 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
418 | ||
419 | feather.Size = Vector3.new(.4,3,.3) | |
420 | ||
421 | weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0)) | |
422 | ||
423 | feather = newfeather() | |
424 | ||
425 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
426 | ||
427 | feather.Size = Vector3.new(.4,2.3,.3) | |
428 | ||
429 | weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0)) | |
430 | ||
431 | feather = newfeather() | |
432 | ||
433 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
434 | ||
435 | feather.Size = Vector3.new(.35,2.2,.25) | |
436 | ||
437 | weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0)) | |
438 | ||
439 | local rf3 = {} | |
440 | ||
441 | for i=0,7 do | |
442 | ||
443 | feather = newfeather() | |
444 | ||
445 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
446 | ||
447 | feather.Size = Vector3.new(.45,2.2,.35) | |
448 | ||
449 | table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0))) | |
450 | ||
451 | end | |
452 | ||
453 | local rf2 = {} | |
454 | ||
455 | for i=0,6 do | |
456 | ||
457 | feather = newfeather() | |
458 | ||
459 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
460 | ||
461 | feather.Size = Vector3.new(.45,2.2-i*.08,.3) | |
462 | ||
463 | table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0))) | |
464 | ||
465 | end | |
466 | ||
467 | local rf1 = {} | |
468 | ||
469 | for i=0,6 do | |
470 | ||
471 | feather = newfeather() | |
472 | ||
473 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
474 | ||
475 | feather.Size = Vector3.new(.37,1.65-i*.06,.25) | |
476 | ||
477 | table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0))) | |
478 | ||
479 | end | |
480 | ||
481 | ---------- LEFT WING | |
482 | ||
483 | local l1 = newpart() | |
484 | ||
485 | l1.Size = Vector3.new(.3,1.5,.3)*1.2 | |
486 | ||
487 | local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1) | |
488 | ||
489 | local l2 = newpart() | |
490 | ||
491 | l2.Size = Vector3.new(.4,1.8,.4)*1.2 | |
492 | ||
493 | local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1) | |
494 | ||
495 | local l3 = newpart() | |
496 | ||
497 | l3.Size = Vector3.new(.3,2.2,.3)*1.2 | |
498 | ||
499 | local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1) | |
500 | ||
501 | local l4 = newpart() | |
502 | ||
503 | l4.Size = Vector3.new(.25,1.2,.25)*1.2 | |
504 | ||
505 | local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1) | |
506 | ||
507 | local feather = newfeather() | |
508 | ||
509 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
510 | ||
511 | feather.Size = Vector3.new(.4,3,.3) | |
512 | ||
513 | weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0)) | |
514 | ||
515 | feather = newfeather() | |
516 | ||
517 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
518 | ||
519 | feather.Size = Vector3.new(.4,2.3,.3) | |
520 | ||
521 | weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0)) | |
522 | ||
523 | feather = newfeather() | |
524 | ||
525 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
526 | ||
527 | feather.Size = Vector3.new(.35,2.2,.25) | |
528 | ||
529 | weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0)) | |
530 | ||
531 | local lf3 = {} | |
532 | ||
533 | for i=0,7 do | |
534 | ||
535 | feather = newfeather() | |
536 | ||
537 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
538 | ||
539 | feather.Size = Vector3.new(.45,2.2,.35) | |
540 | ||
541 | table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0))) | |
542 | ||
543 | end | |
544 | ||
545 | local lf2 = {} | |
546 | ||
547 | for i=0,6 do | |
548 | ||
549 | feather = newfeather() | |
550 | ||
551 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
552 | ||
553 | feather.Size = Vector3.new(.45,2.2-i*.08,.3) | |
554 | ||
555 | table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0))) | |
556 | ||
557 | end | |
558 | ||
559 | local lf1 = {} | |
560 | ||
561 | for i=0,6 do | |
562 | ||
563 | feather = newfeather() | |
564 | ||
565 | feather.Mesh.Scale = Vector3.new(1,1,1) | |
566 | ||
567 | feather.Size = Vector3.new(.37,1.65-i*.06,.25) | |
568 | ||
569 | table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0))) | |
570 | ||
571 | end | |
572 | ||
573 | local rwing = {rm1,rm2,rm3,rm4} | |
574 | ||
575 | local lwing = {lm1,lm2,lm3,lm4} | |
576 | ||
577 | local oc0 = {} | |
578 | ||
579 | for i,v in pairs(rwing) do | |
580 | ||
581 | oc0[v] = v.C0 | |
582 | ||
583 | end | |
584 | ||
585 | for i,v in pairs(lwing) do | |
586 | ||
587 | oc0[v] = v.C0 | |
588 | ||
589 | end | |
590 | ||
591 | function gotResized() | |
592 | ||
593 | if lastsize then | |
594 | ||
595 | if tor.Size == lastsize then return end -- This shouldn't happen? | |
596 | ||
597 | local scaleVec = tor.Size/lastsize | |
598 | ||
599 | for i,v in pairs(oc0) do | |
600 | ||
601 | oc0[i] = v-v.p+scaleVec*v.p | |
602 | ||
603 | end | |
604 | ||
605 | lastsize = tor.Size | |
606 | ||
607 | end | |
608 | ||
609 | lastsize = tor.Size | |
610 | ||
611 | end | |
612 | ||
613 | tor.Changed:connect(function(p) | |
614 | ||
615 | if p == "Size" then | |
616 | ||
617 | gotResized() | |
618 | ||
619 | end | |
620 | ||
621 | end) | |
622 | ||
623 | gotResized() | |
624 | ||
625 | local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;}--0,.3,0,0 | |
626 | ||
627 | local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0} | |
628 | ||
629 | local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0} | |
630 | ||
631 | local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0} | |
632 | ||
633 | local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0} | |
634 | ||
635 | local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0} | |
636 | ||
637 | ||
638 | function setwings(tab,time) | |
639 | ||
640 | time = time or 10 | |
641 | ||
642 | for i=1,4 do | |
643 | ||
644 | rwing[i].DesiredAngle = tab[i] | |
645 | ||
646 | lwing[i].DesiredAngle = tab[i] | |
647 | ||
648 | rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time | |
649 | ||
650 | lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time | |
651 | ||
652 | local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new()) | |
653 | ||
654 | local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new()) | |
655 | ||
656 | end | |
657 | ||
658 | for i,v in pairs(rf1) do | |
659 | ||
660 | v.DesiredAngle = tab[9] | |
661 | ||
662 | v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time | |
663 | ||
664 | end | |
665 | ||
666 | for i,v in pairs(lf1) do | |
667 | ||
668 | v.DesiredAngle = tab[9] | |
669 | ||
670 | v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time | |
671 | ||
672 | end | |
673 | ||
674 | for i,v in pairs(rf2) do | |
675 | ||
676 | v.DesiredAngle = tab[10] | |
677 | ||
678 | v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time | |
679 | ||
680 | end | |
681 | ||
682 | for i,v in pairs(lf2) do | |
683 | ||
684 | v.DesiredAngle = tab[10] | |
685 | ||
686 | v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time | |
687 | ||
688 | end | |
689 | ||
690 | for i,v in pairs(rf3) do | |
691 | ||
692 | v.DesiredAngle = tab[11] | |
693 | ||
694 | v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time | |
695 | ||
696 | end | |
697 | ||
698 | for i,v in pairs(lf3) do | |
699 | ||
700 | v.DesiredAngle = tab[11] | |
701 | ||
702 | v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time | |
703 | ||
704 | end | |
705 | ||
706 | end | |
707 | ||
708 | setwings(outhigh,1) | |
709 | ||
710 | flying = false | |
711 | ||
712 | moving = false | |
713 | ||
714 | for i,v in pairs(tor:GetChildren()) do | |
715 | ||
716 | if v.ClassName:lower():match("body") then | |
717 | ||
718 | v:Destroy() | |
719 | ||
720 | end | |
721 | ||
722 | end | |
723 | ||
724 | local ctor = tor:Clone() | |
725 | ||
726 | ctor:ClearAllChildren() | |
727 | ||
728 | ctor.Name = "cTorso" | |
729 | ||
730 | ctor.Transparency = 1 | |
731 | ||
732 | ctor.CanCollide = false | |
733 | ||
734 | ctor.FormFactor = "Custom" | |
735 | ||
736 | ctor.Size = Vector3.new(.2,.2,.2) | |
737 | ||
738 | ctor.Parent = mod | |
739 | ||
740 | weld(tor,ctor) | |
741 | ||
742 | local bg = Instance.new("BodyGyro",ctor) | |
743 | ||
744 | bg.maxTorque = Vector3.new() | |
745 | ||
746 | bg.P = 15000 | |
747 | ||
748 | bg.D = 1000 | |
749 | ||
750 | local bv = Instance.new("BodyVelocity",ctor) | |
751 | ||
752 | bv.maxForce = Vector3.new() | |
753 | ||
754 | bv.P = 15000 | |
755 | ||
756 | vel = Vector3.new() | |
757 | ||
758 | cf = CFrame.new() | |
759 | ||
760 | flspd = 0 | |
761 | ||
762 | ||
763 | keysdown = {} | |
764 | ||
765 | keypressed = {} | |
766 | ||
767 | ktime = {} | |
768 | ||
769 | descendtimer = 0 | |
770 | ||
771 | jumptime = tick() | |
772 | ||
773 | hum.Jumping:connect(function() | |
774 | ||
775 | jumptime = tick() | |
776 | ||
777 | end) | |
778 | ||
779 | cam = workspace.CurrentCamera | |
780 | ||
781 | kd = plr:GetMouse().KeyDown:connect(oc(function(key) | |
782 | ||
783 | keysdown[key] = true | |
784 | ||
785 | keypressed[key] = true | |
786 | ||
787 | if key == "q" then | |
788 | ||
789 | descendtimer = tick() | |
790 | ||
791 | elseif key == " " and not hum.Jump then | |
792 | ||
793 | jumptime = tick() | |
794 | ||
795 | elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then | |
796 | ||
797 | reqrotx = key == "a" and math.pi*2 or -math.pi*2 | |
798 | ||
799 | end | |
800 | ||
801 | ktime[key] = tick() | |
802 | ||
803 | end)) | |
804 | ||
805 | ku = plr:GetMouse().KeyUp:connect(function(key) | |
806 | ||
807 | keysdown[key] = false | |
808 | ||
809 | if key == " " then | |
810 | ||
811 | descendtimer = tick() | |
812 | ||
813 | end | |
814 | ||
815 | end) | |
816 | ||
817 | function mid(a,b,c) | |
818 | ||
819 | return math.max(a,math.min(b,c or -a)) | |
820 | ||
821 | end | |
822 | ||
823 | function bn(a) | |
824 | ||
825 | return a and 1 or 0 | |
826 | ||
827 | end | |
828 | ||
829 | function gm(tar) | |
830 | ||
831 | local m = 0 | |
832 | ||
833 | for i,v in pairs(tar:GetChildren()) do | |
834 | ||
835 | if v:IsA("BasePart") then | |
836 | ||
837 | m = m + v:GetMass() | |
838 | ||
839 | end | |
840 | ||
841 | m = m + gm(v) | |
842 | ||
843 | end | |
844 | ||
845 | return m | |
846 | ||
847 | end | |
848 | ||
849 | reqrotx = 0 | |
850 | ||
851 | local grav = 196.2 | |
852 | ||
853 | local con | |
854 | ||
855 | con = game:GetService("RunService").Stepped:connect(oc(function() | |
856 | ||
857 | --[[if not mod:IsDescendantOf(workspace) then | |
858 | ||
859 | pcall(function() kd:disconnect() end) | |
860 | ||
861 | pcall(function() ku:disconnect() end) | |
862 | ||
863 | bg:Destroy() | |
864 | ||
865 | bv:Destroy() | |
866 | ||
867 | con:disconnect() | |
868 | ||
869 | script:Destroy() | |
870 | ||
871 | return | |
872 | ||
873 | end]] | |
874 | ||
875 | local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity) | |
876 | ||
877 | local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z | |
878 | ||
879 | if flying then | |
880 | ||
881 | local lfldir = fldir | |
882 | ||
883 | fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit | |
884 | ||
885 | local lmoving = moving | |
886 | ||
887 | moving = fldir.magnitude > .1 | |
888 | ||
889 | if lmoving and not moving then | |
890 | ||
891 | idledir = lfldir*Vector3.new(1,0,1) | |
892 | ||
893 | descendtimer = tick() | |
894 | ||
895 | end | |
896 | ||
897 | local dbomb = fldir.Y < -.6 or (moving and keysdown["1"]) | |
898 | ||
899 | if moving and keysdown["0"] and lmoving then | |
900 | ||
901 | fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit | |
902 | ||
903 | end | |
904 | ||
905 | local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0)) | |
906 | ||
907 | local descending = (not moving and keysdown["q"] and not keysdown[" "]) | |
908 | ||
909 | cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07) | |
910 | ||
911 | local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05 | |
912 | ||
913 | hum.PlatformStand = true | |
914 | ||
915 | bg.maxTorque = Vector3.new(1,1,1)*9e5 | |
916 | ||
917 | local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector | |
918 | ||
919 | bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0) | |
920 | ||
921 | reqrotx = reqrotx - reqrotx/10 | |
922 | ||
923 | bv.maxForce = Vector3.new(1,1,1)*9e4*.5 | |
924 | ||
925 | local anioff =(bn(keysdown[" "])-bn(keysdown["q"]))/2 | |
926 | ||
927 | local ani = tickwave(1.5-anioff,1) | |
928 | ||
929 | bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["q"]))*15,0)+vel,.6) | |
930 | ||
931 | vel = moving and cf.lookVector*flspd or Vector3.new() | |
932 | ||
933 | flspd = math.min(120,lerp(flspd,moving and (fldir.Y<0 and flspd+(-fldir.Y)*grav/60 or math.max(50,flspd-fldir.Y*grav/300)) or 60,.4)) | |
934 | ||
935 | setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15) | |
936 | ||
937 | for i=1,4 do | |
938 | ||
939 | --CFrame.Angles(-.5+bn(i==3)*2.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) | |
940 | ||
941 | rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2) | |
942 | ||
943 | lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2) | |
944 | ||
945 | end | |
946 | ||
947 | local hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),{char}) | |
948 | ||
949 | if hit and down.Y < -.85 and tick()-flystart > 1 then | |
950 | ||
951 | flying = false | |
952 | ||
953 | hum.PlatformStand = false | |
954 | ||
955 | tor.Velocity = Vector3.new() | |
956 | ||
957 | end | |
958 | ||
959 | else | |
960 | ||
961 | bg.maxTorque = Vector3.new() | |
962 | ||
963 | bv.maxForce = Vector3.new() | |
964 | ||
965 | local ani = tickwave(walking and .8 or 4.5,1) | |
966 | ||
967 | setwings(idle,10) | |
968 | ||
969 | local x,y,z = fspd/160,uspd/700,sspd/900 | |
970 | ||
971 | for i=1,4 do | |
972 | ||
973 | rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)),.2) | |
974 | ||
975 | lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)),.2) | |
976 | ||
977 | end | |
978 | ||
979 | if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then | |
980 | ||
981 | vel = Vector3.new(0,50,0) | |
982 | ||
983 | bv.velocity = vel | |
984 | ||
985 | idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1) | |
986 | ||
987 | cf = tor.CFrame * CFrame.Angles(-.01,0,0) | |
988 | ||
989 | tor.CFrame = cf | |
990 | ||
991 | bg.cframe = cf | |
992 | ||
993 | flystart = tick() | |
994 | ||
995 | flying = true | |
996 | ||
997 | end | |
998 | ||
999 | end | |
1000 | ||
1001 | keypressed = {} | |
1002 | ||
1003 | end)) | |
1004 | ||
1005 | ||
1006 | ||
1007 | end fly() | |
1008 | ||
1009 | --Bird Wings By Rosemarijohn2 | |
1010 | ||
1011 | ||
1012 | ||
1013 | ||
1014 | ||
1015 | ||
1016 | ||
1017 | ||
1018 | ||
1019 | ||
1020 | ||
1021 | ||
1022 | ||
1023 | ||
1024 | ||
1025 | ||
1026 | ||
1027 | ||
1028 | ||
1029 | ||
1030 | ||
1031 | --[[Nemessis.Inc]]-- | |
1032 | --[[Nemessis.Inc Members]]-- | |
1033 | --[[Ki_tchen [Owner] ]]-- | |
1034 | --[[Mewy23 CO-OWNER]]-- | |
1035 | --[[Unknown]]-- | |
1036 | --[[Unknown]]-- | |
1037 | --[[Unknown]]-- | |
1038 | --[[Unknown]]-- | |
1039 | --[[Unknown]]-- | |
1040 | --[[Unknown]]-- | |
1041 | --[[Unknown]]-- | |
1042 | ||
1043 | --[[Every Script we release a new member will be shown.]]-- | |
1044 | ||
1045 | --[[Nemessis.Inc Out.]]-- | |
1046 | ||
1047 | wait(1 / 60) | |
1048 | -- Trail Made by Gallizur | |
1049 | --R15 Compatible in TrailSettings | |
1050 | local Player = game:GetService('Players').LocalPlayer | |
1051 | repeat wait() until Player.Character | |
1052 | local Character = Player.Character | |
1053 | ||
1054 | --All The Settings for Trails in this Script | |
1055 | TrailSettings = { | |
1056 | Lifetime = 0.5, | |
1057 | Texture = 'rbxassetid://31270182', | |
1058 | --Color1 is for UpperBody and Accessories, Color2 is for Lower Body | |
1059 | Color1 = ColorSequence.new(BrickColor.new('Toothpaste').Color,BrickColor.new('Royal purple').Color), | |
1060 | Color2 = ColorSequence.new(BrickColor.new('Institutional white').Color,BrickColor.new('Really black').Color), | |
1061 | AllBody = true, | |
1062 | UpperBodyOnly = false, | |
1063 | LowerBodyOnly = false, | |
1064 | Accessories = false, | |
1065 | Extras = true, | |
1066 | R15 = false, --Change to true if you're using R15 | |
1067 | R15Parts = { | |
1068 | 'UpperTorso', | |
1069 | 'LowerTorso', | |
1070 | } | |
1071 | } | |
1072 | ||
1073 | local Trail; --Making other Trails uses this in this Script | |
1074 | ||
1075 | --UpperBody Function | |
1076 | UpperBody = function() | |
1077 | if TrailSettings.R15 == false then | |
1078 | A0 = Instance.new('Attachment',Character.Torso) | |
1079 | A1 = Instance.new('Attachment',Character.Head) | |
1080 | A2 = Instance.new('Attachment',Character['Right Arm']) | |
1081 | A3 = Instance.new('Attachment',Character['Left Arm']) | |
1082 | Trail = Instance.new('Trail',Character) | |
1083 | Trail.Attachment0 = A0 | |
1084 | Trail.Attachment1 = A1 | |
1085 | Trail.Texture = TrailSettings.Texture | |
1086 | Trail.Color = TrailSettings.Color1 | |
1087 | Trail.Lifetime = TrailSettings.Lifetime | |
1088 | local Trail2 = Trail:Clone() | |
1089 | Trail2.Parent = Character | |
1090 | Trail2.Attachment1 = A2 | |
1091 | local Trail3 = Trail:Clone() | |
1092 | Trail3.Parent = Character | |
1093 | Trail3.Attachment1 = A3 | |
1094 | local Trail6 = Trail:Clone() | |
1095 | Trail6.Parent = Character | |
1096 | Trail6.Attachment0 = A1 | |
1097 | Trail6.Attachment1 = A2 | |
1098 | local Trail7 = Trail:Clone() | |
1099 | Trail7.Parent = Character | |
1100 | Trail7.Attachment0 = A1 | |
1101 | Trail7.Attachment1 = A3 | |
1102 | else | |
1103 | A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]]) | |
1104 | A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]]) | |
1105 | A1 = Instance.new('Attachment',Character.Head) | |
1106 | A2 = Instance.new('Attachment',Character['RightUpperArm']) | |
1107 | A2R = Instance.new('Attachment',Character['RightLowerArm']) | |
1108 | A3 = Instance.new('Attachment',Character['LeftUpperArm']) | |
1109 | A3R = Instance.new('Attachment',Character['LeftLowerArm']) | |
1110 | Trail = Instance.new('Trail',Character) | |
1111 | Trail.Attachment0 = A0 | |
1112 | Trail.Attachment1 = A1 | |
1113 | Trail.Texture = TrailSettings.Texture | |
1114 | Trail.Color = TrailSettings.Color1 | |
1115 | Trail.Lifetime = TrailSettings.Lifetime | |
1116 | local Trail2 = Trail:Clone() | |
1117 | Trail2.Parent = Character | |
1118 | Trail2.Attachment1 = A2 | |
1119 | local Trail3 = Trail:Clone() | |
1120 | Trail3.Parent = Character | |
1121 | Trail3.Attachment1 = A3 | |
1122 | local Trail6 = Trail:Clone() | |
1123 | Trail6.Parent = Character | |
1124 | Trail6.Attachment0 = A1 | |
1125 | Trail6.Attachment1 = A2 | |
1126 | local Trail7 = Trail:Clone() | |
1127 | Trail7.Parent = Character | |
1128 | Trail7.Attachment0 = A1 | |
1129 | Trail7.Attachment1 = A3 | |
1130 | --R15 Trails | |
1131 | local Trail1R = Trail:Clone() | |
1132 | Trail1R.Parent = Character | |
1133 | Trail1R.Attachment1 = A2R | |
1134 | local Trail2R = Trail:Clone() | |
1135 | Trail2R.Parent = Character | |
1136 | Trail2R.Attachment1 = A3R | |
1137 | local Trail6R = Trail:Clone() | |
1138 | Trail6.Parent = Character | |
1139 | Trail6.Attachment0 = A1 | |
1140 | Trail6.Attachment1 = A2R | |
1141 | local Trail7R = Trail:Clone() | |
1142 | Trail7.Parent = Character | |
1143 | Trail7.Attachment0 = A1 | |
1144 | Trail7.Attachment1 = A3R | |
1145 | end | |
1146 | end | |
1147 | ||
1148 | --Lower Body Function | |
1149 | LowerBody = function() | |
1150 | if TrailSettings.R15 == false then | |
1151 | A4 = Instance.new('Attachment',Character['Right Leg']) | |
1152 | A5 = Instance.new('Attachment',Character['Left Leg']) | |
1153 | local Trail4 = Trail:Clone() | |
1154 | Trail4.Parent = Character | |
1155 | Trail4.Attachment1 = A4 | |
1156 | local Trail5 = Trail:Clone() | |
1157 | Trail5.Parent = Character | |
1158 | Trail5.Attachment1 = A5 | |
1159 | local Trail8 = Trail:Clone() | |
1160 | Trail8.Parent = Character | |
1161 | Trail8.Attachment0 = A2 | |
1162 | Trail8.Attachment1 = A4 | |
1163 | Trail8.Color = TrailSettings.Color2 | |
1164 | local Trail9 = Trail:Clone() | |
1165 | Trail9.Parent = Character | |
1166 | Trail9.Attachment0 = A3 | |
1167 | Trail9.Attachment1 = A5 | |
1168 | Trail9.Color = TrailSettings.Color2 | |
1169 | local FT = Trail:Clone() | |
1170 | FT.Parent = Character | |
1171 | FT.Attachment0 = A4 | |
1172 | FT.Attachment1 = A5 | |
1173 | FT.Color = TrailSettings.Color2 | |
1174 | else | |
1175 | A4 = Instance.new('Attachment',Character['RightLowerLeg']) | |
1176 | A4R = Instance.new('Attachment',Character['RightUpperLeg']) | |
1177 | A5 = Instance.new('Attachment',Character['LeftLowerLeg']) | |
1178 | A5R = Instance.new('Attachment',Character['LeftUpperLeg']) | |
1179 | local Trail4 = Trail:Clone() | |
1180 | Trail4.Parent = Character | |
1181 | Trail4.Attachment1 = A4 | |
1182 | local Trail5 = Trail:Clone() | |
1183 | Trail5.Parent = Character | |
1184 | Trail5.Attachment1 = A5 | |
1185 | local Trail8 = Trail:Clone() | |
1186 | Trail8.Parent = Character | |
1187 | Trail8.Attachment0 = A2 | |
1188 | Trail8.Attachment1 = A4 | |
1189 | Trail8.Color = TrailSettings.Color2 | |
1190 | local Trail9 = Trail:Clone() | |
1191 | Trail9.Parent = Character | |
1192 | Trail9.Attachment0 = A3 | |
1193 | Trail9.Attachment1 = A5 | |
1194 | Trail9.Color = TrailSettings.Color2 | |
1195 | local FT = Trail:Clone() | |
1196 | FT.Parent = Character | |
1197 | FT.Attachment0 = A4 | |
1198 | FT.Attachment1 = A5 | |
1199 | FT.Color = TrailSettings.Color2 | |
1200 | --R15 Trails | |
1201 | local Trail3R = Trail:Clone() | |
1202 | Trail3R.Parent = Character | |
1203 | Trail3R.Attachment1 = A4R | |
1204 | local Trail4R = Trail:Clone() | |
1205 | Trail4R.Parent = Character | |
1206 | Trail4R.Attachment1 = A5R | |
1207 | local Trail8 = Trail:Clone() | |
1208 | Trail8.Parent = Character | |
1209 | Trail8.Attachment0 = A2R | |
1210 | Trail8.Attachment1 = A4R | |
1211 | Trail8.Color = TrailSettings.Color2 | |
1212 | local Trail9 = Trail:Clone() | |
1213 | Trail9.Parent = Character | |
1214 | Trail9.Attachment0 = A3R | |
1215 | Trail9.Attachment1 = A5R | |
1216 | Trail9.Color = TrailSettings.Color2 | |
1217 | local FT2R = Trail:Clone() | |
1218 | FT2R.Parent = Character | |
1219 | FT2R.Attachment0 = A4R | |
1220 | FT2R.Attachment1 = A5R | |
1221 | FT2R.Color = TrailSettings.Color2 | |
1222 | end | |
1223 | end | |
1224 | ||
1225 | --All Body Function calling Both Functions | |
1226 | AllBody = function() | |
1227 | UpperBody() | |
1228 | LowerBody() | |
1229 | end | |
1230 | ||
1231 | --Checking to make sure that Only some Variables are Selected else do All Body | |
1232 | if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
1233 | TrailSettings.UpperBodyOnly = false | |
1234 | TrailSettings.LowerBodyOnly = false | |
1235 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then | |
1236 | TrailSettings.UpperBodyOnly = false | |
1237 | TrailSettings.LowerBodyOnly = false | |
1238 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then | |
1239 | TrailSettings.UpperBodyOnly = false | |
1240 | TrailSettings.LowerBodyOnly = false | |
1241 | elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
1242 | TrailSettings.AllBody = true | |
1243 | TrailSettings.UpperBodyOnly = false | |
1244 | TrailSettings.LowerBodyOnly = false | |
1245 | end | |
1246 | ||
1247 | --Call Trail Functions | |
1248 | if TrailSettings.UpperBodyOnly == true then | |
1249 | UpperBody() | |
1250 | print('Called Upper Body Trail') | |
1251 | elseif TrailSettings.LowerBodyOnly == true then | |
1252 | LowerBody() | |
1253 | print('Called Lower Body Trail') | |
1254 | elseif TrailSettings.AllBody == true then | |
1255 | AllBody() | |
1256 | print('Called Full Body Trail') | |
1257 | end | |
1258 | ||
1259 | --Trails for Accessories | |
1260 | if TrailSettings.Accessories == true then | |
1261 | for Index,Item in pairs(Character:GetChildren()) do | |
1262 | if Item:IsA'Accessory' then | |
1263 | local AA = Instance.new('Attachment',Item.Handle) | |
1264 | local ATrail = Trail:Clone() | |
1265 | ATrail.Parent = Character | |
1266 | ATrail.Attachment1 = AA | |
1267 | end | |
1268 | end | |
1269 | end | |
1270 | ||
1271 | --Extras | |
1272 | if TrailSettings.Extras == true then | |
1273 | --Making an Invisible Platform Part | |
1274 | local a = Instance.new('Part',Character) | |
1275 | a.CanCollide = false | |
1276 | a.Size = Vector3.new(2,.2,2) | |
1277 | a.Transparency = 1 | |
1278 | ||
1279 | --Constantly putting it under your feet | |
1280 | if TrailSettings.R15 == false then | |
1281 | spawn(function() | |
1282 | game:GetService('RunService').RenderStepped:connect(function() | |
1283 | a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0) | |
1284 | end) | |
1285 | end) | |
1286 | else | |
1287 | spawn(function() | |
1288 | game:GetService('RunService').RenderStepped:connect(function() | |
1289 | a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0) | |
1290 | end) | |
1291 | end) | |
1292 | end | |
1293 | ||
1294 | --Make a Trail from both feet to the Platform | |
1295 | spawn(function() | |
1296 | repeat wait() until Trail | |
1297 | local AB = Instance.new('Attachment',a) | |
1298 | local ABT = Trail:Clone() | |
1299 | ABT.Parent = Character | |
1300 | ABT.Attachment0 = A4 | |
1301 | ABT.Attachment1 = AB | |
1302 | ABT.Color = TrailSettings.Color2 | |
1303 | local ABT2 = Trail:Clone() | |
1304 | ABT2.Parent = Character | |
1305 | ABT2.Attachment0 = A5 | |
1306 | ABT2.Attachment1 = AB | |
1307 | ABT2.Color = TrailSettings.Color2 | |
1308 | end) | |
1309 | end | |
1310 | ||
1311 | Effects = { } | |
1312 | local Player = game.Players.localPlayer | |
1313 | local Character = Player.Character | |
1314 | local Humanoid = Character.Humanoid | |
1315 | local Mouse = Player:GetMouse() | |
1316 | local LeftArm = Character["Left Arm"] | |
1317 | local RightArm = Character["Right Arm"] | |
1318 | local LeftLeg = Character["Left Leg"] | |
1319 | local RightLeg = Character["Right Leg"] | |
1320 | local Head = Character.Head | |
1321 | local Torso = Character.Torso | |
1322 | local Camera = game.Workspace.CurrentCamera | |
1323 | local RootPart = Character.HumanoidRootPart | |
1324 | local RootJoint = RootPart.RootJoint | |
1325 | local attack = false | |
1326 | local Anim = 'Idle' | |
1327 | local attacktype = 1 | |
1328 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1329 | local velocity = RootPart.Velocity.y | |
1330 | local sine = 0 | |
1331 | local change = 1 | |
1332 | local Create = LoadLibrary("RbxUtility").Create | |
1333 | local sick = Instance.new("Sound",Character.Torso) | |
1334 | sick.SoundId = "rbxassetid://869000977" | |
1335 | sick.Looped = true | |
1336 | sick.Pitch = 1 | |
1337 | sick.Volume = 1 | |
1338 | sick:Play() | |
1339 | ||
1340 | local m = Create("Model"){ | |
1341 | Parent = Character, | |
1342 | Name = "WeaponModel", | |
1343 | } | |
1344 | ||
1345 | Humanoid.Animator.Parent = nil | |
1346 | Character.Animate.Parent = nil | |
1347 | ||
1348 | local newMotor = function(part0, part1, c0, c1) | |
1349 | local w = Create('Motor'){ | |
1350 | Parent = part0, | |
1351 | Part0 = part0, | |
1352 | Part1 = part1, | |
1353 | C0 = c0, | |
1354 | C1 = c1, | |
1355 | } | |
1356 | return w | |
1357 | end | |
1358 | ||
1359 | function clerp(a, b, t) | |
1360 | return a:lerp(b, t) | |
1361 | end | |
1362 | ||
1363 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
1364 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1365 | ||
1366 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
1367 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
1368 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
1369 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
1370 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
1371 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
1372 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
1373 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
1374 | ||
1375 | local rarmc1 = RW.C1 | |
1376 | local larmc1 = LW.C1 | |
1377 | local rlegc1 = RH.C1 | |
1378 | local llegc1 = LH.C1 | |
1379 | ||
1380 | local resetc1 = false | |
1381 | ||
1382 | function PlayAnimationFromTable(table, speed, bool) | |
1383 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
1384 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
1385 | RW.C0 = clerp(RW.C0, table[3], speed) | |
1386 | LW.C0 = clerp(LW.C0, table[4], speed) | |
1387 | RH.C0 = clerp(RH.C0, table[5], speed) | |
1388 | LH.C0 = clerp(LH.C0, table[6], speed) | |
1389 | if bool == true then | |
1390 | if resetc1 == false then | |
1391 | resetc1 = true | |
1392 | RootJoint.C1 = RootJoint.C1 | |
1393 | Torso.Neck.C1 = Torso.Neck.C1 | |
1394 | RW.C1 = rarmc1 | |
1395 | LW.C1 = larmc1 | |
1396 | RH.C1 = rlegc1 | |
1397 | LH.C1 = llegc1 | |
1398 | end | |
1399 | end | |
1400 | end | |
1401 | ||
1402 | ArtificialHB = Create("BindableEvent", script){ | |
1403 | Parent = script, | |
1404 | Name = "Heartbeat", | |
1405 | } | |
1406 | ||
1407 | script:WaitForChild("Heartbeat") | |
1408 | ||
1409 | frame = 1 / 30 | |
1410 | tf = 0 | |
1411 | allowframeloss = false | |
1412 | tossremainder = false | |
1413 | lastframe = tick() | |
1414 | script.Heartbeat:Fire() | |
1415 | ||
1416 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1417 | tf = tf + s | |
1418 | if tf >= frame then | |
1419 | if allowframeloss then | |
1420 | script.Heartbeat:Fire() | |
1421 | lastframe = tick() | |
1422 | else | |
1423 | for i = 1, math.floor(tf / frame) do | |
1424 | script.Heartbeat:Fire() | |
1425 | end | |
1426 | lastframe = tick() | |
1427 | end | |
1428 | if tossremainder then | |
1429 | tf = 0 | |
1430 | else | |
1431 | tf = tf - frame * math.floor(tf / frame) | |
1432 | end | |
1433 | end | |
1434 | end) | |
1435 | ||
1436 | function swait(num) | |
1437 | if num == 0 or num == nil then | |
1438 | ArtificialHB.Event:wait() | |
1439 | else | |
1440 | for i = 0, num do | |
1441 | ArtificialHB.Event:wait() | |
1442 | end | |
1443 | end | |
1444 | end | |
1445 | ||
1446 | function RemoveOutlines(part) | |
1447 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1448 | end | |
1449 | ||
1450 | CFuncs = { | |
1451 | Part = { | |
1452 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1453 | local Part = Create("Part"){ | |
1454 | Parent = Parent, | |
1455 | Reflectance = Reflectance, | |
1456 | Transparency = Transparency, | |
1457 | CanCollide = false, | |
1458 | Locked = true, | |
1459 | BrickColor = BrickColor.new(tostring(BColor)), | |
1460 | Name = Name, | |
1461 | Size = Size, | |
1462 | Material = Material, | |
1463 | } | |
1464 | RemoveOutlines(Part) | |
1465 | return Part | |
1466 | end; | |
1467 | }; | |
1468 | ||
1469 | Mesh = { | |
1470 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1471 | local Msh = Create(Mesh){ | |
1472 | Parent = Part, | |
1473 | Offset = OffSet, | |
1474 | Scale = Scale, | |
1475 | } | |
1476 | if Mesh == "SpecialMesh" then | |
1477 | Msh.MeshType = MeshType | |
1478 | Msh.MeshId = MeshId | |
1479 | end | |
1480 | return Msh | |
1481 | end; | |
1482 | }; | |
1483 | ||
1484 | Weld = { | |
1485 | Create = function(Parent, Part0, Part1, C0, C1) | |
1486 | local Weld = Create("Weld"){ | |
1487 | Parent = Parent, | |
1488 | Part0 = Part0, | |
1489 | Part1 = Part1, | |
1490 | C0 = C0, | |
1491 | C1 = C1, | |
1492 | } | |
1493 | return Weld | |
1494 | end; | |
1495 | }; | |
1496 | ||
1497 | Sound = { | |
1498 | Create = function(id, par, vol, pit) | |
1499 | coroutine.resume(coroutine.create(function() | |
1500 | local Sound = Create("Sound"){ | |
1501 | Volume = vol, | |
1502 | Pitch = pit or 1, | |
1503 | SoundId = "rbxassetid://" .. id, | |
1504 | Parent = par or workspace, | |
1505 | } | |
1506 | Sound:play() | |
1507 | game:GetService("Debris"):AddItem(Sound, 10) | |
1508 | end)) | |
1509 | end; | |
1510 | }; | |
1511 | ||
1512 | Decal = { | |
1513 | Create = function(Color, Texture, Transparency, Name, Parent) | |
1514 | local Decal = Create("Decal"){ | |
1515 | Color3 = Color, | |
1516 | Texture = "rbxassetid://" .. Texture, | |
1517 | Transparency = Transparency, | |
1518 | Name = Name, | |
1519 | Parent = Parent, | |
1520 | } | |
1521 | return Decal | |
1522 | end; | |
1523 | }; | |
1524 | ||
1525 | BillboardGui = { | |
1526 | Create = function(Parent, Image, Position, Size) | |
1527 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1)) | |
1528 | BillPar.CFrame = CFrame.new(Position) | |
1529 | local Bill = Create("BillboardGui"){ | |
1530 | Parent = BillPar, | |
1531 | Adornee = BillPar, | |
1532 | Size = UDim2.new(1, 0, 1, 0), | |
1533 | SizeOffset = Vector2.new(Size, Size), | |
1534 | } | |
1535 | local d = Create("ImageLabel", Bill){ | |
1536 | Parent = Bill, | |
1537 | BackgroundTransparency = 1, | |
1538 | Size = UDim2.new(1, 0, 1, 0), | |
1539 | Image = "rbxassetid://" .. Image, | |
1540 | } | |
1541 | return BillPar | |
1542 | end | |
1543 | }; | |
1544 | ||
1545 | ParticleEmitter = { | |
1546 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
1547 | local Particle = Create("ParticleEmitter"){ | |
1548 | Parent = Parent, | |
1549 | Color = ColorSequence.new(Color1, Color2), | |
1550 | LightEmission = LightEmission, | |
1551 | Size = Size, | |
1552 | Texture = Texture, | |
1553 | Transparency = Transparency, | |
1554 | ZOffset = ZOffset, | |
1555 | Acceleration = Accel, | |
1556 | Drag = Drag, | |
1557 | LockedToPart = LockedToPart, | |
1558 | VelocityInheritance = VelocityInheritance, | |
1559 | EmissionDirection = EmissionDirection, | |
1560 | Enabled = Enabled, | |
1561 | Lifetime = LifeTime, | |
1562 | Rate = Rate, | |
1563 | Rotation = Rotation, | |
1564 | RotSpeed = RotSpeed, | |
1565 | Speed = Speed, | |
1566 | VelocitySpread = VelocitySpread, | |
1567 | } | |
1568 | return Particle | |
1569 | end; | |
1570 | }; | |
1571 | ||
1572 | CreateTemplate = { | |
1573 | ||
1574 | }; | |
1575 | } | |
1576 | ||
1577 | function rayCast(Position, Direction, Range, Ignore) | |
1578 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1579 | end | |
1580 | ||
1581 | FindNearestTorso = function(pos) | |
1582 | local list = (game.Workspace:children()) | |
1583 | local torso = nil | |
1584 | local dist = 1000 | |
1585 | local temp, human, temp2 = nil, nil, nil | |
1586 | for x = 1, #list do | |
1587 | temp2 = list[x] | |
1588 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
1589 | temp = temp2:findFirstChild("Torso") | |
1590 | human = temp2:findFirstChild("Humanoid") | |
1591 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
1592 | local dohit = true | |
1593 | if dohit == true then | |
1594 | torso = temp | |
1595 | dist = (temp.Position - pos).magnitude | |
1596 | end | |
1597 | end | |
1598 | end | |
1599 | end | |
1600 | return torso, dist | |
1601 | end | |
1602 | ||
1603 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1604 | if hit.Parent == nil then | |
1605 | return | |
1606 | end | |
1607 | local h = hit.Parent:FindFirstChild("Humanoid") | |
1608 | for _, v in pairs(hit.Parent:children()) do | |
1609 | if v:IsA("Humanoid") then | |
1610 | h = v | |
1611 | end | |
1612 | end | |
1613 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
1614 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
1615 | if hit.Parent.DebounceHit.Value == true then | |
1616 | return | |
1617 | end | |
1618 | end | |
1619 | local c = Create("ObjectValue"){ | |
1620 | Name = "creator", | |
1621 | Value = game:service("Players").LocalPlayer, | |
1622 | Parent = h, | |
1623 | } | |
1624 | game:GetService("Debris"):AddItem(c, .5) | |
1625 | if HitSound ~= nil and HitPitch ~= nil then | |
1626 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1627 | end | |
1628 | local Damage = math.random(minim, maxim) | |
1629 | local blocked = false | |
1630 | local block = hit.Parent:findFirstChild("Block") | |
1631 | if block ~= nil then | |
1632 | if block.className == "IntValue" then | |
1633 | if block.Value > 0 then | |
1634 | blocked = true | |
1635 | block.Value = block.Value - 1 | |
1636 | print(block.Value) | |
1637 | end | |
1638 | end | |
1639 | end | |
1640 | if blocked == false then | |
1641 | h.Health = h.Health - Damage | |
1642 | 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) | |
1643 | else | |
1644 | h.Health = h.Health - (Damage / 2) | |
1645 | 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) | |
1646 | end | |
1647 | if Type == "Knockdown" then | |
1648 | local hum = hit.Parent.Humanoid | |
1649 | hum.PlatformStand = true | |
1650 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1651 | swait(1) | |
1652 | HHumanoid.PlatformStand = false | |
1653 | end), hum) | |
1654 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
1655 | local bodvol = Create("BodyVelocity"){ | |
1656 | velocity = angle * knockback, | |
1657 | P = 5000, | |
1658 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1659 | Parent = hit, | |
1660 | } | |
1661 | local rl = Create("BodyAngularVelocity"){ | |
1662 | P = 3000, | |
1663 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1664 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1665 | Parent = hit, | |
1666 | } | |
1667 | game:GetService("Debris"):AddItem(bodvol, .5) | |
1668 | game:GetService("Debris"):AddItem(rl, .5) | |
1669 | elseif Type == "Normal" then | |
1670 | local vp = Create("BodyVelocity"){ | |
1671 | P = 500, | |
1672 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1673 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
1674 | } | |
1675 | if knockback > 0 then | |
1676 | vp.Parent = hit.Parent.Torso | |
1677 | end | |
1678 | game:GetService("Debris"):AddItem(vp, .5) | |
1679 | elseif Type == "Up" then | |
1680 | local bodyVelocity = Create("BodyVelocity"){ | |
1681 | velocity = Vector3.new(0, 20, 0), | |
1682 | P = 5000, | |
1683 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1684 | Parent = hit, | |
1685 | } | |
1686 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
1687 | elseif Type == "DarkUp" then | |
1688 | coroutine.resume(coroutine.create(function() | |
1689 | for i = 0, 1, 0.1 do | |
1690 | swait() | |
1691 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
1692 | end | |
1693 | end)) | |
1694 | local bodyVelocity = Create("BodyVelocity"){ | |
1695 | velocity = Vector3.new(0, 20, 0), | |
1696 | P = 5000, | |
1697 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1698 | Parent = hit, | |
1699 | } | |
1700 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1701 | elseif Type == "Snare" then | |
1702 | local bp = Create("BodyPosition"){ | |
1703 | P = 2000, | |
1704 | D = 100, | |
1705 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1706 | position = hit.Parent.Torso.Position, | |
1707 | Parent = hit.Parent.Torso, | |
1708 | } | |
1709 | game:GetService("Debris"):AddItem(bp, 1) | |
1710 | elseif Type == "Freeze" then | |
1711 | local BodPos = Create("BodyPosition"){ | |
1712 | P = 50000, | |
1713 | D = 1000, | |
1714 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1715 | position = hit.Parent.Torso.Position, | |
1716 | Parent = hit.Parent.Torso, | |
1717 | } | |
1718 | local BodGy = Create("BodyGyro") { | |
1719 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
1720 | P = 20e+003, | |
1721 | Parent = hit.Parent.Torso, | |
1722 | cframe = hit.Parent.Torso.CFrame, | |
1723 | } | |
1724 | hit.Parent.Torso.Anchored = true | |
1725 | coroutine.resume(coroutine.create(function(Part) | |
1726 | swait(1.5) | |
1727 | Part.Anchored = false | |
1728 | end), hit.Parent.Torso) | |
1729 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1730 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1731 | end | |
1732 | local debounce = Create("BoolValue"){ | |
1733 | Name = "DebounceHit", | |
1734 | Parent = hit.Parent, | |
1735 | Value = true, | |
1736 | } | |
1737 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1738 | c = Create("ObjectValue"){ | |
1739 | Name = "creator", | |
1740 | Value = Player, | |
1741 | Parent = h, | |
1742 | } | |
1743 | game:GetService("Debris"):AddItem(c, .5) | |
1744 | end | |
1745 | end | |
1746 | ||
1747 | function ShowDamage(Pos, Text, Time, Color) | |
1748 | local Rate = (1 / 30) | |
1749 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1750 | local Text = (Text or "") | |
1751 | local Time = (Time or 2) | |
1752 | local Color = (Color or Color3.new(1, 0, 1)) | |
1753 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1754 | EffectPart.Anchored = true | |
1755 | local BillboardGui = Create("BillboardGui"){ | |
1756 | Size = UDim2.new(3, 0, 3, 0), | |
1757 | Adornee = EffectPart, | |
1758 | Parent = EffectPart, | |
1759 | } | |
1760 | local TextLabel = Create("TextLabel"){ | |
1761 | BackgroundTransparency = 1, | |
1762 | Size = UDim2.new(1, 0, 1, 0), | |
1763 | Text = Text, | |
1764 | Font = "SciFi", | |
1765 | TextColor3 = Color, | |
1766 | TextScaled = true, | |
1767 | Parent = BillboardGui, | |
1768 | } | |
1769 | game.Debris:AddItem(EffectPart, (Time)) | |
1770 | EffectPart.Parent = game:GetService("Workspace") | |
1771 | delay(0, function() | |
1772 | local Frames = (Time / Rate) | |
1773 | for Frame = 1, Frames do | |
1774 | wait(Rate) | |
1775 | local Percent = (Frame / Frames) | |
1776 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1777 | TextLabel.TextTransparency = Percent | |
1778 | end | |
1779 | if EffectPart and EffectPart.Parent then | |
1780 | EffectPart:Destroy() | |
1781 | end | |
1782 | end) | |
1783 | end | |
1784 | ||
1785 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
1786 | for _, c in pairs(workspace:children()) do | |
1787 | local hum = c:findFirstChild("Humanoid") | |
1788 | if hum ~= nil then | |
1789 | local head = c:findFirstChild("Torso") | |
1790 | if head ~= nil then | |
1791 | local targ = head.Position - Part.Position | |
1792 | local mag = targ.magnitude | |
1793 | if mag <= Magnitude and c.Name ~= Player.Name then | |
1794 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
1795 | end | |
1796 | end | |
1797 | end | |
1798 | end | |
1799 | end | |
1800 | ||
1801 | ||
1802 | ||
1803 | ---some future chest tinglol--- | |
1804 | ||
1805 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1.18999839, 1.59999871, 1)) | |
1806 | 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)) | |
1807 | 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)) | |
1808 | Middle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Institutional white","Middle",Vector3.new(2, 2, 1)) | |
1809 | 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)) | |
1810 | CFuncs.Mesh.Create("BlockMesh",Middle,"","",Vector3.new(0, 0, 0),Vector3.new(0, 0, 0)) | |
1811 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
1812 | 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)) | |
1813 | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5)) | |
1814 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
1815 | 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)) | |
1816 | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5)) | |
1817 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
1818 | 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)) | |
1819 | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5)) | |
1820 | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
1821 | 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)) | |
1822 | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1, 1.00999999)) | |
1823 | ||
1824 | ----rarm---- | |
1825 | ||
1826 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Handle",Vector3.new(0.5625, 0.200000003, 0.5625)) | |
1827 | 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)) | |
1828 | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1)) | |
1829 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.100000113, 0.490000099, 1.01999998)) | |
1830 | 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)) | |
1831 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1832 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
1833 | 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)) | |
1834 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1835 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999)) | |
1836 | 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)) | |
1837 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1838 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003)) | |
1839 | 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)) | |
1840 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1841 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1842 | 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)) | |
1843 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01000011, 0.579999983, 1.00999999)) | |
1844 | 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)) | |
1845 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1846 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1847 | 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)) | |
1848 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1849 | 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)) | |
1850 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
1851 | 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)) | |
1852 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1853 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003)) | |
1854 | 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)) | |
1855 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1856 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
1857 | 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)) | |
1858 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1859 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003)) | |
1860 | 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)) | |
1861 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1862 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003)) | |
1863 | 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)) | |
1864 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1865 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
1866 | 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)) | |
1867 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1868 | RFHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RFHitbox",Vector3.new(1.37, 2.26999998, 1.10000002)) | |
1869 | 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)) | |
1870 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1871 | 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)) | |
1872 | 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)) | |
1873 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1874 | 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)) | |
1875 | 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)) | |
1876 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1877 | 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)) | |
1878 | 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)) | |
1879 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1880 | 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)) | |
1881 | 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)) | |
1882 | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1883 | 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)) | |
1884 | 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)) | |
1885 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996)) | |
1886 | 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)) | |
1887 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999)) | |
1888 | 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)) | |
1889 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979)) | |
1890 | 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)) | |
1891 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999)) | |
1892 | 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)) | |
1893 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979)) | |
1894 | 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)) | |
1895 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003)) | |
1896 | 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)) | |
1897 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
1898 | 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)) | |
1899 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
1900 | 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)) | |
1901 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
1902 | 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)) | |
1903 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
1904 | 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)) | |
1905 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
1906 | 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)) | |
1907 | ---larm--- | |
1908 | ||
1909 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1910 | 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)) | |
1911 | 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)) | |
1912 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1913 | 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)) | |
1914 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1915 | 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)) | |
1916 | 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)) | |
1917 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1918 | 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)) | |
1919 | 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)) | |
1920 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1921 | 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)) | |
1922 | 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)) | |
1923 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1924 | 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)) | |
1925 | 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)) | |
1926 | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.5625, 0.200000003, 0.5625)) | |
1927 | 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)) | |
1928 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1)) | |
1929 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003)) | |
1930 | 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)) | |
1931 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1932 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1933 | 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)) | |
1934 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
1935 | 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)) | |
1936 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1937 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003)) | |
1938 | 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)) | |
1939 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1940 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1941 | 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)) | |
1942 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003)) | |
1943 | 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)) | |
1944 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1945 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1946 | 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)) | |
1947 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.579999983, 1.00999999)) | |
1948 | 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)) | |
1949 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1950 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
1951 | 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)) | |
1952 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1953 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003)) | |
1954 | 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)) | |
1955 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1956 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
1957 | 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)) | |
1958 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1959 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) | |
1960 | 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)) | |
1961 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1962 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999)) | |
1963 | 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)) | |
1964 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1965 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979)) | |
1966 | 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)) | |
1967 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999)) | |
1968 | 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)) | |
1969 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999)) | |
1970 | 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)) | |
1971 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996)) | |
1972 | 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)) | |
1973 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979)) | |
1974 | 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)) | |
1975 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
1976 | 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)) | |
1977 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
1978 | 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)) | |
1979 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) | |
1980 | 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)) | |
1981 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003)) | |
1982 | 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)) | |
1983 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
1984 | 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)) | |
1985 | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) | |
1986 | 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)) | |
1987 | LfHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","LfHitbox",Vector3.new(1.23000014, 2.07999992, 1.08000004)) | |
1988 | 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)) | |
1989 | ||
1990 | --headlol---- | |
1991 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Brown","Handle",Vector3.new(1, 0.800000012, 2)) | |
1992 | 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)) | |
1993 | 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)) | |
1994 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1995 | 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)) | |
1996 | 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)) | |
1997 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1998 | 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)) | |
1999 | 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)) | |
2000 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2001 | 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)) | |
2002 | 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)) | |
2003 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2004 | 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)) | |
2005 | 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)) | |
2006 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.60000002384186,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2007 | 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)) | |
2008 | 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)) | |
2009 | ||
2010 | ||
2011 | --torsoa---- | |
2012 | ||
2013 | ||
2014 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2015 | 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)) | |
2016 | 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)) | |
2017 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2018 | 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)) | |
2019 | 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)) | |
2020 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2021 | 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)) | |
2022 | 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)) | |
2023 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2024 | 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)) | |
2025 | 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)) | |
2026 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2027 | 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)) | |
2028 | 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)) | |
2029 | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2030 | 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)) | |
2031 | 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)) | |
2032 | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(1, 0.200000003, 1)) | |
2033 | 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)) | |
2034 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2035 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2036 | 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)) | |
2037 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
2038 | 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)) | |
2039 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2040 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
2041 | 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)) | |
2042 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2043 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
2044 | 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)) | |
2045 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2046 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(2.00999999, 1.13, 0.620000005)) | |
2047 | 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)) | |
2048 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) | |
2049 | 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)) | |
2050 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2051 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2052 | 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)) | |
2053 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2054 | 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)) | |
2055 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014)) | |
2056 | 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)) | |
2057 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014)) | |
2058 | 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)) | |
2059 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2060 | 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)) | |
2061 | ||
2062 | ---rightleg--- | |
2063 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2064 | 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)) | |
2065 | 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)) | |
2066 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2067 | 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)) | |
2068 | 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)) | |
2069 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2070 | 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)) | |
2071 | 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)) | |
2072 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2073 | 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)) | |
2074 | 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)) | |
2075 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2076 | 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)) | |
2077 | 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)) | |
2078 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2079 | 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)) | |
2080 | 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)) | |
2081 | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875)) | |
2082 | 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)) | |
2083 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1)) | |
2084 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.410000026, 1.01999998)) | |
2085 | 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)) | |
2086 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
2087 | 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)) | |
2088 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
2089 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
2090 | 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)) | |
2091 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
2092 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021)) | |
2093 | 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)) | |
2094 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5)) | |
2095 | 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)) | |
2096 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003)) | |
2097 | 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)) | |
2098 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
2099 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
2100 | 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)) | |
2101 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
2102 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003)) | |
2103 | 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)) | |
2104 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
2105 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
2106 | 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)) | |
2107 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
2108 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981)) | |
2109 | 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)) | |
2110 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998)) | |
2111 | 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)) | |
2112 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
2113 | 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)) | |
2114 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
2115 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
2116 | 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)) | |
2117 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
2118 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
2119 | 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)) | |
2120 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
2121 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
2122 | 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)) | |
2123 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
2124 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003)) | |
2125 | 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)) | |
2126 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
2127 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003)) | |
2128 | 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)) | |
2129 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
2130 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2131 | 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)) | |
2132 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2133 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2134 | 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)) | |
2135 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2136 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2137 | 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)) | |
2138 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2139 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2140 | 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)) | |
2141 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2142 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997)) | |
2143 | 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)) | |
2144 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017)) | |
2145 | 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)) | |
2146 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
2147 | 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)) | |
2148 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995)) | |
2149 | 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)) | |
2150 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
2151 | 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)) | |
2152 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
2153 | 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)) | |
2154 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
2155 | 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)) | |
2156 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005)) | |
2157 | 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)) | |
2158 | ||
2159 | ----leftleg---- | |
2160 | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2161 | 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)) | |
2162 | 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)) | |
2163 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2164 | 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)) | |
2165 | 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)) | |
2166 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2167 | 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)) | |
2168 | 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)) | |
2169 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2170 | 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)) | |
2171 | 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)) | |
2172 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2173 | 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)) | |
2174 | 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)) | |
2175 | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2176 | 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)) | |
2177 | 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)) | |
2178 | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875)) | |
2179 | 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)) | |
2180 | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1)) | |
2181 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021)) | |
2182 | 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)) | |
2183 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003)) | |
2184 | 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)) | |
2185 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) | |
2186 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003)) | |
2187 | 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)) | |
2188 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
2189 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981)) | |
2190 | 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)) | |
2191 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003)) | |
2192 | 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)) | |
2193 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
2194 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998)) | |
2195 | 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)) | |
2196 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5)) | |
2197 | 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)) | |
2198 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003)) | |
2199 | 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)) | |
2200 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) | |
2201 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2202 | 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)) | |
2203 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2204 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.230000004, 1.01999998)) | |
2205 | 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)) | |
2206 | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997)) | |
2207 | 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)) | |
2208 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.02999997, 0.200000003, 1.02999997)) | |
2209 | 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)) | |
2210 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2211 | 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)) | |
2212 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2213 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2214 | 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)) | |
2215 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2216 | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
2217 | 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)) | |
2218 | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2219 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995)) | |
2220 | 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)) | |
2221 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
2222 | 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)) | |
2223 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005)) | |
2224 | 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)) | |
2225 | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
2226 | 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)) | |
2227 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
2228 | 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)) | |
2229 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017)) | |
2230 | 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)) | |
2231 | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) | |
2232 | 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)) | |
2233 | ||
2234 | ||
2235 | ||
2236 | EffectModel = Create("Model"){ | |
2237 | Parent = Character, | |
2238 | Name = "Effects", | |
2239 | } | |
2240 | ||
2241 | Effects = { | |
2242 | Block = { | |
2243 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
2244 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2245 | prt.Anchored = true | |
2246 | prt.CFrame = cframe | |
2247 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2248 | game:GetService("Debris"):AddItem(prt, 10) | |
2249 | if Type == 1 or Type == nil then | |
2250 | table.insert(Effects, { | |
2251 | prt, | |
2252 | "Block1", | |
2253 | delay, | |
2254 | x3, | |
2255 | y3, | |
2256 | z3, | |
2257 | msh | |
2258 | }) | |
2259 | elseif Type == 2 then | |
2260 | table.insert(Effects, { | |
2261 | prt, | |
2262 | "Block2", | |
2263 | delay, | |
2264 | x3, | |
2265 | y3, | |
2266 | z3, | |
2267 | msh | |
2268 | }) | |
2269 | end | |
2270 | end; | |
2271 | }; | |
2272 | ||
2273 | Cylinder = { | |
2274 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2275 | local prt = CFuncs.Part..Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
2276 | prt.Anchored = true | |
2277 | prt.CFrame = cframe | |
2278 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2279 | game:GetService("Debris"):AddItem(prt, 2) | |
2280 | Effects[#Effects + 1] = { | |
2281 | prt, | |
2282 | "Cylinder", | |
2283 | delay, | |
2284 | x3, | |
2285 | y3, | |
2286 | z3 | |
2287 | } | |
2288 | end; | |
2289 | }; | |
2290 | ||
2291 | Head = { | |
2292 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2293 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2294 | prt.Anchored = true | |
2295 | prt.CFrame = cframe | |
2296 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2297 | game:GetService("Debris"):AddItem(prt, 10) | |
2298 | table.insert(Effects, { | |
2299 | prt, | |
2300 | "Cylinder", | |
2301 | delay, | |
2302 | x3, | |
2303 | y3, | |
2304 | z3, | |
2305 | msh | |
2306 | }) | |
2307 | end; | |
2308 | }; | |
2309 | ||
2310 | Sphere = { | |
2311 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2312 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2313 | prt.Anchored = true | |
2314 | prt.CFrame = cframe | |
2315 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2316 | game:GetService("Debris"):AddItem(prt, 10) | |
2317 | table.insert(Effects, { | |
2318 | prt, | |
2319 | "Cylinder", | |
2320 | delay, | |
2321 | x3, | |
2322 | y3, | |
2323 | z3, | |
2324 | msh | |
2325 | }) | |
2326 | end; | |
2327 | }; | |
2328 | ||
2329 | Elect = { | |
2330 | Create = function(cff, x, y, z) | |
2331 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
2332 | prt.Anchored = true | |
2333 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
2334 | prt.CFrame = CFrame.new(prt.Position) | |
2335 | game:GetService("Debris"):AddItem(prt, 2) | |
2336 | local xval = math.random() / 2 | |
2337 | local yval = math.random() / 2 | |
2338 | local zval = math.random() / 2 | |
2339 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
2340 | table.insert(Effects, { | |
2341 | prt, | |
2342 | "Elec", | |
2343 | 0.1, | |
2344 | x, | |
2345 | y, | |
2346 | z, | |
2347 | xval, | |
2348 | yval, | |
2349 | zval | |
2350 | }) | |
2351 | end; | |
2352 | ||
2353 | }; | |
2354 | ||
2355 | Ring = { | |
2356 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2357 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2358 | prt.Anchored = true | |
2359 | prt.CFrame = cframe | |
2360 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2361 | game:GetService("Debris"):AddItem(prt, 10) | |
2362 | table.insert(Effects, { | |
2363 | prt, | |
2364 | "Cylinder", | |
2365 | delay, | |
2366 | x3, | |
2367 | y3, | |
2368 | z3, | |
2369 | msh | |
2370 | }) | |
2371 | end; | |
2372 | }; | |
2373 | ||
2374 | ||
2375 | Wave = { | |
2376 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2377 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2378 | prt.Anchored = true | |
2379 | prt.CFrame = cframe | |
2380 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2381 | game:GetService("Debris"):AddItem(prt, 10) | |
2382 | table.insert(Effects, { | |
2383 | prt, | |
2384 | "Cylinder", | |
2385 | delay, | |
2386 | x3, | |
2387 | y3, | |
2388 | z3, | |
2389 | msh | |
2390 | }) | |
2391 | end; | |
2392 | }; | |
2393 | ||
2394 | Break = { | |
2395 | Create = function(brickcolor, cframe, x1, y1, z1) | |
2396 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
2397 | prt.Anchored = true | |
2398 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2399 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2400 | local num = math.random(10, 50) / 1000 | |
2401 | game:GetService("Debris"):AddItem(prt, 10) | |
2402 | table.insert(Effects, { | |
2403 | prt, | |
2404 | "Shatter", | |
2405 | num, | |
2406 | prt.CFrame, | |
2407 | math.random() - math.random(), | |
2408 | 0, | |
2409 | math.random(50, 100) / 100 | |
2410 | }) | |
2411 | end; | |
2412 | }; | |
2413 | ||
2414 | Fire = { | |
2415 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
2416 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2417 | prt.Anchored = true | |
2418 | prt.CFrame = cframe | |
2419 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2420 | game:GetService("Debris"):AddItem(prt, 10) | |
2421 | table.insert(Effects, { | |
2422 | prt, | |
2423 | "Fire", | |
2424 | delay, | |
2425 | 1, | |
2426 | 1, | |
2427 | 1, | |
2428 | msh | |
2429 | }) | |
2430 | end; | |
2431 | }; | |
2432 | ||
2433 | FireWave = { | |
2434 | Create = function(brickcolor, cframe, x1, y1, z1) | |
2435 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
2436 | prt.Anchored = true | |
2437 | prt.CFrame = cframe | |
2438 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2439 | local d = Create("Decal"){ | |
2440 | Parent = prt, | |
2441 | Texture = "rbxassetid://26356434", | |
2442 | Face = "Top", | |
2443 | } | |
2444 | local d = Create("Decal"){ | |
2445 | Parent = prt, | |
2446 | Texture = "rbxassetid://26356434", | |
2447 | Face = "Bottom", | |
2448 | } | |
2449 | game:GetService("Debris"):AddItem(prt, 10) | |
2450 | table.insert(Effects, { | |
2451 | prt, | |
2452 | "FireWave", | |
2453 | 1, | |
2454 | 30, | |
2455 | math.random(400, 600) / 100, | |
2456 | msh | |
2457 | }) | |
2458 | end; | |
2459 | }; | |
2460 | ||
2461 | Lightning = { | |
2462 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
2463 | local magz = (p0 - p1).magnitude | |
2464 | local curpos = p0 | |
2465 | local trz = { | |
2466 | -ofs, | |
2467 | ofs | |
2468 | } | |
2469 | for i = 1, tym do | |
2470 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
2471 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
2472 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
2473 | li.Material = "Neon" | |
2474 | if tym == i then | |
2475 | local magz2 = (curpos - p1).magnitude | |
2476 | li.Size = Vector3.new(th, th, magz2) | |
2477 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
2478 | table.insert(Effects, { | |
2479 | li, | |
2480 | "Disappear", | |
2481 | last | |
2482 | }) | |
2483 | else | |
2484 | do | |
2485 | do | |
2486 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
2487 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
2488 | game.Debris:AddItem(li, 10) | |
2489 | table.insert(Effects, { | |
2490 | li, | |
2491 | "Disappear", | |
2492 | last | |
2493 | }) | |
2494 | end | |
2495 | end | |
2496 | end | |
2497 | end | |
2498 | end | |
2499 | }; | |
2500 | ||
2501 | EffectTemplate = { | |
2502 | ||
2503 | }; | |
2504 | } | |
2505 | ||
2506 | function attackone() | |
2507 | attack = true | |
2508 | for i = 0, 1, 0.1 do | |
2509 | swait() | |
2510 | PlayAnimationFromTable({ | |
2511 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
2512 | CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
2513 | CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
2514 | CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
2515 | CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
2516 | CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
2517 | }, .3, false) | |
2518 | end | |
2519 | attack = false | |
2520 | end | |
2521 | ||
2522 | Mouse.Button1Down:connect(function() | |
2523 | if attack == false and attacktype == 1 then | |
2524 | attackone() | |
2525 | end | |
2526 | end) | |
2527 | ||
2528 | Mouse.KeyDown:connect(function(k) | |
2529 | k = k:lower() | |
2530 | if attack == false and k == '' then | |
2531 | ||
2532 | end | |
2533 | end) | |
2534 | ||
2535 | while true do | |
2536 | swait() | |
2537 | for i, v in pairs(Character:GetChildren()) do | |
2538 | if v:IsA("Part") then | |
2539 | v.Material = "SmoothPlastic" | |
2540 | elseif v:IsA("Accessory") then | |
2541 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
2542 | end | |
2543 | end | |
2544 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2545 | velocity = RootPart.Velocity.y | |
2546 | sine = sine + change | |
2547 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
2548 | if RootPart.Velocity.y > 1 and hit == nil then | |
2549 | Anim = "Jump" | |
2550 | if attack == false then | |
2551 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
2552 | 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) | |
2553 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2554 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2555 | RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
2556 | LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
2557 | end | |
2558 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2559 | Anim = "Fall" | |
2560 | if attack == false then | |
2561 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
2562 | 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) | |
2563 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2564 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2565 | RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
2566 | LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
2567 | end | |
2568 | elseif Torsovelocity < 1 and hit ~= nil then | |
2569 | Anim = "Idle" | |
2570 | if attack == false then | |
2571 | change = 1 | |
2572 | PlayAnimationFromTable({ | |
2573 | 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), | |
2574 | 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), | |
2575 | 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), | |
2576 | 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), | |
2577 | 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)), | |
2578 | 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)), | |
2579 | }, .3, false) | |
2580 | end | |
2581 | ||
2582 | elseif Torsovelocity > 2 and hit ~= nil then | |
2583 | Anim = "Walk" | |
2584 | if attack == false then | |
2585 | Character.Humanoid.WalkSpeed = 100 | |
2586 | PlayAnimationFromTable({ | |
2587 | 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), | |
2588 | 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), | |
2589 | 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))), | |
2590 | 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))), | |
2591 | 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)), | |
2592 | 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)), | |
2593 | }, .9, false) | |
2594 | end | |
2595 | end | |
2596 | if 0 < #Effects then | |
2597 | for e = 1, #Effects do | |
2598 | if Effects[e] ~= nil then | |
2599 | local Thing = Effects[e] | |
2600 | if Thing ~= nil then | |
2601 | local Part = Thing[1] | |
2602 | local Mode = Thing[2] | |
2603 | local Delay = Thing[3] | |
2604 | local IncX = Thing[4] | |
2605 | local IncY = Thing[5] | |
2606 | local IncZ = Thing[6] | |
2607 | if Thing[2] == "Shoot" then | |
2608 | local Look = Thing[1] | |
2609 | local move = 30 | |
2610 | if Thing[8] == 3 then | |
2611 | move = 10 | |
2612 | end | |
2613 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
2614 | if Thing[10] ~= nil then | |
2615 | da = pos | |
2616 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
2617 | cfa = CFrame.new(Thing[4], pos) | |
2618 | tehCF = cfa:lerp(cf2, 0.2) | |
2619 | Thing[1] = tehCF.lookVector | |
2620 | end | |
2621 | local mag = (Thing[4] - pos).magnitude | |
2622 | 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) | |
2623 | if Thing[8] == 2 then | |
2624 | 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) | |
2625 | end | |
2626 | Thing[4] = Thing[4] + Look * move | |
2627 | Thing[3] = Thing[3] - 1 | |
2628 | if 2 < Thing[5] then | |
2629 | Thing[5] = Thing[5] - 0.3 | |
2630 | Thing[6] = Thing[6] - 0.3 | |
2631 | end | |
2632 | if hit ~= nil then | |
2633 | Thing[3] = 0 | |
2634 | if Thing[8] == 1 or Thing[8] == 3 then | |
2635 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2636 | else | |
2637 | if Thing[8] == 2 then | |
2638 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2639 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
2640 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2641 | ref.Anchored = true | |
2642 | ref.CFrame = CFrame.new(pos) | |
2643 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
2644 | game:GetService("Debris"):AddItem(ref, 0.2) | |
2645 | 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) | |
2646 | 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) | |
2647 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
2648 | end | |
2649 | end | |
2650 | end | |
2651 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2652 | ref.Anchored = true | |
2653 | ref.CFrame = CFrame.new(pos) | |
2654 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
2655 | game:GetService("Debris"):AddItem(ref, 1) | |
2656 | end | |
2657 | if Thing[3] <= 0 then | |
2658 | table.remove(Effects, e) | |
2659 | end | |
2660 | end | |
2661 | do | |
2662 | do | |
2663 | if Thing[2] == "FireWave" then | |
2664 | if Thing[3] <= Thing[4] then | |
2665 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
2666 | Thing[3] = Thing[3] + 1 | |
2667 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
2668 | else | |
2669 | Part.Parent = nil | |
2670 | table.remove(Effects, e) | |
2671 | end | |
2672 | end | |
2673 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
2674 | if Thing[1].Transparency <= 1 then | |
2675 | if Thing[2] == "Block1" then | |
2676 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2677 | Mesh = Thing[7] | |
2678 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2679 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2680 | else | |
2681 | if Thing[2] == "Block2" then | |
2682 | Thing[1].CFrame = Thing[1].CFrame | |
2683 | Mesh = Thing[7] | |
2684 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2685 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2686 | else | |
2687 | if Thing[2] == "Fire" then | |
2688 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2689 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2690 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2691 | else | |
2692 | if Thing[2] == "Cylinder" then | |
2693 | Mesh = Thing[7] | |
2694 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2695 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2696 | else | |
2697 | if Thing[2] == "Blood" then | |
2698 | Mesh = Thing[7] | |
2699 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
2700 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2701 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2702 | else | |
2703 | if Thing[2] == "Elec" then | |
2704 | Mesh = Thing[10] | |
2705 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2706 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2707 | else | |
2708 | if Thing[2] == "Disappear" then | |
2709 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2710 | end | |
2711 | end | |
2712 | end | |
2713 | end | |
2714 | end | |
2715 | end | |
2716 | end | |
2717 | else | |
2718 | Part.Parent = nil | |
2719 | table.remove(Effects, e) | |
2720 | end | |
2721 | end | |
2722 | end | |
2723 | end | |
2724 | end | |
2725 | end | |
2726 | end | |
2727 | end | |
2728 | end |