Advertisement
iamcba12

Wand of ICEEEEEEEEEEEEE

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