SHOW:
|
|
- or go back to the newest paste.
1 | local Name="Wolfwv" | |
2 | - | local char=workspace[Name] |
2 | + | local char=workspace[Dogeness33] |
3 | - | local player=game.Players[Name] |
3 | + | local player=game.Players[Dogeness33] |
4 | local d=0 | |
5 | local Sh={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]} | |
6 | local face=char.Head.face:clone() | |
7 | if script.Parent.className~="HopperBin" then | |
8 | Staff=Instance.new("HopperBin") | |
9 | Staff.Name="Staff" | |
10 | Staff.Parent=player.Backpack | |
11 | script.Name="Staffy" | |
12 | script.Parent=Staff | |
13 | end | |
14 | Staff=script.Parent | |
15 | ta={} | |
16 | for _,v in pairs(player.Backpack:GetChildren()) do | |
17 | if v.Name=="Staff" then | |
18 | table.insert(ta,v) | |
19 | end | |
20 | end | |
21 | if #ta==2 or #ta>2 then | |
22 | ta[1]:remove() | |
23 | end | |
24 | ||
25 | char.Humanoid.Died:connect(function() if char:findFirstChild("Torso")~=nil then Nova() end for _,v in pairs(player:children()) do if v:IsA("Hint") then v:remove() end end function hint(msg,time) | |
26 | ||
27 | end end) --I HATE leftover messages. | |
28 | ||
29 | function makeStaff() | |
30 | local Staff=char | |
31 | Handle=Instance.new("Part") | |
32 | Handle.Size=Vector3.new(1,6,1) | |
33 | Handle.Parent=Staff | |
34 | Handle.Reflectance=0.2 | |
35 | Handle.Transparency=0--.19 | |
36 | Handle.Name="Handle" | |
37 | Mesh=Instance.new("SpecialMesh") | |
38 | Mesh.MeshType=0 | |
39 | Mesh.Scale=Vector3.new(0.3,0.8,0.3) | |
40 | Mesh.Offset=Vector3.new(0,-2,0) | |
41 | Mesh.Parent=Handle | |
42 | wHy = Instance.new("Weld") | |
43 | wHy.Parent = Handle | |
44 | wHy.Part0 = wHy.Parent | |
45 | wHy.Part1 = char["Right Arm"] | |
46 | wHy.C0 = CFrame.new(0,0.25,1)*CFrame.Angles(math.rad(90),0,0) | |
47 | Ds=Instance.new("Part") | |
48 | Ds.Size=Vector3.new(1,1,1) | |
49 | Ds.BrickColor=BrickColor.new("Drak Grey") | |
50 | Ds.Transparency=0 | |
51 | Ds.Reflectance=0.13 | |
52 | Ds.Parent=Staff | |
53 | Meh=Instance.new("CylinderMesh") | |
54 | Meh.Scale=Vector3.new(0.7,.15,0.7) | |
55 | Meh.Parent=Ds | |
56 | w = Instance.new("Weld") | |
57 | w.Parent = Handle | |
58 | w.Part0 = w.Parent | |
59 | w.Part1 = Ds | |
60 | w.C0 = CFrame.new(0,2.3,0) | |
61 | ||
62 | Top=Instance.new("Part") | |
63 | Top.Size=Vector3.new(1,1,1) | |
64 | Top.BrickColor=BrickColor:Blue() | |
65 | Top.Transparency=0.25 | |
66 | Top.Shape="Ball" | |
67 | Top.TopSurface="Smooth" | |
68 | Top.BottomSurface="Smooth" | |
69 | Top.Name="Top" | |
70 | Top.Reflectance=0.13 | |
71 | Top.Parent=Staff | |
72 | Meh=Instance.new("SpecialMesh") | |
73 | Meh.MeshType="Sphere" | |
74 | Meh.Scale=Vector3.new(1.1,1.1,1.1) | |
75 | Meh.Parent=Top | |
76 | w = Instance.new("Weld") | |
77 | w.Parent = Handle | |
78 | w.Part0 = w.Parent | |
79 | w.Part1 = Top | |
80 | w.C0 = CFrame.new(0,2.8,0) | |
81 | Top2=Instance.new("Part") | |
82 | Top2.Size=Vector3.new(1,1,1) | |
83 | Top2.Shape="Ball" | |
84 | Top2.BrickColor=BrickColor:Black() | |
85 | Top2.Transparency=0.2 | |
86 | Top2.Reflectance=0 | |
87 | Top2.Parent=Staff | |
88 | local Mesh2=Instance.new("SpecialMesh") | |
89 | Mesh2.MeshType="Sphere" | |
90 | Mesh2.Scale=Vector3.new(0,0,0) | |
91 | Mesh2.Parent=Top2 | |
92 | coroutine.resume(coroutine.create(function() | |
93 | while true do | |
94 | for i=1,10 do | |
95 | Mesh2.Scale=Mesh2.Scale+Vector3.new(0.1,0.1,0.1) | |
96 | wait(0.05) | |
97 | end | |
98 | wait(0.17) | |
99 | for i=10,1,-1 do | |
100 | Mesh2.Scale=Mesh2.Scale+Vector3.new(-0.1,-0.1,-0.1) | |
101 | wait(0.05) | |
102 | end | |
103 | wait() | |
104 | end | |
105 | end)) | |
106 | w = Instance.new("Weld") | |
107 | w.Parent = Handle | |
108 | w.Part0 = w.Parent | |
109 | w.Part1 = Top2 | |
110 | w.C0 = CFrame.new(0,2.8,0) | |
111 | for i=1,2,0.5 do | |
112 | Band1=Instance.new("Part") | |
113 | Band1.Size=Vector3.new(1,1,1) | |
114 | Band1.BrickColor=BrickColor:Blue() | |
115 | Band1.Parent=Staff | |
116 | Band1.Reflectance=0.8 | |
117 | Mesh=Instance.new("CylinderMesh") | |
118 | Mesh.Scale=Vector3.new(0.31,0.05,0.31) | |
119 | Mesh.Parent=Band1 | |
120 | w = Instance.new("Weld") | |
121 | w.Parent = Handle | |
122 | w.Part0 = w.Parent | |
123 | w.Part1 = Band1 | |
124 | w.C0 = CFrame.new(0,i,0) | |
125 | end | |
126 | for i=1,-2,-0.5 do | |
127 | Band1=Instance.new("Part") | |
128 | Band1.Size=Vector3.new(1,1,1) | |
129 | Band1.BrickColor=BrickColor:Blue() | |
130 | Band1.Parent=Staff | |
131 | Band1.Reflectance=0.8 | |
132 | Mesh=Instance.new("CylinderMesh") | |
133 | Mesh.Scale=Vector3.new(0.31,0.05,0.31) | |
134 | Mesh.Parent=Band1 | |
135 | w = Instance.new("Weld") | |
136 | w.Parent = Handle | |
137 | w.Part0 = w.Parent | |
138 | w.Part1 = Band1 | |
139 | w.C0 = CFrame.new(0,i,0) | |
140 | end | |
141 | end | |
142 | function Ice(mouse) | |
143 | local b=Instance.new("Part") | |
144 | b.BrickColor=BrickColor:Blue() | |
145 | b.Reflectance=0.5 | |
146 | b.Size=Vector3.new(2,2,2) | |
147 | b.Shape="Ball" | |
148 | b.TopSurface="Smooth" | |
149 | b.CanCollide=false | |
150 | b.Position=char.Top.Position | |
151 | b.BottomSurface="Smooth" | |
152 | b.Friction=0 | |
153 | local bo=Instance.new("BodyVelocity") | |
154 | bo.maxForce=Vector3.new(9999,9999,9999) | |
155 | bo.velocity=(mouse.Hit.p-char.Top.Position).unit*300 | |
156 | bo.Parent=b | |
157 | local co=b.Touched:connect(function(hit) onTouched(hit,b,co) end) | |
158 | b.Parent=workspace | |
159 | Delay(3,function() b:remove() end) | |
160 | end | |
161 | function hint(msg,de) | |
162 | local h=Instance.new("Hint") | |
163 | h.Text=tostring(msg) | |
164 | h.Parent=player | |
165 | Delay(tonumber(de),function() h:remove() end) | |
166 | end | |
167 | ||
168 | function onTouched(hit, part,con) | |
169 | local humanoid = hit.Parent:findFirstChild("Humanoid") | |
170 | if humanoid ~= nil and humanoid.Parent.Name~=Name and humanoid.Parent:findFirstChild("Torso")~=nil then | |
171 | pcall(function() part.creator.Parent=humanoid | |
172 | part.Parent = nil | |
173 | end) | |
174 | Tor=humanoid.Parent.Torso | |
175 | p=Instance.new("Part") | |
176 | p.Name="Ice" | |
177 | p.Size=Vector3.new(4,6,4) | |
178 | p.BrickColor=BrickColor:Blue() | |
179 | p.Reflectance=0.4 | |
180 | p.Transparency=0.6 | |
181 | p.Parent=humanoid.Parent | |
182 | for _,v in pairs(hit.Parent:children()) do | |
183 | if v:IsA("Part") then | |
184 | v.Reflectance=0.5 | |
185 | v.BrickColor=BrickColor.Blue() | |
186 | v.Name="Frozen" | |
187 | v.Anchored=true | |
188 | p.CFrame=Tor.CFrame | |
189 | end | |
190 | end | |
191 | wait(1) | |
192 | pcall(function() humanoid.creator.Parent=nil end) | |
193 | p.CFrame=Tor.CFrame | |
194 | end | |
195 | end | |
196 | function Fire(mouse) | |
197 | local b=Instance.new("Part") | |
198 | b.BrickColor=BrickColor:Red() | |
199 | b.Reflectance=0.1 | |
200 | b.Transparency=0.3 | |
201 | b.Size=Vector3.new(2,2,2) | |
202 | b.Shape="Ball" | |
203 | b.CanCollide=false | |
204 | b.TopSurface="Smooth" | |
205 | local sp=Instance.new("Sparkles") | |
206 | sp.Color=BrickColor:Red().Color | |
207 | sp.Parent=b | |
208 | local sm=Instance.new("Smoke") | |
209 | sm.Color=BrickColor:Red().Color | |
210 | sm.RiseVelocity=0 | |
211 | sm.Size=2 | |
212 | sm.Parent=b | |
213 | b.Position=char.Top.Position | |
214 | --b.Position=b.Position+(b.CFrame.lookVector*5) | |
215 | b.BottomSurface="Smooth" | |
216 | b.Friction=0 | |
217 | local bo=Instance.new("BodyVelocity") | |
218 | bo.maxForce=Vector3.new(9999,9999,9999) | |
219 | bo.velocity=(mouse.Hit.p-char.Top.Position).unit*200 | |
220 | bo.Parent=b | |
221 | local co=b.Touched:connect(function(hit) if hit.Parent.Name~=Name and hit.Name~="Base" and hit.Name~="Handle" and hit.Parent.Parent.Name~=Name then hit.BrickColor=BrickColor:Black() | |
222 | ||
223 | for i=1,10 do hit.Transparency=i/10 wait() end pcall(function() hit:remove() end) end end) | |
224 | b.Parent=workspace | |
225 | Delay(3,function() b:remove() end) | |
226 | end | |
227 | function Lazer(mouse) | |
228 | local Laz=Instance.new("Part") | |
229 | Laz.Anchored=true | |
230 | Laz.BrickColor=BrickColor:Red() | |
231 | Laz.Reflectance=0 | |
232 | Laz.TopSurface="Smooth" | |
233 | Laz.BottomSurface="Smooth" | |
234 | Laz.CanCollide=false | |
235 | Laz.CFrame=CFrame.new((char.Top.Position+mouse.Hit.p)/2,mouse.Hit.p) | |
236 | Laz.Parent=char | |
237 | Laz.Size=Vector3.new(1,1,2) | |
238 | Laz.Transparency=0 | |
239 | local Me=Instance.new("BlockMesh") | |
240 | Me.Parent=Laz | |
241 | for i=1,13 do | |
242 | Me.Scale = Vector3.new(i/26,i/26,(char.Top.Position - mouse.Hit.p).magnitude/2) | |
243 | Laz.CFrame=CFrame.new((char.Top.Position+mouse.Hit.p)/2,mouse.Hit.p) | |
244 | wait() | |
245 | end | |
246 | local ex=Instance.new("Explosion") | |
247 | ex.Position=mouse.Hit.p | |
248 | ex.Hit:connect(function(hit) | |
249 | if hit.Parent.Name~=Name and hit.Name~="Base" and hit.Name~="Handle" and hit.Parent.Parent.Name~=Name then | |
250 | hit:BreakJoints() | |
251 | hit.Anchored=false | |
252 | hit.Velocity=(ex.Position-char.Torso.Position).unit*320 | |
253 | end | |
254 | end) | |
255 | ex.BlastPressure=900000 | |
256 | ex.BlastRadius=6 | |
257 | ex.Parent=char | |
258 | wait() | |
259 | for i=1,3 do | |
260 | wait(0.15) | |
261 | Laz.Transparency=Laz.Transparency+0.3 | |
262 | end | |
263 | Laz:remove() | |
264 | end | |
265 | function BH(mouse) | |
266 | local list={} | |
267 | function sar(v) | |
268 | for _,v in pairs(v:children()) do | |
269 | if v:IsA("Part") and v.Parent.Name~=Name and v.Parent.Parent.Name~=Name then | |
270 | table.insert(list,v) | |
271 | elseif v.Name~=Name then | |
272 | sar(v) | |
273 | end | |
274 | end | |
275 | end | |
276 | sar(workspace) | |
277 | local l=Instance.new("Part") | |
278 | l.BrickColor=BrickColor:Black() | |
279 | l.Size=Vector3.new(1,1,1) | |
280 | l.Parent=char | |
281 | l.Shape="Ball" | |
282 | l.TopSurface="Smooth" | |
283 | l.BottomSurface="Smooth" | |
284 | l.Anchored=true | |
285 | l.CFrame=char.Top.CFrame | |
286 | local m=Instance.new("SpecialMesh") | |
287 | m.MeshType="Sphere" | |
288 | m.Parent=l | |
289 | local num=0 | |
290 | for i=1,30,0.5 do | |
291 | wait() | |
292 | m.Scale=m.Scale+Vector3.new(0.5,0.5,0.5) | |
293 | if num~=4 then | |
294 | num=num+1 | |
295 | else | |
296 | num=0 | |
297 | for _,v in pairs(list) do | |
298 | if v.Parent~=nil and v.Name~="Base" and v.Parent.Name~=Name and (v.Position-l.Position).magnitude<m.Scale.y/2 and v.Name~="Eaten" then | |
299 | Delay(0,function() | |
300 | v.Name="Eaten" | |
301 | v.BrickColor=BrickColor:Black() | |
302 | for i=1,10 do | |
303 | wait() | |
304 | v.Transparency=i/10 | |
305 | end | |
306 | pcall(function() v:remove() end) | |
307 | end) | |
308 | end | |
309 | end | |
310 | end | |
311 | end | |
312 | for i=1,30 do | |
313 | wait() | |
314 | l.Transparency=i/30 | |
315 | end | |
316 | l:remove() | |
317 | end | |
318 | ||
319 | function Nova(mouse) | |
320 | local t = char.Torso | |
321 | for i=1,50,0.5 do | |
322 | wait() | |
323 | x = (16 + i) * math.sin(i) + t.Position.x | |
324 | y = t.Position.y | |
325 | z = (16 + i)* math.cos (i) + t.Position.z | |
326 | brick = Instance.new("Explosion") | |
327 | brick.BlastPressure=0 | |
328 | brick.Hit:connect(function(hit) | |
329 | if hit.Parent.Name~=Name and hit.Name~="Base" and hit.Name~="Handle" and hit.Parent.Parent.Name~=Name then | |
330 | hit:BreakJoints() | |
331 | hit.Anchored=false | |
332 | hit.Velocity=(hit.Position-char.Torso.Position).unit*320 | |
333 | end | |
334 | end) | |
335 | brick.BlastRadius = 20 | |
336 | brick.Parent = workspace | |
337 | brick.Position = Vector3.new(x,y,z) | |
338 | end | |
339 | end | |
340 | ||
341 | function Teleport(mouse) | |
342 | if mouse.Target~=nil then | |
343 | local mouse=mouse | |
344 | local hit=mouse.Hit | |
345 | local Band1=Instance.new("Part") | |
346 | Band1.Size=Vector3.new(1,1,1) | |
347 | Band1.BrickColor=BrickColor:Black() | |
348 | Band1.Parent=char | |
349 | Band1.Reflectance=0.2 | |
350 | Band1.Transparency=0.2 | |
351 | local Mesh=Instance.new("CylinderMesh") | |
352 | Mesh.Scale=Vector3.new(5.5,0.05,5.5) | |
353 | Mesh.Parent=Band1 | |
354 | w = Instance.new("Weld") | |
355 | w.Parent = char.Torso | |
356 | w.Part0 = w.Parent | |
357 | w.Part1 = Band1 | |
358 | w.C0 = CFrame.new(0,0,0) | |
359 | for i=1,25 do | |
360 | Mesh.Scale=Mesh.Scale+Vector3.new(0,0.25,0) | |
361 | wait() | |
362 | end | |
363 | char.Torso.CFrame=CFrame.new(hit.p)+Vector3.new(0,3,0) | |
364 | wait(0.1) | |
365 | for i=1,25 do | |
366 | Mesh.Scale=Mesh.Scale+Vector3.new(0,-0.25,0) | |
367 | wait() | |
368 | end | |
369 | Band1:remove() | |
370 | end | |
371 | end | |
372 | ||
373 | function Break(mouse) | |
374 | local mou=mouse | |
375 | if game.Players:getPlayerFromCharacter(mou.Target.Parent)~=nil and mou.Target.Parent:findFirstChild("Torso")~=nil and mou.Target.Parent.Name~=Name then | |
376 | m=game.Players[mou.Target.Parent.Name] | |
377 | mou.Target.Parent.Torso.Anchored=true | |
378 | local Laz=Instance.new("Part") | |
379 | Laz.Anchored=true | |
380 | Laz.BrickColor=BrickColor:Black() | |
381 | Laz.Reflectance=0 | |
382 | Laz.Shape="Ball" | |
383 | Laz.TopSurface="Smooth" | |
384 | Laz.BottomSurface="Smooth" | |
385 | Laz.CanCollide=true | |
386 | Laz.Size=Vector3.new(1,1,1) | |
387 | Laz.CFrame=mou.Target.Parent.Torso.CFrame | |
388 | Laz.Parent=workspace | |
389 | Laz.Transparency=0 | |
390 | local Me=Instance.new("SpecialMesh") | |
391 | Me.MeshType="Sphere" | |
392 | Me.Parent=Laz | |
393 | for i=1,13 do | |
394 | Me.Scale = Vector3.new(i,i,i) | |
395 | wait(0.1) | |
396 | end | |
397 | pcall(function() | |
398 | m.Mode:remove() | |
399 | m.Backpack:remove() | |
400 | m.Character:remove() | |
401 | end) | |
402 | for i=1,7 do | |
403 | Laz.BrickColor=BrickColor:White() | |
404 | Laz.Reflectance=0.5 | |
405 | wait() | |
406 | Laz.BrickColor=BrickColor:Black() | |
407 | Laz.Reflectance=0.2 | |
408 | wait() | |
409 | end | |
410 | for i=1,40 do | |
411 | Laz.Transparency=i/40 | |
412 | wait() | |
413 | end | |
414 | Laz:remove() | |
415 | end | |
416 | end | |
417 | ||
418 | function Viso(mouse) | |
419 | local Laz=Instance.new("Part") | |
420 | Laz.Anchored=false | |
421 | Laz.BrickColor=BrickColor.new("Dark stone grey") | |
422 | Laz.Reflectance=0.1 | |
423 | Laz.Transparency=0.1 | |
424 | Laz.Shape="Ball" | |
425 | Laz.TopSurface="Smooth" | |
426 | Laz.BottomSurface="Smooth" | |
427 | Laz.CanCollide=false | |
428 | Laz.Size=Vector3.new(1,1,1) | |
429 | Laz.CFrame=char.Torso.CFrame | |
430 | Laz.Parent=char.Torso | |
431 | Laz.Transparency=0 | |
432 | w = Instance.new("Weld") | |
433 | w.Parent = Laz | |
434 | w.Part0 = w.Parent | |
435 | w.Part1 = char.Torso | |
436 | w.C0 = CFrame.new(0,0,0) | |
437 | local Me=Instance.new("SpecialMesh") | |
438 | Me.MeshType="Sphere" | |
439 | Me.Parent=Laz | |
440 | for i=1,20 do | |
441 | Me.Scale=Me.Scale+Vector3.new(0.5,0.5,0.5) | |
442 | wait() | |
443 | end | |
444 | if char:findFirstChild("Suit") then | |
445 | char.Suit:remove() | |
446 | end | |
447 | if char.Torso.Transparency==0 then | |
448 | for _,v in pairs(char:children()) do | |
449 | if v:IsA("Part") then | |
450 | v.Transparency=1 | |
451 | elseif v:IsA("Hat") and v:findFirstChild("Handle")~=nil then | |
452 | v.Handle.Transparency=1 | |
453 | end | |
454 | end | |
455 | char.Head.face:remove() | |
456 | for i=1,20 do | |
457 | Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5) | |
458 | wait() | |
459 | end | |
460 | Laz:remove() | |
461 | else | |
462 | for _,v in pairs(char:children()) do | |
463 | if v:IsA("Part") and v.Name~="Top" then | |
464 | v.Transparency=0 | |
465 | elseif v:IsA("Hat") and v:findFirstChild("Handle")~=nil then | |
466 | v.Handle.Transparency=0 | |
467 | elseif v.Name=="Top" then | |
468 | v.Transparency=0.25 | |
469 | end | |
470 | end | |
471 | face:clone().Parent=char.Head | |
472 | for i=1,20 do | |
473 | Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5) | |
474 | wait() | |
475 | end | |
476 | Laz:remove() | |
477 | end | |
478 | end | |
479 | function SuitUp(mouse) | |
480 | if char:findFirstChild("Suit") then | |
481 | char.Suit:remove() | |
482 | else | |
483 | Suit() | |
484 | end | |
485 | end | |
486 | ||
487 | function Swipe(mouse) | |
488 | local Cont=Handle.Touched:connect(function(h) | |
489 | if h.Parent~=nil and h.Parent.Name~=Name and game.Players:getPlayerFromCharacter(h.Parent)~=nil then | |
490 | pcall(function() cr:clone().Parent=h.Parent.Humanoid h.Parent.Shirt:remove() h.Parent.Pants:remove() end) | |
491 | for _,v in pairs(h.Parent:children()) do | |
492 | if v:IsA("Part") then | |
493 | wait() | |
494 | b=Instance.new("BodyVelocity") | |
495 | b.Parent=v | |
496 | v:BreakJoints() | |
497 | b.velocity=(v.Position-Vector3.new(math.random(-100,100),v.Position.y,math.random(-100,100))).unit*50 | |
498 | end | |
499 | end | |
500 | wait() | |
501 | pcall(function() h.Parent.Humanoid.creator:remove() end) | |
502 | for i=1,17 do | |
503 | wait() | |
504 | for _,v in pairs(h.Parent:children()) do | |
505 | if v:IsA("Part") then | |
506 | v.BrickColor=BrickColor:Black() | |
507 | v:BreakJoints() | |
508 | v.Reflectance=0 | |
509 | wait() | |
510 | v.Reflectance=0.7 | |
511 | end | |
512 | end | |
513 | end | |
514 | end | |
515 | end) | |
516 | wait() | |
517 | for i=0,0.6,0.05 do | |
518 | wait() | |
519 | w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-90/5)/2),0.1/2,0.05/2) | |
520 | wHy.C0=wHy.C0*CFrame.new(0,0,-0.1) | |
521 | end | |
522 | wait() | |
523 | for i=1,0,-.05 do | |
524 | wait() | |
525 | w2.C0=w2.C0*CFrame.new(0,0.1/2,-.1/2)*CFrame.Angles(math.rad((90/5)/2),-.1/2,-0.05/2) | |
526 | wHy.C0=wHy.C0*CFrame.new(0,0,.175) | |
527 | end | |
528 | wait() | |
529 | for i=0,0.4,0.05 do | |
530 | wait() | |
531 | w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-90/5)/2),0.1/2,0) | |
532 | end | |
533 | wait() | |
534 | for i=1,3 do | |
535 | wHy.C0=wHy.C0*CFrame.new(0,0,-0.25) | |
536 | wait() | |
537 | end | |
538 | w2.C0=We | |
539 | wHy.C0 = CFrame.new(0,0.25,1)*CFrame.Angles(math.rad(90),0,0) | |
540 | Cont:disconnect() | |
541 | end | |
542 | function Bale(mouse) | |
543 | pos=mouse.Hit.p | |
544 | dir = (pos - char.Torso.CFrame.p).unit | |
545 | for i = 1, 100, 1.2 do | |
546 | wait() | |
547 | local ex = Instance.new("Explosion") | |
548 | ex.Position = char.Torso.CFrame.p + (dir * 8 * i) + (dir * 7) | |
549 | ex.Hit:connect(function(hit) | |
550 | if hit.Parent.Name~=Name and hit.Parent.Parent.Name~=Name and hit.Name~="Base" then | |
551 | hit.Anchored=false | |
552 | hit:BreakJoints() | |
553 | hit.Velocity=(char.Torso.Position-ex.Position).unit*-250 | |
554 | end | |
555 | end) | |
556 | ex.BlastRadius = 6 | |
557 | ex.BlastPressure = 0 | |
558 | ex.Parent = game.Workspace | |
559 | end | |
560 | end | |
561 | function Shock(mouse) | |
562 | for i=0.4,0,-.05/2 do | |
563 | wHy.C0=wHy.C0*CFrame.Angles(math.rad(i*30/2),0,0) | |
564 | wait() | |
565 | w2.C0=w2.C0*CFrame.Angles(math.rad(4/2),0,0) | |
566 | end | |
567 | wait(0.25) | |
568 | for i=1,15 do | |
569 | wait(0.25) | |
570 | local b=Instance.new("Part") | |
571 | b.BrickColor=BrickColor:White() | |
572 | b.Reflectance=0.1 | |
573 | b.Transparency=0.75 | |
574 | b.Size=Vector3.new(1,1,1) | |
575 | b.Shape="Ball" | |
576 | b.CanCollide=true | |
577 | b.Name="Bullet" | |
578 | b.TopSurface="Smooth" | |
579 | local sp=Instance.new("Sparkles") | |
580 | sp.Color=BrickColor:Red().Color | |
581 | sp.Parent=b | |
582 | b.Position=char.Top.Position+Vector3.new(0,1,0) | |
583 | b.BottomSurface="Smooth" | |
584 | b.Friction=0 | |
585 | local bo=Instance.new("BodyVelocity") | |
586 | bo.maxForce=Vector3.new(9999,9999,9999) | |
587 | bo.velocity=(mouse.Hit.p-char.Torso.Position).unit*200 | |
588 | bo.Parent=b | |
589 | local co=b.Touched:connect(function(hit) | |
590 | if hit.Parent.Name~=Name and hit.Name~="Base" and hit.Name~="Handle" and hit.Parent.Parent.Name~=Name then | |
591 | local ex = Instance.new("Explosion") | |
592 | ex.Position = b.Position | |
593 | ex.Hit:connect(function(hit) | |
594 | if hit.Parent.Name~=Name and hit.Parent.Parent.Name~=Name and hit.Name~="Base" then | |
595 | hit.Anchored=false | |
596 | hit:BreakJoints() | |
597 | hit.Velocity=(char.Torso.Position-ex.Position).unit*-250 | |
598 | end | |
599 | end) | |
600 | ex.BlastRadius = 3 | |
601 | ex.BlastPressure = 0 | |
602 | ex.Parent = game.Workspace | |
603 | Delay(0,function() b:remove() end) | |
604 | end | |
605 | end) | |
606 | b.Parent=workspace | |
607 | Delay(3,function() b.Parent=nil end) | |
608 | end | |
609 | for i=0.4,0,-.05/2 do | |
610 | wHy.C0=wHy.C0*CFrame.Angles(math.rad(-i*30/2),0,0) | |
611 | wait() | |
612 | w2.C0=w2.C0*CFrame.Angles(math.rad(-5/2),0,0) | |
613 | end | |
614 | w2.C0=We | |
615 | wHy.C0=CFrame.new(0,0.25,1)*CFrame.Angles(math.rad(90),0,0) | |
616 | collectgarbage("collect") | |
617 | end | |
618 | function Charge(mouse) | |
619 | local mouset=mouse.Target | |
620 | if mouset~=nil and mouset.Parent.Name~=Name and mouset.Parent.Parent~=Name then | |
621 | for i=1,3,0.5 do | |
622 | w2.C0=w2.C0*CFrame.new(0,0,.1/4)*CFrame.Angles(math.rad(i*11/4),0,0) | |
623 | wHy.C0=wHy.C0*CFrame.Angles(math.rad(4),0,0) | |
624 | wait(0.05) | |
625 | end | |
626 | wait(0.5) | |
627 | char.Torso.Anchored=true | |
628 | local Shell=Instance.new("Part") | |
629 | Shell.BrickColor=BrickColor:Black() | |
630 | Shell.Shape="Ball" | |
631 | Shell.Size=Vector3.new(2,2,2) | |
632 | Shell.Transparency=0.6 | |
633 | Shell.Reflectance=0.07 | |
634 | Shell.CFrame=char.Top.CFrame | |
635 | local ShMesh=Instance.new("SpecialMesh") | |
636 | ShMesh.MeshType="Sphere" | |
637 | ShMesh.Scale=Vector3.new(0.5,0.5,0.5) | |
638 | ShMesh.Parent=Shell | |
639 | Shell.Parent=char | |
640 | local w = Instance.new("Weld") | |
641 | w.Parent = Shell | |
642 | w.Part0 = w.Parent | |
643 | w.Part1 = char.Top | |
644 | w.C0 = CFrame.new(0,0,0) | |
645 | for i=1,20 do | |
646 | wait() | |
647 | ShMesh.Scale=ShMesh.Scale+Vector3.new(0.2,0.2,0.2) | |
648 | end | |
649 | wait() | |
650 | local de=0 | |
651 | co=mouse.Move:connect(function() | |
652 | if de==0 then | |
653 | de=1 | |
654 | pcall(function() char.Torso.Lazer:remove() end) | |
655 | local Laz=Instance.new("Part") | |
656 | Laz.Anchored=true | |
657 | Laz.BrickColor=BrickColor:Black() | |
658 | Laz.Reflectance=0.02 | |
659 | Laz.TopSurface="Smooth" | |
660 | Laz.Name="Lazer" | |
661 | Laz.BottomSurface="Smooth" | |
662 | Laz.CanCollide=false | |
663 | Laz.CFrame=CFrame.new((mouse.Hit.p+char.Top.Position)/2,char.Top.Position) | |
664 | Laz.Parent=char.Torso | |
665 | Laz.Size=Vector3.new(1,1,2) | |
666 | Laz.Transparency=0.2 | |
667 | Laz.Reflectance=0.3 | |
668 | local Me=Instance.new("BlockMesh") | |
669 | Me.Bevel=0.42 | |
670 | Me.Parent=Laz | |
671 | Me.Scale = Vector3.new(3.5,3.5,(mouse.Hit.p - char.Top.Position).magnitude/2) | |
672 | Delay(0,function() | |
673 | local hit=mouse.Target | |
674 | if hit.Parent.Name~=Name and hit.Parent.Parent.Name~=Name and hit.Name~="Base" and hit:GetMass()<400 then | |
675 | hit.BrickColor=BrickColor:Black() | |
676 | for i=1,10 do | |
677 | hit.Transparency=i/10 | |
678 | wait() | |
679 | end | |
680 | hit:remove() | |
681 | end | |
682 | end) | |
683 | wait(0.2) | |
684 | de=0 | |
685 | end | |
686 | end) | |
687 | wait(5) | |
688 | co:disconnect() | |
689 | char.Torso.Anchored=false | |
690 | for i=1,10 do | |
691 | pcall(function() char.Torso.Lazer:remove() end) | |
692 | wait() | |
693 | end | |
694 | for i=1,16 do | |
695 | ShMesh.Scale=ShMesh.Scale+Vector3.new(-0.2,-0.2,-0.2) | |
696 | wait(0.02) | |
697 | end | |
698 | wait() | |
699 | Shell:remove() | |
700 | for i=1,3,0.5 do | |
701 | w2.C0=w2.C0*CFrame.new(0,0,.1/-4)*CFrame.Angles(math.rad(i*-11/4),0,0) | |
702 | wHy.C0=wHy.C0*CFrame.Angles(math.rad(-4),0,0) | |
703 | wait(0.05) | |
704 | end | |
705 | w2.C0=We | |
706 | wHy.C0=CFrame.new(0,0.25,1)*CFrame.Angles(math.rad(90),0,0) | |
707 | end | |
708 | end | |
709 | ||
710 | --ToDo: | |
711 | fire={Ice,Fire,Lazer,BH,Nova,Teleport,Break,Viso,SuitUp,Swipe,Bale,Shock,Charge} | |
712 | name={"Ice","Fire","Lazer","Black Hole","Super Nova","Teleport","Sb-Break","Cloaking","Suit","Swipe","BaleFire","Minigun","Staff Happy"} | |
713 | klick={"z","x","c","v","b","n","p","m","l","k","j","h","g"} | |
714 | function Kay(ke) | |
715 | for _,v in pairs(klick) do | |
716 | if v==ke then | |
717 | return _ | |
718 | end | |
719 | end | |
720 | return false | |
721 | end | |
722 | ||
723 | f=Staff.Selected:connect(function(mouse) | |
724 | if d==0 and char.Torso:findFirstChild("Right Shoulder")~=nil then | |
725 | pcall(function() script.Sour.Value=[[print("Hello,World!")]] end) --Nothing to see here. | |
726 | d=1 | |
727 | Scrl=1 | |
728 | f:disconnect() | |
729 | pcall(function() game["LocalBackpack"]:children()[1]:remove() end) | |
730 | Sh[2].Parent=nil | |
731 | w2 = Instance.new("Weld") | |
732 | w2.Name="Right Shouldr" | |
733 | w2.Parent = char.Torso | |
734 | w2.Part0 = char["Right Arm"] | |
735 | w2.Part1 = w2.Parent | |
736 | w2.C0 = CFrame.new(-1.5,0.5,.5)*CFrame.Angles(math.rad(90*3),0,0) | |
737 | We=w2.C0 | |
738 | makeStaff() | |
739 | mouse.KeyDown:connect(function(key) | |
740 | if Kay(tostring(key))~=false then | |
741 | Scrl=Kay(tostring(key)) | |
742 | hint("Mode: "..tostring(name[Scrl]),2) | |
743 | end | |
744 | end) | |
745 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
746 | mouse.Button1Down:connect(function() fire[Scrl](mouse) end) ---Down with the bloody Red Queen. | |
747 | end | |
748 | end) | |
749 | function Suit() | |
750 | color=BrickColor:White() | |
751 | color2=BrickColor.new("Dark stone grey") | |
752 | model = Instance.new("Model") | |
753 | model.Parent = char | |
754 | model.Name = "Suit" | |
755 | Tors=Instance.new("Part") | |
756 | Tors.Size=char.Torso.Size | |
757 | Tors.BrickColor=color | |
758 | Tors.Reflectance=0.75 | |
759 | Tors.Transparency=0 | |
760 | Tors.CanCollide=false | |
761 | Tors.Parent=model | |
762 | Mesh=Instance.new("BlockMesh") | |
763 | Mesh.Parent=Tors | |
764 | Mesh.Scale=Vector3.new(1.01,0.9,1.01) | |
765 | w = Instance.new("Weld") | |
766 | w.Parent = char.Torso | |
767 | w.Part0 = w.Parent | |
768 | w.Part1 = Tors | |
769 | w.C0 = CFrame.new(0,0,0) | |
770 | for _,v in pairs(char:children()) do | |
771 | if string.sub(v.Name,1,4)=="Left" or string.sub(v.Name,1,4)=='Righ' then | |
772 | Tor=Instance.new("Part") | |
773 | Tor.Size=v.Size | |
774 | Tor.BrickColor=color | |
775 | Tor.Reflectance=0.75 | |
776 | Tor.Transparency=0 | |
777 | Tor.CanCollide=false | |
778 | Tor.Parent=model | |
779 | Mesh=Instance.new("BlockMesh") | |
780 | Mesh.Parent=Tor | |
781 | Mesh.Scale=Vector3.new(1.01,0.9,1.01) | |
782 | w = Instance.new("Weld") | |
783 | w.Parent = v | |
784 | w.Part0 = w.Parent | |
785 | w.Part1 = Tor | |
786 | w.C0 = CFrame.new(0,0,0) | |
787 | end | |
788 | end | |
789 | v=char["Torso"] | |
790 | Tor=Instance.new("Part") | |
791 | Tor.Size=Vector3.new(1,1,1) | |
792 | Tor.BrickColor=color | |
793 | Tor.Reflectance=0.1 | |
794 | Tor.Transparency=0 | |
795 | Tor.Locked=true | |
796 | Tor.Name="Wing2" | |
797 | Tor.CanCollide=true | |
798 | Tor.Parent=model | |
799 | Tor.TopSurface="Smooth" | |
800 | Tor.BottomSurface="Smooth" | |
801 | Mesh=Instance.new("BlockMesh") | |
802 | Mesh.Bevel=0.05 | |
803 | Mesh.Parent=Tor | |
804 | Mesh.Scale=Vector3.new(0.2,1,3) | |
805 | w = Instance.new("Weld") | |
806 | w.Parent = v | |
807 | w.Part0 = w.Parent | |
808 | w.Part1 = Tor | |
809 | w.C0 = CFrame.new(0.5,0.4,1.1)*CFrame.Angles(math.rad(-40),math.rad(20),0) | |
810 | v=char["Torso"] | |
811 | Tor=Instance.new("Part") | |
812 | Tor.Size=Vector3.new(1,1,1) | |
813 | Tor.BrickColor=color | |
814 | Tor.Reflectance=0.1 | |
815 | Tor.Transparency=0 | |
816 | Tor.Locked=true | |
817 | Tor.Name="Wing1" | |
818 | Tor.CanCollide=true | |
819 | Tor.Parent=model | |
820 | Tor.TopSurface="Smooth" | |
821 | Tor.BottomSurface="Smooth" | |
822 | Mesh=Instance.new("BlockMesh") | |
823 | Mesh.Bevel=0.05 | |
824 | Mesh.Parent=Tor | |
825 | Mesh.Scale=Vector3.new(0.2,1,3) | |
826 | w = Instance.new("Weld") | |
827 | w.Parent = v | |
828 | w.Part0 = w.Parent | |
829 | w.Part1 = Tor | |
830 | w.C0 = CFrame.new(-0.5,0.4,1.1)*CFrame.Angles(math.rad(-40),math.rad(-20),0) | |
831 | v=char["Left Leg"] | |
832 | Tor=Instance.new("Part") | |
833 | Tor.Size=Vector3.new(1,1,1) | |
834 | Tor.BrickColor=color | |
835 | Tor.Reflectance=0.1 | |
836 | Tor.Transparency=0 | |
837 | Tor.Locked=true | |
838 | Tor.CanCollide=true | |
839 | Tor.Parent=model | |
840 | Tor.TopSurface="Smooth" | |
841 | Tor.BottomSurface="Smooth" | |
842 | Mesh=Instance.new("BlockMesh") | |
843 | Mesh.Bevel=0.05 | |
844 | Mesh.Parent=Tor | |
845 | Mesh.Scale=Vector3.new(1.1,0.4,1.1) | |
846 | w = Instance.new("Weld") | |
847 | w.Parent = v | |
848 | w.Part0 = w.Parent | |
849 | w.Part1 = Tor | |
850 | w.C0 = CFrame.new(0,-0.6,0) | |
851 | v=char["Right Leg"] | |
852 | Tor=Instance.new("Part") | |
853 | Tor.Size=Vector3.new(1,1,1) | |
854 | Tor.BrickColor=color | |
855 | Tor.Reflectance=0.1 | |
856 | Tor.Transparency=0 | |
857 | Tor.Locked=true | |
858 | Tor.CanCollide=true | |
859 | Tor.Parent=model | |
860 | Tor.TopSurface="Smooth" | |
861 | Tor.BottomSurface="Smooth" | |
862 | Mesh=Instance.new("BlockMesh") | |
863 | Mesh.Bevel=0.05 | |
864 | Mesh.Parent=Tor | |
865 | Mesh.Scale=Vector3.new(1.1,0.4,1.1) | |
866 | w = Instance.new("Weld") | |
867 | w.Parent = v | |
868 | w.Part0 = w.Parent | |
869 | w.Part1 = Tor | |
870 | w.C0 = CFrame.new(0,-0.6,0) | |
871 | v=char["Left Arm"] | |
872 | Tor=Instance.new("Part") | |
873 | Tor.Size=Vector3.new(1,1,1) | |
874 | Tor.BrickColor=color | |
875 | Tor.Reflectance=0.1 | |
876 | Tor.Transparency=0 | |
877 | Tor.Locked=true | |
878 | Tor.CanCollide=true | |
879 | Tor.Parent=model | |
880 | Tor.TopSurface="Smooth" | |
881 | Tor.BottomSurface="Smooth" | |
882 | Mesh=Instance.new("BlockMesh") | |
883 | Mesh.Bevel=0.05 | |
884 | Mesh.Parent=Tor | |
885 | Mesh.Scale=Vector3.new(1.1,0.3,1.1) | |
886 | w = Instance.new("Weld") | |
887 | w.Parent = v | |
888 | w.Part0 = w.Parent | |
889 | w.Part1 = Tor | |
890 | w.C0 = CFrame.new(0,-0.43,0) | |
891 | v=char["Right Arm"] | |
892 | Tor=Instance.new("Part") | |
893 | Tor.Size=Vector3.new(1,1,1) | |
894 | Tor.BrickColor=color | |
895 | Tor.Reflectance=0.1 | |
896 | Tor.Transparency=0 | |
897 | Tor.Locked=true | |
898 | Tor.CanCollide=true | |
899 | Tor.Parent=model | |
900 | Tor.TopSurface="Smooth" | |
901 | Tor.BottomSurface="Smooth" | |
902 | Mesh=Instance.new("BlockMesh") | |
903 | Mesh.Bevel=0.05 | |
904 | Mesh.Parent=Tor | |
905 | Mesh.Scale=Vector3.new(1.1,0.3,1.1) | |
906 | w = Instance.new("Weld") | |
907 | w.Parent = v | |
908 | w.Part0 = w.Parent | |
909 | w.Part1 = Tor | |
910 | w.C0 = CFrame.new(0,-0.43,0) | |
911 | v=model["Wing2"] | |
912 | Tor=Instance.new("Part") | |
913 | Tor.Size=Vector3.new(1,1,1) | |
914 | Tor.BrickColor=color2 | |
915 | Tor.Reflectance=0.1 | |
916 | Tor.Transparency=0 | |
917 | Tor.Locked=true | |
918 | Tor.CanCollide=true | |
919 | Tor.Parent=model | |
920 | Tor.TopSurface="Smooth" | |
921 | Tor.BottomSurface="Smooth" | |
922 | Mesh=Instance.new("BlockMesh") | |
923 | Mesh.Bevel=0.05 | |
924 | Mesh.Parent=Tor | |
925 | Mesh.Scale=Vector3.new(0.3,1.1,0.2) | |
926 | w = Instance.new("Weld") | |
927 | w.Parent = v | |
928 | w.Part0 = w.Parent | |
929 | w.Part1 = Tor | |
930 | w.C0 = CFrame.new(0,0,1.3) | |
931 | v=model["Wing1"] | |
932 | Tor=Instance.new("Part") | |
933 | Tor.Size=Vector3.new(1,1,1) | |
934 | Tor.BrickColor=color2 | |
935 | Tor.Reflectance=0.1 | |
936 | Tor.Transparency=0 | |
937 | Tor.Locked=true | |
938 | Tor.CanCollide=true | |
939 | Tor.Parent=model | |
940 | Tor.TopSurface="Smooth" | |
941 | Tor.BottomSurface="Smooth" | |
942 | Mesh=Instance.new("BlockMesh") | |
943 | Mesh.Bevel=0.05 | |
944 | Mesh.Parent=Tor | |
945 | Mesh.Scale=Vector3.new(0.3,1.1,0.2) | |
946 | w = Instance.new("Weld") | |
947 | w.Parent = v | |
948 | w.Part0 = w.Parent | |
949 | w.Part1 = Tor | |
950 | w.C0 = CFrame.new(0,0,1.3) | |
951 | v=char["Torso"] | |
952 | Tor=Instance.new("Part") | |
953 | Tor.Size=Vector3.new(1,1,1) | |
954 | Tor.BrickColor=color2 | |
955 | Tor.Reflectance=0.1 | |
956 | Tor.Shape="Ball" | |
957 | Tor.Transparency=0 | |
958 | Tor.Locked=true | |
959 | Tor.CanCollide=true | |
960 | Tor.Parent=model | |
961 | Tor.TopSurface="Smooth" | |
962 | Tor.BottomSurface="Smooth" | |
963 | Mesh=Instance.new("BlockMesh") | |
964 | Mesh.Bevel=0.05 | |
965 | --Mesh.Parent=Tor | |
966 | Mesh.Scale=Vector3.new(.7,.7,.7) | |
967 | w = Instance.new("Weld") | |
968 | w.Parent = v | |
969 | w.Part0 = w.Parent | |
970 | w.Part1 = Tor | |
971 | w.C0 = CFrame.new(0,-0.2,0.4) | |
972 | Tor=Instance.new("Part") | |
973 | Tor.Size=Vector3.new(1,1,1) | |
974 | Tor.BrickColor=color2 | |
975 | Tor.Reflectance=0 | |
976 | Tor.Transparency=0 | |
977 | Tor.CanCollide=false | |
978 | Tor.Parent=model | |
979 | Mesh=Instance.new("BlockMesh") | |
980 | Mesh.Parent=Tor | |
981 | Mesh.Scale=Vector3.new(.4,0.4,0.01) | |
982 | w = Instance.new("Weld") | |
983 | w.Parent = char.Torso | |
984 | w.Part0 = w.Parent | |
985 | w.Part1 = Tor | |
986 | w.C0 = CFrame.new(0,0,-0.51) | |
987 | Tor=Instance.new("Part") | |
988 | Tor.Size=Vector3.new(1,1,1) | |
989 | Tor.BrickColor=color2 | |
990 | Tor.Reflectance=0 | |
991 | Tor.Transparency=0 | |
992 | Tor.CanCollide=false | |
993 | Tor.Parent=model | |
994 | Mesh=Instance.new("CylinderMesh") | |
995 | Mesh.Parent=Tor | |
996 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
997 | w = Instance.new("Weld") | |
998 | w.Parent = char.Torso | |
999 | w.Part0 = w.Parent | |
1000 | w.Part1 = Tor | |
1001 | w.C0 = CFrame.new(0,0,-0.49)*CFrame.Angles(0,0,math.rad(90)) | |
1002 | Tor=Instance.new("Part") | |
1003 | Tor.Size=Vector3.new(1,1,1) | |
1004 | Tor.BrickColor=color2 | |
1005 | Tor.Reflectance=0 | |
1006 | Tor.Transparency=0 | |
1007 | Tor.CanCollide=false | |
1008 | Tor.Parent=model | |
1009 | Mesh=Instance.new("CylinderMesh") | |
1010 | Mesh.Parent=Tor | |
1011 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
1012 | w = Instance.new("Weld") | |
1013 | w.Parent = char.Torso | |
1014 | w.Part0 = w.Parent | |
1015 | w.Part1 = Tor | |
1016 | w.C0 = CFrame.new(0,0,-0.49) | |
1017 | Tor=Instance.new("Part") | |
1018 | Tor.Size=Vector3.new(1,1,1) | |
1019 | Tor.BrickColor=color | |
1020 | Tor.Reflectance=0 | |
1021 | Tor.Transparency=0 | |
1022 | Tor.CanCollide=false | |
1023 | Tor.Parent=model | |
1024 | Mesh=Instance.new("SpecialMesh") | |
1025 | Mesh.MeshType="Sphere" | |
1026 | Mesh.Parent=Tor | |
1027 | Mesh.Scale=Vector3.new(.25,.25,.25) | |
1028 | w = Instance.new("Weld") | |
1029 | w.Parent = char.Torso | |
1030 | w.Part0 = w.Parent | |
1031 | w.Part1 = Tor | |
1032 | w.C0 = CFrame.new(0,0,-0.49) | |
1033 | Tor=Instance.new("Part") | |
1034 | Tor.Size=Vector3.new(1,1,1) | |
1035 | Tor.BrickColor=color2 | |
1036 | Tor.Reflectance=0 | |
1037 | Tor.Transparency=0 | |
1038 | Tor.CanCollide=false | |
1039 | Tor.Parent=model | |
1040 | Mesh=Instance.new("CylinderMesh") | |
1041 | Mesh.Parent=Tor | |
1042 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
1043 | w = Instance.new("Weld") | |
1044 | w.Parent = char.Torso | |
1045 | w.Part0 = w.Parent | |
1046 | w.Part1 = Tor | |
1047 | w.C0 = CFrame.new(0.27,0,-0.49) | |
1048 | Tor=Instance.new("Part") | |
1049 | Tor.Size=Vector3.new(1,1,1) | |
1050 | Tor.BrickColor=color2 | |
1051 | Tor.Reflectance=0 | |
1052 | Tor.Transparency=0 | |
1053 | Tor.CanCollide=false | |
1054 | Tor.Parent=model | |
1055 | Mesh=Instance.new("CylinderMesh") | |
1056 | Mesh.Parent=Tor | |
1057 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
1058 | w = Instance.new("Weld") | |
1059 | w.Parent = char.Torso | |
1060 | w.Part0 = w.Parent | |
1061 | w.Part1 = Tor | |
1062 | w.C0 = CFrame.new(-0.27,0,-0.49) | |
1063 | Tor=Instance.new("Part") | |
1064 | Tor.Size=Vector3.new(1,1,1) | |
1065 | Tor.BrickColor=color2 | |
1066 | Tor.Reflectance=0 | |
1067 | Tor.Transparency=0 | |
1068 | Tor.CanCollide=false | |
1069 | Tor.Parent=model | |
1070 | Mesh=Instance.new("CylinderMesh") | |
1071 | Mesh.Parent=Tor | |
1072 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
1073 | w = Instance.new("Weld") | |
1074 | w.Parent = char.Torso | |
1075 | w.Part0 = w.Parent | |
1076 | w.Part1 = Tor | |
1077 | w.C0 = CFrame.new(0,0.295,-0.49)*CFrame.Angles(0,0,math.rad(90)) | |
1078 | Tor=Instance.new("Part") | |
1079 | Tor.Size=Vector3.new(1,1,1) | |
1080 | Tor.BrickColor=color2 | |
1081 | Tor.Reflectance=0 | |
1082 | Tor.Transparency=0 | |
1083 | Tor.CanCollide=false | |
1084 | Tor.Parent=model | |
1085 | Mesh=Instance.new("CylinderMesh") | |
1086 | Mesh.Parent=Tor | |
1087 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
1088 | w = Instance.new("Weld") | |
1089 | w.Parent = char.Torso | |
1090 | w.Part0 = w.Parent | |
1091 | w.Part1 = Tor | |
1092 | w.C0 = CFrame.new(0,-0.295,-0.49)*CFrame.Angles(0,0,math.rad(90)) | |
1093 | end |