Advertisement
memesbruh03

sand

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