SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | Stand: The King/Jade Emperor | |
3 | User: FujiWara Chujo | |
4 | ]] | |
5 | local Cn=CFrame.new | |
6 | local CA=CFrame.Angles | |
7 | local mr=math.rad | |
8 | local rn=math.random | |
9 | local mc=math.cos | |
10 | local Vn=Vector3.new | |
11 | local NR=NumberRange.new | |
12 | local NSeq=NumberSequence.new | |
13 | local plrs=game:service"Players" | |
14 | local wrk=game:service"Workspace" | |
15 | local deb=game:service"Debris" | |
16 | local IS=game:GetService("InsertService") | |
17 | local p=plrs.LocalPlayer | |
18 | local cam=wrk.CurrentCamera | |
19 | local char=p.Character | |
20 | local mouse=p:GetMouse() | |
21 | local lam=char["Left Arm"] | |
22 | local ram=char["Right Arm"] | |
23 | local llg=char["Left Leg"] | |
24 | local rlg=char["Right Leg"] | |
25 | local hed=char.Head | |
26 | local tor=char.Torso | |
27 | local larm = lam | |
28 | local rarm = ram | |
29 | local lleg = llg | |
30 | local rleg = rlg | |
31 | local torso = tor | |
32 | local hrp=char.HumanoidRootPart | |
33 | local PlayerSpeed = char.Humanoid.WalkSpeed | |
34 | local on=false | |
35 | local noRig=false | |
36 | local curws=16 | |
37 | local sine=0 | |
38 | local ift={} | |
39 | local ifxd=false | |
40 | local run=false | |
41 | local stance="Cane" | |
42 | local Speed = 16 | |
43 | local Health = 9000 | |
44 | ||
45 | PlayerSpeed = 16 | |
46 | --[[ | |
47 | ypcall(function() | |
48 | char.Shirt:Destroy() | |
49 | char.Pants:Destroy() | |
50 | shirt = Instance.new("Shirt", char) | |
51 | shirt.Name = "Shirt" | |
52 | pants = Instance.new("Pants", char) | |
53 | pants.Name = "Pants" | |
54 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=260998937" | |
55 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=260361888" | |
56 | end) | |
57 | ]] | |
58 | Debounces = { | |
59 | CanAttack = true; | |
60 | NoIdl = false; | |
61 | Slashing = false; | |
62 | Slashed = false; | |
63 | RPunch = false; | |
64 | RPunched = false; | |
65 | LPunch = false; | |
66 | LPunched = false; | |
67 | } | |
68 | ||
69 | local trappedTorsos = {} | |
70 | ||
71 | ---Functions | |
72 | ||
73 | function FndHm(flnm) | |
74 | for i,v in pairs(flnm:GetChildren()) do | |
75 | if v:IsA("Humanoid") then | |
76 | return v | |
77 | end | |
78 | end | |
79 | end | |
80 | local hum=FndHm(char) | |
81 | --hum.Name="" | |
82 | ||
83 | ||
84 | function chrDes(inst) | |
85 | local ret=nil | |
86 | for _,v in pairs(game.Players:GetChildren()) do | |
87 | if inst:IsDescendantOf(v) then | |
88 | ret=v | |
89 | break | |
90 | end | |
91 | end | |
92 | return ret | |
93 | end | |
94 | ||
95 | -- | |
96 | function get(a) | |
97 | local cont={} | |
98 | for i,v in pairs(a:GetChildren()) do | |
99 | if v==char then | |
100 | else | |
101 | table.insert(cont,v) | |
102 | pcall(function() | |
103 | for _,b in pairs(get(v)) do | |
104 | table.insert(cont,b) | |
105 | end | |
106 | end) | |
107 | end | |
108 | end | |
109 | return cont | |
110 | end | |
111 | for _,v in pairs(get(game.Workspace)) do | |
112 | if v:IsA("Sparkles") or v:IsA("Fire") then | |
113 | v:Destroy() | |
114 | end | |
115 | end | |
116 | ||
117 | -- | |
118 | function inT(qur,tbl) | |
119 | local a=false | |
120 | for i,v in pairs(tbl) do | |
121 | if v==qur then | |
122 | a=true | |
123 | break | |
124 | else | |
125 | a=false | |
126 | end | |
127 | end | |
128 | return a | |
129 | end | |
130 | ||
131 | -- | |
132 | function Tween(a,b,c) | |
133 | return a+(b-a)*c | |
134 | end | |
135 | ||
136 | -- | |
137 | function Avg(a,b) | |
138 | return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2) | |
139 | end | |
140 | ||
141 | -- | |
142 | function Lerp(c1,c2,tim) | |
143 | local com1={c1.C0.X,c1.C0.Y,c1.C0.Z,c1.C0:toEulerAnglesXYZ()} | |
144 | local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
145 | for i,v in pairs(com1) do | |
146 | com1[i]=v+(com2[i]-v)*tim | |
147 | end | |
148 | return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1))) | |
149 | end | |
150 | ||
151 | function RLerp(c1,c2,tim) | |
152 | return c1:lerp(c2,tim) | |
153 | end | |
154 | ||
155 | -- | |
156 | function ALerp(c1,c2,tim) | |
157 | local com1={c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
158 | local com2={c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
159 | for i,v in pairs(com1) do | |
160 | com1[i]=v+(com2[i]-v)*tim | |
161 | end | |
162 | return Cn(com1[1],com1[2],com1[3])*CA(select(4,unpack(com1))) | |
163 | end | |
164 | ||
165 | -- | |
166 | function Lerprs(ud,ud2,al) | |
167 | local a,b,c,d=ud.X.Scale,ud.X.Offset,ud.Y.Scale,ud.Y.Offset | |
168 | local a2,b2,c2,d2=ud2.X.Scale,ud2.X.Offset,ud2.Y.Scale,ud2.Y.Offset | |
169 | local x,y,z,w=(a+(a2-a)*al),(b+(b2-b)*al),(c+(c2-c)*al),(d+(d2-d)*al) | |
170 | return UDim2.new(x,y,z,w) | |
171 | end | |
172 | ||
173 | -- | |
174 | function newAnim(wld) | |
175 | local asd={["Weld"]=wld;["Int"]=0;["Frame"]=1;} | |
176 | asd.getFrames=function() | |
177 | local num=0 | |
178 | for _,v in pairs(asd) do | |
179 | pcall(function() | |
180 | num=num+v.Length | |
181 | end) | |
182 | end | |
183 | return num | |
184 | end | |
185 | return asd | |
186 | end | |
187 | ||
188 | -- | |
189 | function newKF(tab,c0,lng,off) | |
190 | off=off or 1 | |
191 | table.insert(tab,{["C0"]=c0,["Length"]=lng,["Offset"]=off}) | |
192 | end | |
193 | ||
194 | -- | |
195 | function runKF(tab) | |
196 | tab.Int=tab.Int+1 | |
197 | if tab.Int>=tab[tab.Frame].Length then | |
198 | tab.Frame=tab.Frame+1 | |
199 | tab.Int=0 | |
200 | if tab.Frame>#tab then | |
201 | tab.Frame=1 | |
202 | end | |
203 | end | |
204 | tab.Weld.C0=RLerp(tab.Weld.C0,tab[tab.Frame].C0,(tab[tab.Frame].Offset/tab[tab.Frame].Length)*tab.Int) | |
205 | end | |
206 | ||
207 | -- | |
208 | function nwPrt(prnt,siz,cf,col) | |
209 | local prt=Instance.new("Part") | |
210 | prt.Parent=prnt | |
211 | prt.FormFactor=3 | |
212 | prt.Name="Part" | |
213 | prt.Size=siz | |
214 | prt.CanCollide=false | |
215 | prt.Anchored=true | |
216 | prt.Locked=true | |
217 | prt.TopSurface=10 | |
218 | prt.BottomSurface=10 | |
219 | prt.FrontSurface=10 | |
220 | prt.BackSurface=10 | |
221 | prt.LeftSurface=10 | |
222 | prt.RightSurface=10 | |
223 | prt:BreakJoints() | |
224 | prt.CFrame=cf or CFrame.new(30,10,30) | |
225 | prt.Material="SmoothPlastic" | |
226 | prt.BrickColor=BrickColor.new(col) | |
227 | m=Instance.new("SpecialMesh",prt) | |
228 | m.MeshType=6 | |
229 | return prt | |
230 | end | |
231 | ||
232 | -- | |
233 | function nwWdg(prnt,siz,cf,col) | |
234 | local prt=Instance.new("WedgePart") | |
235 | prt.Parent=prnt | |
236 | prt.FormFactor=3 | |
237 | prt.Name="Part" | |
238 | prt.Size=siz | |
239 | prt.CanCollide=false | |
240 | prt.Anchored=false | |
241 | prt.Locked=true | |
242 | prt.TopSurface=0 | |
243 | prt.BottomSurface=0 | |
244 | prt:BreakJoints() | |
245 | prt.CFrame=cf or CFrame.new(30,10,30) | |
246 | prt.Material="SmoothPlastic" | |
247 | prt.BrickColor=BrickColor.new(col) | |
248 | return prt | |
249 | end | |
250 | ||
251 | -- | |
252 | function newGui(prnt,clsnm,siz,pos,bsp,bc,bt) | |
253 | local gui=Instance.new(clsnm,prnt) | |
254 | gui.Size=siz or UDim2.new(0,100,0,100) | |
255 | gui.Position=pos or UDim2.new(0,0,0,0) | |
256 | gui.BorderSizePixel=bsp or 0 | |
257 | gui.BackgroundColor3=bc or Color3.new(0,0,0) | |
258 | gui.BackgroundTransparency=bt or 1 | |
259 | return gui | |
260 | end | |
261 | ||
262 | -- | |
263 | function nwWld(wp0,wp1,wc0) | |
264 | wld = Instance.new("Weld",wp1) | |
265 | wld.Part0=wp0 | |
266 | wld.Part1=wp1 | |
267 | wld.C0=wc0 or Cn(0,0,0) | |
268 | return wld | |
269 | end | |
270 | ||
271 | function newWeld(wp0,wp1,wc0x,wc0y,wc0z) | |
272 | local wld = Instance.new("Weld",wp1) | |
273 | wld.Part0 = wp0 | |
274 | wld.Part1 = wp1 | |
275 | wld.C0 = CFrame.new(wc0x,wc0y,wc0z) | |
276 | end | |
277 | ||
278 | -- | |
279 | function nwSnd(prnt,pch,vol,id) | |
280 | local s=Instance.new("Sound",prnt) | |
281 | s.Pitch=pch | |
282 | s.Volume=vol | |
283 | s.SoundId="rbxassetid://"..id | |
284 | s.PlayOnRemove=true | |
285 | return s | |
286 | end | |
287 | ||
288 | -- | |
289 | function newRay(start,face,range,wat) | |
290 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
291 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
292 | return rey,hit,pos | |
293 | end | |
294 | ||
295 | function nooutline(part) | |
296 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
297 | end | |
298 | ||
299 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
300 | local fp=it("Part") | |
301 | fp.formFactor=formfactor | |
302 | fp.Parent=parent | |
303 | fp.Reflectance=reflectance | |
304 | fp.Transparency=transparency | |
305 | fp.CanCollide=false | |
306 | fp.Locked=true | |
307 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
308 | fp.Name=name | |
309 | fp.Size=size | |
310 | fp.Position=Character.Torso.Position | |
311 | nooutline(fp) | |
312 | fp.Material=material | |
313 | fp:BreakJoints() | |
314 | return fp | |
315 | end | |
316 | ||
317 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
318 | local mesh=it(Mesh) | |
319 | mesh.Parent=part | |
320 | if Mesh=="SpecialMesh" then | |
321 | mesh.MeshType=meshtype | |
322 | mesh.MeshId=meshid | |
323 | end | |
324 | mesh.Offset=offset | |
325 | mesh.Scale=scale | |
326 | return mesh | |
327 | end | |
328 | ||
329 | function weld(parent,part0,part1,c0,c1) | |
330 | local weld=it("Weld") | |
331 | weld.Parent=parent | |
332 | weld.Part0=part0 | |
333 | weld.Part1=part1 | |
334 | weld.C0=c0 | |
335 | weld.C1=c1 | |
336 | return weld | |
337 | end | |
338 | TfwTimeStopped = false | |
339 | function Damagefunc(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
340 | if hit.Parent==nil then | |
341 | return | |
342 | end | |
343 | h=hit.Parent:FindFirstChild("Humanoid") | |
344 | for _,v in pairs(hit.Parent:children()) do | |
345 | if v:IsA("Humanoid") then | |
346 | h=v | |
347 | end | |
348 | end | |
349 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
350 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
351 | end | |
352 | if hit.Parent.className=="Hat" then | |
353 | hit=hit.Parent.Parent:findFirstChild("Head") | |
354 | end | |
355 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
356 | if hit.Parent:findFirstChild("DebounceHit")~=nil then | |
357 | if hit.Parent.DebounceHit.Value==true then | |
358 | return | |
359 | end | |
360 | end | |
361 | --[[if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
362 | return | |
363 | end]] | |
364 | --hs(hit,1.2) | |
365 | c=Instance.new("ObjectValue") | |
366 | c.Name="creator" | |
367 | c.Value=game:service("Players").LocalPlayer | |
368 | c.Parent=h | |
369 | game:GetService("Debris"):AddItem(c,.5) | |
370 | Damage=math.random(minim,maxim) | |
371 | --h:TakeDamage(Damage) | |
372 | blocked=false | |
373 | block=hit.Parent:findFirstChild("Block") | |
374 | if block~=nil then | |
375 | print(block.className) | |
376 | if block.className=="NumberValue" then | |
377 | if block.Value>0 then | |
378 | blocked=true | |
379 | if decreaseblock==nil then | |
380 | block.Value=block.Value-1 | |
381 | end | |
382 | end | |
383 | end | |
384 | if block.className=="IntValue" then | |
385 | if block.Value>0 then | |
386 | blocked=true | |
387 | if decreaseblock~=nil then | |
388 | block.Value=block.Value-1 | |
389 | end | |
390 | end | |
391 | end | |
392 | end | |
393 | if blocked==false then | |
394 | --h:TakeDamage(Damage) | |
395 | if TfwTimeStopped == false then | |
396 | h.Health=h.Health-Damage | |
397 | ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "MUDA", 1.5, Part.BrickColor.Color) | |
398 | elseif TfwTimeStopped == true then | |
399 | repeat wait() until TfwTimeStopped == false | |
400 | h.Health=h.Health-0.1 | |
401 | ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "MUDA", 1.5, Part.BrickColor.Color) | |
402 | end | |
403 | else | |
404 | h.Health=h.Health-(Damage/2) | |
405 | ShowDamage((hit.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color) | |
406 | end | |
407 | if Type=="Knockdown" then | |
408 | hum=hit.Parent.Humanoid | |
409 | hum.PlatformStand=true | |
410 | coroutine.resume(coroutine.create(function(HHumanoid) | |
411 | swait(1) | |
412 | HHumanoid.PlatformStand=false | |
413 | end),hum) | |
414 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
415 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
416 | local bodvol=Instance.new("BodyVelocity") | |
417 | bodvol.velocity=angle*knockback | |
418 | bodvol.P=500 | |
419 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
420 | bodvol.Parent=hit | |
421 | rl = Instance.new("BodyAngularVelocity") | |
422 | rl.P = 3000 | |
423 | rl.maxTorque = Vector3.new(500000, 500000, 500000) | |
424 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
425 | rl.Parent = hit | |
426 | game:GetService("Debris"):AddItem(bodvol,.5) | |
427 | game:GetService("Debris"):AddItem(rl,.5) | |
428 | elseif Type=="Attract" then | |
429 | hum=hit.Parent.Humanoid | |
430 | hum.PlatformStand=true | |
431 | coroutine.resume(coroutine.create(function(HHumanoid) | |
432 | swait(1) | |
433 | HHumanoid.PlatformStand=false | |
434 | end),hum) | |
435 | local angle=(hit.Position-(Property.Position-Vector3.new(0,0,0))).unit | |
436 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
437 | local bodvol=Instance.new("BodyVelocity") | |
438 | bodvol.velocity=-angle*-knockback | |
439 | bodvol.P=500 | |
440 | bodvol.maxForce=Vector3.new(-8e+003, -8e+003, -8e+003) | |
441 | bodvol.Parent=hit | |
442 | rl = Instance.new("BodyAngularVelocity") | |
443 | rl.P = 3000 | |
444 | rl.maxTorque = Vector3.new(500000, 500000, 500000) | |
445 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
446 | rl.Parent = hit | |
447 | game:GetService("Debris"):AddItem(bodvol,.5) | |
448 | game:GetService("Debris"):AddItem(rl,.5) | |
449 | elseif Type=="MUDA" then | |
450 | hum=hit.Parent.Humanoid | |
451 | hum.PlatformStand=true | |
452 | coroutine.resume(coroutine.create(function(HHumanoid) | |
453 | swait(1) | |
454 | HHumanoid.PlatformStand=false | |
455 | end),hum) | |
456 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
457 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
458 | local bodvol=Instance.new("BodyVelocity") | |
459 | bodvol.velocity=angle*knockback | |
460 | bodvol.P=500 | |
461 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
462 | bodvol.Parent=hit | |
463 | rl = Instance.new("BodyAngularVelocity") | |
464 | rl.P = 3000 | |
465 | rl.maxTorque = Vector3.new(500000, 500000, 500000) | |
466 | rl.angularvelocity = Vector3.new(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3)) | |
467 | rl.Parent = hit | |
468 | game:GetService("Debris"):AddItem(bodvol,.5) | |
469 | game:GetService("Debris"):AddItem(rl,.5) | |
470 | elseif Type == "Killer Queen" then | |
471 | hum=hit.Parent.Humanoid | |
472 | hum.PlatformStand=true | |
473 | coroutine.resume(coroutine.create(function(HHumanoid) | |
474 | swait(1) | |
475 | HHumanoid.PlatformStand=false | |
476 | end),hum) | |
477 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
478 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
479 | local bodvol=Instance.new("BodyVelocity") | |
480 | bodvol.velocity=angle*knockback | |
481 | bodvol.P=500 | |
482 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
483 | bodvol.Parent=hit | |
484 | rl = Instance.new("BodyAngularVelocity") | |
485 | rl.P = 3000 | |
486 | rl.maxTorque = Vector3.new(500000, 500000, 500000) | |
487 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
488 | rl.Parent = hit | |
489 | game:GetService("Debris"):AddItem(bodvol,.5) | |
490 | game:GetService("Debris"):AddItem(rl,.5) | |
491 | wait(3) | |
492 | KillerQueen = Instance.new("Explosion",hit) | |
493 | KillerQueen.Position = hit.Position | |
494 | elseif Type=="Normal" then | |
495 | vp=Instance.new("BodyVelocity") | |
496 | vp.P=500 | |
497 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
498 | --vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
499 | if KnockbackType==1 then | |
500 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
501 | elseif KnockbackType==2 then | |
502 | vp.velocity=Property.CFrame.lookVector*knockback | |
503 | end | |
504 | if knockback>0 then | |
505 | vp.Parent=hit.Parent.Torso | |
506 | end | |
507 | game:GetService("Debris"):AddItem(vp,.5) | |
508 | elseif Type=="Up" then | |
509 | local bodyVelocity=Instance.new("BodyVelocity") | |
510 | bodyVelocity.velocity=vt(0,60,0) | |
511 | bodyVelocity.P=5000 | |
512 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
513 | bodyVelocity.Parent=hit | |
514 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
515 | rl=Instance.new("BodyAngularVelocity") | |
516 | rl.P=3000 | |
517 | rl.maxTorque=Vector3.new(500000,500000,500000) | |
518 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
519 | rl.Parent=hit | |
520 | game:GetService("Debris"):AddItem(rl,.5) | |
521 | elseif Type=="Snare" then | |
522 | bp=Instance.new("BodyPosition") | |
523 | bp.P=2000 | |
524 | bp.D=100 | |
525 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
526 | bp.position=hit.Parent.Torso.Position | |
527 | bp.Parent=hit.Parent.Torso | |
528 | game:GetService("Debris"):AddItem(bp,1) | |
529 | elseif Type=="Target" then | |
530 | local Targetting = false | |
531 | if Targetting==false then | |
532 | ZTarget=hit.Parent.Torso | |
533 | coroutine.resume(coroutine.create(function(Part) | |
534 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
535 | swait(5) | |
536 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
537 | end),ZTarget) | |
538 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
539 | local targetgui=Instance.new("BillboardGui") | |
540 | targetgui.Parent=ZTarget | |
541 | targetgui.Size=UDim2.new(10,100,10,100) | |
542 | local targ=Instance.new("ImageLabel") | |
543 | targ.Parent=targetgui | |
544 | targ.BackgroundTransparency=1 | |
545 | targ.Image="rbxassetid://4834067" | |
546 | targ.Size=UDim2.new(1,0,1,0) | |
547 | cam.CameraType="Scriptable" | |
548 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
549 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
550 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
551 | Targetting=true | |
552 | RocketTarget=ZTarget | |
553 | for i=1,Property do | |
554 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
555 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
556 | swait() | |
557 | end | |
558 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
559 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
560 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
561 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
562 | end | |
563 | Targetting=false | |
564 | RocketTarget=nil | |
565 | targetgui.Parent=nil | |
566 | cam.CameraType="Custom" | |
567 | end | |
568 | end | |
569 | local debounce=Instance.new("BoolValue") | |
570 | debounce.Name="DebounceHit" | |
571 | debounce.Parent=hit.Parent | |
572 | debounce.Value=true | |
573 | game:GetService("Debris"):AddItem(debounce,Delay) | |
574 | c=Instance.new("ObjectValue") | |
575 | c.Name="creator" | |
576 | c.Value=Player | |
577 | c.Parent=h | |
578 | game:GetService("Debris"):AddItem(c,.5) | |
579 | end | |
580 | end | |
581 | ||
582 | function ShowDamage(Pos, Text, Time, Color) | |
583 | local Rate = (1 / 30) | |
584 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
585 | local Text = (Text or "") | |
586 | local Time = (Time or 2) | |
587 | local Color = (Color or Color3.new(1, 0, 0)) | |
588 | local EffectPart = part("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0)) | |
589 | EffectPart.Anchored = true | |
590 | local BillboardGui = Instance.new("BillboardGui") | |
591 | BillboardGui.Size = UDim2.new(3, 3, 3, 3) | |
592 | BillboardGui.Adornee = EffectPart | |
593 | local TextLabel = Instance.new("TextLabel") | |
594 | TextLabel.BackgroundTransparency = 1 | |
595 | TextLabel.Size = UDim2.new(3, 3, 3, 3) | |
596 | TextLabel.Text = Text | |
597 | TextLabel.TextColor3 = Color | |
598 | TextLabel.TextStrokeColor3 = BrickColor.new("Really black").Color | |
599 | TextLabel.TextScaled = true | |
600 | TextLabel.TextStrokeTransparency = 0 | |
601 | TextLabel.Font = Enum.Font.SourceSansBold | |
602 | TextLabel.Parent = BillboardGui | |
603 | BillboardGui.Parent = EffectPart | |
604 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
605 | EffectPart.Parent = game:GetService("Workspace") | |
606 | Delay(0, function() | |
607 | local Frames = (Time / Rate) | |
608 | for Frame = 1, Frames do | |
609 | wait(Rate) | |
610 | local Percent = (Frame / Frames) | |
611 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
612 | TextLabel.TextTransparency = Percent | |
613 | TextLabel.TextStrokeTransparency = Percent | |
614 | end | |
615 | if EffectPart and EffectPart.Parent then | |
616 | EffectPart:Destroy() | |
617 | end | |
618 | end) | |
619 | end | |
620 | ||
621 | Player = p | |
622 | workspace[Player.Name].Archivable=true | |
623 | pchar = workspace[Player.Name]:Clone() --Create("Model",{Parent=workspace}) | |
624 | pchar.Parent=workspace[Player.Name] | |
625 | torso=pchar.Torso | |
626 | humane=pchar.Humanoid | |
627 | pchar.Name= "The King" | |
628 | pl=pchar | |
629 | humane.MaxHealth=Health | |
630 | wait() | |
631 | humane.Health=Health | |
632 | humane.WalkSpeed=Speed | |
633 | ||
634 | pchar.Head.face:remove() | |
635 | ||
636 | --m:ClearAllChildren() | |
637 | ---Weld | |
638 | ||
639 | local law=nwWld(tor,lam,Cn(-1.5,0.5,0)) | |
640 | law.C1=CFrame.new(0,0.5,0) | |
641 | local raw=nwWld(tor,ram,Cn(1.5,0.5,0)) | |
642 | raw.C1=CFrame.new(0,0.5,0) | |
643 | local hew=nwWld(tor,hed,Cn(0,1.5,0)) | |
644 | local llw=nwWld(tor,llg,Cn(-0.5,-1,0)) | |
645 | llw.C1=CFrame.new(0,1,0) | |
646 | local rlw=nwWld(tor,rlg,Cn(0.5,-1,0)) | |
647 | rlw.C1=CFrame.new(0,1,0) | |
648 | local tow=nwWld(hrp,tor,Cn(0,-1,0)) | |
649 | tow.C1=CFrame.new(0,-1,0) | |
650 | ||
651 | local hrp2 = pchar.HumanoidRootPart | |
652 | local tor2 = torso | |
653 | local hed2 = pchar.Head | |
654 | local lam2=pchar["Left Arm"] | |
655 | local ram2=pchar["Right Arm"] | |
656 | local llg2=pchar["Left Leg"] | |
657 | local rlg2=pchar["Right Leg"] | |
658 | ||
659 | local law2=nwWld(tor2,lam2,Cn(-1.5,0.5,0)) | |
660 | law2.C1=CFrame.new(0,0.5,0) | |
661 | local raw2=nwWld(tor2,ram2,Cn(1.5,0.5,0)) | |
662 | raw2.C1=CFrame.new(0,0.5,0) | |
663 | local hew2=nwWld(torso,hed2,Cn(0,1.5,0)) | |
664 | local llw2=nwWld(torso,llg2,Cn(-0.5,-1,0)) | |
665 | llw2.C1=CFrame.new(0,1,0) | |
666 | local rlw2=nwWld(tor2,rlg2,Cn(0.5,-1,0)) | |
667 | rlw2.C1=CFrame.new(0,1,0) | |
668 | local tow2=nwWld(hrp2,tor2,Cn(0,-1,0)) | |
669 | tow2.C1=CFrame.new(0,-1,0) | |
670 | ||
671 | ||
672 | local laD=CFrame.new(-1.5,0.5,0) | |
673 | local raD=CFrame.new(1.5,0.5,0) | |
674 | local hD=CFrame.new(0,1.5,0) | |
675 | local tD=CFrame.new(0,-1,0) | |
676 | local llD=CFrame.new(-0.5,-1,0) | |
677 | local rlD=CFrame.new(0.5,-1,0) | |
678 | ||
679 | ---Build | |
680 | ||
681 | ---Animations | |
682 | ||
683 | --Idle | |
684 | local heid=newAnim(hew) | |
685 | newKF(heid,hD*CA(mr(-5.5),0,0),50,0.3) | |
686 | newKF(heid,hD*CA(mr(-4),0,0),40,0.3) | |
687 | local toid=newAnim(tow) | |
688 | newKF(toid,tD*Cn(0,2.0125,0)*CA(mr(6),0,0),50,0.3) | |
689 | newKF(toid,tD*Cn(0,3.0125,0)*CA(mr(5),0,0),40,0.3) | |
690 | local laid=newAnim(law) | |
691 | newKF(laid,laD*Cn(0,0.0125,0)*CA(mr(-20),0,mr(0)),10,0.2) | |
692 | newKF(laid,laD*Cn(0,-0.0125,0)*CA(mr(-20),0,mr(0)),10,0.2) | |
693 | newKF(laid,laD*Cn(0,0.0125,0)*CA(mr(-20),0,mr(0)),10,0.2) | |
694 | newKF(laid,laD*Cn(0,-0.0125,0)*CA(mr(-20),0,mr(0)),10,0.2) | |
695 | local raid=newAnim(raw) | |
696 | newKF(raid,raD*Cn(0,-0.0125,0)*CA(mr(20),0,mr(0)),50,0.3) | |
697 | newKF(raid,raD*Cn(0,0.0125,0)*CA(mr(0),0,mr(0)),40,0.3) | |
698 | local llid=newAnim(llw) | |
699 | newKF(llid,llD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3) | |
700 | newKF(llid,llD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3) | |
701 | local rlid=newAnim(rlw) | |
702 | newKF(rlid,rlD*Cn(0,0.0125,0)*CA(mr(-6),0,0),50,0.3) | |
703 | newKF(rlid,rlD*Cn(0,-0.0125,0)*CA(mr(-5),0,mr(0)),40,0.3) | |
704 | ||
705 | local heid2=newAnim(hew2) | |
706 | newKF(heid2,hD*CA(mr(16),0,0),40,0.3) | |
707 | newKF(heid2,hD*CA(mr(14),0,0),40,0.3) | |
708 | local toid2=newAnim(tow2) | |
709 | newKF(toid2,tD*Cn(0,0.5,3)*CA(mr(0),0,0),50,1) | |
710 | newKF(toid2,tD*Cn(0,1,3)*CA(mr(0),0,0),40,1) | |
711 | local laid2=newAnim(law2) | |
712 | newKF(laid2,laD*Cn(0.5,0.0125,-1)*CA(mr(20),mr(50),mr(20)),50,0.3) | |
713 | newKF(laid2,laD*Cn(0.5,-0.0125,-1)*CA(mr(20),mr(50),mr(20)),40,0.3) | |
714 | local raid2=newAnim(raw2) | |
715 | newKF(raid2,raD*Cn(-0.5,-0.0125,-1)*CA(mr(20),mr(-50),mr(-20)),50,0.3) | |
716 | newKF(raid2,raD*Cn(-0.5,0.0125,-1)*CA(mr(20),mr(-50),mr(-20)),40,0.3) | |
717 | local llid2=newAnim(llw2) | |
718 | newKF(llid2,llD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3) | |
719 | newKF(llid2,llD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3) | |
720 | local rlid2=newAnim(rlw2) | |
721 | newKF(rlid2,rlD*Cn(0,0.0125,0)*CA(mr(0),0,0),50,0.3) | |
722 | newKF(rlid2,rlD*Cn(0,-0.0125,0)*CA(mr(0),0,mr(0)),40,0.3) | |
723 | ||
724 | --Walk | |
725 | local hewk=newAnim(hew) | |
726 | newKF(hewk,hD*CA(mr(5),mr(0),0),10,0.2) | |
727 | newKF(hewk,hD*CA(mr(5),0,0),10,0.2) | |
728 | newKF(hewk,hD*CA(mr(5),mr(0),0),10,0.2) | |
729 | newKF(hewk,hD*CA(mr(5),0,0),10,0.2) | |
730 | local towk=newAnim(tow) | |
731 | newKF(towk,tD*Cn(0,2.0125,0)*CA(mr(-5),mr(0),0),50,0.4) | |
732 | newKF(towk,tD*Cn(0,3.0125,0)*CA(mr(-5),mr(0),0),40,0.4) | |
733 | local lawk=newAnim(law) | |
734 | newKF(lawk,laD*CA(mr(-40),0,0),20,0.4) | |
735 | local rawk=newAnim(raw) | |
736 | newKF(rawk,raD*CA(mr(-40),0,0),20,0.4) | |
737 | local llwk=newAnim(llw) | |
738 | newKF(llwk,llD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3) | |
739 | newKF(llwk,llD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3) | |
740 | local rlwk=newAnim(rlw) | |
741 | newKF(rlwk,rlD*Cn(0,0.0125,0)*CA(mr(-6),0,0),50,0.3) | |
742 | newKF(rlwk,rlD*Cn(0,-0.0125,0)*CA(mr(-5),0,mr(0)),40,0.3) | |
743 | ||
744 | ||
745 | --Sprint | |
746 | local hesp=newAnim(hew) | |
747 | newKF(hesp,hD*CA(mr(5),mr(0),0),10,0.2) | |
748 | newKF(hesp,hD*CA(mr(5),0,0),10,0.2) | |
749 | newKF(hesp,hD*CA(mr(5),mr(0),0),10,0.2) | |
750 | newKF(hesp,hD*CA(mr(5),0,0),10,0.2) | |
751 | local tosp=newAnim(tow) | |
752 | newKF(tosp,tD*Cn(0,2.0125,0)*CA(mr(-5),mr(10),0),10,0.4) | |
753 | newKF(tosp,tD*Cn(0,3.0125,0)*CA(mr(-5),mr(-10),0),10,0.4) | |
754 | local lasp=newAnim(law) | |
755 | newKF(lasp,laD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4) | |
756 | newKF(lasp,laD*CA(mr(-40),0,0),20,0.4) | |
757 | local rasp=newAnim(raw) | |
758 | newKF(rasp,raD*CA(mr(-40),0,0),20,0.4) | |
759 | newKF(rasp,raD*Cn(0,-0.1,-0.2)*CA(mr(60),0,0),20,0.4) | |
760 | local llsp=newAnim(llw) | |
761 | newKF(llsp,llD*Cn(0,0.0125,0)*CA(mr(-16),0,0),50,0.3) | |
762 | newKF(llsp,llD*Cn(0,-0.0125,0)*CA(mr(-15),0,mr(0)),40,0.3) | |
763 | local rlsp=newAnim(rlw) | |
764 | newKF(rlsp,rlD*Cn(0,0.0125,0)*CA(mr(-6),0,0),50,0.3) | |
765 | newKF(rlsp,rlD*Cn(0,-0.0125,0)*CA(mr(-5),0,mr(0)),40,0.3) | |
766 | ||
767 | --Jump | |
768 | local hejp=newAnim(hew) | |
769 | newKF(hejp,hD*CA(mr(60),0,0),8,0.6) | |
770 | newKF(hejp,hD*CA(mr(60),0,0),8,0.6) | |
771 | local tojp=newAnim(tow) | |
772 | newKF(tojp,tD*CA(mr(0),0,0),8,0.6) | |
773 | newKF(tojp,tD*CA(mr(0),0,0),8,0.6) | |
774 | local lajp=newAnim(law) | |
775 | newKF(lajp,laD*CA(mr(0),0,mr(-5)),16,0.4) | |
776 | newKF(lajp,laD*CA(mr(0),0,mr(-5)),16,0.4) | |
777 | local rajp=newAnim(raw) | |
778 | newKF(rajp,raD*CA(mr(0),0,mr(5)),16,0.4) | |
779 | newKF(rajp,raD*CA(mr(0),0,mr(5)),16,0.4) | |
780 | local lljp=newAnim(llw) | |
781 | newKF(lljp,llD*CA(0,0,mr(-5)),16,0.4) | |
782 | newKF(lljp,llD*CA(0,0,mr(-5)),16,0.4) | |
783 | local rljp=newAnim(rlw) | |
784 | newKF(rljp,rlD*CA(0,0,mr(5)),16,0.4) | |
785 | newKF(rljp,rlD*CA(0,0,mr(5)),16,0.4) | |
786 | ||
787 | --Freefall | |
788 | local heff=newAnim(hew) | |
789 | newKF(heff,hD*CA(mr(-5),0,0),8,0.6) | |
790 | newKF(heff,hD*CA(mr(-5),0,0),8,0.6) | |
791 | local toff=newAnim(tow) | |
792 | newKF(toff,tD*CA(mr(0),0,0),8,0.6) | |
793 | newKF(toff,tD*CA(mr(0),0,0),8,0.6) | |
794 | local laff=newAnim(law) | |
795 | newKF(laff,laD*CA(mr(140),0,0),16,0.4) | |
796 | newKF(laff,laD*CA(mr(140),0,0),16,0.4) | |
797 | local raff=newAnim(raw) | |
798 | newKF(raff,raD*CA(mr(140),0,0),16,0.4) | |
799 | newKF(raff,raD*CA(mr(140),0,0),16,0.4) | |
800 | local llff=newAnim(llw) | |
801 | newKF(llff,llD*CA(0,0,mr(-5)),16,0.4) | |
802 | newKF(llff,llD*CA(0,0,mr(-5)),16,0.4) | |
803 | local rlff=newAnim(rlw) | |
804 | newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4) | |
805 | newKF(rlff,rlD*CA(0,0,mr(5)),16,0.4) | |
806 | ||
807 | --Time Has Stopped | |
808 | local hesp2=newAnim(hew) | |
809 | newKF(hesp2,hD*CA(mr(-30),mr(0),mr(0)),10,0.5) | |
810 | local tosp2=newAnim(tow) | |
811 | newKF(tosp2,tD*Cn(0,0,0)*CA(mr(30),mr(0),mr(0)),10,0.5) | |
812 | local lasp2=newAnim(law) | |
813 | newKF(lasp2,laD*CA(mr(90),mr(0),mr(-60)),20,1.5) | |
814 | local rasp2=newAnim(raw) | |
815 | newKF(rasp2,raD*CA(mr(90),mr(0),mr(60)),20,1.5) | |
816 | local llsp2=newAnim(llw) | |
817 | newKF(llsp2,llD*Cn(0,0,0)*CA(mr(-30),mr(0),mr(0)),20,0.5) | |
818 | local rlsp2=newAnim(rlw) | |
819 | newKF(rlsp2,rlD*Cn(0,0,0)*CA(mr(-30),0,mr(0)),10,0.5) | |
820 | ||
821 | local hesp3=newAnim(hew2) | |
822 | newKF(hesp3,hD*CA(mr(-15),mr(0),mr(0)),50,0.2) | |
823 | local tosp3=newAnim(tow2) | |
824 | newKF(tosp3,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),50,0.4) | |
825 | local lasp3=newAnim(law2) | |
826 | newKF(lasp3,laD*CA(mr(80),mr(0),mr(65)),30,0.4) | |
827 | newKF(lasp3,laD*CA(mr(120),mr(0),mr(-60)),50,0.4) | |
828 | local rasp3=newAnim(raw2) | |
829 | newKF(rasp3,raD*CA(mr(80),mr(0),mr(-65)),30,0.4) | |
830 | newKF(rasp3,raD*CA(mr(120),mr(0),mr(60)),50,0.4) | |
831 | local llsp3=newAnim(llw2) | |
832 | newKF(llsp3,llD*CA(mr(0),mr(0),mr(1.5)),50,0.4) | |
833 | local rlsp3=newAnim(rlw2) | |
834 | newKF(rlsp3,rlD*CA(mr(0),mr(0),mr(-1.5)),50,0.4) | |
835 | ||
836 | local hesp4=newAnim(hew2) | |
837 | newKF(hesp4,hD*CA(mr(-10),mr(0),mr(0)),10,0.2) | |
838 | local tosp4=newAnim(tow2) | |
839 | newKF(tosp4,tD*Cn(0,1,3)*CA(mr(0),mr(0),mr(0)),10,0.4) | |
840 | local lasp4=newAnim(law2) | |
841 | newKF(lasp4,laD*CA(mr(120),mr(0),mr(-60)),20,0.4) | |
842 | local rasp4=newAnim(raw2) | |
843 | newKF(rasp4,raD*CA(mr(120),mr(0),mr(60)),20,0.4) | |
844 | local llsp4=newAnim(llw2) | |
845 | newKF(llsp4,llD*CA(mr(0),mr(0),mr(1.5)),20,0.4) | |
846 | local rlsp4=newAnim(rlw2) | |
847 | newKF(rlsp4,rlD*CA(mr(0),mr(0),mr(-1.5)),10,0.4) | |
848 | ||
849 | --Let time flow again | |
850 | local hetoki=newAnim(hew) | |
851 | newKF(hetoki,hD*CA(mr(0),mr(0),mr(0)),10,0.2) | |
852 | local totoki=newAnim(tow) | |
853 | newKF(totoki,tD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4) | |
854 | local latoki=newAnim(law) | |
855 | newKF(latoki,laD*Cn(0,-0.1,-0.2)*CA(mr(0),mr(0),mr(0)),20,0.4) | |
856 | local ratoki=newAnim(raw) | |
857 | newKF(ratoki,raD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
858 | local lltoki=newAnim(llw) | |
859 | newKF(lltoki,llD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
860 | local rltoki=newAnim(rlw) | |
861 | newKF(rltoki,rlD*Cn(0,0,0)*CA(mr(0),mr(0),mr(0)),10,0.4) | |
862 | --//Example of Keyframe | |
863 | --[[ | |
864 | local hesp2=newAnim(hew) | |
865 | newKF(hesp2,hD*CA(mr(0),mr(0),mr(0)),10,0.2) | |
866 | local tosp2=newAnim(tow) | |
867 | newKF(tosp2,tD*CA(mr(0),mr(0),mr(0)),10,0.4) | |
868 | local lasp2=newAnim(law) | |
869 | newKF(lasp2,laD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
870 | local rasp2=newAnim(raw) | |
871 | newKF(rasp2,raD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
872 | local llsp2=newAnim(llw) | |
873 | newKF(llsp2,llD*CA(mr(0),mr(0),mr(0)),20,0.4) | |
874 | local rlsp2=newAnim(rlw) | |
875 | newKF(rlsp2,rlD*CA(mr(0),mr(0),mr(0)),10,0.4) | |
876 | ]] | |
877 | function onDamage(Part) | |
878 | if Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("BodyVelocity") ~= nil or Part:findFirstChild("Humanoid") == nil and Part:findFirstChild("RocketPropulsion") ~= nil then | |
879 | Part.Anchored = true | |
880 | if Part:findFirstChild("Mesh") ~= nil then | |
881 | z = Part:findFirstChild("Mesh") | |
882 | for i = 1,5 do | |
883 | z.Scale = z.Scale + Vector3.new(1,1,1) | |
884 | wait(0.05) | |
885 | end | |
886 | end | |
887 | end | |
888 | end | |
889 | ||
890 | function trappedTorsos:isTrapped(t) | |
891 | for nildata, index in next,self do | |
892 | if index==t then | |
893 | return true | |
894 | end | |
895 | end | |
896 | return false | |
897 | end | |
898 | ||
899 | function trappedTorsos:Capture(hit) | |
900 | if hit:isA'BasePart' then | |
901 | if not trappedTorsos:isTrapped(hit) and not hit:IsDescendantOf(char) then | |
902 | table.insert(trappedTorsos, hit) | |
903 | hit.Anchored = true --trapped! | |
904 | --print'trapped!' | |
905 | end | |
906 | end | |
907 | end | |
908 | ||
909 | function trappedTorsos:ReleasePart(hit) | |
910 | if hit:isA'BasePart' then | |
911 | if trappedTorsos:isTrapped(hit) and not hit:IsDescendantOf(char) then | |
912 | table.remove(trappedTorsos, hit) | |
913 | hit.Anchored = false --trapped! | |
914 | --print'trapped!' | |
915 | end | |
916 | end | |
917 | end | |
918 | ||
919 | function trappedTorsos:Trip(hit) | |
920 | if hit:isA'BasePart' then | |
921 | if not hit:IsDescendantOf(char) then | |
922 | hit.Parent.Humanoid.PlatformStand = true | |
923 | end | |
924 | end | |
925 | end | |
926 | ||
927 | function trappedTorsos:Repel(hit) | |
928 | if hit:isA'BasePart' then | |
929 | if not hit:IsDescendantOf(char) then | |
930 | Damagefunc(torso,hit,5,15,math.random(100,100),"Knockdown",RootPart,.2,1) | |
931 | end | |
932 | end | |
933 | end | |
934 | ||
935 | function trappedTorsos:Attract(hit) | |
936 | if hit:isA'BasePart' then | |
937 | if not hit:IsDescendantOf(char) then | |
938 | Damagefunc(torso,hit,5,15,math.random(100,100),"Attact",RootPart,.2,1) | |
939 | end | |
940 | end | |
941 | end | |
942 | ||
943 | function trappedTorsos:Target(hit) | |
944 | if hit:isA'BasePart' then | |
945 | if not hit:IsDescendantOf(char) then | |
946 | Target = hit | |
947 | end | |
948 | end | |
949 | end | |
950 | ||
951 | function trappedTorsos:Release() | |
952 | for i,v in next, self do | |
953 | if type(v)=='userdata' then | |
954 | if v:isA('BasePart') then | |
955 | v.Anchored = false | |
956 | self[i] = nil | |
957 | end | |
958 | end | |
959 | end | |
960 | end | |
961 | ||
962 | --Za Warudo | |
963 | Attacking = false | |
964 | WasOn = true | |
965 | function TheWorld(Mode) | |
966 | if Mode == "Time Stop" then | |
967 | if WasOn == true and StandOn == false then | |
968 | StandOn = true | |
969 | WasOn = false | |
970 | end | |
971 | wait() | |
972 | local TimeStop = Instance.new("Sound",tor) | |
973 | TimeStop.SoundId = "rbxassetid://520743795" | |
974 | TimeStop.Looped = false | |
975 | TimeStop.Volume = 1 | |
976 | local AreaOfEffect = Instance.new("Part",char) | |
977 | AreaOfEffect.Position = tor.Position | |
978 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
979 | AreaOfEffect.Anchored = true | |
980 | AreaOfEffect.CanCollide = false | |
981 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
982 | AreaOfEffect.Transparency = 0.9 | |
983 | AreaOfEffect.Shape = "Ball" | |
984 | AreaOfEffect.Material = "Neon" | |
985 | TimeStop:Play() | |
986 | for i = 1,10 do | |
987 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
988 | AreaOfEffect.CFrame = char.Torso.CFrame | |
989 | wait() | |
990 | end | |
991 | coroutine.wrap(function() | |
992 | do local me={} | |
993 | ||
994 | me.plrs = game:service'Workspace':children'' | |
995 | ||
996 | function me:getNear(mag) | |
997 | local rtn = {} | |
998 | ||
999 | for k,v in next,me.plrs do | |
1000 | local chxr = v | |
1001 | ||
1002 | if chxr then | |
1003 | if chxr:findFirstChild'Torso' then | |
1004 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
1005 | ||
1006 | if pos<=mag then | |
1007 | for a,b in pairs(chxr:children()) do | |
1008 | if b:IsA("BasePart") then | |
1009 | table.insert(rtn, b) | |
1010 | end | |
1011 | end | |
1012 | end | |
1013 | end | |
1014 | end | |
1015 | end | |
1016 | return rtn | |
1017 | end | |
1018 | ||
1019 | for no, torso in ipairs(me:getNear(25)) do | |
1020 | --print(torso:GetFullName()) | |
1021 | --print(torso:GetFullName()) | |
1022 | trappedTorsos:Capture(torso) | |
1023 | end | |
1024 | ||
1025 | ||
1026 | end | |
1027 | end)() | |
1028 | AreaOfEffect:Destroy() | |
1029 | workspace.Gravity = 70 | |
1030 | for i,v in pairs(char:children()) do | |
1031 | if v:IsA("Part") then | |
1032 | v.Anchored = false | |
1033 | end | |
1034 | if v:IsA("Hat") then | |
1035 | v.Handle.Anchored = false | |
1036 | end | |
1037 | end | |
1038 | for i,v in pairs(pchar:children()) do | |
1039 | if v:IsA("Part") then | |
1040 | v.Anchored = false | |
1041 | end | |
1042 | if v:IsA("Hat") then | |
1043 | v.Handle.Anchored = false | |
1044 | end | |
1045 | end | |
1046 | if WasOn == false then | |
1047 | StandOn = false | |
1048 | WasOn = true | |
1049 | end | |
1050 | hum.WalkSpeed = 16 | |
1051 | end | |
1052 | if Mode == "Light Gravity" then | |
1053 | LightGrav = true | |
1054 | if WasOn == true and StandOn == false then | |
1055 | StandOn = true | |
1056 | WasOn = false | |
1057 | end | |
1058 | wait() | |
1059 | local TimeStop = Instance.new("Sound",char) | |
1060 | TimeStop.SoundId = "rbxassetid://520743795" | |
1061 | TimeStop.Looped = false | |
1062 | TimeStop.Volume = 1 | |
1063 | local AreaOfEffect = Instance.new("Part",char) | |
1064 | AreaOfEffect.Position = tor.Position | |
1065 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1066 | AreaOfEffect.Anchored = true | |
1067 | AreaOfEffect.CanCollide = false | |
1068 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1069 | AreaOfEffect.Transparency = 0.9 | |
1070 | AreaOfEffect.Shape = "Ball" | |
1071 | AreaOfEffect.Material = "Neon" | |
1072 | TimeStop:Play() | |
1073 | for i = 1,10 do | |
1074 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1075 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1076 | wait() | |
1077 | end | |
1078 | AreaOfEffect:Destroy() | |
1079 | workspace.Gravity = -196.2 | |
1080 | for i,v in pairs(char:children()) do | |
1081 | if v:IsA("Part") then | |
1082 | v.Anchored = false | |
1083 | end | |
1084 | if v:IsA("Hat") then | |
1085 | v.Handle.Anchored = false | |
1086 | end | |
1087 | end | |
1088 | for i,v in pairs(pchar:children()) do | |
1089 | if v:IsA("Part") then | |
1090 | v.Anchored = false | |
1091 | end | |
1092 | if v:IsA("Hat") then | |
1093 | v.Handle.Anchored = false | |
1094 | end | |
1095 | end | |
1096 | if WasOn == false then | |
1097 | StandOn = false | |
1098 | WasOn = true | |
1099 | end | |
1100 | HeavyGrav = false | |
1101 | NormalGrav = false | |
1102 | hum.WalkSpeed = 16 | |
1103 | end | |
1104 | if Mode == "Normal Gravity" then | |
1105 | NormalGrav = true | |
1106 | LightGrav = false | |
1107 | HeavyGrav = false | |
1108 | if WasOn == true and StandOn == false then | |
1109 | StandOn = true | |
1110 | WasOn = false | |
1111 | end | |
1112 | wait() | |
1113 | local TimeStop = Instance.new("Sound",char) | |
1114 | TimeStop.SoundId = "rbxassetid://520743795" | |
1115 | TimeStop.Looped = false | |
1116 | TimeStop.Volume = 1 | |
1117 | local AreaOfEffect = Instance.new("Part",char) | |
1118 | AreaOfEffect.Position = tor.Position | |
1119 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1120 | AreaOfEffect.Anchored = true | |
1121 | AreaOfEffect.CanCollide = false | |
1122 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1123 | AreaOfEffect.Transparency = 0.9 | |
1124 | AreaOfEffect.Shape = "Ball" | |
1125 | AreaOfEffect.Material = "Neon" | |
1126 | TimeStop:Play() | |
1127 | for i = 1,10 do | |
1128 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1129 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1130 | wait() | |
1131 | end | |
1132 | AreaOfEffect:Destroy() | |
1133 | workspace.Gravity = 196.2 | |
1134 | for i,v in pairs(char:children()) do | |
1135 | if v:IsA("Part") then | |
1136 | v.Anchored = false | |
1137 | end | |
1138 | if v:IsA("Hat") then | |
1139 | v.Handle.Anchored = false | |
1140 | end | |
1141 | end | |
1142 | for i,v in pairs(pchar:children()) do | |
1143 | if v:IsA("Part") then | |
1144 | v.Anchored = false | |
1145 | end | |
1146 | if v:IsA("Hat") then | |
1147 | v.Handle.Anchored = false | |
1148 | end | |
1149 | end | |
1150 | if WasOn == false then | |
1151 | StandOn = false | |
1152 | WasOn = true | |
1153 | end | |
1154 | hum.WalkSpeed = 16 | |
1155 | end | |
1156 | if Mode == "Heavy Gravity" then | |
1157 | HeavyGrav = true | |
1158 | if WasOn == true and StandOn == false then | |
1159 | StandOn = true | |
1160 | WasOn = false | |
1161 | end | |
1162 | wait() | |
1163 | local TimeStop = Instance.new("Sound",char) | |
1164 | TimeStop.SoundId = "rbxassetid://520743795" | |
1165 | TimeStop.Looped = false | |
1166 | TimeStop.Volume = 1 | |
1167 | local AreaOfEffect = Instance.new("Part",char) | |
1168 | AreaOfEffect.Position = tor.Position | |
1169 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1170 | AreaOfEffect.Anchored = true | |
1171 | AreaOfEffect.CanCollide = false | |
1172 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1173 | AreaOfEffect.Transparency = 0.9 | |
1174 | AreaOfEffect.Shape = "Ball" | |
1175 | AreaOfEffect.Material = "Neon" | |
1176 | TimeStop:Play() | |
1177 | for i = 1,10 do | |
1178 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1179 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1180 | wait() | |
1181 | end | |
1182 | coroutine.wrap(function() | |
1183 | do local me={} | |
1184 | ||
1185 | me.plrs = game:service'Workspace':children'' | |
1186 | ||
1187 | function me:getNear(mag) | |
1188 | local rtn = {} | |
1189 | ||
1190 | for k,v in next,me.plrs do | |
1191 | local chxr = v | |
1192 | ||
1193 | if chxr then | |
1194 | if chxr:findFirstChild'Torso' then | |
1195 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
1196 | ||
1197 | if pos<=mag then | |
1198 | for a,b in pairs(chxr:children()) do | |
1199 | if b:IsA("BasePart") then | |
1200 | table.insert(rtn, b) | |
1201 | end | |
1202 | end | |
1203 | end | |
1204 | end | |
1205 | end | |
1206 | end | |
1207 | return rtn | |
1208 | end | |
1209 | ||
1210 | for no, torso in ipairs(me:getNear(5555)) do | |
1211 | --print(torso:GetFullName()) | |
1212 | --print(torso:GetFullName()) | |
1213 | trappedTorsos:Trip(torso) | |
1214 | end | |
1215 | ||
1216 | ||
1217 | end | |
1218 | end)() | |
1219 | AreaOfEffect:Destroy() | |
1220 | workspace.Gravity = math.huge | |
1221 | for i,v in pairs(char:children()) do | |
1222 | if v:IsA("Part") then | |
1223 | v.Anchored = false | |
1224 | end | |
1225 | if v:IsA("Hat") then | |
1226 | v.Handle.Anchored = false | |
1227 | end | |
1228 | end | |
1229 | for i,v in pairs(pchar:children()) do | |
1230 | if v:IsA("Part") then | |
1231 | v.Anchored = false | |
1232 | end | |
1233 | if v:IsA("Hat") then | |
1234 | v.Handle.Anchored = false | |
1235 | end | |
1236 | end | |
1237 | if WasOn == false then | |
1238 | StandOn = false | |
1239 | WasOn = true | |
1240 | end | |
1241 | NormalGrav = false | |
1242 | LightGrav = false | |
1243 | hum.WalkSpeed = 16 | |
1244 | end | |
1245 | if Mode == "World Time Stop" then | |
1246 | if WasOn == true and StandOn == false then | |
1247 | StandOn = true | |
1248 | WasOn = false | |
1249 | end | |
1250 | wait() | |
1251 | local TimeStop = Instance.new("Sound",char) | |
1252 | TimeStop.SoundId = "rbxassetid://520743795" | |
1253 | TimeStop.Looped = false | |
1254 | TimeStop.Volume = 1 | |
1255 | local AreaOfEffect = Instance.new("Part",char) | |
1256 | AreaOfEffect.Position = tor.Position | |
1257 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1258 | AreaOfEffect.Anchored = true | |
1259 | AreaOfEffect.CanCollide = false | |
1260 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1261 | AreaOfEffect.Transparency = 0.9 | |
1262 | AreaOfEffect.Shape = "Ball" | |
1263 | AreaOfEffect.Material = "Neon" | |
1264 | TimeStop:Play() | |
1265 | for i = 1,10 do | |
1266 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1267 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1268 | wait() | |
1269 | end | |
1270 | coroutine.wrap(function() | |
1271 | do local me={} | |
1272 | ||
1273 | me.plrs = game:service'Workspace':children'' | |
1274 | ||
1275 | function me:getNear(mag) | |
1276 | local rtn = {} | |
1277 | ||
1278 | for k,v in next,me.plrs do | |
1279 | local chxr = v | |
1280 | ||
1281 | if chxr then | |
1282 | if chxr:findFirstChild'Torso' then | |
1283 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
1284 | ||
1285 | if pos<=mag then | |
1286 | for a,b in pairs(chxr:children()) do | |
1287 | if b:IsA("BasePart") then | |
1288 | table.insert(rtn, b) | |
1289 | end | |
1290 | end | |
1291 | end | |
1292 | end | |
1293 | end | |
1294 | end | |
1295 | return rtn | |
1296 | end | |
1297 | ||
1298 | for no, torso in ipairs(me:getNear(5555)) do | |
1299 | --print(torso:GetFullName()) | |
1300 | --print(torso:GetFullName()) | |
1301 | trappedTorsos:Capture(torso) | |
1302 | end | |
1303 | ||
1304 | ||
1305 | end | |
1306 | end)() | |
1307 | AreaOfEffect:Destroy() | |
1308 | workspace.Gravity = 70 | |
1309 | for i,v in pairs(char:children()) do | |
1310 | if v:IsA("Part") then | |
1311 | v.Anchored = false | |
1312 | end | |
1313 | if v:IsA("Hat") then | |
1314 | v.Handle.Anchored = false | |
1315 | end | |
1316 | end | |
1317 | for i,v in pairs(pchar:children()) do | |
1318 | if v:IsA("Part") then | |
1319 | v.Anchored = false | |
1320 | end | |
1321 | if v:IsA("Hat") then | |
1322 | v.Handle.Anchored = false | |
1323 | end | |
1324 | end | |
1325 | if WasOn == false then | |
1326 | StandOn = false | |
1327 | WasOn = true | |
1328 | end | |
1329 | hum.WalkSpeed = 16 | |
1330 | end | |
1331 | if Mode == "Time Start" then | |
1332 | local TimeStop = Instance.new("Sound",tor) | |
1333 | TimeStop.SoundId = "rbxassetid://520743795" | |
1334 | TimeStop.Looped = false | |
1335 | TimeStop.Volume = 1 | |
1336 | TimeStop:Play() | |
1337 | local AreaOfEffect2 = Instance.new("Part",tor) | |
1338 | AreaOfEffect2.Position = tor.Position | |
1339 | AreaOfEffect2.Size = Vector3.new(0.01,0.01,0.01) | |
1340 | AreaOfEffect2.Anchored = true | |
1341 | AreaOfEffect2.CanCollide = false | |
1342 | AreaOfEffect2.Transparency = 1 | |
1343 | AreaOfEffect2.BrickColor = BrickColor.new("Institutional white") | |
1344 | AreaOfEffect2.Transparency = 0.99 | |
1345 | AreaOfEffect2.Shape = "Ball" | |
1346 | AreaOfEffect2.Material = "Neon" | |
1347 | AreaOfEffect2.Touched:connect(function(hit) | |
1348 | if hit ~= "Base" then | |
1349 | --hit.Anchored = false | |
1350 | end | |
1351 | end) | |
1352 | for i = 1,10 do | |
1353 | AreaOfEffect2.Size = AreaOfEffect2.Size + Vector3.new(4.1,4.1,4.1) | |
1354 | AreaOfEffect2.CFrame = char.Torso.CFrame | |
1355 | wait() | |
1356 | end | |
1357 | trappedTorsos:Release() | |
1358 | AreaOfEffect2:Destroy() | |
1359 | TfwTimeStopped = false | |
1360 | workspace.Gravity = 196.2 | |
1361 | end | |
1362 | if Mode == "Repel" then | |
1363 | if WasOn == true and StandOn == false then | |
1364 | StandOn = true | |
1365 | WasOn = false | |
1366 | end | |
1367 | wait() | |
1368 | local TimeStop = Instance.new("Sound",char) | |
1369 | TimeStop.SoundId = "rbxassetid://520743795" | |
1370 | TimeStop.Looped = false | |
1371 | TimeStop.Volume = 1 | |
1372 | local AreaOfEffect = Instance.new("Part",char) | |
1373 | AreaOfEffect.Position = tor.Position | |
1374 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1375 | AreaOfEffect.Anchored = true | |
1376 | AreaOfEffect.CanCollide = false | |
1377 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1378 | AreaOfEffect.Transparency = 0.9 | |
1379 | AreaOfEffect.Shape = "Ball" | |
1380 | AreaOfEffect.Material = "Neon" | |
1381 | TimeStop:Play() | |
1382 | for i = 1,10 do | |
1383 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1384 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1385 | wait() | |
1386 | end | |
1387 | coroutine.wrap(function() | |
1388 | do local me={} | |
1389 | ||
1390 | me.plrs = game:service'Workspace':children'' | |
1391 | ||
1392 | function me:getNear(mag) | |
1393 | local rtn = {} | |
1394 | ||
1395 | for k,v in next,me.plrs do | |
1396 | local chxr = v | |
1397 | ||
1398 | if chxr then | |
1399 | if chxr:findFirstChild'Torso' then | |
1400 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
1401 | ||
1402 | if pos<=mag then | |
1403 | for a,b in pairs(chxr:children()) do | |
1404 | if b:IsA("BasePart") then | |
1405 | table.insert(rtn, b) | |
1406 | end | |
1407 | end | |
1408 | end | |
1409 | end | |
1410 | end | |
1411 | end | |
1412 | return rtn | |
1413 | end | |
1414 | ||
1415 | for no, torso in ipairs(me:getNear(5555)) do | |
1416 | --print(torso:GetFullName()) | |
1417 | --print(torso:GetFullName()) | |
1418 | trappedTorsos:Repel(torso) | |
1419 | end | |
1420 | ||
1421 | ||
1422 | end | |
1423 | end)() | |
1424 | AreaOfEffect:Destroy() | |
1425 | for i,v in pairs(char:children()) do | |
1426 | if v:IsA("Part") then | |
1427 | v.Anchored = false | |
1428 | end | |
1429 | if v:IsA("Hat") then | |
1430 | v.Handle.Anchored = false | |
1431 | end | |
1432 | end | |
1433 | for i,v in pairs(pchar:children()) do | |
1434 | if v:IsA("Part") then | |
1435 | v.Anchored = false | |
1436 | end | |
1437 | if v:IsA("Hat") then | |
1438 | v.Handle.Anchored = false | |
1439 | end | |
1440 | end | |
1441 | if WasOn == false then | |
1442 | StandOn = false | |
1443 | WasOn = true | |
1444 | end | |
1445 | end | |
1446 | if Mode == "Attract" then | |
1447 | if WasOn == true and StandOn == false then | |
1448 | StandOn = true | |
1449 | WasOn = false | |
1450 | end | |
1451 | wait() | |
1452 | local TimeStop = Instance.new("Sound",char) | |
1453 | TimeStop.SoundId = "rbxassetid://520743795" | |
1454 | TimeStop.Looped = false | |
1455 | TimeStop.Volume = 1 | |
1456 | local AreaOfEffect = Instance.new("Part",char) | |
1457 | AreaOfEffect.Position = tor.Position | |
1458 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1459 | AreaOfEffect.Anchored = true | |
1460 | AreaOfEffect.CanCollide = false | |
1461 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1462 | AreaOfEffect.Transparency = 0.9 | |
1463 | AreaOfEffect.Shape = "Ball" | |
1464 | AreaOfEffect.Material = "Neon" | |
1465 | TimeStop:Play() | |
1466 | for i = 1,10 do | |
1467 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1468 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1469 | wait() | |
1470 | end | |
1471 | coroutine.wrap(function() | |
1472 | do local me={} | |
1473 | ||
1474 | me.plrs = game:service'Workspace':children'' | |
1475 | ||
1476 | function me:getNear(mag) | |
1477 | local rtn = {} | |
1478 | ||
1479 | for k,v in next,me.plrs do | |
1480 | local chxr = v | |
1481 | ||
1482 | if chxr then | |
1483 | if chxr:findFirstChild'Torso' then | |
1484 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
1485 | ||
1486 | if pos<=mag then | |
1487 | for a,b in pairs(chxr:children()) do | |
1488 | if b:IsA("BasePart") then | |
1489 | table.insert(rtn, b) | |
1490 | end | |
1491 | end | |
1492 | end | |
1493 | end | |
1494 | end | |
1495 | end | |
1496 | return rtn | |
1497 | end | |
1498 | ||
1499 | for no, torso in ipairs(me:getNear(5555)) do | |
1500 | --print(torso:GetFullName()) | |
1501 | --print(torso:GetFullName()) | |
1502 | trappedTorsos:Attract(torso) | |
1503 | end | |
1504 | ||
1505 | ||
1506 | end | |
1507 | end)() | |
1508 | AreaOfEffect:Destroy() | |
1509 | for i,v in pairs(char:children()) do | |
1510 | if v:IsA("Part") then | |
1511 | v.Anchored = false | |
1512 | end | |
1513 | if v:IsA("Hat") then | |
1514 | v.Handle.Anchored = false | |
1515 | end | |
1516 | end | |
1517 | for i,v in pairs(pchar:children()) do | |
1518 | if v:IsA("Part") then | |
1519 | v.Anchored = false | |
1520 | end | |
1521 | if v:IsA("Hat") then | |
1522 | v.Handle.Anchored = false | |
1523 | end | |
1524 | end | |
1525 | if WasOn == false then | |
1526 | StandOn = false | |
1527 | WasOn = true | |
1528 | end | |
1529 | end | |
1530 | if Mode == "Target" then | |
1531 | hum.Health = AnotherOneBitesZaDusto | |
1532 | if WasOn == true and StandOn == false then | |
1533 | StandOn = true | |
1534 | WasOn = false | |
1535 | end | |
1536 | wait() | |
1537 | local TimeStop = Instance.new("Sound",char) | |
1538 | TimeStop.SoundId = "rbxassetid://520743795" | |
1539 | TimeStop.Looped = false | |
1540 | TimeStop.Volume = 1 | |
1541 | local AreaOfEffect = Instance.new("Part",char) | |
1542 | AreaOfEffect.Position = tor.Position | |
1543 | AreaOfEffect.Size = Vector3.new(0.01,0.01,0.01) | |
1544 | AreaOfEffect.Anchored = true | |
1545 | AreaOfEffect.CanCollide = false | |
1546 | AreaOfEffect.BrickColor = BrickColor.new("Institutional white") | |
1547 | AreaOfEffect.Transparency = 0.9 | |
1548 | AreaOfEffect.Shape = "Ball" | |
1549 | AreaOfEffect.Material = "Neon" | |
1550 | TimeStop:Play() | |
1551 | for i = 1,10 do | |
1552 | AreaOfEffect.Size = AreaOfEffect.Size + Vector3.new(4.1,4.1,4.1) | |
1553 | AreaOfEffect.CFrame = char.Torso.CFrame | |
1554 | wait() | |
1555 | end | |
1556 | coroutine.wrap(function() | |
1557 | do local me={} | |
1558 | ||
1559 | me.plrs = game:service'Workspace':children'' | |
1560 | ||
1561 | function me:getNear(mag) | |
1562 | local rtn = {} | |
1563 | ||
1564 | for k,v in next,me.plrs do | |
1565 | local chxr = v | |
1566 | ||
1567 | if chxr then | |
1568 | if chxr:findFirstChild'Torso' then | |
1569 | local pos = (chxr.Torso.Position-tor.Position).magnitude | |
1570 | ||
1571 | if pos<=mag then | |
1572 | for a,b in pairs(chxr:children()) do | |
1573 | if b:IsA("BasePart") then | |
1574 | table.insert(rtn, b) | |
1575 | end | |
1576 | end | |
1577 | end | |
1578 | end | |
1579 | end | |
1580 | end | |
1581 | return rtn | |
1582 | end | |
1583 | ||
1584 | for no, torso in ipairs(me:getNear(5555)) do | |
1585 | --print(torso:GetFullName()) | |
1586 | --print(torso:GetFullName()) | |
1587 | trappedTorsos:Target(torso) | |
1588 | end | |
1589 | end | |
1590 | end)() | |
1591 | AreaOfEffect:Destroy() | |
1592 | for i,v in pairs(char:children()) do | |
1593 | if v:IsA("Part") then | |
1594 | v.Anchored = false | |
1595 | end | |
1596 | if v:IsA("Hat") then | |
1597 | v.Handle.Anchored = false | |
1598 | end | |
1599 | end | |
1600 | for i,v in pairs(pchar:children()) do | |
1601 | if v:IsA("Part") then | |
1602 | v.Anchored = false | |
1603 | end | |
1604 | if v:IsA("Hat") then | |
1605 | v.Handle.Anchored = false | |
1606 | end | |
1607 | end | |
1608 | if WasOn == false then | |
1609 | StandOn = false | |
1610 | WasOn = true | |
1611 | end | |
1612 | end | |
1613 | end | |
1614 | ||
1615 | LightGrav = false | |
1616 | NormalGrav = true | |
1617 | HeavyGrav = false | |
1618 | ||
1619 | Rapid = false | |
1620 | TimeStopped = false | |
1621 | OneSecond = false | |
1622 | Cha = char | |
1623 | Character = char | |
1624 | it=Instance.new | |
1625 | vt=Vector3.new | |
1626 | cn=CFrame.new | |
1627 | euler=CFrame.fromEulerAnglesXYZ | |
1628 | angles=CFrame.Angles | |
1629 | RootPart = hrp | |
1630 | mouse.KeyDown:connect(function(key) | |
1631 | if key == "q" then | |
1632 | if TimeStopped == false and Attacking == false then | |
1633 | TheWorld("Time Stop") | |
1634 | TimeStopped = true | |
1635 | TfwTimeStopped = true | |
1636 | elseif TimeStopped == true and Attacking == false then | |
1637 | TheWorld("Time Start") | |
1638 | TimeStopped = false | |
1639 | end | |
1640 | end | |
1641 | if key == "p" and TimeStopped == false and Attacking == false then | |
1642 | TheWorld("World Time Stop") | |
1643 | TimeStopped = true | |
1644 | TfwTimeStopped = true | |
1645 | end | |
1646 | if key == "z" then | |
1647 | TheWorld("Light Gravity") | |
1648 | end | |
1649 | if key == "x" then | |
1650 | TheWorld("Normal Gravity") | |
1651 | end | |
1652 | if key == "c" then | |
1653 | TheWorld("Heavy Gravity") | |
1654 | end | |
1655 | if key == "f" then | |
1656 | TheWorld("Repel") | |
1657 | end | |
1658 | if key == "g" then | |
1659 | TheWorld("Attract") | |
1660 | end | |
1661 | if key == "v" then | |
1662 | TheWorld("Target") | |
1663 | end | |
1664 | if key == "[" then | |
1665 | ControlledWorlds = false | |
1666 | end | |
1667 | if key == "]" then | |
1668 | ControlledWorlds = true | |
1669 | end | |
1670 | if key == "e" then | |
1671 | Rapid = true | |
1672 | Attacking = true | |
1673 | con1 = ram2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"MUDA",RootPart,.2,1) end) | |
1674 | con2 = lam2.Touched:connect(function(hit) Damagefunc(torso,hit,1,2,math.random(0,0),"MUDA",RootPart,.2,1) end) | |
1675 | while Rapid == true do | |
1676 | for i = 1, 3 do | |
1677 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
1678 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7) | |
1679 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
1680 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
1681 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
1682 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
1683 | wait() | |
1684 | end | |
1685 | for i = 1, 3 do | |
1686 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7) | |
1687 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7) | |
1688 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3) | |
1689 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3) | |
1690 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3) | |
1691 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3) | |
1692 | wait() | |
1693 | end | |
1694 | for i = 1, 3 do | |
1695 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
1696 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 1.7) | |
1697 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
1698 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
1699 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
1700 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
1701 | wait() | |
1702 | end | |
1703 | for i = 1, 3 do | |
1704 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(0),math.rad(-50)), 1.7) | |
1705 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(math.random(-20,20)),math.rad(-20)), 1.7) | |
1706 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 1.3) | |
1707 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 1.3) | |
1708 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 1.3) | |
1709 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 1.3) | |
1710 | wait() | |
1711 | end | |
1712 | end | |
1713 | con1:disconnect() | |
1714 | con2:disconnect() | |
1715 | Attacking = false | |
1716 | end | |
1717 | if key == "r" and Attacking == false then | |
1718 | con1 = ram2.Touched:connect(function(hit) | |
1719 | trappedTorsos:Capture(hit) | |
1720 | end) | |
1721 | ItsHot = false | |
1722 | Attacking = true | |
1723 | for i = 1, 3 do | |
1724 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(60,90)),math.rad(math.random(-20,20)),math.rad(20)), 1.7) | |
1725 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7) | |
1726 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
1727 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
1728 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
1729 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
1730 | wait() | |
1731 | end | |
1732 | wait(1) | |
1733 | con1:disconnect() | |
1734 | Attacking = false | |
1735 | end | |
1736 | if key == "t" and Attacking == false then | |
1737 | con1 = ram2.Touched:connect(function(hit) | |
1738 | trappedTorsos:ReleasePart() | |
1739 | end) | |
1740 | ItsHot = false | |
1741 | Attacking = true | |
1742 | for i = 1, 3 do | |
1743 | raw2.C0 = RLerp(raw2.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(math.random(90,95)),math.rad(math.random(20,20)),math.rad(20)), 1.7) | |
1744 | law2.C0 = RLerp(law2.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 1.7) | |
1745 | hew2.C0 = RLerp(hew2.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 1.3) | |
1746 | tow2.C0 = RLerp(tow2.C0, CFrame.new(0, -1, -8) * CFrame.Angles(math.rad(0), math.rad(50), 0), 1.3) | |
1747 | llw2.C0 = RLerp(llw2.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 1.3) | |
1748 | rlw2.C0 = RLerp(rlw2.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 1.3) | |
1749 | wait() | |
1750 | end | |
1751 | wait(3) | |
1752 | Attacking = false | |
1753 | con1:disconnect() | |
1754 | end | |
1755 | end) | |
1756 | ||
1757 | mouse.KeyUp:connect(function(key) | |
1758 | if key == "e" and Rapid == true or key == "v" and Rapid == true then | |
1759 | Rapid = false | |
1760 | end | |
1761 | end) | |
1762 | ||
1763 | for i, v in pairs(pchar:GetChildren()) do | |
1764 | if v:IsA('Hat') then | |
1765 | v.Handle.Transparency=1 | |
1766 | end | |
1767 | if v:IsA("Part") then | |
1768 | v.Material = "Neon" | |
1769 | v.BrickColor = BrickColor.new("Gold") | |
1770 | end | |
1771 | end | |
1772 | ||
1773 | -------------------------------Sprint | |
1774 | mouse.KeyDown:connect(function(key) | |
1775 | if string.byte(key) == 48 then | |
1776 | hum.WalkSpeed = 48 | |
1777 | end | |
1778 | end) | |
1779 | mouse.KeyUp:connect(function(key) | |
1780 | if string.byte(key) == 48 then | |
1781 | hum.WalkSpeed=16 | |
1782 | end | |
1783 | end) | |
1784 | ------------------------------------- | |
1785 | hum.FreeFalling:connect(function(f) | |
1786 | if f then | |
1787 | ffing=true | |
1788 | else | |
1789 | ffing=false | |
1790 | end | |
1791 | end) | |
1792 | hum.Jumping:connect(function(j) | |
1793 | if j then | |
1794 | jjing=true | |
1795 | else | |
1796 | jjing=false | |
1797 | end | |
1798 | end) | |
1799 | function Lerping(c1,c2,al) | |
1800 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
1801 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
1802 | for i,v in pairs(com1) do | |
1803 | com1[i] = v+(com2[i]-v)*al | |
1804 | end | |
1805 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
1806 | end | |
1807 | ||
1808 | m = Instance.new("Model",char) | |
1809 | ||
1810 | Handle = Instance.new("Part", m) | |
1811 | Handle:BreakJoints() | |
1812 | Handle.TopSurface = "Smooth" | |
1813 | Handle.Material = "SmoothPlastic" | |
1814 | Handle.Name = 'Handle' | |
1815 | Handle.Anchored = true | |
1816 | Handle.Transparency = 0 Handle.BottomSurface = "Smooth" | |
1817 | Handle.FormFactor = "Custom" Handle.CanCollide = false | |
1818 | Handle.BrickColor = BrickColor.new("Really black") | |
1819 | Handle.Size = Vector3.new(2.31999993, 0.34799999, 0.200000003) | |
1820 | ||
1821 | Part = Instance.new("Part", m) | |
1822 | Part:BreakJoints() | |
1823 | Part.TopSurface = "Smooth" | |
1824 | Part.Material = "SmoothPlastic" | |
1825 | Part.Name = 'Part' | |
1826 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
1827 | Part.FormFactor = "Custom" Part.CanCollide = false | |
1828 | Part.BrickColor = BrickColor.new("Really black") | |
1829 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
1830 | Partweld = Instance.new("Motor6D") | |
1831 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1832 | Partweld.C1 = CFrame.new(-0.697142124, -0.240707397, 0.697052002, 0.707106292, -6.45096577e-007, -0.707100093, 7.29660428e-007, 0.999991119, -4.4702773e-008, 0.707106292, -4.72456946e-007, 0.707100153) | |
1833 | Partweld.Parent = Part | |
1834 | PartMesh = Instance.new("BlockMesh",Part) | |
1835 | PartMesh.Name = "Mesh" | |
1836 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
1837 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
1838 | ||
1839 | Part = Instance.new("Part", m) | |
1840 | Part:BreakJoints() | |
1841 | Part.TopSurface = "Smooth" | |
1842 | Part.Material = "SmoothPlastic" | |
1843 | Part.Name = 'Part' | |
1844 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
1845 | Part.FormFactor = "Custom" Part.CanCollide = false | |
1846 | Part.BrickColor = BrickColor.new("Really black") | |
1847 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
1848 | Partweld = Instance.new("Motor6D") | |
1849 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1850 | Partweld.C1 = CFrame.new(3.81469727e-006, -0.232005119, 1.97199249, 0.999999762, -2.87769808e-013, 5.96046448e-008, 5.25801624e-013, 0.999991417, 2.84217094e-014, 0, -1.17239551e-013, 0.999991238) | |
1851 | Partweld.Parent = Part | |
1852 | PartMesh = Instance.new("BlockMesh",Part) | |
1853 | PartMesh.Name = "Mesh" | |
1854 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
1855 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
1856 | ||
1857 | Part = Instance.new("Part", m) | |
1858 | Part:BreakJoints() | |
1859 | Part.TopSurface = "Smooth" | |
1860 | Part.Material = "SmoothPlastic" | |
1861 | Part.Name = 'Part' | |
1862 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
1863 | Part.FormFactor = "Custom" Part.CanCollide = false | |
1864 | Part.BrickColor = BrickColor.new("Really black") | |
1865 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
1866 | Partweld = Instance.new("Motor6D") | |
1867 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1868 | Partweld.C1 = CFrame.new(-0.697060108, -0.237798691, 0.696979523, 0.707100153, -7.8854832e-008, -0.707074642, 6.79929997e-008, 0.999963224, -4.47018209e-008, 0.707100153, -2.54248249e-008, 0.707074702) | |
1869 | Partweld.Parent = Part | |
1870 | PartMesh = Instance.new("BlockMesh",Part) | |
1871 | PartMesh.Name = "Mesh" | |
1872 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
1873 | PartMesh.Scale = Vector3.new(1, 0.696000099, 1) | |
1874 | ||
1875 | Part = Instance.new("Part", m) | |
1876 | Part:BreakJoints() | |
1877 | Part.TopSurface = "Smooth" | |
1878 | Part.Material = "SmoothPlastic" | |
1879 | Part.Name = 'Part' | |
1880 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
1881 | Part.FormFactor = "Custom" Part.CanCollide = false | |
1882 | Part.BrickColor = BrickColor.new("Really black") | |
1883 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
1884 | Partweld = Instance.new("Motor6D") | |
1885 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1886 | Partweld.C1 = CFrame.new(-1.21799088, -0.231980324, 0.985839844, 0.999999762, 5.87768056e-010, 1.80602074e-005, -5.86997118e-010, 0.999974251, -6.33293951e-009, -1.80006027e-005, 6.33261976e-009, 0.99997437) | |
1887 | Partweld.Parent = Part | |
1888 | PartMesh = Instance.new("BlockMesh",Part) | |
1889 | PartMesh.Name = "Mesh" | |
1890 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
1891 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
1892 | ||
1893 | Part = Instance.new("Part", m) | |
1894 | Part:BreakJoints() | |
1895 | Part.TopSurface = "Smooth" | |
1896 | Part.Material = "SmoothPlastic" | |
1897 | Part.Name = 'Part' | |
1898 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
1899 | Part.FormFactor = "Custom" Part.CanCollide = false | |
1900 | Part.BrickColor = BrickColor.new("Really black") | |
1901 | Part.Size = Vector3.new(0.200000003, 0.34799999, 0.200000003) | |
1902 | Partweld = Instance.new("Motor6D") | |
1903 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1904 | Partweld.C1 = CFrame.new(0.000141143799, 1.8119812e-005, -1.21799469, 1.81794167e-005, -1.78968406e-007, -0.999964833, 6.0702348e-007, 0.999964714, -1.78957677e-007, 0.999999702, -6.06998185e-007, 1.82688236e-005) | |
1905 | Partweld.Parent = Part | |
1906 | PartMesh = Instance.new("BlockMesh",Part) | |
1907 | PartMesh.Name = "Mesh" | |
1908 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
1909 | PartMesh.Scale = Vector3.new(0.579999983, 1, 0.579999983) | |
1910 | ||
1911 | Part = Instance.new("Part", m) | |
1912 | Part:BreakJoints() | |
1913 | Part.TopSurface = "Smooth" | |
1914 | Part.Material = "SmoothPlastic" | |
1915 | Part.Name = 'Part' | |
1916 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
1917 | Part.FormFactor = "Custom" Part.CanCollide = false | |
1918 | Part.BrickColor = BrickColor.new("Really black") | |
1919 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
1920 | Partweld = Instance.new("Motor6D") | |
1921 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1922 | Partweld.C1 = CFrame.new(-1.21799469, 0.232003212, 0.985847473, 0.999999762, 5.66021896e-010, 1.80602074e-005, -5.65410829e-010, 0.999973297, -6.33274055e-009, -1.80006027e-005, 6.3324741e-009, 0.999973238) | |
1923 | Partweld.Parent = Part | |
1924 | PartMesh = Instance.new("BlockMesh",Part) | |
1925 | PartMesh.Name = "Mesh" | |
1926 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
1927 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
1928 | ||
1929 | Part = Instance.new("Part", m) | |
1930 | Part:BreakJoints() | |
1931 | Part.TopSurface = "Smooth" | |
1932 | Part.Material = "SmoothPlastic" | |
1933 | Part.Name = 'Part' | |
1934 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
1935 | Part.FormFactor = "Custom" Part.CanCollide = false | |
1936 | Part.BrickColor = BrickColor.new("Mid gray") | |
1937 | Part.Size = Vector3.new(2.31999969, 0.200000003, 1.8560003) | |
1938 | Partweld = Instance.new("Motor6D") | |
1939 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1940 | Partweld.C1 = CFrame.new(3.81469727e-006, -0.115989685, 0.985801697, 0.999999762, 6.05332673e-010, 1.80602074e-005, -6.04796213e-010, 0.999982834, -6.33284003e-009, -1.80006027e-005, 6.33262687e-009, 0.999982953) | |
1941 | Partweld.Parent = Part | |
1942 | PartMesh = Instance.new("BlockMesh",Part) | |
1943 | PartMesh.Name = "Mesh" | |
1944 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
1945 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
1946 | ||
1947 | Part = Instance.new("Part", m) | |
1948 | Part:BreakJoints() | |
1949 | Part.TopSurface = "Smooth" | |
1950 | Part.Material = "SmoothPlastic" | |
1951 | Part.Name = 'Part' | |
1952 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
1953 | Part.FormFactor = "Custom" Part.CanCollide = false | |
1954 | Part.BrickColor = BrickColor.new("Institutional white") | |
1955 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
1956 | Partweld = Instance.new("Motor6D") | |
1957 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1958 | Partweld.C1 = CFrame.new(1.52587891e-005, 0.226189613, 0.985958099, 0.99999094, -4.17435785e-007, -8.94069672e-008, 4.17436127e-007, 0.999991119, 2.08614694e-007, -2.98023224e-008, -2.83119846e-007, 0.999982476) | |
1959 | Partweld.Parent = Part | |
1960 | PartMesh = Instance.new("BlockMesh",Part) | |
1961 | PartMesh.Name = "Mesh" | |
1962 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
1963 | PartMesh.Scale = Vector3.new(1, 0.811999977, 1) | |
1964 | ||
1965 | Part = Instance.new("Part", m) | |
1966 | Part:BreakJoints() | |
1967 | Part.TopSurface = "Smooth" | |
1968 | Part.Material = "SmoothPlastic" | |
1969 | Part.Name = 'Part' | |
1970 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
1971 | Part.FormFactor = "Custom" Part.CanCollide = false | |
1972 | Part.BrickColor = BrickColor.new("Institutional white") | |
1973 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
1974 | Partweld = Instance.new("Motor6D") | |
1975 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1976 | Partweld.C1 = CFrame.new(1.52587891e-005, -0.237810135, 0.985958099, 0.99999094, -4.17435785e-007, -8.94069672e-008, 4.17436127e-007, 0.999991119, 2.08614694e-007, -2.98023224e-008, -2.83119846e-007, 0.999982476) | |
1977 | Partweld.Parent = Part | |
1978 | PartMesh = Instance.new("BlockMesh",Part) | |
1979 | PartMesh.Name = "Mesh" | |
1980 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
1981 | PartMesh.Scale = Vector3.new(1, 0.811999977, 1) | |
1982 | ||
1983 | Part = Instance.new("Part", m) | |
1984 | Part:BreakJoints() | |
1985 | Part.TopSurface = "Smooth" | |
1986 | Part.Material = "SmoothPlastic" | |
1987 | Part.Name = 'Part' | |
1988 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
1989 | Part.FormFactor = "Custom" Part.CanCollide = false | |
1990 | Part.BrickColor = BrickColor.new("Really black") | |
1991 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
1992 | Partweld = Instance.new("Motor6D") | |
1993 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1994 | Partweld.C1 = CFrame.new(-0.985813141, -0.237781525, 0, 1.80006027e-005, 1.57576963e-007, -0.999979973, 8.91885605e-008, 0.99998039, 2.61884452e-007, 0.999999166, -8.91910901e-008, 1.80602074e-005) | |
1995 | Partweld.Parent = Part | |
1996 | PartMesh = Instance.new("BlockMesh",Part) | |
1997 | PartMesh.Name = "Mesh" | |
1998 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
1999 | PartMesh.Scale = Vector3.new(1, 0.69599998, 1) | |
2000 | ||
2001 | Part = Instance.new("Part", m) | |
2002 | Part:BreakJoints() | |
2003 | Part.TopSurface = "Smooth" | |
2004 | Part.Material = "SmoothPlastic" | |
2005 | Part.Name = 'Part' | |
2006 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2007 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2008 | Part.BrickColor = BrickColor.new("Really black") | |
2009 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2010 | Partweld = Instance.new("Motor6D") | |
2011 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2012 | Partweld.C1 = CFrame.new(-5.7220459e-005, 0.223287582, 0.985862732, 0.999999285, -4.17447836e-007, 5.96046448e-008, 4.17451417e-007, 0.999991119, 2.08614694e-007, 8.94069672e-008, -8.94065408e-008, 0.999990642) | |
2013 | Partweld.Parent = Part | |
2014 | PartMesh = Instance.new("BlockMesh",Part) | |
2015 | PartMesh.Name = "Mesh" | |
2016 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2017 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2018 | ||
2019 | Part = Instance.new("Part", m) | |
2020 | Part:BreakJoints() | |
2021 | Part.TopSurface = "Smooth" | |
2022 | Part.Material = "SmoothPlastic" | |
2023 | Part.Name = 'Part' | |
2024 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2025 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2026 | Part.BrickColor = BrickColor.new("Really black") | |
2027 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2028 | Partweld = Instance.new("Motor6D") | |
2029 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2030 | Partweld.C1 = CFrame.new(-0.985980988, 0.22618866, 0, -8.94069672e-008, 1.63911707e-007, -0.999990642, 8.97813663e-008, 0.999991119, 2.68218798e-007, 0.999999285, -8.97803574e-008, 5.96046448e-008) | |
2031 | Partweld.Parent = Part | |
2032 | PartMesh = Instance.new("BlockMesh",Part) | |
2033 | PartMesh.Name = "Mesh" | |
2034 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2035 | PartMesh.Scale = Vector3.new(1, 0.69599998, 1) | |
2036 | ||
2037 | Part = Instance.new("Part", m) | |
2038 | Part:BreakJoints() | |
2039 | Part.TopSurface = "Smooth" | |
2040 | Part.Material = "SmoothPlastic" | |
2041 | Part.Name = 'Part' | |
2042 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2043 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2044 | Part.BrickColor = BrickColor.new("Really black") | |
2045 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2046 | Partweld = Instance.new("Motor6D") | |
2047 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2048 | Partweld.C1 = CFrame.new(-0.697110176, 0.226187706, 0.697032928, 0.707100391, -7.8857461e-008, -0.707094431, 6.79927936e-008, 0.999991119, -4.4702837e-008, 0.707100332, -2.54258214e-008, 0.707094312) | |
2049 | Partweld.Parent = Part | |
2050 | PartMesh = Instance.new("BlockMesh",Part) | |
2051 | PartMesh.Name = "Mesh" | |
2052 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2053 | PartMesh.Scale = Vector3.new(1, 0.696000099, 1) | |
2054 | ||
2055 | Part = Instance.new("Part", m) | |
2056 | Part:BreakJoints() | |
2057 | Part.TopSurface = "Smooth" | |
2058 | Part.Material = "SmoothPlastic" | |
2059 | Part.Name = 'Part' | |
2060 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2061 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2062 | Part.BrickColor = BrickColor.new("Institutional white") | |
2063 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2064 | Partweld = Instance.new("Motor6D") | |
2065 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2066 | Partweld.C1 = CFrame.new(-0.697163582, 0.226187706, 0.697189331, 0.707100332, -7.88574468e-008, -0.707094491, 6.7967342e-008, 0.999991119, -4.47028512e-008, 0.707100451, 4.37624692e-009, 0.707094193) | |
2067 | Partweld.Parent = Part | |
2068 | PartMesh = Instance.new("BlockMesh",Part) | |
2069 | PartMesh.Name = "Mesh" | |
2070 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2071 | PartMesh.Scale = Vector3.new(1, 0.812000036, 1) | |
2072 | ||
2073 | Part = Instance.new("Part", m) | |
2074 | Part:BreakJoints() | |
2075 | Part.TopSurface = "Smooth" | |
2076 | Part.Material = "SmoothPlastic" | |
2077 | Part.Name = 'Part' | |
2078 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2079 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2080 | Part.BrickColor = BrickColor.new("Really black") | |
2081 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2082 | Partweld = Instance.new("Motor6D") | |
2083 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2084 | Partweld.C1 = CFrame.new(-5.7220459e-005, -0.240706444, 0.985862732, 0.999999285, -4.17447836e-007, 5.96046448e-008, 4.17451417e-007, 0.999991119, 2.08614694e-007, 8.94069672e-008, -8.94065408e-008, 0.999990642) | |
2085 | Partweld.Parent = Part | |
2086 | PartMesh = Instance.new("BlockMesh",Part) | |
2087 | PartMesh.Name = "Mesh" | |
2088 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2089 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2090 | ||
2091 | Part = Instance.new("Part", m) | |
2092 | Part:BreakJoints() | |
2093 | Part.TopSurface = "Smooth" | |
2094 | Part.Material = "SmoothPlastic" | |
2095 | Part.Name = 'Part' | |
2096 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2097 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2098 | Part.BrickColor = BrickColor.new("Really black") | |
2099 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2100 | Partweld = Instance.new("Motor6D") | |
2101 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2102 | Partweld.C1 = CFrame.new(3.81469727e-006, 0.23197937, -1.52587891e-005, 0.999999762, 2.23820962e-013, 5.96046448e-008, 7.10542736e-015, 0.999991417, -1.03028697e-013, 0, 1.0658141e-014, 0.999991238) | |
2103 | Partweld.Parent = Part | |
2104 | PartMesh = Instance.new("BlockMesh",Part) | |
2105 | PartMesh.Name = "Mesh" | |
2106 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2107 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2108 | ||
2109 | Part = Instance.new("Part", m) | |
2110 | Part:BreakJoints() | |
2111 | Part.TopSurface = "Smooth" | |
2112 | Part.Material = "SmoothPlastic" | |
2113 | Part.Name = 'Part' | |
2114 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2115 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2116 | Part.BrickColor = BrickColor.new("Institutional white") | |
2117 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2118 | Partweld = Instance.new("Motor6D") | |
2119 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2120 | Partweld.C1 = CFrame.new(-0.697163105, -0.237812042, 0.697189331, 0.707100332, -7.88574468e-008, -0.707094491, 6.7967342e-008, 0.999991119, -4.47028512e-008, 0.707100451, 4.37624692e-009, 0.707094193) | |
2121 | Partweld.Parent = Part | |
2122 | PartMesh = Instance.new("BlockMesh",Part) | |
2123 | PartMesh.Name = "Mesh" | |
2124 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2125 | PartMesh.Scale = Vector3.new(1, 0.812000036, 1) | |
2126 | ||
2127 | Part = Instance.new("Part", m) | |
2128 | Part:BreakJoints() | |
2129 | Part.TopSurface = "Smooth" | |
2130 | Part.Material = "SmoothPlastic" | |
2131 | Part.Name = 'Part' | |
2132 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2133 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2134 | Part.BrickColor = BrickColor.new("Institutional white") | |
2135 | Part.Size = Vector3.new(2.31999993, 0.200000003, 1.85600007) | |
2136 | Partweld = Instance.new("Motor6D") | |
2137 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2138 | Partweld.C1 = CFrame.new(0, 0.232005119, 0.985790253, 0.999999762, 6.06398487e-010, 1.80602074e-005, -6.05488992e-010, 0.999969959, -6.3331953e-009, -1.80006027e-005, 6.33281516e-009, 0.99996984) | |
2139 | Partweld.Parent = Part | |
2140 | PartMesh = Instance.new("BlockMesh",Part) | |
2141 | PartMesh.Name = "Mesh" | |
2142 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2143 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2144 | ||
2145 | Part = Instance.new("Part", m) | |
2146 | Part:BreakJoints() | |
2147 | Part.TopSurface = "Smooth" | |
2148 | Part.Material = "SmoothPlastic" | |
2149 | Part.Name = 'Part' | |
2150 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2151 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2152 | Part.BrickColor = BrickColor.new("Really black") | |
2153 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2154 | Partweld = Instance.new("Motor6D") | |
2155 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2156 | Partweld.C1 = CFrame.new(-0.697142363, 0.223291397, 0.697052002, 0.707106292, -6.45096577e-007, -0.707100093, 7.29660428e-007, 0.999991119, -4.4702773e-008, 0.707106292, -4.72456946e-007, 0.707100153) | |
2157 | Partweld.Parent = Part | |
2158 | PartMesh = Instance.new("BlockMesh",Part) | |
2159 | PartMesh.Name = "Mesh" | |
2160 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2161 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2162 | ||
2163 | Part = Instance.new("Part", m) | |
2164 | Part:BreakJoints() | |
2165 | Part.TopSurface = "Smooth" | |
2166 | Part.Material = "SmoothPlastic" | |
2167 | Part.Name = 'Part' | |
2168 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2169 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2170 | Part.BrickColor = BrickColor.new("Mid gray") | |
2171 | Part.Size = Vector3.new(2.31999969, 0.200000003, 1.8560003) | |
2172 | Partweld = Instance.new("Motor6D") | |
2173 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2174 | Partweld.C1 = CFrame.new(0, 0.115994453, 0.985679626, 0.999999762, 6.06839023e-010, 1.80602074e-005, -6.06164008e-010, 0.999978542, -6.33337294e-009, -1.79708004e-005, 6.33308517e-009, 0.999978423) | |
2175 | Partweld.Parent = Part | |
2176 | PartMesh = Instance.new("BlockMesh",Part) | |
2177 | PartMesh.Name = "Mesh" | |
2178 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2179 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2180 | ||
2181 | Part = Instance.new("Part", m) | |
2182 | Part:BreakJoints() | |
2183 | Part.TopSurface = "Smooth" | |
2184 | Part.Material = "SmoothPlastic" | |
2185 | Part.Name = 'Part' | |
2186 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2187 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2188 | Part.BrickColor = BrickColor.new("Mid gray") | |
2189 | Part.Size = Vector3.new(2.31999969, 0.200000003, 1.8560003) | |
2190 | Partweld = Instance.new("Motor6D") | |
2191 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2192 | Partweld.C1 = CFrame.new(0, -5.7220459e-006, 0.985614777, 0.999999762, 6.06938499e-010, 1.80602074e-005, -6.06267037e-010, 0.999978542, -6.33343333e-009, -1.79708004e-005, 6.33315622e-009, 0.999978423) | |
2193 | Partweld.Parent = Part | |
2194 | PartMesh = Instance.new("BlockMesh",Part) | |
2195 | PartMesh.Name = "Mesh" | |
2196 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2197 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2198 | ||
2199 | Part = Instance.new("Part", m) | |
2200 | Part:BreakJoints() | |
2201 | Part.TopSurface = "Smooth" | |
2202 | Part.Material = "SmoothPlastic" | |
2203 | Part.Name = 'Part' | |
2204 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2205 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2206 | Part.BrickColor = BrickColor.new("Institutional white") | |
2207 | Part.Size = Vector3.new(2.31999993, 0.200000003, 1.85600007) | |
2208 | Partweld = Instance.new("Motor6D") | |
2209 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2210 | Partweld.C1 = CFrame.new(-3.81469727e-006, -0.231994629, 0.98563385, 0.999999762, 5.88961768e-010, 1.80602074e-005, -5.88052274e-010, 0.999969959, -6.33351505e-009, -1.80006027e-005, 6.3331278e-009, 0.99996984) | |
2211 | Partweld.Parent = Part | |
2212 | PartMesh = Instance.new("BlockMesh",Part) | |
2213 | PartMesh.Name = "Mesh" | |
2214 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2215 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2216 | ||
2217 | Part = Instance.new("Part", m) | |
2218 | Part:BreakJoints() | |
2219 | Part.TopSurface = "Smooth" | |
2220 | Part.Material = "SmoothPlastic" | |
2221 | Part.Name = 'Part' | |
2222 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2223 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2224 | Part.BrickColor = BrickColor.new("Really black") | |
2225 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2226 | Partweld = Instance.new("Motor6D") | |
2227 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2228 | Partweld.C1 = CFrame.new(-7.62939453e-006, -0.231983185, -0.000392913818, 0.999999762, 5.89174931e-010, 1.80602074e-005, -5.88627813e-010, 0.999982834, -6.33369623e-009, -1.79708004e-005, 6.33347597e-009, 0.999982774) | |
2229 | Partweld.Parent = Part | |
2230 | PartMesh = Instance.new("BlockMesh",Part) | |
2231 | PartMesh.Name = "Mesh" | |
2232 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2233 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2234 | ||
2235 | Part = Instance.new("Part", m) | |
2236 | Part:BreakJoints() | |
2237 | Part.TopSurface = "Smooth" | |
2238 | Part.Material = "SmoothPlastic" | |
2239 | Part.Name = 'Part' | |
2240 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2241 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2242 | Part.BrickColor = BrickColor.new("Really black") | |
2243 | Part.Size = Vector3.new(0.200000003, 0.34799999, 0.200000003) | |
2244 | Partweld = Instance.new("Motor6D") | |
2245 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2246 | Partweld.C1 = CFrame.new(0.000408172607, 1.71661377e-005, 1.2179985, 1.81794167e-005, -1.78972357e-007, -0.999982238, 6.07028539e-007, 0.999982357, -1.78961514e-007, 0.999999702, -6.07014329e-007, 1.82688236e-005) | |
2247 | Partweld.Parent = Part | |
2248 | PartMesh = Instance.new("BlockMesh",Part) | |
2249 | PartMesh.Name = "Mesh" | |
2250 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2251 | PartMesh.Scale = Vector3.new(0.579999983, 1, 0.579999983) | |
2252 | ||
2253 | Part = Instance.new("Part", m) | |
2254 | Part:BreakJoints() | |
2255 | Part.TopSurface = "Smooth" | |
2256 | Part.Material = "SmoothPlastic" | |
2257 | Part.Name = 'Part' | |
2258 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2259 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2260 | Part.BrickColor = BrickColor.new("Really black") | |
2261 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2262 | Partweld = Instance.new("Motor6D") | |
2263 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2264 | Partweld.C1 = CFrame.new(1.21799469, -0.231983185, 0.985591888, 0.999999762, 5.89174931e-010, 1.80602074e-005, -5.88627813e-010, 0.999982834, -6.33369623e-009, -1.79708004e-005, 6.33347597e-009, 0.999982774) | |
2265 | Partweld.Parent = Part | |
2266 | PartMesh = Instance.new("BlockMesh",Part) | |
2267 | PartMesh.Name = "Mesh" | |
2268 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2269 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2270 | ||
2271 | Part = Instance.new("Part", m) | |
2272 | Part:BreakJoints() | |
2273 | Part.TopSurface = "Smooth" | |
2274 | Part.Material = "SmoothPlastic" | |
2275 | Part.Name = 'Part' | |
2276 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2277 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2278 | Part.BrickColor = BrickColor.new("Really black") | |
2279 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2280 | Partweld = Instance.new("Motor6D") | |
2281 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2282 | Partweld.C1 = CFrame.new(1.21799469, 0.232002258, 0.985588074, 0.999999762, 5.78641135e-010, 1.80602074e-005, -5.78168624e-010, 0.999980927, -6.33353991e-009, -1.79708004e-005, 6.33334807e-009, 0.999980807) | |
2283 | Partweld.Parent = Part | |
2284 | PartMesh = Instance.new("BlockMesh",Part) | |
2285 | PartMesh.Name = "Mesh" | |
2286 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2287 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2288 | ||
2289 | Part = Instance.new("Part", m) | |
2290 | Part:BreakJoints() | |
2291 | Part.TopSurface = "Smooth" | |
2292 | Part.Material = "SmoothPlastic" | |
2293 | Part.Name = 'Part' | |
2294 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2295 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2296 | Part.BrickColor = BrickColor.new("Really black") | |
2297 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2298 | Partweld = Instance.new("Motor6D") | |
2299 | Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2300 | Partweld.C1 = CFrame.new(3.81469727e-006, 0.231988907, 1.97200775, 0.999999762, 1.69357861e-011, 5.96046448e-008, -1.6701307e-011, 0.999991179, 2.27373675e-013, 2.98023224e-008, -3.23296945e-013, 0.99999094) | |
2301 | Partweld.Parent = Part | |
2302 | PartMesh = Instance.new("BlockMesh",Part) | |
2303 | PartMesh.Name = "Mesh" | |
2304 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2305 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2306 | ||
2307 | HandleMesh = Instance.new("BlockMesh",Handle) | |
2308 | HandleMesh.Name = "Mesh" | |
2309 | HandleMesh.Offset = Vector3.new(0, 0, 0) | |
2310 | HandleMesh.Scale = Vector3.new(1, 1, 0.579999983) | |
2311 | ||
2312 | m2 = Instance.new("Model",char) | |
2313 | ||
2314 | Handle2 = Instance.new("Part", m2) | |
2315 | Handle2:BreakJoints() | |
2316 | Handle2.TopSurface = "Smooth" | |
2317 | Handle2.Material = "SmoothPlastic" | |
2318 | Handle2.Name = 'Handle2' | |
2319 | Handle2.Anchored = true | |
2320 | Handle2.Transparency = 0 | |
2321 | Handle2.BottomSurface = "Smooth" | |
2322 | Handle2.FormFactor = "Custom" | |
2323 | Handle2.CanCollide = false | |
2324 | Handle2.BrickColor = BrickColor.new("Institutional white") | |
2325 | Handle2.Size = Vector3.new(2.31999993, 0.34799999, 0.200000003) | |
2326 | ||
2327 | Part = Instance.new("Part", m2) | |
2328 | Part:BreakJoints() | |
2329 | Part.TopSurface = "Smooth" | |
2330 | Part.Material = "SmoothPlastic" | |
2331 | Part.Name = 'Part' | |
2332 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2333 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2334 | Part.BrickColor = BrickColor.new("Institutional white") | |
2335 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2336 | Partweld = Instance.new("Motor6D") | |
2337 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2338 | Partweld.C1 = CFrame.new(-0.697142124, -0.240707397, 0.697052002, 0.707106292, -6.45096577e-007, -0.707100093, 7.29660428e-007, 0.999991119, -4.4702773e-008, 0.707106292, -4.72456946e-007, 0.707100153) | |
2339 | Partweld.Parent = Part | |
2340 | PartMesh = Instance.new("BlockMesh",Part) | |
2341 | PartMesh.Name = "Mesh" | |
2342 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2343 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2344 | ||
2345 | Part = Instance.new("Part", m2) | |
2346 | Part:BreakJoints() | |
2347 | Part.TopSurface = "Smooth" | |
2348 | Part.Material = "SmoothPlastic" | |
2349 | Part.Name = 'Part' | |
2350 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2351 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2352 | Part.BrickColor = BrickColor.new("Institutional white") | |
2353 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2354 | Partweld = Instance.new("Motor6D") | |
2355 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2356 | Partweld.C1 = CFrame.new(3.81469727e-006, -0.232005119, 1.97199249, 0.999999762, -2.87769808e-013, 5.96046448e-008, 5.25801624e-013, 0.999991417, 2.84217094e-014, 0, -1.17239551e-013, 0.999991238) | |
2357 | Partweld.Parent = Part | |
2358 | PartMesh = Instance.new("BlockMesh",Part) | |
2359 | PartMesh.Name = "Mesh" | |
2360 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2361 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2362 | ||
2363 | Part = Instance.new("Part", m2) | |
2364 | Part:BreakJoints() | |
2365 | Part.TopSurface = "Smooth" | |
2366 | Part.Material = "SmoothPlastic" | |
2367 | Part.Name = 'Part' | |
2368 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2369 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2370 | Part.BrickColor = BrickColor.new("Institutional white") | |
2371 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2372 | Partweld = Instance.new("Motor6D") | |
2373 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2374 | Partweld.C1 = CFrame.new(-0.697060108, -0.237798691, 0.696979523, 0.707100153, -7.8854832e-008, -0.707074642, 6.79929997e-008, 0.999963224, -4.47018209e-008, 0.707100153, -2.54248249e-008, 0.707074702) | |
2375 | Partweld.Parent = Part | |
2376 | PartMesh = Instance.new("BlockMesh",Part) | |
2377 | PartMesh.Name = "Mesh" | |
2378 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2379 | PartMesh.Scale = Vector3.new(1, 0.696000099, 1) | |
2380 | ||
2381 | Part = Instance.new("Part", m2) | |
2382 | Part:BreakJoints() | |
2383 | Part.TopSurface = "Smooth" | |
2384 | Part.Material = "SmoothPlastic" | |
2385 | Part.Name = 'Part' | |
2386 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2387 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2388 | Part.BrickColor = BrickColor.new("Institutional white") | |
2389 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2390 | Partweld = Instance.new("Motor6D") | |
2391 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2392 | Partweld.C1 = CFrame.new(-1.21799088, -0.231980324, 0.985839844, 0.999999762, 5.87768056e-010, 1.80602074e-005, -5.86997118e-010, 0.999974251, -6.33293951e-009, -1.80006027e-005, 6.33261976e-009, 0.99997437) | |
2393 | Partweld.Parent = Part | |
2394 | PartMesh = Instance.new("BlockMesh",Part) | |
2395 | PartMesh.Name = "Mesh" | |
2396 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2397 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2398 | ||
2399 | Part = Instance.new("Part", m2) | |
2400 | Part:BreakJoints() | |
2401 | Part.TopSurface = "Smooth" | |
2402 | Part.Material = "SmoothPlastic" | |
2403 | Part.Name = 'Part' | |
2404 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2405 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2406 | Part.BrickColor = BrickColor.new("Institutional white") | |
2407 | Part.Size = Vector3.new(0.200000003, 0.34799999, 0.200000003) | |
2408 | Partweld = Instance.new("Motor6D") | |
2409 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2410 | Partweld.C1 = CFrame.new(0.000141143799, 1.8119812e-005, -1.21799469, 1.81794167e-005, -1.78968406e-007, -0.999964833, 6.0702348e-007, 0.999964714, -1.78957677e-007, 0.999999702, -6.06998185e-007, 1.82688236e-005) | |
2411 | Partweld.Parent = Part | |
2412 | PartMesh = Instance.new("BlockMesh",Part) | |
2413 | PartMesh.Name = "Mesh" | |
2414 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2415 | PartMesh.Scale = Vector3.new(0.579999983, 1, 0.579999983) | |
2416 | ||
2417 | Part = Instance.new("Part", m2) | |
2418 | Part:BreakJoints() | |
2419 | Part.TopSurface = "Smooth" | |
2420 | Part.Material = "SmoothPlastic" | |
2421 | Part.Name = 'Part' | |
2422 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2423 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2424 | Part.BrickColor = BrickColor.new("Institutional white") | |
2425 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2426 | Partweld = Instance.new("Motor6D") | |
2427 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2428 | Partweld.C1 = CFrame.new(-1.21799469, 0.232003212, 0.985847473, 0.999999762, 5.66021896e-010, 1.80602074e-005, -5.65410829e-010, 0.999973297, -6.33274055e-009, -1.80006027e-005, 6.3324741e-009, 0.999973238) | |
2429 | Partweld.Parent = Part | |
2430 | PartMesh = Instance.new("BlockMesh",Part) | |
2431 | PartMesh.Name = "Mesh" | |
2432 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2433 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2434 | ||
2435 | Part = Instance.new("Part", m2) | |
2436 | Part:BreakJoints() | |
2437 | Part.TopSurface = "Smooth" | |
2438 | Part.Material = "SmoothPlastic" | |
2439 | Part.Name = 'Part' | |
2440 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2441 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2442 | Part.BrickColor = BrickColor.new("Mid gray") | |
2443 | Part.Size = Vector3.new(2.31999969, 0.200000003, 1.8560003) | |
2444 | Partweld = Instance.new("Motor6D") | |
2445 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2446 | Partweld.C1 = CFrame.new(3.81469727e-006, -0.115989685, 0.985801697, 0.999999762, 6.05332673e-010, 1.80602074e-005, -6.04796213e-010, 0.999982834, -6.33284003e-009, -1.80006027e-005, 6.33262687e-009, 0.999982953) | |
2447 | Partweld.Parent = Part | |
2448 | PartMesh = Instance.new("BlockMesh",Part) | |
2449 | PartMesh.Name = "Mesh" | |
2450 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2451 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2452 | ||
2453 | Part = Instance.new("Part", m2) | |
2454 | Part:BreakJoints() | |
2455 | Part.TopSurface = "Smooth" | |
2456 | Part.Material = "SmoothPlastic" | |
2457 | Part.Name = 'Part' | |
2458 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2459 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2460 | Part.BrickColor = BrickColor.new("Really black") | |
2461 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2462 | Partweld = Instance.new("Motor6D") | |
2463 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2464 | Partweld.C1 = CFrame.new(1.52587891e-005, 0.226189613, 0.985958099, 0.99999094, -4.17435785e-007, -8.94069672e-008, 4.17436127e-007, 0.999991119, 2.08614694e-007, -2.98023224e-008, -2.83119846e-007, 0.999982476) | |
2465 | Partweld.Parent = Part | |
2466 | PartMesh = Instance.new("BlockMesh",Part) | |
2467 | PartMesh.Name = "Mesh" | |
2468 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2469 | PartMesh.Scale = Vector3.new(1, 0.811999977, 1) | |
2470 | ||
2471 | Part = Instance.new("Part", m2) | |
2472 | Part:BreakJoints() | |
2473 | Part.TopSurface = "Smooth" | |
2474 | Part.Material = "SmoothPlastic" | |
2475 | Part.Name = 'Part' | |
2476 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2477 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2478 | Part.BrickColor = BrickColor.new("Really black") | |
2479 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2480 | Partweld = Instance.new("Motor6D") | |
2481 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2482 | Partweld.C1 = CFrame.new(1.52587891e-005, -0.237810135, 0.985958099, 0.99999094, -4.17435785e-007, -8.94069672e-008, 4.17436127e-007, 0.999991119, 2.08614694e-007, -2.98023224e-008, -2.83119846e-007, 0.999982476) | |
2483 | Partweld.Parent = Part | |
2484 | PartMesh = Instance.new("BlockMesh",Part) | |
2485 | PartMesh.Name = "Mesh" | |
2486 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2487 | PartMesh.Scale = Vector3.new(1, 0.811999977, 1) | |
2488 | ||
2489 | Part = Instance.new("Part", m2) | |
2490 | Part:BreakJoints() | |
2491 | Part.TopSurface = "Smooth" | |
2492 | Part.Material = "SmoothPlastic" | |
2493 | Part.Name = 'Part' | |
2494 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2495 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2496 | Part.BrickColor = BrickColor.new("Institutional white") | |
2497 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2498 | Partweld = Instance.new("Motor6D") | |
2499 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2500 | Partweld.C1 = CFrame.new(-0.985813141, -0.237781525, 0, 1.80006027e-005, 1.57576963e-007, -0.999979973, 8.91885605e-008, 0.99998039, 2.61884452e-007, 0.999999166, -8.91910901e-008, 1.80602074e-005) | |
2501 | Partweld.Parent = Part | |
2502 | PartMesh = Instance.new("BlockMesh",Part) | |
2503 | PartMesh.Name = "Mesh" | |
2504 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2505 | PartMesh.Scale = Vector3.new(1, 0.69599998, 1) | |
2506 | ||
2507 | Part = Instance.new("Part", m2) | |
2508 | Part:BreakJoints() | |
2509 | Part.TopSurface = "Smooth" | |
2510 | Part.Material = "SmoothPlastic" | |
2511 | Part.Name = 'Part' | |
2512 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2513 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2514 | Part.BrickColor = BrickColor.new("Institutional white") | |
2515 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2516 | Partweld = Instance.new("Motor6D") | |
2517 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2518 | Partweld.C1 = CFrame.new(-5.7220459e-005, 0.223287582, 0.985862732, 0.999999285, -4.17447836e-007, 5.96046448e-008, 4.17451417e-007, 0.999991119, 2.08614694e-007, 8.94069672e-008, -8.94065408e-008, 0.999990642) | |
2519 | Partweld.Parent = Part | |
2520 | PartMesh = Instance.new("BlockMesh",Part) | |
2521 | PartMesh.Name = "Mesh" | |
2522 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2523 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2524 | ||
2525 | Part = Instance.new("Part", m2) | |
2526 | Part:BreakJoints() | |
2527 | Part.TopSurface = "Smooth" | |
2528 | Part.Material = "SmoothPlastic" | |
2529 | Part.Name = 'Part' | |
2530 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2531 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2532 | Part.BrickColor = BrickColor.new("Institutional white") | |
2533 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2534 | Partweld = Instance.new("Motor6D") | |
2535 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2536 | Partweld.C1 = CFrame.new(-0.985980988, 0.22618866, 0, -8.94069672e-008, 1.63911707e-007, -0.999990642, 8.97813663e-008, 0.999991119, 2.68218798e-007, 0.999999285, -8.97803574e-008, 5.96046448e-008) | |
2537 | Partweld.Parent = Part | |
2538 | PartMesh = Instance.new("BlockMesh",Part) | |
2539 | PartMesh.Name = "Mesh" | |
2540 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2541 | PartMesh.Scale = Vector3.new(1, 0.69599998, 1) | |
2542 | ||
2543 | Part = Instance.new("Part", m2) | |
2544 | Part:BreakJoints() | |
2545 | Part.TopSurface = "Smooth" | |
2546 | Part.Material = "SmoothPlastic" | |
2547 | Part.Name = 'Part' | |
2548 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2549 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2550 | Part.BrickColor = BrickColor.new("Institutional white") | |
2551 | Part.Size = Vector3.new(1.15999997, 0.200000003, 1.15999997) | |
2552 | Partweld = Instance.new("Motor6D") | |
2553 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2554 | Partweld.C1 = CFrame.new(-0.697110176, 0.226187706, 0.697032928, 0.707100391, -7.8857461e-008, -0.707094431, 6.79927936e-008, 0.999991119, -4.4702837e-008, 0.707100332, -2.54258214e-008, 0.707094312) | |
2555 | Partweld.Parent = Part | |
2556 | PartMesh = Instance.new("BlockMesh",Part) | |
2557 | PartMesh.Name = "Mesh" | |
2558 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2559 | PartMesh.Scale = Vector3.new(1, 0.696000099, 1) | |
2560 | ||
2561 | Part = Instance.new("Part", m2) | |
2562 | Part:BreakJoints() | |
2563 | Part.TopSurface = "Smooth" | |
2564 | Part.Material = "SmoothPlastic" | |
2565 | Part.Name = 'Part' | |
2566 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2567 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2568 | Part.BrickColor = BrickColor.new("Really black") | |
2569 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2570 | Partweld = Instance.new("Motor6D") | |
2571 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2572 | Partweld.C1 = CFrame.new(-0.697163582, 0.226187706, 0.697189331, 0.707100332, -7.88574468e-008, -0.707094491, 6.7967342e-008, 0.999991119, -4.47028512e-008, 0.707100451, 4.37624692e-009, 0.707094193) | |
2573 | Partweld.Parent = Part | |
2574 | PartMesh = Instance.new("BlockMesh",Part) | |
2575 | PartMesh.Name = "Mesh" | |
2576 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2577 | PartMesh.Scale = Vector3.new(1, 0.812000036, 1) | |
2578 | ||
2579 | Part = Instance.new("Part", m2) | |
2580 | Part:BreakJoints() | |
2581 | Part.TopSurface = "Smooth" | |
2582 | Part.Material = "SmoothPlastic" | |
2583 | Part.Name = 'Part' | |
2584 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2585 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2586 | Part.BrickColor = BrickColor.new("Institutional white") | |
2587 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2588 | Partweld = Instance.new("Motor6D") | |
2589 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2590 | Partweld.C1 = CFrame.new(-5.7220459e-005, -0.240706444, 0.985862732, 0.999999285, -4.17447836e-007, 5.96046448e-008, 4.17451417e-007, 0.999991119, 2.08614694e-007, 8.94069672e-008, -8.94065408e-008, 0.999990642) | |
2591 | Partweld.Parent = Part | |
2592 | PartMesh = Instance.new("BlockMesh",Part) | |
2593 | PartMesh.Name = "Mesh" | |
2594 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2595 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2596 | ||
2597 | Part = Instance.new("Part", m2) | |
2598 | Part:BreakJoints() | |
2599 | Part.TopSurface = "Smooth" | |
2600 | Part.Material = "SmoothPlastic" | |
2601 | Part.Name = 'Part' | |
2602 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2603 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2604 | Part.BrickColor = BrickColor.new("Institutional white") | |
2605 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2606 | Partweld = Instance.new("Motor6D") | |
2607 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2608 | Partweld.C1 = CFrame.new(3.81469727e-006, 0.23197937, -1.52587891e-005, 0.999999762, 2.23820962e-013, 5.96046448e-008, 7.10542736e-015, 0.999991417, -1.03028697e-013, 0, 1.0658141e-014, 0.999991238) | |
2609 | Partweld.Parent = Part | |
2610 | PartMesh = Instance.new("BlockMesh",Part) | |
2611 | PartMesh.Name = "Mesh" | |
2612 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2613 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2614 | ||
2615 | Part = Instance.new("Part", m2) | |
2616 | Part:BreakJoints() | |
2617 | Part.TopSurface = "Smooth" | |
2618 | Part.Material = "SmoothPlastic" | |
2619 | Part.Name = 'Part' | |
2620 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2621 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2622 | Part.BrickColor = BrickColor.new("Really black") | |
2623 | Part.Size = Vector3.new(0.579999983, 0.200000003, 0.579999983) | |
2624 | Partweld = Instance.new("Motor6D") | |
2625 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2626 | Partweld.C1 = CFrame.new(-0.697163105, -0.237812042, 0.697189331, 0.707100332, -7.88574468e-008, -0.707094491, 6.7967342e-008, 0.999991119, -4.47028512e-008, 0.707100451, 4.37624692e-009, 0.707094193) | |
2627 | Partweld.Parent = Part | |
2628 | PartMesh = Instance.new("BlockMesh",Part) | |
2629 | PartMesh.Name = "Mesh" | |
2630 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2631 | PartMesh.Scale = Vector3.new(1, 0.812000036, 1) | |
2632 | ||
2633 | Part = Instance.new("Part", m2) | |
2634 | Part:BreakJoints() | |
2635 | Part.TopSurface = "Smooth" | |
2636 | Part.Material = "SmoothPlastic" | |
2637 | Part.Name = 'Part' | |
2638 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2639 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2640 | Part.BrickColor = BrickColor.new("Really black") | |
2641 | Part.Size = Vector3.new(2.31999993, 0.200000003, 1.85600007) | |
2642 | Partweld = Instance.new("Motor6D") | |
2643 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2644 | Partweld.C1 = CFrame.new(0, 0.232005119, 0.985790253, 0.999999762, 6.06398487e-010, 1.80602074e-005, -6.05488992e-010, 0.999969959, -6.3331953e-009, -1.80006027e-005, 6.33281516e-009, 0.99996984) | |
2645 | Partweld.Parent = Part | |
2646 | PartMesh = Instance.new("BlockMesh",Part) | |
2647 | PartMesh.Name = "Mesh" | |
2648 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2649 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2650 | ||
2651 | Part = Instance.new("Part", m2) | |
2652 | Part:BreakJoints() | |
2653 | Part.TopSurface = "Smooth" | |
2654 | Part.Material = "SmoothPlastic" | |
2655 | Part.Name = 'Part' | |
2656 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2657 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2658 | Part.BrickColor = BrickColor.new("Institutional white") | |
2659 | Part.Size = Vector3.new(0.34799999, 0.200000003, 0.34799999) | |
2660 | Partweld = Instance.new("Motor6D") | |
2661 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2662 | Partweld.C1 = CFrame.new(-0.697142363, 0.223291397, 0.697052002, 0.707106292, -6.45096577e-007, -0.707100093, 7.29660428e-007, 0.999991119, -4.4702773e-008, 0.707106292, -4.72456946e-007, 0.707100153) | |
2663 | Partweld.Parent = Part | |
2664 | PartMesh = Instance.new("BlockMesh",Part) | |
2665 | PartMesh.Name = "Mesh" | |
2666 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2667 | PartMesh.Scale = Vector3.new(1, 0.898999929, 1) | |
2668 | ||
2669 | Part = Instance.new("Part", m2) | |
2670 | Part:BreakJoints() | |
2671 | Part.TopSurface = "Smooth" | |
2672 | Part.Material = "SmoothPlastic" | |
2673 | Part.Name = 'Part' | |
2674 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2675 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2676 | Part.BrickColor = BrickColor.new("Mid gray") | |
2677 | Part.Size = Vector3.new(2.31999969, 0.200000003, 1.8560003) | |
2678 | Partweld = Instance.new("Motor6D") | |
2679 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2680 | Partweld.C1 = CFrame.new(0, 0.115994453, 0.985679626, 0.999999762, 6.06839023e-010, 1.80602074e-005, -6.06164008e-010, 0.999978542, -6.33337294e-009, -1.79708004e-005, 6.33308517e-009, 0.999978423) | |
2681 | Partweld.Parent = Part | |
2682 | PartMesh = Instance.new("BlockMesh",Part) | |
2683 | PartMesh.Name = "Mesh" | |
2684 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2685 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2686 | ||
2687 | Part = Instance.new("Part", m2) | |
2688 | Part:BreakJoints() | |
2689 | Part.TopSurface = "Smooth" | |
2690 | Part.Material = "SmoothPlastic" | |
2691 | Part.Name = 'Part' | |
2692 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2693 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2694 | Part.BrickColor = BrickColor.new("Mid gray") | |
2695 | Part.Size = Vector3.new(2.31999969, 0.200000003, 1.8560003) | |
2696 | Partweld = Instance.new("Motor6D") | |
2697 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2698 | Partweld.C1 = CFrame.new(0, -5.7220459e-006, 0.985614777, 0.999999762, 6.06938499e-010, 1.80602074e-005, -6.06267037e-010, 0.999978542, -6.33343333e-009, -1.79708004e-005, 6.33315622e-009, 0.999978423) | |
2699 | Partweld.Parent = Part | |
2700 | PartMesh = Instance.new("BlockMesh",Part) | |
2701 | PartMesh.Name = "Mesh" | |
2702 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2703 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2704 | ||
2705 | Part = Instance.new("Part", m2) | |
2706 | Part:BreakJoints() | |
2707 | Part.TopSurface = "Smooth" | |
2708 | Part.Material = "SmoothPlastic" | |
2709 | Part.Name = 'Part' | |
2710 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2711 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2712 | Part.BrickColor = BrickColor.new("Really black") | |
2713 | Part.Size = Vector3.new(2.31999993, 0.200000003, 1.85600007) | |
2714 | Partweld = Instance.new("Motor6D") | |
2715 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2716 | Partweld.C1 = CFrame.new(-3.81469727e-006, -0.231994629, 0.98563385, 0.999999762, 5.88961768e-010, 1.80602074e-005, -5.88052274e-010, 0.999969959, -6.33351505e-009, -1.80006027e-005, 6.3331278e-009, 0.99996984) | |
2717 | Partweld.Parent = Part | |
2718 | PartMesh = Instance.new("BlockMesh",Part) | |
2719 | PartMesh.Name = "Mesh" | |
2720 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2721 | PartMesh.Scale = Vector3.new(1, 0.579999983, 1) | |
2722 | ||
2723 | Part = Instance.new("Part", m2) | |
2724 | Part:BreakJoints() | |
2725 | Part.TopSurface = "Smooth" | |
2726 | Part.Material = "SmoothPlastic" | |
2727 | Part.Name = 'Part' | |
2728 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2729 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2730 | Part.BrickColor = BrickColor.new("Institutional white") | |
2731 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2732 | Partweld = Instance.new("Motor6D") | |
2733 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2734 | Partweld.C1 = CFrame.new(-7.62939453e-006, -0.231983185, -0.000392913818, 0.999999762, 5.89174931e-010, 1.80602074e-005, -5.88627813e-010, 0.999982834, -6.33369623e-009, -1.79708004e-005, 6.33347597e-009, 0.999982774) | |
2735 | Partweld.Parent = Part | |
2736 | PartMesh = Instance.new("BlockMesh",Part) | |
2737 | PartMesh.Name = "Mesh" | |
2738 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2739 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2740 | ||
2741 | Part = Instance.new("Part", m2) | |
2742 | Part:BreakJoints() | |
2743 | Part.TopSurface = "Smooth" | |
2744 | Part.Material = "SmoothPlastic" | |
2745 | Part.Name = 'Part' | |
2746 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2747 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2748 | Part.BrickColor = BrickColor.new("Institutional white") | |
2749 | Part.Size = Vector3.new(0.200000003, 0.34799999, 0.200000003) | |
2750 | Partweld = Instance.new("Motor6D") | |
2751 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2752 | Partweld.C1 = CFrame.new(0.000408172607, 1.71661377e-005, 1.2179985, 1.81794167e-005, -1.78972357e-007, -0.999982238, 6.07028539e-007, 0.999982357, -1.78961514e-007, 0.999999702, -6.07014329e-007, 1.82688236e-005) | |
2753 | Partweld.Parent = Part | |
2754 | PartMesh = Instance.new("BlockMesh",Part) | |
2755 | PartMesh.Name = "Mesh" | |
2756 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2757 | PartMesh.Scale = Vector3.new(0.579999983, 1, 0.579999983) | |
2758 | ||
2759 | Part = Instance.new("Part", m2) | |
2760 | Part:BreakJoints() | |
2761 | Part.TopSurface = "Smooth" | |
2762 | Part.Material = "SmoothPlastic" | |
2763 | Part.Name = 'Part' | |
2764 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2765 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2766 | Part.BrickColor = BrickColor.new("Institutional white") | |
2767 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2768 | Partweld = Instance.new("Motor6D") | |
2769 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2770 | Partweld.C1 = CFrame.new(1.21799469, -0.231983185, 0.985591888, 0.999999762, 5.89174931e-010, 1.80602074e-005, -5.88627813e-010, 0.999982834, -6.33369623e-009, -1.79708004e-005, 6.33347597e-009, 0.999982774) | |
2771 | Partweld.Parent = Part | |
2772 | PartMesh = Instance.new("BlockMesh",Part) | |
2773 | PartMesh.Name = "Mesh" | |
2774 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2775 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2776 | ||
2777 | Part = Instance.new("Part", m2) | |
2778 | Part:BreakJoints() | |
2779 | Part.TopSurface = "Smooth" | |
2780 | Part.Material = "SmoothPlastic" | |
2781 | Part.Name = 'Part' | |
2782 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2783 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2784 | Part.BrickColor = BrickColor.new("Institutional white") | |
2785 | Part.Size = Vector3.new(0.200000003, 0.200000003, 2.0880003) | |
2786 | Partweld = Instance.new("Motor6D") | |
2787 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2788 | Partweld.C1 = CFrame.new(1.21799469, 0.232002258, 0.985588074, 0.999999762, 5.78641135e-010, 1.80602074e-005, -5.78168624e-010, 0.999980927, -6.33353991e-009, -1.79708004e-005, 6.33334807e-009, 0.999980807) | |
2789 | Partweld.Parent = Part | |
2790 | PartMesh = Instance.new("BlockMesh",Part) | |
2791 | PartMesh.Name = "Mesh" | |
2792 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2793 | PartMesh.Scale = Vector3.new(0.579999983, 0.579999983, 1) | |
2794 | ||
2795 | Part = Instance.new("Part", m2) | |
2796 | Part:BreakJoints() | |
2797 | Part.TopSurface = "Smooth" | |
2798 | Part.Material = "SmoothPlastic" | |
2799 | Part.Name = 'Part' | |
2800 | Part.Transparency = 0 Part.BottomSurface = "Smooth" | |
2801 | Part.FormFactor = "Custom" Part.CanCollide = false | |
2802 | Part.BrickColor = BrickColor.new("Institutional white") | |
2803 | Part.Size = Vector3.new(2.31999993, 0.200000003, 0.200000003) | |
2804 | Partweld = Instance.new("Motor6D") | |
2805 | Partweld.Part0 = Handle2 Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2806 | Partweld.C1 = CFrame.new(3.81469727e-006, 0.231988907, 1.97200775, 0.999999762, 1.69357861e-011, 5.96046448e-008, -1.6701307e-011, 0.999991179, 2.27373675e-013, 2.98023224e-008, -3.23296945e-013, 0.99999094) | |
2807 | Partweld.Parent = Part | |
2808 | PartMesh = Instance.new("BlockMesh",Part) | |
2809 | PartMesh.Name = "Mesh" | |
2810 | PartMesh.Offset = Vector3.new(0, 0, 0) | |
2811 | PartMesh.Scale = Vector3.new(1, 0.579999983, 0.579999983) | |
2812 | ||
2813 | HandleMesh = Instance.new("BlockMesh",Handle2) | |
2814 | HandleMesh.Name = "Mesh" | |
2815 | HandleMesh.Offset = Vector3.new(0, 0, 0) | |
2816 | HandleMesh.Scale = Vector3.new(1, 1, 0.579999983) | |
2817 | ||
2818 | ||
2819 | CubesOfPower = Instance.new("Model",Workspace.Terrain) | |
2820 | ||
2821 | World = Instance.new("Part",CubesOfPower) | |
2822 | World.Size = Vector3.new(3,3,3) | |
2823 | World.Anchored = true | |
2824 | World.Position = workspace.Base.Position | |
2825 | World.Material = "SmoothPlastic" | |
2826 | World.Reflectance = 1 | |
2827 | ||
2828 | World2 = Instance.new("Part",CubesOfPower) | |
2829 | World2.Size = Vector3.new(3,3,3) | |
2830 | World2.Anchored = true | |
2831 | World2.Position = workspace.Base.Position | |
2832 | World2.Material = "SmoothPlastic" | |
2833 | World2.Reflectance = 1 | |
2834 | ||
2835 | World3 = Instance.new("Part",CubesOfPower) | |
2836 | World3.Size = Vector3.new(3,3,3) | |
2837 | World3.Anchored = true | |
2838 | World3.Position = workspace.Base.Position | |
2839 | World3.Material = "SmoothPlastic" | |
2840 | World3.Reflectance = 1 | |
2841 | ||
2842 | World4 = Instance.new("Part",CubesOfPower) | |
2843 | World4.Size = Vector3.new(3,3,3) | |
2844 | World4.Anchored = true | |
2845 | World4.Position = workspace.Base.Position | |
2846 | World4.Material = "SmoothPlastic" | |
2847 | World4.Reflectance = 1 | |
2848 | ||
2849 | WorldX = Instance.new("Part",CubesOfPower) | |
2850 | WorldX.Size = Vector3.new(3,3,3) | |
2851 | WorldX.Anchored = true | |
2852 | WorldX.Position = workspace.Base.Position | |
2853 | WorldX.Material = "SmoothPlastic" | |
2854 | WorldX.Reflectance = 1 | |
2855 | ||
2856 | World2X = Instance.new("Part",CubesOfPower) | |
2857 | World2X.Size = Vector3.new(3,3,3) | |
2858 | World2X.Anchored = true | |
2859 | World2X.Position = workspace.Base.Position | |
2860 | World2X.Material = "SmoothPlastic" | |
2861 | World2X.Reflectance = 1 | |
2862 | ||
2863 | World3X = Instance.new("Part",CubesOfPower) | |
2864 | World3X.Size = Vector3.new(3,3,3) | |
2865 | World3X.Anchored = true | |
2866 | World3X.Position = workspace.Base.Position | |
2867 | World3X.Material = "SmoothPlastic" | |
2868 | World3X.Reflectance = 1 | |
2869 | ||
2870 | World4X = Instance.new("Part",CubesOfPower) | |
2871 | World4X.Size = Vector3.new(3,3,3) | |
2872 | World4X.Anchored = true | |
2873 | World4X.Position = workspace.Base.Position | |
2874 | World4X.Material = "SmoothPlastic" | |
2875 | World4X.Reflectance = 1 | |
2876 | ||
2877 | Target = nil | |
2878 | ||
2879 | World.Touched:connect(function(hit) | |
2880 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
2881 | end) | |
2882 | World2.Touched:connect(function(hit) | |
2883 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
2884 | end) | |
2885 | World3.Touched:connect(function(hit) | |
2886 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
2887 | end) | |
2888 | World4.Touched:connect(function(hit) | |
2889 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
2890 | end) | |
2891 | WorldX.Touched:connect(function(hit) | |
2892 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
2893 | end) | |
2894 | World2X.Touched:connect(function(hit) | |
2895 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
2896 | end) | |
2897 | World3X.Touched:connect(function(hit) | |
2898 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
2899 | end) | |
2900 | World4X.Touched:connect(function(hit) | |
2901 | Damagefunc(torso,hit,0,0,math.random(100,100),"Knockdown",RootPart,.2,1) | |
2902 | end) | |
2903 | ||
2904 | StandOn = false | |
2905 | local hrprv=0 | |
2906 | angle = 0 | |
2907 | angle2 = 0 | |
2908 | angle3 = 0 | |
2909 | anglespeed = 2 | |
2910 | anglespeed2 = 1 | |
2911 | anglespeed3 = .4 | |
2912 | MyHealth = hum.Health | |
2913 | MyMaxHealth = hum.MaxHealth | |
2914 | MyMaxHealth = humane.Health | |
2915 | MyHealth = humane.Health | |
2916 | humane.Name = "The Worldo" | |
2917 | ItsHot = true | |
2918 | ControlledWorlds = true | |
2919 | jjing=false | |
2920 | Light = false | |
2921 | Dark = true | |
2922 | game:GetService("RunService").Stepped:connect(function() | |
2923 | for i, v in pairs(pchar:GetChildren()) do | |
2924 | if v:IsA("Part") then | |
2925 | v.BrickColor = BrickColor.new("Really black") | |
2926 | end | |
2927 | end | |
2928 | for i,v in ipairs(m:children()) do | |
2929 | if v:isA'Part' then | |
2930 | v.CanCollide = false | |
2931 | v.Reflectance = 0 | |
2932 | if Light == true then | |
2933 | v.Transparency = 0 | |
2934 | else | |
2935 | v.Transparency = 1 | |
2936 | end | |
2937 | end | |
2938 | end | |
2939 | ||
2940 | for i,v in ipairs(m2:children()) do | |
2941 | if v:isA'Part' then | |
2942 | v.CanCollide = false | |
2943 | v.Reflectance = 0 | |
2944 | if Dark == true then | |
2945 | v.Transparency = 0 | |
2946 | else | |
2947 | v.Transparency = 1 | |
2948 | end | |
2949 | end | |
2950 | end | |
2951 | angle = ((angle % 100) + anglespeed/10) | |
2952 | angle2 = ((angle2 % 100) + anglespeed2/10) | |
2953 | angle3 = ((angle3 % 100) + anglespeed3/10) | |
2954 | hrprv=Tween(hrprv,hrp.RotVelocity.Y,0.4) | |
2955 | sine=sine+1 | |
2956 | if HeavyGrav == true then | |
2957 | hum.JumpPower = math.huge | |
2958 | else | |
2959 | hum.JumpPower = 50 | |
2960 | end | |
2961 | if StandOn == false then | |
2962 | for i,v in pairs(pchar:children()) do | |
2963 | if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then | |
2964 | v.Transparency = 1 | |
2965 | end | |
2966 | end | |
2967 | elseif StandOn == true then | |
2968 | for i,v in pairs(pchar:children()) do | |
2969 | if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then | |
2970 | v.Transparency = 1 | |
2971 | end | |
2972 | end | |
2973 | end | |
2974 | MyHealth = humane.Health | |
2975 | humane.Health = MyHealth | |
2976 | if hum.Sit==true then | |
2977 | animpose="Sitting" | |
2978 | elseif hrp.Velocity.y > 1 then | |
2979 | animpose = "Jumping" | |
2980 | elseif ffing==true then | |
2981 | animpose="Freefalling" | |
2982 | elseif (hrp.Velocity*Vn(1,0,1)).magnitude<2 then | |
2983 | animpose="Idle" | |
2984 | elseif (hrp.Velocity*Vn(1,0,1)).magnitude<20 then | |
2985 | animpose="Walking" | |
2986 | elseif (hrp.Velocity*Vn(1,0,1)).magnitude>20 then | |
2987 | animpose="Sprinting" | |
2988 | end | |
2989 | if ControlledWorlds == true then | |
2990 | Handle.CFrame = RLerp(Handle.CFrame,tor.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),.04) | |
2991 | Handle2.CFrame = RLerp(Handle2.CFrame,tor.CFrame*CFrame.Angles(math.rad(-sine),math.rad(-sine),math.rad(-sine))*CFrame.new(2,2+math.sin(-angle3)*.2,-3)*CFrame.Angles(math.rad(-sine),math.rad(-sine),math.rad(-sine)),.04) | |
2992 | World.CFrame = RLerp(World.CFrame,workspace.Base.CFrame*CFrame.new(100,10+math.sin(angle3)*.2,0)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.94) | |
2993 | World2.CFrame = RLerp(World2.CFrame,workspace.Base.CFrame*CFrame.new(-100,10+math.sin(angle3)*.2,0)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.59) | |
2994 | World3.CFrame = RLerp(World3.CFrame,workspace.Base.CFrame*CFrame.new(0,10+math.sin(angle3)*.2,100)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.04) | |
2995 | World4.CFrame = RLerp(World4.CFrame,workspace.Base.CFrame*CFrame.new(0,10+math.sin(angle3)*.2,-100)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.34) | |
2996 | WorldX.CFrame = RLerp(WorldX.CFrame,workspace.Base.CFrame*CFrame.new(50,10+math.sin(angle3)*.2,50)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.64) | |
2997 | World2X.CFrame = RLerp(World2X.CFrame,workspace.Base.CFrame*CFrame.new(-50,10+math.sin(angle3)*.2,50)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.742) | |
2998 | World3X.CFrame = RLerp(World3X.CFrame,workspace.Base.CFrame*CFrame.new(50,10+math.sin(angle3)*.2,-50)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.49) | |
2999 | World4X.CFrame = RLerp(World4X.CFrame,workspace.Base.CFrame*CFrame.new(-50,10+math.sin(angle3)*.2,-50)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(math.cos(angle3),math.sin(angle),math.sin(angle2)),.5) | |
3000 | elseif ControlledWorlds == false then | |
3001 | Handle.CFrame = RLerp(Handle.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),.04) | |
3002 | Handle2.CFrame = RLerp(Handle2.CFrame,Target.CFrame*CFrame.Angles(math.rad(-sine),math.rad(-sine),math.rad(-sine))*CFrame.new(2,2+math.sin(-angle3)*.2,-3)*CFrame.Angles(math.rad(-sine),math.rad(-sine),math.rad(-sine)),.04) | |
3003 | World.CFrame = RLerp(World.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.04) | |
3004 | World2.CFrame = RLerp(World2.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.44) | |
3005 | World3.CFrame = RLerp(World3.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.1) | |
3006 | World4.CFrame = RLerp(World4.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.094) | |
3007 | WorldX.CFrame = RLerp(WorldX.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.6) | |
3008 | World2X.CFrame = RLerp(World2X.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.9) | |
3009 | World3X.CFrame = RLerp(World3X.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.2) | |
3010 | World4X.CFrame = RLerp(World4X.CFrame,Target.CFrame*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine))*CFrame.new(2,2+math.sin(angle3)*.2,-3)*CFrame.Angles(math.rad(sine),math.rad(sine),math.rad(sine)),0.05) | |
3011 | end | |
3012 | if Attacking == false then | |
3013 | torso.CFrame = hrp.CFrame*CFrame.new(0,0,3) | |
3014 | runKF(heid2) | |
3015 | runKF(toid2) | |
3016 | runKF(laid2) | |
3017 | runKF(raid2) | |
3018 | runKF(llid2) | |
3019 | runKF(rlid2) | |
3020 | end | |
3021 | if noRig==false then | |
3022 | if animpose=="Idle" then | |
3023 | runKF(heid) | |
3024 | runKF(toid) | |
3025 | runKF(laid) | |
3026 | runKF(raid) | |
3027 | runKF(llid) | |
3028 | runKF(rlid) | |
3029 | elseif animpose=="Walking" then | |
3030 | runKF(hewk) | |
3031 | runKF(towk) | |
3032 | runKF(lawk) | |
3033 | runKF(rawk) | |
3034 | runKF(llwk) | |
3035 | runKF(rlwk) | |
3036 | --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/25),0.4) | |
3037 | --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/25),0.4) | |
3038 | ---llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/25),0.4) | |
3039 | elseif animpose=="Sprinting" then | |
3040 | runKF(hesp) | |
3041 | runKF(tosp) | |
3042 | runKF(lasp) | |
3043 | runKF(rasp) | |
3044 | runKF(llsp) | |
3045 | runKF(rlsp) | |
3046 | --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4) | |
3047 | --rlw.C0=rlw.C0:lerp(rlw.C0*CA(0,0,-hrprv/10),0.4) | |
3048 | --llw.C0=llw.C0:lerp(llw.C0*CA(0,0,-hrprv/10),0.4) | |
3049 | elseif animpose=="Freefalling" then | |
3050 | runKF(heff) | |
3051 | runKF(toff) | |
3052 | runKF(laff) | |
3053 | runKF(raff) | |
3054 | runKF(llff) | |
3055 | runKF(rlff) | |
3056 | --tow.C0=tow.C0:lerp(tow.C0*CA(0,0,hrprv/10),0.4) | |
3057 | elseif animpose=="Jumping" then | |
3058 | runKF(hejp) | |
3059 | runKF(tojp) | |
3060 | runKF(lajp) | |
3061 | runKF(rajp) | |
3062 | runKF(lljp) | |
3063 | runKF(rljp) | |
3064 | end | |
3065 | end | |
3066 | end) | |
3067 | ||
3068 | print(hum.JumpPower) | |
3069 | ||
3070 | AnotherOneBitesZaDusto = 1000 | |
3071 | hum.MaxHealth = 1000 | |
3072 | wait() | |
3073 | hum.Health = 1000 | |
3074 | function Switching() | |
3075 | if Light == true then | |
3076 | Light = false | |
3077 | Dark = true | |
3078 | elseif Dark == true then | |
3079 | Light = true | |
3080 | Dark = false | |
3081 | end | |
3082 | end | |
3083 | while wait(100) do | |
3084 | AnotherOneBitesZaDusto = hum.Health | |
3085 | print'Changed' | |
3086 | Switching() | |
3087 | end | |
3088 | ||
3089 | local Player = game:service("Players").LocalPlayer | |
3090 | ||
3091 | local Character = game.Players.LocalPlayer.Character --game.Workspace.fefio92142 | |
3092 | ||
3093 | ||
3094 | ------------------------------------------------------------------------------------- | |
3095 | ------------------------------------------------------------------------------------- | |
3096 | ||
3097 | local Color = ColorSequence.new(Color3.new(5,5,5), Color3.new(0,0,0)) | |
3098 | ||
3099 | local Num = 0.5 | |
3100 | ||
3101 | local Num2 = 4 -------------Mods:1,4,8,10,15,20------------------------------------- | |
3102 | local Size = 0.8 | |
3103 | local Rate = 300 | |
3104 | ------------------------------------------------------------------------------------- | |
3105 | local Player = game:service'Players'.LocalPlayer | |
3106 | local Character = Player.Character | |
3107 | Torso = Character:WaitForChild'Torso' | |
3108 | ||
3109 | local Wing1 = Instance.new("Part",Character) | |
3110 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3111 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3112 | Wing1.Name = "WIng_1" | |
3113 | ||
3114 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3115 | fire.VelocitySpread = 0 | |
3116 | fire.Lifetime = NumberRange.new(2) | |
3117 | fire.Acceleration = Vector3.new(0, 2, 2) | |
3118 | fire.RotSpeed = NumberRange.new(10) | |
3119 | fire.Rate = Rate | |
3120 | fire.Rotation = NumberRange.new(151515) | |
3121 | fire.Name = "Fire" | |
3122 | fire.LightEmission = 0.78 | |
3123 | fire.LockedToPart = true | |
3124 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3125 | fire.Color = Color | |
3126 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3127 | ||
3128 | local Wing2 = Wing1:Clone() | |
3129 | Wing2.Parent = Torso | |
3130 | local x,y,z = 0,-1,-6 | |
3131 | ||
3132 | Wld = function(a,b,cf) | |
3133 | local Weld = Instance.new('Weld',a) | |
3134 | Weld.Part0 = a | |
3135 | Weld.Part1 = b | |
3136 | Weld.C1 = cf | |
3137 | return Weld | |
3138 | end | |
3139 | ||
3140 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90))) | |
3141 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90))) | |
3142 | ||
3143 | ||
3144 | game:service'RunService'.Stepped:connect(function() | |
3145 | --z = 6+math.sin(tick()*2) | |
3146 | y = -1+math.sin(tick()*Num)*Num2 | |
3147 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3148 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3149 | end) | |
3150 | ------------------------------------------------------------------------------------------------ | |
3151 | local Player = game:service'Players'.LocalPlayer | |
3152 | local Character = Player.Character | |
3153 | Torso = Character:WaitForChild'Torso' | |
3154 | ||
3155 | local Wing1 = Instance.new("Part",Character) | |
3156 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3157 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3158 | Wing1.Name = "WIng_1" | |
3159 | ||
3160 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3161 | fire.VelocitySpread = 0 | |
3162 | fire.Lifetime = NumberRange.new(2.5) | |
3163 | fire.Acceleration = Vector3.new(0, 4, 4) | |
3164 | fire.RotSpeed = NumberRange.new(10) | |
3165 | fire.Rate = Rate | |
3166 | fire.Rotation = NumberRange.new(151515) | |
3167 | fire.Name = "Fire" | |
3168 | fire.LightEmission = 0.78 | |
3169 | fire.LockedToPart = true | |
3170 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3171 | fire.Color = Color | |
3172 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3173 | ||
3174 | local Wing2 = Wing1:Clone() | |
3175 | Wing2.Parent = Torso | |
3176 | local x,y,z = 0,-1,-6 | |
3177 | ||
3178 | Wld = function(a,b,cf) | |
3179 | local Weld = Instance.new('Weld',a) | |
3180 | Weld.Part0 = a | |
3181 | Weld.Part1 = b | |
3182 | Weld.C1 = cf | |
3183 | return Weld | |
3184 | end | |
3185 | ||
3186 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90))) | |
3187 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90))) | |
3188 | ||
3189 | print'Loaded' | |
3190 | ||
3191 | game:service'RunService'.Stepped:connect(function() | |
3192 | --z = 6+math.sin(tick()*2) | |
3193 | y = -1+math.sin(tick()*Num)*Num2 | |
3194 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3195 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3196 | end) | |
3197 | ||
3198 | ------------------------------------------------------------------------------------------------ | |
3199 | local Player = game:service'Players'.LocalPlayer | |
3200 | local Character = Player.Character | |
3201 | Torso = Character:WaitForChild'Torso' | |
3202 | ||
3203 | local Wing1 = Instance.new("Part",Character) | |
3204 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3205 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3206 | Wing1.Name = "WIng_1" | |
3207 | ||
3208 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3209 | fire.VelocitySpread = 0 | |
3210 | fire.Lifetime = NumberRange.new(2.8) | |
3211 | fire.Acceleration = Vector3.new(0, 4, 4) | |
3212 | fire.RotSpeed = NumberRange.new(10) | |
3213 | fire.Rate = Rate | |
3214 | fire.Rotation = NumberRange.new(151515) | |
3215 | fire.Name = "Fire" | |
3216 | fire.LightEmission = 0.78 | |
3217 | fire.LockedToPart = true | |
3218 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3219 | fire.Color = Color | |
3220 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3221 | ||
3222 | local Wing2 = Wing1:Clone() | |
3223 | Wing2.Parent = Torso | |
3224 | local x,y,z = 0,-1,-6 | |
3225 | ||
3226 | Wld = function(a,b,cf) | |
3227 | local Weld = Instance.new('Weld',a) | |
3228 | Weld.Part0 = a | |
3229 | Weld.Part1 = b | |
3230 | Weld.C1 = cf | |
3231 | return Weld | |
3232 | end | |
3233 | ||
3234 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90))) | |
3235 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90))) | |
3236 | ||
3237 | print'Loaded' | |
3238 | ||
3239 | game:service'RunService'.Stepped:connect(function() | |
3240 | --z = 6+math.sin(tick()*2) | |
3241 | y = -1+math.sin(tick()*Num)*Num2 | |
3242 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3243 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3244 | end) | |
3245 | ||
3246 | ------------------------------------------------------------------------------------------------ | |
3247 | local Player = game:service'Players'.LocalPlayer | |
3248 | local Character = Player.Character | |
3249 | Torso = Character:WaitForChild'Torso' | |
3250 | ||
3251 | local Wing1 = Instance.new("Part",Character) | |
3252 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3253 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3254 | Wing1.Name = "WIng_1" | |
3255 | ||
3256 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3257 | fire.VelocitySpread = 0 | |
3258 | fire.Lifetime = NumberRange.new(3) | |
3259 | fire.Acceleration = Vector3.new(0, 4, 4) | |
3260 | fire.RotSpeed = NumberRange.new(10) | |
3261 | fire.Rate = Rate | |
3262 | fire.Rotation = NumberRange.new(151515) | |
3263 | fire.Name = "Fire" | |
3264 | fire.LightEmission = 0.78 | |
3265 | fire.LockedToPart = true | |
3266 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3267 | fire.Color = Color | |
3268 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3269 | ||
3270 | local Wing2 = Wing1:Clone() | |
3271 | Wing2.Parent = Torso | |
3272 | local x,y,z = 0,-1,-6 | |
3273 | ||
3274 | Wld = function(a,b,cf) | |
3275 | local Weld = Instance.new('Weld',a) | |
3276 | Weld.Part0 = a | |
3277 | Weld.Part1 = b | |
3278 | Weld.C1 = cf | |
3279 | return Weld | |
3280 | end | |
3281 | ||
3282 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90))) | |
3283 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90))) | |
3284 | ||
3285 | print'Loaded' | |
3286 | ||
3287 | game:service'RunService'.Stepped:connect(function() | |
3288 | --z = 6+math.sin(tick()*2) | |
3289 | y = -1+math.sin(tick()*Num)*Num2 | |
3290 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3291 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3292 | end) | |
3293 | ||
3294 | ------------------------------------------------------------------------------------------------ | |
3295 | local Player = game:service'Players'.LocalPlayer | |
3296 | local Character = Player.Character | |
3297 | Torso = Character:WaitForChild'Torso' | |
3298 | ||
3299 | local Wing1 = Instance.new("Part",Character) | |
3300 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3301 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3302 | Wing1.Name = "WIng_1" | |
3303 | ||
3304 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3305 | fire.VelocitySpread = 0 | |
3306 | fire.Lifetime = NumberRange.new(3.1) | |
3307 | fire.Acceleration = Vector3.new(0, 4, 4) | |
3308 | fire.RotSpeed = NumberRange.new(10) | |
3309 | fire.Rate = Rate | |
3310 | fire.Rotation = NumberRange.new(151515) | |
3311 | fire.Name = "Fire" | |
3312 | fire.LightEmission = 0.78 | |
3313 | fire.LockedToPart = true | |
3314 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3315 | fire.Color = Color | |
3316 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3317 | ||
3318 | local Wing2 = Wing1:Clone() | |
3319 | Wing2.Parent = Torso | |
3320 | local x,y,z = 0,-1,-6 | |
3321 | ||
3322 | Wld = function(a,b,cf) | |
3323 | local Weld = Instance.new('Weld',a) | |
3324 | Weld.Part0 = a | |
3325 | Weld.Part1 = b | |
3326 | Weld.C1 = cf | |
3327 | return Weld | |
3328 | end | |
3329 | ||
3330 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90))) | |
3331 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90))) | |
3332 | ||
3333 | print'Loaded' | |
3334 | ||
3335 | game:service'RunService'.Stepped:connect(function() | |
3336 | --z = 6+math.sin(tick()*2) | |
3337 | y = -1+math.sin(tick()*Num)*Num2 | |
3338 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3339 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3340 | end) |