Advertisement
GojiGaming1337

Untitled

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