Advertisement
LordDanzoSama

Untitled

Aug 26th, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.64 KB | None | 0 0
  1. local Name="MrCuddles65871"
  2. local workspace=Workspace
  3. local player=game.MrCuddles65871
  4. local char=player.Character
  5. local Color=BrickColor.new("Pastel brown")
  6.  
  7. if script.Parent.className~="HopperBin" then
  8. pcall(function() char.Gourd:remove() end)
  9. Staff=Instance.new("HopperBin")
  10. Staff.Name="Sand"
  11. Staff.Parent=player.Backpack
  12. m=Instance.new("Model")
  13. m.Parent=char
  14. m.Name="Gourd"
  15. p=Instance.new("Part")
  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.BrickColor=Color
  31. p.Material="Concrete"
  32. p.Size=Vector3.new(2,2,2)
  33. p.Shape="Ball"
  34. p.Parent=m
  35. w=Instance.new("Weld")
  36. w.Part1=Cent
  37. w.Part0=p
  38. w.Parent=p
  39. w.C0=CFrame.new(0,1,0)
  40. p=Instance.new("Part")
  41. p.BrickColor=Color
  42. p.Material="Concrete"
  43. p.Size=Vector3.new(2,2,2)
  44. p.Shape="Ball"
  45. p.Parent=m
  46. w=Instance.new("Weld")
  47. w.Part1=Cent
  48. w.Part0=p
  49. w.Parent=p
  50. w.C0=CFrame.new(0,-1,0)
  51. Top=p
  52. p=Instance.new("Part")
  53. p.BrickColor=Color
  54. p.Material="Concrete"
  55. p.Size=Vector3.new(1,1,1)
  56. p.Parent=m
  57. me=Instance.new("CylinderMesh")
  58. me.Scale=Vector3.new(0.5,0.15,0.5)
  59. me.Parent=p
  60. w=Instance.new("Weld")
  61. w.Part1=Top
  62. w.Part0=p
  63. w.Parent=p
  64. w.C0=CFrame.new(0,-1,0)
  65. p=Instance.new("Part")
  66. p.BrickColor=BrickColor.new("Black")
  67. p.Material="Concrete"
  68. p.Size=Vector3.new(1,1,1)
  69. p.Parent=m
  70. me=Instance.new("CylinderMesh")
  71. me.Scale=Vector3.new(0.4,0.16,0.4)
  72. me.Parent=p
  73. w=Instance.new("Weld")
  74. w.Part1=Top
  75. w.Part0=p
  76. w.Parent=p
  77. w.C0=CFrame.new(0,-1,0)
  78. p=Instance.new("Part")
  79. p.BrickColor=BrickColor:Red()
  80. p.Material="Concrete"
  81. p.Size=Vector3.new(2,1,1)
  82. p.Parent=m
  83. me=Instance.new("BlockMesh")
  84. me.Scale=Vector3.new(1.1,0.15,1.1)
  85. me.Parent=p
  86. w=Instance.new("Weld")
  87. w.Part1=char.Torso
  88. w.Part0=p
  89. w.Parent=p
  90. w.C0=CFrame.new(0,.75,0)
  91. p=Instance.new("Part")
  92. p.BrickColor=BrickColor:Red()
  93. p.Material="Concrete"
  94. p.Size=Vector3.new(2,1,1)
  95. p.Parent=m
  96. me=Instance.new("BlockMesh")
  97. me.Scale=Vector3.new(1.29,0.15,1.1)
  98. me.Parent=p
  99. w=Instance.new("Weld")
  100. w.Part1=char.Torso
  101. w.Part0=p
  102. w.Parent=p
  103. w.C1=CFrame.new(0,0.1,0)*CFrame.Angles(0,0,math.rad(-40))
  104. script.Name="Not A QuickScript"
  105. script.Parent=Staff
  106. end
  107. Sword=script.Parent
  108.  
  109. function hint(msg,de)
  110. for _,v in pairs(player:children()) do
  111. if v:IsA("Message") then
  112. v:remove()
  113. end
  114. end
  115. local h=Instance.new("Hint")
  116. h.Text=tostring(msg)
  117. h.Parent=player
  118. Delay(tonumber(de),function() h:remove() end)
  119. end
  120.  
  121. ta={}
  122. for _,v in pairs(player.Backpack:GetChildren()) do
  123. if v.Name=="Sand" then
  124. table.insert(ta,v)
  125. end
  126. end
  127. if #ta==2 or #ta>2 then
  128. ta[1]:remove()
  129. end
  130.  
  131. Hopper=script.Parent
  132.  
  133. function Stream(mouse)
  134. local b=Instance.new("Part")
  135. b.BrickColor=Color
  136. b.Reflectance=0
  137. b.Transparency=1
  138. b.Size=Vector3.new(2,2,2)
  139. b.Shape="Ball"
  140. b.CanCollide=false
  141. b.TopSurface="Smooth"
  142. b.Position=char.Head.Position
  143. b.BottomSurface="Smooth"
  144. b.Friction=0
  145. b.Touched:connect(function(h) Hit(h) end)
  146. local bo=Instance.new("BodyVelocity")
  147. bo.maxForce=Vector3.new(9999,9999,9999)
  148. bo.velocity=(mouse.Hit.p-char.Head.Position).unit*60
  149. bo.Parent=b
  150. b.Parent=char
  151. local Bo=b
  152. while Bo.Parent and Up==false do
  153. wait()
  154. if mouse.Target and (Bo.Position-mouse.Target.Position).magnitude<7 then
  155. Hit(mouse.Target)
  156. else
  157. bo.velocity=(mouse.Hit.p-Bo.Position).unit*200
  158. end
  159. local b=Instance.new("Part")
  160. b.BrickColor=Color
  161. b.Reflectance=0
  162. b.Transparency=0.2
  163. b.Touched:connect(Hit)
  164. b.Size=Vector3.new(2,2,2)
  165. b.CanCollide=false
  166. b.Anchored=true
  167. b.TopSurface="Smooth"
  168. b.Parent=Bo
  169. b.CFrame=Bo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  170. b.BottomSurface="Smooth"
  171. Delay(0,function()
  172. local p=b
  173. for i=1,5 do
  174. wait(0.05)
  175. p.Transparency=i/5
  176. end
  177. p:remove()
  178. end)
  179. end
  180. pcall(function() Bo:remove() end)
  181. end
  182.  
  183. function Def(mouse)
  184. local b=Instance.new("Part")
  185. b.BrickColor=Color
  186. b.Reflectance=0
  187. b.Transparency=0.6
  188. b.Size=Vector3.new(15,15,15)
  189. b.Anchored=false
  190. b.Shape="Ball"
  191. b.CanCollide=false
  192. p=Instance.new("BodyPosition")
  193. p.Parent=b
  194. p.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  195. p.position=char.Torso.Position
  196. b.TopSurface="Smooth"
  197. b.Position=char.Torso.Position
  198. b.Parent=char
  199. b.BottomSurface="Smooth"
  200. b.Touched:connect(function(h)
  201. Hit(h)
  202. end)
  203. b.Parent=char.Gourd
  204. while Up==false and b.Parent do
  205. b.CFrame=char.Torso.CFrame
  206. p.position=char.Torso.Position
  207. local p=Instance.new("Part")
  208. p.Size=Vector3.new(1,1,1)
  209. p.BrickColor=Color
  210. p.Anchored=true
  211. p.CanCollide=false
  212. p.Parent=char
  213. 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))
  214. local m=Instance.new("BlockMesh")
  215. m.Scale=Vector3.new(0.5,0.5,0.5)
  216. m.Parent=p
  217. Delay(0,function()
  218. local p=p
  219. for i=1,5 do
  220. wait(0.05)
  221. p.Transparency=i/5
  222. end
  223. p:remove()
  224. end)
  225. wait()
  226. end
  227. pcall(function() b:remove() end)
  228. end
  229.  
  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,workspace.Base.CFrame.y,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.  
  277. function Shift(mouse)
  278. if mouse.Target then
  279. local mo=Instance.new("Model",char)
  280. local h=mouse.Hit.p
  281. local m=char
  282. for i=1,15 do
  283. local p=Instance.new("Part")
  284. p.Size=Vector3.new(i,1,i)
  285. p.BrickColor=Color
  286. p.Anchored=true
  287. p.Transparency=i/14
  288. p.CanCollide=false
  289. p.Parent=mo
  290. local me=Instance.new("CylinderMesh")
  291. me.Scale=Vector3.new(1,1.1,1)
  292. me.Parent=p
  293. p.CFrame=CFrame.new(m.Torso.CFrame.x,workspace.Base.CFrame.y,m.Torso.CFrame.z)
  294. end
  295. for i=1,15 do
  296. local p=Instance.new("Part")
  297. p.Size=Vector3.new(i,1,i)
  298. p.BrickColor=Color
  299. p.Anchored=true
  300. p.Transparency=i/14
  301. p.CanCollide=false
  302. p.Parent=mo
  303. local me=Instance.new("CylinderMesh")
  304. me.Scale=Vector3.new(1,1.1,1)
  305. me.Parent=p
  306. p.CFrame=CFrame.new(h)*CFrame.new(0,-0.5,0)
  307. end
  308. m.Torso.Anchored=true
  309. for i=1,15 do
  310. for i=1,6 do
  311. wait()
  312. local p=Instance.new("Part")
  313. p.Size=Vector3.new(1,1,1)
  314. p.BrickColor=Color
  315. p.Anchored=true
  316. p.CanCollide=false
  317. p.Parent=m
  318. 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))
  319. local m=Instance.new("BlockMesh")
  320. m.Scale=Vector3.new(0.25,0.25,0.25)
  321. m.Parent=p
  322. Delay(0,function()
  323. local p=p
  324. for i=1,5 do
  325. wait(0.05)
  326. p.Transparency=i/5
  327. end
  328. p:remove()
  329. end)
  330. end
  331. m.Torso.CFrame=m.Torso.CFrame*CFrame.new(0,-0.6,0)
  332. wait()
  333. end
  334. m.Torso.CFrame=CFrame.new(h)*CFrame.new(0,-1.5,0)
  335. for i=1,11 do
  336. for i=1,6 do
  337. wait()
  338. local p=Instance.new("Part")
  339. p.Size=Vector3.new(1,1,1)
  340. p.BrickColor=Color
  341. p.Anchored=true
  342. p.CanCollide=false
  343. p.Parent=m
  344. 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))
  345. local m=Instance.new("BlockMesh")
  346. m.Scale=Vector3.new(0.25,0.25,0.25)
  347. m.Parent=p
  348. Delay(0,function()
  349. local p=p
  350. for i=1,5 do
  351. wait(0.05)
  352. p.Transparency=i/5
  353. end
  354. p:remove()
  355. end)
  356. end
  357. m.Torso.CFrame=m.Torso.CFrame*CFrame.new(0,0.5,0)
  358. wait()
  359. end
  360. m.Torso.Anchored=false
  361. mo:remove()
  362. end
  363. end
  364.  
  365.  
  366. function Wave(mouse)
  367. if mouse.Hit.p.x>char.Torso.Position.x then
  368. Deg=-2
  369. Fre=-workspace.Base.Size.x
  370. else
  371. Deg=2
  372. Fre=workspace.Base.Size.x
  373. end
  374. local X=char.Torso.CFrame.x
  375. for i=0,Fre,Deg do
  376. wait()
  377. local p=Instance.new("Part")
  378. p.Parent=workspace
  379. p.Size=Vector3.new(2,1,workspace.Base.Size.z)
  380. p.BrickColor=Color
  381. p.Anchored=true
  382. p.CFrame=CFrame.new(X,0,0)*CFrame.new(-i,0,0)
  383. local m=Instance.new("BlockMesh")
  384. m.Parent=p
  385. m.Scale=Vector3.new(1,1.1,1)
  386. Delay(0,function()
  387. local p=p
  388. local m=m
  389. for i=1,9,0.25 do
  390. m.Scale=m.Scale+Vector3.new(0,.25,0)
  391. wait()
  392. end
  393. wait()
  394. for i=1,9,0.25 do
  395. m.Scale=m.Scale+Vector3.new(0,-.25,0)
  396. wait()
  397. end
  398. p:remove()
  399. end)
  400. for _,v in pairs(game.Players:GetPlayers()) do
  401. if v.Character and v.Character.Head.Position.y<(workspace.Base.Position.y+9.5) and v.Character.Torso.Position.x>i+4 and v.Character.Torso.Position.x<i-4 then
  402. Hit(char.Head)
  403. end
  404. end
  405. end
  406. end
  407.  
  408.  
  409. wep={Stream,Def,Bur,Shift,Wave}
  410. name={"Sand Stream","Manual Defence","Sand Burial","Sand Shift","Sand Tsunami"}
  411. function CheckAdd()
  412. if (Mode+1)~=(#wep+1) then
  413. Mode=Mode+1
  414. Hopper.Name=name[Mode].."("..Mode..")"
  415. elseif (Mode+1)==(#wep+1) then
  416. Mode=1
  417. Hopper.Name=name[Mode].."("..Mode..")"
  418. end
  419. end
  420. function CheckSub()
  421. if (Mode-1)==0 or (Mode-1)<0 then
  422. Mode=#wep
  423. Hopper.Name=name[Mode].."("..Mode..")"
  424. elseif (Mode-1)~=0 then
  425. Mode=Mode-1
  426. Hopper.Name=name[Mode].."("..Mode..")"
  427. end
  428. end
  429. function KeyDown(key)
  430. if key=="c" then
  431. CheckAdd()
  432. elseif key=="x" then
  433. Mode=1
  434. Hopper.Name=name[1].."("..Mode..")"
  435. elseif key=="z" then
  436. CheckSub()
  437. end
  438. end
  439.  
  440. Mode=0
  441. Up=false
  442. Sand=true
  443.  
  444. Hopper.Selected:connect(function(mouse)
  445. Sand=true
  446. mouse.KeyDown:connect(KeyDown)
  447. mouse.Button1Down:connect(function()
  448. Up=false
  449. coroutine.resume(coroutine.create(function() wep[Mode](mouse) end))
  450. end)
  451. mouse.Button1Up:connect(function() Up=true end)
  452. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  453. Kill=char.Humanoid.Died:connect(function()
  454. wait()
  455. if char:findFirstChild("Head") then
  456. m=char.Head
  457. elseif char:findFirstChild("Torso") then
  458. m=char.Torso
  459. else
  460. return
  461. end
  462. local p=Instance.new("Part")
  463. p.Size=Vector3.new(1,1,1)
  464. p.BrickColor=Color
  465. p.Anchored=true
  466. p.Transparency=1
  467. p.CanCollide=false
  468. p.Parent=char
  469. local me=Instance.new("CylinderMesh")
  470. me.Scale=Vector3.new(1,1.1,1)
  471. me.Parent=p
  472. p.CFrame=CFrame.new(m.CFrame.x,workspace.Base.CFrame.y,m.CFrame.z)
  473. for i=1,100 do
  474. wait()
  475. me.Scale=me.Scale+Vector3.new(.5,0,.5)
  476. p.Transparency=i/25 --100?
  477. end
  478. for _,v in pairs(game.Players:GetPlayers()) do
  479. if v.Character and v.Name~=Name and (v.Character.Torso.Position-p.Position).magnitude<51 then
  480. pcall(function() Hit(v.Character.Head) end)
  481. end
  482. end
  483. p:remove()
  484. end)
  485. while Sand do
  486. wait(0.05)
  487. local p=Instance.new("Part")
  488. p.Size=Vector3.new(1,1,1)
  489. p.BrickColor=Color
  490. p.Anchored=true
  491. p.CanCollide=false
  492. p.Parent=char
  493. 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))
  494. p.Touched:connect(Hit)
  495. local m=Instance.new("BlockMesh")
  496. m.Scale=Vector3.new(0.15,0.15,0.15)
  497. m.Parent=p
  498. Delay(0,function()
  499. local p=p
  500. for i=1,5 do
  501. wait(0.05)
  502. p.Transparency=i/5
  503. end
  504. p:remove()
  505. end)
  506. end
  507. end)
  508.  
  509. Hopper.Deselected:connect(function()
  510. pcall(function()
  511. Sand=false
  512. Kill:disconnect()
  513. end)
  514. end)
  515.  
  516. function Hit(p)
  517. if p.Parent.Name~=Name and p.Parent.Parent.Name~=Name and p.Name~="Base" and p.Parent then
  518. Delay(0,function()
  519. p.Anchored=true
  520. p.BrickColor=Color
  521. for i=1,5 do
  522. p.Transparency=i/5
  523. wait(0.1)
  524. end
  525. p:remove()
  526. end)
  527. end
  528. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement