Advertisement
Blueisim

Untitled

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