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