Advertisement
memberhero

Untitled

May 20th, 2016
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.73 KB | None | 0 0
  1. local Name="memberhero"
  2. local workspace=Workspace
  3. local player=game.Players[Name]
  4. local char=player.Character
  5. local Color=BrickColor.new("Pastel brown")
  6.  
  7.  
  8. if script.Parent.className~="HopperBin" then
  9. pcall(function() char.Gourd:remove() end)
  10. Staff=Instance.new("HopperBin")
  11. Staff.Name="Sand"
  12. Staff.Parent=player.Backpack
  13. m=Instance.new("Model")
  14. m.Parent=char
  15. m.Name="Gourd"
  16. p=Instance.new("Part")
  17. p.Locked=true
  18. p.BrickColor=BrickColor:Red()
  19. p.Material="Concrete"
  20. p.Size=Vector3.new(1,1,1)
  21. Cent=p
  22. me=Instance.new("CylinderMesh")
  23. me.Scale=Vector3.new(1.2,0.4,1.2)
  24. me.Parent=p
  25. p.Parent=m
  26. w=Instance.new("Weld")
  27. w.Part1=char.Torso
  28. w.Part0=p
  29. w.Parent=p
  30. w.C0=CFrame.new(0,0.25,-1)*CFrame.Angles(0,0,math.rad(35))
  31. p=Instance.new("Part")
  32. p.Locked=true
  33. p.BrickColor=Color
  34. p.Material="Concrete"
  35. p.Size=Vector3.new(2,2,2)
  36. p.Shape="Ball"
  37. p.Parent=m
  38. w=Instance.new("Weld")
  39. w.Part1=Cent
  40. w.Part0=p
  41. w.Parent=p
  42. w.C0=CFrame.new(0,1,0)
  43. p=Instance.new("Part")
  44. p.Locked=true
  45. p.BrickColor=Color
  46. p.Material="Concrete"
  47. p.Size=Vector3.new(2,2,2)
  48. p.Shape="Ball"
  49. p.Parent=m
  50. w=Instance.new("Weld")
  51. w.Part1=Cent
  52. w.Part0=p
  53. w.Parent=p
  54. w.C0=CFrame.new(0,-1,0)
  55. Top=p
  56. p=Instance.new("Part")
  57. p.Locked=true
  58. p.BrickColor=Color
  59. p.Material="Concrete"
  60. p.Size=Vector3.new(1,1,1)
  61. p.Parent=m
  62. me=Instance.new("CylinderMesh")
  63. me.Scale=Vector3.new(0.5,0.15,0.5)
  64. me.Parent=p
  65. w=Instance.new("Weld")
  66. w.Part1=Top
  67. w.Part0=p
  68. w.Parent=p
  69. w.C0=CFrame.new(0,-1,0)
  70. p=Instance.new("Part")
  71. p.Locked=true
  72. p.BrickColor=BrickColor.new("Black")
  73. p.Material="Concrete"
  74. p.Size=Vector3.new(1,1,1)
  75. p.Parent=m
  76. me=Instance.new("CylinderMesh")
  77. me.Scale=Vector3.new(0.4,0.16,0.4)
  78. me.Parent=p
  79. w=Instance.new("Weld")
  80. w.Part1=Top
  81. w.Part0=p
  82. w.Parent=p
  83. w.C0=CFrame.new(0,-1,0)
  84. p=Instance.new("Part")
  85. p.Locked=true
  86. p.BrickColor=BrickColor:Red()
  87. p.Material="Concrete"
  88. p.Size=Vector3.new(2,1,1)
  89. p.Parent=m
  90. me=Instance.new("BlockMesh")
  91. me.Scale=Vector3.new(1.1,0.15,1.1)
  92. me.Parent=p
  93. w=Instance.new("Weld")
  94. w.Part1=char.Torso
  95. w.Part0=p
  96. w.Parent=p
  97. w.C0=CFrame.new(0,.75,0)
  98. p=Instance.new("Part")
  99. p.Locked=true
  100. p.BrickColor=BrickColor:Red()
  101. p.Material="Concrete"
  102. p.Size=Vector3.new(2,1,1)
  103. p.Parent=m
  104. me=Instance.new("BlockMesh")
  105. me.Scale=Vector3.new(1.29,0.15,1.1)
  106. me.Parent=p
  107. w=Instance.new("Weld")
  108. w.Part1=char.Torso
  109. w.Part0=p
  110. w.Parent=p
  111. w.C1=CFrame.new(0,0.1,0)*CFrame.Angles(0,0,math.rad(-40))
  112. script.Name="Not A QuickScript"
  113. script.Parent=Staff
  114. end
  115. Sword=script.Parent
  116.  
  117. function hint(msg,de)
  118. for _,v in pairs(player:children()) do
  119. if v:IsA("Message") then
  120. v:remove()
  121. end
  122. end
  123. local h=Instance.new("Hint")
  124. h.Text=tostring(msg)
  125. h.Parent=player
  126. Delay(tonumber(de),function() h:remove() end)
  127. end
  128.  
  129. ta={}
  130. for _,v in pairs(player.Backpack:GetChildren()) do
  131. if v.Name=="Sand" then
  132. table.insert(ta,v)
  133. end
  134. end
  135. if #ta==2 or #ta>2 then
  136. ta[1]:remove()
  137. end
  138.  
  139. Hopper=script.Parent
  140.  
  141. function Stream(mouse)
  142. local b=Instance.new("Part")
  143. b.BrickColor=Color
  144. b.Reflectance=0
  145. b.Transparency=1
  146. b.Size=Vector3.new(2,2,2)
  147. b.Shape="Ball"
  148. b.CanCollide=false
  149. b.TopSurface="Smooth"
  150. b.Position=char.Head.Position
  151. b.BottomSurface="Smooth"
  152. b.Friction=0
  153. b.Touched:connect(function(h) Hit(h) end)
  154. local bo=Instance.new("BodyVelocity")
  155. bo.maxForce=Vector3.new(9999,9999,9999)
  156. bo.velocity=(mouse.Hit.p-char.Head.Position).unit*60
  157. bo.Parent=b
  158. b.Parent=Gourd
  159. local Bo=b
  160. while Bo.Parent and Up==false do
  161. wait()
  162. if mouse.Target and (Bo.Position-mouse.Target.Position).magnitude<7 then
  163. Hit(mouse.Target)
  164. else
  165. Bo.CFrame=b.CFrame --BodyPosition anti-hax
  166. bo.velocity=(mouse.Hit.p-Bo.Position).unit*150
  167. end
  168. local b=Instance.new("Part")
  169. b.BrickColor=Color
  170. b.Reflectance=0
  171. b.Transparency=0.2
  172. b.Touched:connect(Hit)
  173. b.Size=Vector3.new(2,2,2)
  174. b.CanCollide=false
  175. b.Anchored=true
  176. b.TopSurface="Smooth"
  177. b.Parent=Gourd
  178. b.CFrame=Bo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  179. b.BottomSurface="Smooth"
  180. Delay(0,function()
  181. local p=b
  182. for i=1,5 do
  183. wait(0.05)
  184. p.Transparency=i/5
  185. end
  186. p:remove()
  187. end)
  188. end
  189. pcall(function() Bo:remove() end)
  190. end
  191.  
  192. function Def(mouse)
  193. local b=Instance.new("Part")
  194. b.BrickColor=Color
  195. b.Reflectance=0
  196. b.Transparency=0.6
  197. b.Size=Vector3.new(15,15,15)
  198. b.Anchored=false
  199. b.Shape="Ball"
  200. b.CanCollide=false
  201. p=Instance.new("BodyPosition")
  202. p.Parent=b
  203. p.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  204. p.position=char.Torso.Position
  205. b.TopSurface="Smooth"
  206. b.Position=char.Torso.Position
  207. b.BottomSurface="Smooth"
  208. b.Touched:connect(function(h)
  209. Hit(h)
  210. end)
  211. b.Parent=Gourd
  212. while Up==false and b.Parent do
  213. b.CFrame=char.Torso.CFrame
  214. p.position=char.Torso.Position
  215. local p=Instance.new("Part")
  216. p.Size=Vector3.new(1,1,1)
  217. p.BrickColor=Color
  218. p.Anchored=true
  219. p.CanCollide=false
  220. p.Parent=Gourd
  221. p.CFrame=char.Torso.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  222. local m=Instance.new("BlockMesh")
  223. m.Scale=Vector3.new(0.5,0.5,0.5)
  224. m.Parent=p
  225. Delay(0,function()
  226. local p=p
  227. for i=1,5 do
  228. wait(0.05)
  229. p.Transparency=i/5
  230. end
  231. p:remove()
  232. end)
  233. wait()
  234. end
  235. pcall(function() b:remove() end)
  236. end
  237.  
  238. function Bur(mouse)
  239. if mouse.Target and game.Players:getPlayerFromCharacter(mouse.Target.Parent) then
  240. local m=mouse.Target.Parent
  241. m.Torso.Anchored=true
  242. for i=1,15 do
  243. local p=Instance.new("Part")
  244. p.Size=Vector3.new(i,1,i)
  245. p.BrickColor=Color
  246. p.Anchored=true
  247. p.Transparency=i/14
  248. p.CanCollide=false
  249. p.Parent=m
  250. local me=Instance.new("CylinderMesh")
  251. me.Scale=Vector3.new(1,1.1,1)
  252. me.Parent=p
  253. p.CFrame=CFrame.new(m.Torso.CFrame.x,m.Torso.CFrame.y-3.5,m.Torso.CFrame.z)
  254. end
  255. for i=1,10 do
  256. for i=1,6 do
  257. wait()
  258. local p=Instance.new("Part")
  259. p.Size=Vector3.new(1,1,1)
  260. p.BrickColor=Color
  261. p.Anchored=true
  262. p.CanCollide=false
  263. p.Parent=m
  264. p.CFrame=m.Torso.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  265. local m=Instance.new("BlockMesh")
  266. m.Scale=Vector3.new(0.25,0.25,0.25)
  267. m.Parent=p
  268. Delay(0,function()
  269. local p=p
  270. for i=1,5 do
  271. wait(0.05)
  272. p.Transparency=i/5
  273. end
  274. p:remove()
  275. end)
  276. end
  277. m.Torso.CFrame=CFrame.new(m.Torso.Position)*CFrame.new(0,-0.5,0)
  278. wait()
  279. end
  280. Hit(m.Torso)
  281. Hit(m.Head)
  282. end
  283. end
  284.  
  285. function Shift(mouse)
  286. if mouse.Target then
  287. local mo=Instance.new("Model",char)
  288. local h=mouse.Hit.p
  289. local m=char
  290. for i=1,15 do
  291. local p=Instance.new("Part")
  292. p.Size=Vector3.new(i,1,i)
  293. p.BrickColor=Color
  294. p.Anchored=true
  295. p.Transparency=i/14
  296. p.CanCollide=false
  297. p.Parent=mo
  298. local me=Instance.new("CylinderMesh")
  299. me.Scale=Vector3.new(1,1.1,1)
  300. me.Parent=p
  301. p.CFrame=CFrame.new(m.Torso.CFrame.x,m.Torso.CFrame.y-3.5,m.Torso.CFrame.z)
  302. end
  303. for i=1,15 do
  304. local p=Instance.new("Part")
  305. p.Size=Vector3.new(i,1,i)
  306. p.BrickColor=Color
  307. p.Anchored=true
  308. p.Transparency=i/14
  309. p.CanCollide=false
  310. p.Parent=mo
  311. local me=Instance.new("CylinderMesh")
  312. me.Scale=Vector3.new(1,1.1,1)
  313. me.Parent=p
  314. p.CFrame=CFrame.new(h)*CFrame.new(0,-0.5,0)
  315. end
  316. m.Torso.Anchored=true
  317. for i=1,15 do
  318. for i=1,6 do
  319. wait()
  320. local p=Instance.new("Part")
  321. p.Size=Vector3.new(1,1,1)
  322. p.BrickColor=Color
  323. p.Anchored=true
  324. p.CanCollide=false
  325. p.Parent=mo
  326. p.CFrame=m.Torso.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  327. local m=Instance.new("BlockMesh")
  328. m.Scale=Vector3.new(0.25,0.25,0.25)
  329. m.Parent=p
  330. Delay(0,function()
  331. local p=p
  332. for i=1,5 do
  333. wait(0.05)
  334. p.Transparency=i/5
  335. end
  336. p:remove()
  337. end)
  338. end
  339. m.Torso.CFrame=m.Torso.CFrame*CFrame.new(0,-0.6,0)
  340. wait()
  341. end
  342. m.Torso.CFrame=CFrame.new(h)*CFrame.new(0,-1.5,0)
  343. for i=1,11 do
  344. for i=1,6 do
  345. wait()
  346. local p=Instance.new("Part")
  347. p.Size=Vector3.new(1,1,1)
  348. p.BrickColor=Color
  349. p.Anchored=true
  350. p.CanCollide=false
  351. p.Parent=mo
  352. p.CFrame=m.Torso.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  353. local m=Instance.new("BlockMesh")
  354. m.Scale=Vector3.new(0.25,0.25,0.25)
  355. m.Parent=p
  356. Delay(0,function()
  357. local p=p
  358. for i=1,5 do
  359. wait(0.05)
  360. p.Transparency=i/5
  361. end
  362. p:remove()
  363. end)
  364. end
  365. m.Torso.CFrame=m.Torso.CFrame*CFrame.new(0,0.5,0)
  366. wait()
  367. end
  368. m.Torso.Anchored=false
  369. mo:remove()
  370. end
  371. end
  372.  
  373.  
  374. function Wave(mouse)
  375. if mouse.Hit.p.x>char.Torso.Position.x then
  376. Deg=-2
  377. Fre=-60
  378. else
  379. Deg=2
  380. Fre=60
  381. end
  382. local X=char.Torso.CFrame.x
  383. for i=0,Fre,Deg do
  384. wait()
  385. local p=Instance.new("Part")
  386. p.Parent=Gourd
  387. p.Size=Vector3.new(2,1,workspace.Base.Size.z)
  388. p.BrickColor=Color
  389. p.Anchored=true
  390. p.CFrame=CFrame.new(X,0,workspace.Base.Position.z)*CFrame.new(-i,0,0)
  391. local m=Instance.new("BlockMesh")
  392. m.Parent=p
  393. m.Scale=Vector3.new(1,1.2,1.005)
  394. Delay(0,function()
  395. local p=p
  396. local m=m
  397. for i=1,9,0.25 do
  398. m.Scale=m.Scale+Vector3.new(0,.25,0)
  399. wait()
  400. end
  401. wait()
  402. for i=1,9,0.25 do
  403. m.Scale=m.Scale+Vector3.new(0,-.25,0)
  404. wait()
  405. end
  406. p:remove()
  407. end)
  408. for _,v in pairs(game.Players:GetPlayers()) do
  409. if v.Character and v.Character:findFirstChild("Head") then
  410. if v.Character.Head.Position.y<(workspace.Base.Position.y+9.5) then
  411. if v.Character.Torso.Position.x<p.Position.x+p.Size.x/2 and v.Character.Torso.Position.x>p.Position.x-p.Size.x/2 then
  412. Hit(v.Character.Head)
  413. end
  414. end
  415. end
  416. end
  417. end
  418. end
  419.  
  420. function Spike(mouse)
  421. local Pos=char.Torso.Position
  422. for ii=8,25,3 do
  423. wait()
  424. for i=0,360,360/12 do
  425. local x = (ii) * math.sin(i) + Pos.x
  426. local y = Pos.y-4
  427. local z = (ii)* math.cos (i) + Pos.z
  428. local brick = Instance.new("Part")
  429. brick.Size=Vector3.new(1,1,1)
  430. brick.Anchored=true
  431. brick.BrickColor=Color
  432. brick.Parent=Gourd
  433. brick.CFrame = CFrame.new(x,y,z)
  434. brick.Touched:connect(Hit)
  435. local mesh=Instance.new("CylinderMesh")
  436. mesh.Parent=brick
  437. Delay(0,function()
  438. local p=brick
  439. local m=mesh
  440. for i=1,8 do
  441. m.Scale=m.Scale+Vector3.new(0,.25,0)
  442. p.CFrame=p.CFrame*CFrame.new(0,0.25,0)
  443. wait()
  444. end
  445. for i=1,10 do
  446. p.Transparency=i/10
  447. wait(0.05)
  448. end
  449. p:remove()
  450. end)
  451. end
  452. for _,v in pairs(game.Players:GetPlayers()) do
  453. if v.Character and v.Character:findFirstChild("Torso") and (v.Character.Torso.Position-Pos).magnitude<ii then
  454. Hit(v.Character.Torso)
  455. end
  456. end
  457. wait(0.08)
  458. end
  459. end
  460.  
  461. function Coffin(mouse)
  462. if mouse.Target and game.Players:getPlayerFromCharacter(mouse.Target.Parent) then
  463. me=mouse.Target.Parent
  464. Delay(0,function()
  465. while me:findFirstChild("Torso") do
  466. wait()
  467. local p=Instance.new("Part")
  468. p.Size=Vector3.new(1,1,1)
  469. p.BrickColor=Color
  470. p.Anchored=true
  471. p.CanCollide=false
  472. p.Parent=me
  473. p.CFrame=me.Torso.CFrame*CFrame.new(math.random(-8,8),math.random(-2,5),math.random(-8,8))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  474. local m=Instance.new("BlockMesh")
  475. m.Scale=Vector3.new(0.35,0.35,0.35)
  476. m.Parent=p
  477. Delay(0,function()
  478. local p=p
  479. for i=1,5 do
  480. wait(0.05)
  481. p.Transparency=i/5
  482. end
  483. p:remove()
  484. end)
  485. end
  486. end)
  487. BP=Instance.new("BodyPosition")
  488. BP.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  489. BP.position=me.Torso.Position+Vector3.new(0,2,0)
  490. BP.Parent=me.Torso
  491. b=Instance.new("Part")
  492. b.Size=Vector3.new(8,1,8)
  493. b.BottomSurface="Smooth"
  494. b.TopSurface="Smooth"
  495. b.BrickColor=Color
  496. b.CanCollide=false
  497. m=Instance.new("BlockMesh")
  498. m.Parent=b
  499. m.Scale=Vector3.new(1,0.5,1)
  500. b.Parent=me
  501. b:BreakJoints()
  502. w=Instance.new("Weld")
  503. w.Parent=b
  504. w.Part0=me.Torso
  505. w.Part1=b
  506. w.C0=CFrame.new(0,-3.5,0)
  507. for i=1,7,0.25 do
  508. wait(0.075)
  509. m.Scale=m.Scale+Vector3.new(0,0.25,0)
  510. w.C0=w.C0*CFrame.new(0,0.25/2,0)
  511. BP.position=BP.position+Vector3.new(0,.75,0)
  512. end
  513. for i=1,2-(0.5/5),0.25/5 do
  514. m.Scale=m.Scale+Vector3.new(-.25/8,0,-.25/8)
  515. wait(0.05)
  516. end
  517. Hit(me.Head)
  518. Hit(me.Torso)
  519. end
  520. end
  521.  
  522. function Cage(mouse)
  523. if mouse.Target then
  524. pos=mouse.Hit
  525. for ii=0,360,360/6 do
  526. wait()
  527. for i=0,360/10 do
  528. local p=Instance.new("Part")
  529. p.CFrame=pos*CFrame.new(math.cos(i)*8,math.sin(i)*8*3/i,0)*CFrame.Angles(math.rad(360/ii),math.rad(360/ii),0)
  530. p.Anchored=true
  531. p.BrickColor=Color
  532. p.Parent=Gourd
  533. p.Size=Vector3.new(1,4,4)
  534. Delay(5,function()
  535. p:remove()
  536. end)
  537. end
  538. end
  539. end
  540. end
  541.  
  542.  
  543.  
  544. wep={Stream,Def,Bur,Shift,Wave,Spike,Coffin,Cage}
  545. name={"Sand Stream","Manual Defence","Sand Burial","Sand Shift","Sand Tsunami","Sand Spikes","Sand Coffin","Sand Cage"}
  546. function CheckAdd()
  547. if (Mode+1)~=(#wep+1) then
  548. Mode=Mode+1
  549. Hopper.Name=name[Mode].."("..Mode..")"
  550. elseif (Mode+1)==(#wep+1) then
  551. Mode=1
  552. Hopper.Name=name[Mode].."("..Mode..")"
  553. end
  554. end
  555. function CheckSub()
  556. if (Mode-1)==0 or (Mode-1)<0 then
  557. Mode=#wep
  558. Hopper.Name=name[Mode].."("..Mode..")"
  559. elseif (Mode-1)~=0 then
  560. Mode=Mode-1
  561. Hopper.Name=name[Mode].."("..Mode..")"
  562. end
  563. end
  564. function KeyDown(key)
  565. if key=="c" then
  566. CheckAdd()
  567. elseif key=="x" then
  568. Mode=1
  569. Hopper.Name=name[1].."("..Mode..")"
  570. elseif key=="z" then
  571. CheckSub()
  572. end
  573. end
  574.  
  575. Mode=0
  576. Up=false
  577. Sand=true
  578.  
  579. Hopper.Selected:connect(function(mouse)
  580. Sand=true
  581. Gourd=char.Gourd
  582. mouse.KeyDown:connect(KeyDown)
  583. mouse.Button1Down:connect(function()
  584. Up=false
  585. coroutine.resume(coroutine.create(function() wep[Mode](mouse) end))
  586. end)
  587. mouse.Button1Up:connect(function() Up=true end)
  588. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  589. Kill=char.Humanoid.Died:connect(function()
  590. wait()
  591. if char:findFirstChild("Head") then
  592. m=char.Head
  593. elseif char:findFirstChild("Torso") then
  594. m=char.Torso
  595. else
  596. return
  597. end
  598. local p=Instance.new("Part")
  599. p.Size=Vector3.new(1,1,1)
  600. p.BrickColor=Color
  601. p.Anchored=true
  602. p.Transparency=1
  603. p.CanCollide=false
  604. p.Parent=char
  605. local me=Instance.new("CylinderMesh")
  606. me.Scale=Vector3.new(1,1.1,1)
  607. me.Parent=p
  608. p.CFrame=CFrame.new(m.CFrame.x,workspace.Base.CFrame.y,m.CFrame.z)
  609. for i=1,100 do
  610. local me=me
  611. local p=p
  612. wait()
  613. me.Scale=me.Scale+Vector3.new(.5,0,.5)
  614. p.Transparency=i/200 --100?
  615. end
  616. for _,v in pairs(game.Players:GetPlayers()) do
  617. if v.Character and v.Name~=Name and (v.Character.Torso.Position-p.Position).magnitude<51 then
  618. pcall(function() Hit(v.Character.Head) end)
  619. end
  620. end
  621. p:remove()
  622. end)
  623. while Sand do
  624. wait(0.05)
  625. local p=Instance.new("Part")
  626. p.Size=Vector3.new(1,1,1)
  627. p.BrickColor=Color
  628. p.Anchored=true
  629. p.CanCollide=false
  630. p.Parent=char
  631. p.CFrame=char.Torso.CFrame*CFrame.new(math.random(-7,7),math.random(-2,5),math.random(-7,7))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  632. p.Touched:connect(Hit)
  633. local m=Instance.new("BlockMesh")
  634. m.Scale=Vector3.new(0.15,0.15,0.15)
  635. m.Parent=p
  636. Delay(0,function()
  637. local p=p
  638. for i=1,5 do
  639. wait(0.05)
  640. p.Transparency=i/5
  641. end
  642. p:remove()
  643. end)
  644. end
  645. end)
  646.  
  647. Hopper.Deselected:connect(function()
  648. pcall(function()
  649. Sand=false
  650. Kill:disconnect()
  651. end)
  652. end)
  653.  
  654. function Hit(p)
  655. if p.Parent.Name~=Name and p.Parent.Parent.Name~=Name and p.Name~="Base" and p.Name~="Sand" and p.Parent then
  656. Delay(0,function()
  657. p.Anchored=true
  658. p.Name="Sand"
  659. p.BrickColor=Color
  660. for i=1,5 do
  661. p.Transparency=i/5
  662. wait(0.1)
  663. end
  664. p:remove()
  665. end)
  666. end
  667. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement