Dark_EccentricYT

Untitled

Jul 30th, 2017
4,336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.44 KB | None | 0 0
  1. --[[
  2. Made by CadenSB
  3. --]]
  4. local player = game.Players.LocalPlayer
  5. local char = player.Character
  6. char.Animate.Disabled = true
  7. char.Humanoid.Animator:Destroy()
  8. local mouse = player:GetMouse()
  9. local sine=0
  10. local change=1
  11. local ws = 30
  12. local ts = game:GetService("TweenService")
  13. char.Humanoid.WalkSpeed = ws
  14. chr=player.Character
  15. human=chr:FindFirstChild("Humanoid")
  16. tors=chr["Torso"]
  17. rarm=chr["Right Arm"]
  18. larm=chr["Left Arm"]
  19. rleg=chr["Right Leg"]
  20. lleg=chr["Left Leg"]
  21. hrp=chr["HumanoidRootPart"]
  22. hed=chr["Head"]
  23. cf=CFrame.new
  24. ang=CFrame.Angles
  25. rd=math.rad
  26. rd2=math.random
  27. -- Objects
  28.  
  29. local GaaraMoveGui = Instance.new("ScreenGui")
  30. local MainFrame = Instance.new("Frame")
  31. local Move1 = Instance.new("Frame")
  32. local Bar1 = Instance.new("Frame")
  33. local KeyButton = Instance.new("TextLabel")
  34. local MoveName = Instance.new("TextLabel")
  35. local Move2 = Instance.new("Frame")
  36. local Bar2 = Instance.new("Frame")
  37. local KeyButton_2 = Instance.new("TextLabel")
  38. local MoveName_2 = Instance.new("TextLabel")
  39. local Move3 = Instance.new("Frame")
  40. local Bar3 = Instance.new("Frame")
  41. local KeyButton_3 = Instance.new("TextLabel")
  42. local MoveName_3 = Instance.new("TextLabel")
  43. local Move4 = Instance.new("Frame")
  44. local Bar4 = Instance.new("Frame")
  45. local KeyButton_4 = Instance.new("TextLabel")
  46. local MoveName_4 = Instance.new("TextLabel")
  47.  
  48. -- Properties
  49.  
  50. GaaraMoveGui.Name = "GaaraMoveGui"
  51. GaaraMoveGui.Parent = player.PlayerGui
  52.  
  53. MainFrame.Name = "MainFrame"
  54. MainFrame.Parent = GaaraMoveGui
  55. MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  56. MainFrame.BackgroundTransparency = 1
  57. MainFrame.Position = UDim2.new(1, -283, 1, -355)
  58. MainFrame.Size = UDim2.new(0, 253, 0, 355)
  59.  
  60. Move1.Name = "Move1"
  61. Move1.Parent = MainFrame
  62. Move1.BackgroundColor3 = Color3.new(0.847059, 0.784314, 0.521569)
  63. Move1.BackgroundTransparency = 0.5
  64. Move1.BorderColor3 = Color3.new(0.847059, 0.784314, 0.521569)
  65. Move1.BorderSizePixel = 0
  66. Move1.Size = UDim2.new(1, 0, 0, 80)
  67. Move1.ZIndex = 5
  68.  
  69. Bar1.Name = "Bar1"
  70. Bar1.Parent = Move1
  71. Bar1.BackgroundColor3 = Color3.new(144/255, 120/255, 92/255)
  72. Bar1.BorderSizePixel = 0
  73. Bar1.Size = UDim2.new(0, 0, 1, 0)
  74. Bar1.ZIndex = 6
  75.  
  76. KeyButton.Name = "KeyButton"
  77. KeyButton.Parent = Move1
  78. KeyButton.BackgroundColor3 = Color3.new(1, 1, 1)
  79. KeyButton.BackgroundTransparency = 1
  80. KeyButton.Size = UDim2.new(1, 0, 1, -40)
  81. KeyButton.ZIndex = 7
  82. KeyButton.Font = Enum.Font.SourceSansLight
  83. KeyButton.FontSize = Enum.FontSize.Size48
  84. KeyButton.Text = "[V]"
  85. KeyButton.TextColor3 = Color3.new(1, 1, 1)
  86. KeyButton.TextSize = 37
  87. KeyButton.TextStrokeTransparency = 0
  88. KeyButton.TextWrapped = true
  89. KeyButton.TextYAlignment = Enum.TextYAlignment.Top
  90.  
  91. MoveName.Name = "MoveName"
  92. MoveName.Parent = Move1
  93. MoveName.BackgroundColor3 = Color3.new(1, 1, 1)
  94. MoveName.BackgroundTransparency = 1
  95. MoveName.Position = UDim2.new(0, 0, 0, 40)
  96. MoveName.Size = UDim2.new(1, 0, 1, -40)
  97. MoveName.ZIndex = 7
  98. MoveName.Font = Enum.Font.SourceSansLight
  99. MoveName.FontSize = Enum.FontSize.Size48
  100. MoveName.Text = "Sand Binding Coffin"
  101. MoveName.TextColor3 = Color3.new(1, 1, 1)
  102. MoveName.TextSize = 37
  103. MoveName.TextStrokeTransparency = 0
  104. MoveName.TextWrapped = true
  105. MoveName.TextYAlignment = Enum.TextYAlignment.Top
  106.  
  107. Move2.Name = "Move2"
  108. Move2.Parent = MainFrame
  109. Move2.BackgroundColor3 = Color3.new(0.847059, 0.784314, 0.521569)
  110. Move2.BackgroundTransparency = 0.5
  111. Move2.BorderColor3 = Color3.new(0.847059, 0.784314, 0.521569)
  112. Move2.BorderSizePixel = 0
  113. Move2.Position = UDim2.new(0, 0, 0, 90)
  114. Move2.Size = UDim2.new(1, 0, 0, 80)
  115. Move2.ZIndex = 5
  116.  
  117. Bar2.Name = "Bar2"
  118. Bar2.Parent = Move2
  119. Bar2.BackgroundColor3 = Color3.new(144/255, 120/255, 92/255)
  120. Bar2.BorderSizePixel = 0
  121. Bar2.Size = UDim2.new(1, 0, 1, 0)
  122. Bar2.ZIndex = 6
  123.  
  124. KeyButton_2.Name = "KeyButton"
  125. KeyButton_2.Parent = Move2
  126. KeyButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  127. KeyButton_2.BackgroundTransparency = 1
  128. KeyButton_2.Size = UDim2.new(1, 0, 1, -40)
  129. KeyButton_2.ZIndex = 7
  130. KeyButton_2.Font = Enum.Font.SourceSansLight
  131. KeyButton_2.FontSize = Enum.FontSize.Size48
  132. KeyButton_2.Text = "[C]"
  133. KeyButton_2.TextColor3 = Color3.new(1, 1, 1)
  134. KeyButton_2.TextSize = 37
  135. KeyButton_2.TextStrokeTransparency = 0
  136. KeyButton_2.TextWrapped = true
  137. KeyButton_2.TextYAlignment = Enum.TextYAlignment.Top
  138.  
  139. MoveName_2.Name = "MoveName"
  140. MoveName_2.Parent = Move2
  141. MoveName_2.BackgroundColor3 = Color3.new(1, 1, 1)
  142. MoveName_2.BackgroundTransparency = 1
  143. MoveName_2.Position = UDim2.new(0, 0, 0, 40)
  144. MoveName_2.Size = UDim2.new(1, 0, 1, -40)
  145. MoveName_2.ZIndex = 7
  146. MoveName_2.Font = Enum.Font.SourceSansLight
  147. MoveName_2.FontSize = Enum.FontSize.Size48
  148. MoveName_2.Text = "Sand Wave"
  149. MoveName_2.TextColor3 = Color3.new(1, 1, 1)
  150. MoveName_2.TextSize = 37
  151. MoveName_2.TextStrokeTransparency = 0
  152. MoveName_2.TextWrapped = true
  153. MoveName_2.TextYAlignment = Enum.TextYAlignment.Top
  154.  
  155. Move3.Name = "Move3"
  156. Move3.Parent = MainFrame
  157. Move3.BackgroundColor3 = Color3.new(0.847059, 0.784314, 0.521569)
  158. Move3.BackgroundTransparency = 0.5
  159. Move3.BorderColor3 = Color3.new(0.847059, 0.784314, 0.521569)
  160. Move3.BorderSizePixel = 0
  161. Move3.Position = UDim2.new(0, 0, 0, 180)
  162. Move3.Size = UDim2.new(1, 0, 0, 80)
  163. Move3.ZIndex = 5
  164.  
  165. Bar3.Name = "Bar3"
  166. Bar3.Parent = Move3
  167. Bar3.BackgroundColor3 = Color3.new(144/255, 120/255, 92/255)
  168. Bar3.BorderSizePixel = 0
  169. Bar3.Size = UDim2.new(1, 0, 1, 0)
  170. Bar3.ZIndex = 6
  171.  
  172. KeyButton_3.Name = "KeyButton"
  173. KeyButton_3.Parent = Move3
  174. KeyButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
  175. KeyButton_3.BackgroundTransparency = 1
  176. KeyButton_3.Size = UDim2.new(1, 0, 1, -40)
  177. KeyButton_3.ZIndex = 7
  178. KeyButton_3.Font = Enum.Font.SourceSansLight
  179. KeyButton_3.FontSize = Enum.FontSize.Size48
  180. KeyButton_3.Text = "[X]"
  181. KeyButton_3.TextColor3 = Color3.new(1, 1, 1)
  182. KeyButton_3.TextSize = 37
  183. KeyButton_3.TextStrokeTransparency = 0
  184. KeyButton_3.TextWrapped = true
  185. KeyButton_3.TextYAlignment = Enum.TextYAlignment.Top
  186.  
  187. MoveName_3.Name = "MoveName"
  188. MoveName_3.Parent = Move3
  189. MoveName_3.BackgroundColor3 = Color3.new(1, 1, 1)
  190. MoveName_3.BackgroundTransparency = 1
  191. MoveName_3.Position = UDim2.new(0, 0, 0, 40)
  192. MoveName_3.Size = UDim2.new(1, 0, 1, -40)
  193. MoveName_3.ZIndex = 7
  194. MoveName_3.Font = Enum.Font.SourceSansLight
  195. MoveName_3.FontSize = Enum.FontSize.Size48
  196. MoveName_3.Text = "Sand Hail"
  197. MoveName_3.TextColor3 = Color3.new(1, 1, 1)
  198. MoveName_3.TextSize = 37
  199. MoveName_3.TextStrokeTransparency = 0
  200. MoveName_3.TextWrapped = true
  201. MoveName_3.TextYAlignment = Enum.TextYAlignment.Top
  202.  
  203. Move4.Name = "Move4"
  204. Move4.Parent = MainFrame
  205. Move4.BackgroundColor3 = Color3.new(0.847059, 0.784314, 0.521569)
  206. Move4.BackgroundTransparency = 0.5
  207. Move4.BorderColor3 = Color3.new(0.847059, 0.784314, 0.521569)
  208. Move4.BorderSizePixel = 0
  209. Move4.Position = UDim2.new(0, 0, 0, 270)
  210. Move4.Size = UDim2.new(1, 0, 0, 80)
  211. Move4.ZIndex = 5
  212.  
  213. Bar4.Name = "Bar4"
  214. Bar4.Parent = Move4
  215. Bar4.BackgroundColor3 = Color3.new(144/255, 120/255, 92/255)
  216. Bar4.BorderSizePixel = 0
  217. Bar4.Size = UDim2.new(1, 0, 1, 0)
  218. Bar4.ZIndex = 6
  219.  
  220. KeyButton_4.Name = "KeyButton"
  221. KeyButton_4.Parent = Move4
  222. KeyButton_4.BackgroundColor3 = Color3.new(1, 1, 1)
  223. KeyButton_4.BackgroundTransparency = 1
  224. KeyButton_4.Size = UDim2.new(1, 0, 1, -40)
  225. KeyButton_4.ZIndex = 7
  226. KeyButton_4.Font = Enum.Font.SourceSansLight
  227. KeyButton_4.FontSize = Enum.FontSize.Size48
  228. KeyButton_4.Text = "[Z]"
  229. KeyButton_4.TextColor3 = Color3.new(1, 1, 1)
  230. KeyButton_4.TextSize = 37
  231. KeyButton_4.TextStrokeTransparency = 0
  232. KeyButton_4.TextWrapped = true
  233. KeyButton_4.TextYAlignment = Enum.TextYAlignment.Top
  234.  
  235. MoveName_4.Name = "MoveName"
  236. MoveName_4.Parent = Move4
  237. MoveName_4.BackgroundColor3 = Color3.new(1, 1, 1)
  238. MoveName_4.BackgroundTransparency = 1
  239. MoveName_4.Position = UDim2.new(0, 0, 0, 40)
  240. MoveName_4.Size = UDim2.new(1, 0, 1, -40)
  241. MoveName_4.ZIndex = 7
  242. MoveName_4.Font = Enum.Font.SourceSansLight
  243. MoveName_4.FontSize = Enum.FontSize.Size48
  244. MoveName_4.Text = "Sand Defence"
  245. MoveName_4.TextColor3 = Color3.new(1, 1, 1)
  246. MoveName_4.TextSize = 37
  247. MoveName_4.TextStrokeTransparency = 0
  248. MoveName_4.TextWrapped = true
  249. MoveName_4.TextYAlignment = Enum.TextYAlignment.Top
  250. local runDummyScript = function(f,scri)
  251. local oldenv = getfenv(f)
  252. local newenv = setmetatable({}, {
  253. __index = function(_, k)
  254. if k:lower() == 'script' then
  255. return scri
  256. else
  257. return oldenv[k]
  258. end
  259. end
  260. })
  261. setfenv(f, newenv)
  262. ypcall(function() f() end)
  263. end
  264. cors = {}
  265. mas = Instance.new("Model",game:GetService("Lighting"))
  266. mas.Name = "CompiledModel"
  267. o1 = Instance.new("Model")
  268. o2 = Instance.new("Part")
  269. o3 = Instance.new("SpecialMesh")
  270. o4 = Instance.new("Weld")
  271. o5 = Instance.new("Part")
  272. o6 = Instance.new("Decal")
  273. o7 = Instance.new("SpecialMesh")
  274. o8 = Instance.new("Weld")
  275. o9 = Instance.new("Part")
  276. o10 = Instance.new("SpecialMesh")
  277. o11 = Instance.new("Weld")
  278. o12 = Instance.new("Part")
  279. o13 = Instance.new("Decal")
  280. o14 = Instance.new("SpecialMesh")
  281. o15 = Instance.new("Weld")
  282. o16 = Instance.new("Part")
  283. o17 = Instance.new("SpecialMesh")
  284. o18 = Instance.new("Weld")
  285. o19 = Instance.new("Part")
  286. o20 = Instance.new("Part")
  287. o21 = Instance.new("Weld")
  288. o1.Name = "GaaraGourd"
  289. o1.Parent = mas
  290. o2.Name = "Clothe"
  291. o2.Parent = o1
  292. o2.Material = Enum.Material.Fabric
  293. o2.BrickColor = BrickColor.new("Really red")
  294. o2.Position = Vector3.new(15.886075, -398.4841, -74.409996)
  295. o2.Rotation = Vector3.new(0, 0, 60)
  296. o2.Velocity = Vector3.new(0, -421.831573, 0)
  297. o2.CanCollide = false
  298. o2.Size = Vector3.new(1.13999987, 0.587368369, 1.41999996)
  299. o2.CFrame = CFrame.new(15.886075, -398.4841, -74.409996, 0.500004709, -0.866032958, 0, 0.866032958, 0.500004709, 0, 0, 0, 1)
  300. o2.BottomSurface = Enum.SurfaceType.Smooth
  301. o2.TopSurface = Enum.SurfaceType.Smooth
  302. o2.Color = Color3.new(1, 0, 0)
  303. o2.Position = Vector3.new(15.886075, -398.4841, -74.409996)
  304. o3.Parent = o2
  305. o3.Scale = Vector3.new(1.5, 1.5, 1.5)
  306. o3.MeshType = Enum.MeshType.Sphere
  307. o4.Name = "Clothe"
  308. o4.Parent = o2
  309. o4.C0 = CFrame.new(-0.113934517, 0.165898561, 1.09000397, 0.500004709, -0.866032958, 0, 0.866032958, 0.500004709, 0, 0, 0, 1)
  310. o4.Part0 = o19
  311. o4.Part1 = o2
  312. o5.Name = "PotPart"
  313. o5.Parent = o1
  314. o5.Material = Enum.Material.Sand
  315. o5.BrickColor = BrickColor.new("Pastel brown")
  316. o5.Position = Vector3.new(16.6000042, -398.899994, -74.2699966)
  317. o5.Velocity = Vector3.new(0, -421.831573, 0)
  318. o5.CanCollide = false
  319. o5.Size = Vector3.new(2.20000005, 2.20000005, 2.20000005)
  320. o5.CFrame = CFrame.new(16.6000042, -398.899994, -74.2699966, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  321. o5.BottomSurface = Enum.SurfaceType.Smooth
  322. o5.TopSurface = Enum.SurfaceType.Smooth
  323. o5.Color = Color3.new(1, 0.8, 0.6)
  324. o5.Position = Vector3.new(16.6000042, -398.899994, -74.2699966)
  325. o6.Parent = o5
  326. o6.Texture = "http://www.roblox.com/asset/?id=880087137"
  327. o6.Face = Enum.NormalId.Back
  328. o7.Parent = o5
  329. o7.MeshType = Enum.MeshType.Sphere
  330. o8.Name = "PotPart"
  331. o8.Parent = o5
  332. o8.C0 = CFrame.new(0.599994659, -0.249986887, 1.23000336, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  333. o8.Part0 = o19
  334. o8.Part1 = o5
  335. o9.Name = "PotPart"
  336. o9.Parent = o1
  337. o9.Material = Enum.Material.Sand
  338. o9.BrickColor = BrickColor.new("Pastel brown")
  339. o9.Position = Vector3.new(14.5799007, -397.624969, -74.3699951)
  340. o9.Rotation = Vector3.new(0, 0, -30)
  341. o9.CanCollide = false
  342. o9.Size = Vector3.new(0.5, 0.5, 0.5)
  343. o9.CFrame = CFrame.new(14.5799007, -397.624969, -74.3699951, 0.866028786, 0.500001431, 0, -0.500001431, 0.866028786, 0, 0, 0, 1)
  344. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  345. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  346. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  347. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  348. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  349. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  350. o9.Color = Color3.new(1, 0.8, 0.6)
  351. o9.Position = Vector3.new(14.5799007, -397.624969, -74.3699951)
  352. o10.Parent = o9
  353. o10.MeshType = Enum.MeshType.Cylinder
  354. o11.Name = "PotPart"
  355. o11.Parent = o9
  356. o11.C0 = CFrame.new(-1.4201088, 1.02501559, 1.13000488, 0.866028786, 0.500001431, 0, -0.500001431, 0.866028786, 0, 0, 0, 1)
  357. o11.Part0 = o19
  358. o11.Part1 = o9
  359. o12.Name = "PotPart"
  360. o12.Parent = o1
  361. o12.Material = Enum.Material.Sand
  362. o12.BrickColor = BrickColor.new("Pastel brown")
  363. o12.Position = Vector3.new(15.2999992, -398.049988, -74.2699966)
  364. o12.Velocity = Vector3.new(0, -421.831573, 0)
  365. o12.CanCollide = false
  366. o12.Size = Vector3.new(1.89999998, 1.89999998, 1.89999998)
  367. o12.CFrame = CFrame.new(15.2999992, -398.049988, -74.2699966, 1.00000238, 0, 0, 0, 1.00000238, 0, 0, 0, 1)
  368. o12.BottomSurface = Enum.SurfaceType.Smooth
  369. o12.TopSurface = Enum.SurfaceType.Smooth
  370. o12.Color = Color3.new(1, 0.8, 0.6)
  371. o12.Position = Vector3.new(15.2999992, -398.049988, -74.2699966)
  372. o13.Parent = o12
  373. o13.Texture = "http://www.roblox.com/asset/?id=880087137"
  374. o13.Face = Enum.NormalId.Top
  375. o14.Parent = o12
  376. o14.MeshType = Enum.MeshType.Sphere
  377. o15.Name = "PotPart"
  378. o15.Parent = o12
  379. o15.C0 = CFrame.new(-0.7000103, 0.600013494, 1.23000336, 1.00000238, 0, 0, 0, 1.00000238, 0, 0, 0, 1)
  380. o15.Part0 = o19
  381. o15.Part1 = o12
  382. o16.Name = "PotPart"
  383. o16.Parent = o1
  384. o16.Material = Enum.Material.SmoothPlastic
  385. o16.BrickColor = BrickColor.new("Really black")
  386. o16.Position = Vector3.new(14.3900938, -397.504974, -74.3649673)
  387. o16.Rotation = Vector3.new(0, 0, -30)
  388. o16.Velocity = Vector3.new(0, -421.831573, 0)
  389. o16.CanCollide = false
  390. o16.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  391. o16.CFrame = CFrame.new(14.3900938, -397.504974, -74.3649673, 0.866028786, 0.500001431, 0, -0.500001431, 0.866028786, 0, 0, 0, 1)
  392. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  393. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  394. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  395. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  396. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  397. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  398. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  399. o16.Position = Vector3.new(14.3900938, -397.504974, -74.3649673)
  400. o17.Parent = o16
  401. o17.Scale = Vector3.new(0.300000012, 2, 2)
  402. o17.MeshType = Enum.MeshType.Cylinder
  403. o18.Name = "PotPart"
  404. o18.Parent = o16
  405. o18.C0 = CFrame.new(-1.60991573, 1.14501595, 1.13503265, 0.866028786, 0.500001431, 0, -0.500001431, 0.866028786, 0, 0, 0, 1)
  406. o18.Part0 = o19
  407. o18.Part1 = o16
  408. o19.Name = "Handle"
  409. o19.Parent = o1
  410. o19.BrickColor = BrickColor.new("Institutional white")
  411. o19.Transparency = 1
  412. o19.Position = Vector3.new(16.0000095, -398.649994, -75.5)
  413. o19.Velocity = Vector3.new(0, -421.831573, 0)
  414. o19.CanCollide = false
  415. o19.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  416. o19.CFrame = CFrame.new(16.0000095, -398.649994, -75.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  417. o19.LeftSurface = Enum.SurfaceType.Weld
  418. o19.RightSurface = Enum.SurfaceType.Weld
  419. o19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  420. o19.Position = Vector3.new(16.0000095, -398.649994, -75.5)
  421. o20.Name = "CastPart"
  422. o20.Parent = o1
  423. o20.Material = Enum.Material.Sand
  424. o20.BrickColor = BrickColor.new("Pastel brown")
  425. o20.Transparency = 1
  426. o20.Position = Vector3.new(14.3000011, -397.464996, -74.3800125)
  427. o20.Velocity = Vector3.new(0, -421.831573, 0)
  428. o20.CanCollide = false
  429. o20.Size = Vector3.new(0.5, 0.5, 0.5)
  430. o20.CFrame = CFrame.new(14.3000011, -397.464996, -74.3800125, 1.00000477, 0, 0, 0, 1.00000477, 0, 0, 0, 1)
  431. o20.BottomSurface = Enum.SurfaceType.Smooth
  432. o20.TopSurface = Enum.SurfaceType.Smooth
  433. o20.Color = Color3.new(1, 0.8, 0.6)
  434. o20.Position = Vector3.new(14.3000011, -397.464996, -74.3800125)
  435. o21.Name = "CastPart"
  436. o21.Parent = o20
  437. o21.C0 = CFrame.new(-1.70000839, 1.18500566, 1.11998749, 1.00000477, 0, 0, 0, 1.00000477, 0, 0, 0, 1)
  438. o21.Part0 = o19
  439. o21.Part1 = o20
  440. mas.Parent = workspace
  441. mas:MakeJoints()
  442. local mas1 = mas:GetChildren()
  443. for i=1,#mas1 do
  444. mas1[i].Parent = char
  445. ypcall(function() mas1[i]:MakeJoints() end)
  446. end
  447. mas:Destroy()
  448. for i=1,#cors do
  449. coroutine.resume(cors[i])
  450. end
  451.  
  452. local w1 = Instance.new("Weld", o19)
  453. w1.Part0 = tors
  454. w1.Part1 = o19
  455. w1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  456.  
  457. --------------------------------------------------------------
  458. --CFrame.new(0, 0 + 0.1 * math.cos(sine/10), 0)
  459. RS=tors:FindFirstChild("Right Shoulder")
  460. LS=tors:FindFirstChild("Left Shoulder")
  461. RH=tors:FindFirstChild("Right Hip")
  462. LH=tors:FindFirstChild("Left Hip")
  463. RJ=hrp:FindFirstChild("RootJoint")
  464. N=tors:FindFirstChild("Neck")
  465. --------------------------------------
  466. RSC0=CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  467. LSC0=CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  468. RHC0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  469. LHC0=CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  470. NC0=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  471. RJC0=CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  472. --------------------------------------
  473. function lerpz(joint,prop,cfrmz,alp)
  474. joint[prop]=joint[prop]:lerp(cfrmz,alp)
  475. end
  476. function RemoveItem(obj,tim)
  477. local RemoveItem2 = coroutine.wrap(function(object,howlong)
  478. wait(howlong)
  479. object:Remove()
  480. end)
  481. RemoveItem2(obj,tim)
  482. end
  483. local walk = false
  484. local idle = false
  485. local jump = false
  486. local jumpCheck = false
  487. local fall = false
  488. local AnimDisable = false
  489. game:GetService("RunService").RenderStepped:connect(function()
  490. sine=sine+change
  491. if AnimDisable == false then
  492. if jumpCheck == true then
  493. idle = false
  494. walk = false
  495. fall = false
  496. jump = true
  497. elseif human.MoveDirection ~= Vector3.new(0,0,0) then
  498. fall = false
  499. walk = true
  500. jump = false
  501. idle = false
  502. elseif human.MoveDirection == Vector3.new(0,0,0) then
  503. walk = false
  504. fall = false
  505. jump = false
  506. idle = true
  507. end
  508. else
  509. walk = false
  510. fall = false
  511. jump = false
  512. idle = false
  513. end
  514. end)
  515. human.StateChanged:connect(function(state)
  516. if state == Enum.HumanoidStateType.Jumping then
  517. jumpCheck = true
  518. else
  519. jumpCheck = false
  520. end
  521. end)
  522. local playanims = coroutine.wrap(function()
  523. while wait() do
  524. if idle == true then
  525. human.JumpPower = 60
  526. lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(-12)+rd(5)*math.cos(sine/14),rd(0),rd(-20)),0.3)
  527. lerpz(RS,'C0',RSC0*cf(0,0.07*math.cos(sine/14),0)*ang(rd(10)*math.cos(sine/14),rd(0),rd(0)),0.3)
  528. lerpz(LS,'C0',LSC0*cf(0,0.07*math.cos(sine/14),0)*ang(rd(10)*math.cos(sine/14),rd(0),rd(0)),0.3)
  529. lerpz(RH,'C0',RHC0*cf(0.5,0.1-0.1*math.cos(sine/14),0)*ang(rd(-5),rd(0),rd(20)),0.3)
  530. lerpz(LH,'C0',LHC0*cf(0,-0.1-0.1*math.cos(sine/14),0)*ang(rd(5),rd(0),rd(0)),0.3)
  531. lerpz(RJ,'C0',RJC0*cf(0,0,0.07+0.1*math.cos(sine/14))*ang(rd(15),rd(0),rd(20)),0.3)
  532. elseif walk == true then
  533. for i = 1,2 do wait()
  534. if walk == true then
  535. lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(-35),rd(10)*math.cos(sine/4),rd(0)),0.3)
  536. lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(-27)+rd(5)*math.cos(sine/5)),0.3)
  537. lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(27)-rd(5)*math.cos(sine/5)),0.3)
  538. lerpz(RH,'C0',RHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)+rd(60)*math.cos(sine/4)),0.3)
  539. lerpz(LH,'C0',LHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)+rd(60)*math.cos(sine/4)),0.3)
  540. lerpz(RJ,'C0',RJC0*cf(0,0,-0.2)*ang(rd(35),rd(0),rd(10)*math.cos(sine/4)),0.3)
  541. else break
  542. end
  543. end
  544. for i = 1,2 do wait()
  545. if walk == true then
  546. lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(-35),rd(10)*math.cos(sine/4),rd(0)),0.3)
  547. lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(-27)+rd(5)*math.cos(sine/5)),0.3)
  548. lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(27)-rd(5)*math.cos(sine/5)),0.3)
  549. lerpz(RH,'C0',RHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)+rd(60)*math.cos(sine/4)),0.3)
  550. lerpz(LH,'C0',LHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)+rd(60)*math.cos(sine/4)),0.3)
  551. lerpz(RJ,'C0',RJC0*cf(0,0,-0.2)*ang(rd(35),rd(0),rd(10)*math.cos(sine/4)),0.3)
  552. else break
  553. end
  554. end
  555. elseif jump == true then
  556. for i = 1,10 do wait()
  557. if jump == true then
  558. lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(-20),rd(0),rd(0)),0.5)
  559. lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(-20),rd(0),rd(-19)),0.5)
  560. lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(-20),rd(0),rd(19)),0.5)
  561. lerpz(RH,'C0',RHC0*cf(0.4,0.6,0)*ang(rd(0),rd(0),rd(0)),0.5)
  562. lerpz(LH,'C0',LHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)),0.5)
  563. lerpz(RJ,'C0',RJC0*cf(0,0,0)*ang(rd(20),rd(0),rd(0)),0.5)
  564. else break
  565. end
  566. end
  567. end
  568. end
  569. end)
  570. playanims()
  571. local movenum1 = {0,1000/40}
  572. local movenum2 = {0,1000/20}
  573. local movenum3 = {0,1000/10}
  574. local movenum4 = {0,1000/10}
  575. local max = 1000
  576. local disable = false
  577. local regenMove = coroutine.wrap(function(timer)
  578. while true do
  579. if movenum1[1] < max then
  580. movenum1[1] = movenum1[1]+movenum1[2]
  581. end
  582. if movenum2[1] < max then
  583. movenum2[1] = movenum2[1]+movenum2[2]
  584. end
  585. if movenum3[1] < max then
  586. movenum3[1] = movenum3[1]+movenum3[2]
  587. end
  588. if movenum4[1] < max then
  589. movenum4[1] = movenum4[1]+movenum4[2]
  590. end
  591. wait(timer)
  592. end
  593. end)
  594. regenMove(1)
  595. local BarChanger = coroutine.wrap(function()
  596. while true do
  597. Bar1:TweenSize(UDim2.new(0,(movenum1[1]/max*MainFrame.Size.X.Offset),1,0),"Out","Quad",0.5,true)
  598. Bar2:TweenSize(UDim2.new(0,(movenum2[1]/max*MainFrame.Size.X.Offset),1,0),"Out","Quad",0.5,true)
  599. Bar3:TweenSize(UDim2.new(0,(movenum3[1]/max*MainFrame.Size.X.Offset),1,0),"Out","Quad",0.5,true)
  600. Bar4:TweenSize(UDim2.new(0,(movenum4[1]/max*MainFrame.Size.X.Offset),1,0),"Out","Quad",0.5,true)
  601. wait(0.25)
  602. end
  603. end)
  604. BarChanger()
  605. mouse.KeyDown:connect(function(key)
  606. key = key:lower()
  607. if disable == false then
  608. if key == "z" and movenum4[1]>=max then
  609. disable = true
  610. AnimDisable = true
  611. local active1 = true
  612. char.Humanoid.WalkSpeed = 0
  613. movenum4[1] = 0
  614. for i = 1,10 do wait()
  615. lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(15),rd(0),rd(0)),0.25)
  616. lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(-180)),0.1)
  617. lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(180)),0.1)
  618. lerpz(RH,'C0',RHC0*cf(0,0,0)*ang(rd(-10),rd(0),rd(-15)),0.25)
  619. lerpz(LH,'C0',LHC0*cf(0,0,0)*ang(rd(-10),rd(0),rd(15)),0.25)
  620. lerpz(RJ,'C0',RJC0*cf(0,0,0)*ang(rd(-15),rd(0),rd(0)),0.25)
  621. end
  622. local c = Instance.new("Part",char)
  623. c.Size = Vector3.new(20,1,20)
  624. c.BrickColor = BrickColor.new("Pastel brown")
  625. c.Material = "Sand"
  626. c.CanCollide = false
  627. c.Anchored = true
  628. c.BottomSurface = "Smooth"
  629. c.TopSurface = "Smooth"
  630. c.CFrame = hrp.CFrame*CFrame.new(0,-4,0)
  631. c.Touched:connect(function(hit)
  632. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name == "Right Leg" and hit.Parent ~= char then
  633. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  634. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  635. wait(2)
  636. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  637. end
  638. end)
  639. local sandEff = coroutine.wrap(function()
  640. while active1 == true do wait()
  641. local sand = Instance.new("Part",char)
  642. local sandSize = math.random(0.5,1)
  643. sand.Name = "Sand"
  644. sand.BrickColor = BrickColor.new("Pastel brown")
  645. sand.Material = "Sand"
  646. sand.CanCollide = false
  647. sand.Anchored = true
  648. sand.Size = Vector3.new(sandSize,sandSize,sandSize)
  649. sand.CFrame = c.CFrame*CFrame.new(math.random(-10,10),math.random(-0.5,0.5),math.random(-10,10))
  650. sand.CFrame = sand.CFrame*CFrame.Angles(rd(math.random(1,360)),rd(math.random(1,360)),rd(math.random(1,360)))
  651. RemoveItem(sand,2)
  652. local sander = coroutine.wrap(function()
  653. for i = 1,10 do wait()
  654. sand.Size = sand.Size+Vector3.new(-0.1,-0.1,-0.1)
  655. sand.Transparency = sand.Transparency+0.1
  656. end
  657. end)
  658. sander()
  659. end
  660. end)
  661. sandEff()
  662. local mesh = Instance.new("SpecialMesh",c)
  663. mesh.MeshType = "Sphere"
  664. mesh.Scale = Vector3.new(1.35, 1.35, 1.35)
  665. for i = 1,25 do wait()
  666. local createSand = coroutine.wrap(function()
  667. local b = Instance.new("Part",char)
  668. b.BrickColor = BrickColor.new("Pastel brown")
  669. b.Material = "Sand"
  670. b.CanCollide = false
  671. b.Size = Vector3.new(math.random(0.2,0.5),math.random(0.2,0.5),math.random(0.2,0.5))
  672. b.Position = o20.Position
  673. RemoveItem(b,1)
  674. end)
  675. createSand()
  676. lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(-180)),0.1)
  677. lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(180)),0.1)
  678. c.CFrame = c.CFrame*CFrame.new(0,0.04,0)
  679. end
  680. char.Humanoid.WalkSpeed = ws
  681. AnimDisable = false
  682. wait(4)
  683. for i = 1,25 do wait()
  684. c.CFrame = c.CFrame*CFrame.new(0,-0.04,0)
  685. end
  686. active1 = false
  687. RemoveItem(c,0)
  688. disable = false
  689. elseif key == "x" and movenum3[1]>=max then
  690. disable = true
  691. AnimDisable = true
  692. local active1 = true
  693. char.Humanoid.WalkSpeed = 0
  694. movenum3[1] = 0
  695. for i = 1,30 do wait()
  696. lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(35),rd(0),rd(0)),0.3)
  697. lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(0),rd(-20),rd(-60)),0.3)
  698. lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(20),rd(0),rd(-60)),0.3)
  699. lerpz(RH,'C0',RHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(-20)),0.3)
  700. lerpz(LH,'C0',LHC0*cf(-0.2,1,0)*ang(rd(0),rd(0),rd(0)),0.3)
  701. lerpz(RJ,'C0',RJC0*cf(0,0,-1.7)*ang(rd(60),rd(0),rd(0)),0.3)
  702. end
  703. function idek(part)
  704. local sandEffect = coroutine.wrap(function()
  705. while active1 == true do wait()
  706. local createff = coroutine.wrap(function()
  707. local sand = Instance.new("Part",char)
  708. local sandSize = math.random(0.5,1)
  709. sand.Name = "Sand"
  710. sand.BrickColor = BrickColor.new("Pastel brown")
  711. sand.Material = "Sand"
  712. sand.CanCollide = false
  713. sand.Anchored = true
  714. sand.Size = Vector3.new(sandSize,sandSize,sandSize)
  715. sand.CFrame = part.CFrame*CFrame.new(0,-1,0)
  716. sand.CFrame = sand.CFrame*CFrame.Angles(rd(math.random(1,360)),rd(math.random(1,360)),rd(math.random(1,360)))
  717. RemoveItem(sand,2)
  718. for i = 1,10 do wait()
  719. sand.Size = sand.Size+Vector3.new(-0.1,-0.1,-0.1)
  720. sand.Transparency = sand.Transparency+0.1
  721. end
  722. end)
  723. createff()
  724. end
  725. end)
  726. sandEffect()
  727. end
  728. idek(larm)
  729. idek(rarm)
  730. for i = 1,15 do wait()
  731. lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)),0.2)
  732. lerpz(RS,'C0',RSC0*cf(0,0,0.7)*ang(rd(-120),rd(0),rd(0)),0.2)
  733. lerpz(LS,'C0',LSC0*cf(0,0,0.7)*ang(rd(-120),rd(0),rd(0)),0.2)
  734. lerpz(RH,'C0',RHC0*cf(0.2,0.5,0)*ang(rd(0),rd(0),rd(-10)),0.2)
  735. lerpz(LH,'C0',LHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)),0.2)
  736. lerpz(RJ,'C0',RJC0*cf(0,0,4)*ang(rd(0),rd(0),rd(0)),0.2)
  737. end
  738. local waiter = true
  739. function creator(part)
  740. local createHail = coroutine.wrap(function()
  741. local hail = Instance.new("Part",char)
  742. hail.Shape = "Ball"
  743. hail.BottomSurface = "Smooth"
  744. hail.TopSurface = "Smooth"
  745. hail.Size = Vector3.new(0.2,0.2,0.2)
  746. hail.Transparency = 1
  747. hail.Name = "Sanderb"
  748. hail.Material = "Sand"
  749. hail.CanCollide = false
  750. hail.Anchored = true
  751. hail.BrickColor = BrickColor.new("Pastel brown")
  752. hail.CFrame = part.CFrame*CFrame.new(0,-4,0)
  753. RemoveItem(hail,20)
  754. local debunk = false
  755. for i = 1,10 do wait()
  756. hail.Size = hail.Size+Vector3.new(0.2,0.2,0.2)
  757. hail.Transparency = hail.Transparency-0.1
  758. end
  759. hail.Touched:connect(function(hit)
  760. if debunk == false and hit.Name ~= "Sanderb" then
  761. debunk = true
  762. for i = 1,5 do wait()
  763. hail.Transparency = hail.Transparency+0.2
  764. end
  765. hail:Remove()
  766. end
  767. end)
  768. local mag = (hrp.Position - mouse.Hit.p).magnitude
  769. local waiter = mag/30
  770. local ti = TweenInfo.new(waiter,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut,0,false,0)
  771. local pp = {CFrame = CFrame.new((mouse.Hit.p.X),(mouse.Hit.p.Y),(mouse.Hit.p.Z))}
  772. local tween = ts:Create(hail,ti,pp)
  773. tween:Play()
  774. local lol = coroutine.wrap(function()
  775. wait(waiter)
  776. for i = 1,5 do wait()
  777. hail.Transparency = hail.Transparency+0.2
  778. end
  779. hail:Remove()
  780. end)
  781. lol()
  782. end)
  783. createHail()
  784. end
  785. for i = 1,5 do wait(0.2)
  786. creator(larm)
  787. creator(rarm)
  788. end
  789. waiter = false
  790. -----------------------------------------------
  791.  
  792. repeat wait() until waiter == false
  793. char.Humanoid.WalkSpeed = ws
  794. disable = false
  795. active1 = false
  796. AnimDisable = false
  797. elseif key == "c" and movenum2[1]>=max then
  798. local hrpcframe = hrp.CFrame
  799. local num = 0
  800. local chain = 3
  801. local big = 0
  802. local height = 0
  803. char.Humanoid.WalkSpeed = 0
  804. disable = true
  805. AnimDisable = true
  806. movenum2[1] = 0
  807. for i = 1,15 do wait()
  808. lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)),0.2)
  809. lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(-20),rd(0),rd(0)),0.2)
  810. lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(-20),rd(0),rd(0)),0.2)
  811. lerpz(RH,'C0',RHC0*cf(0.2,0.8,0)*ang(rd(0),rd(0),rd(0)),0.2)
  812. lerpz(LH,'C0',LHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)),0.2)
  813. lerpz(RJ,'C0',RJC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)),0.2)
  814. end
  815. for i = 1,8 do wait()
  816. lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(-12)+rd(5),rd(0),rd(-20)),0.5)
  817. lerpz(RS,'C0',RSC0*cf(0,0.07,0)*ang(rd(0),rd(0),rd(-30)),0.5)
  818. lerpz(LS,'C0',LSC0*cf(0,0.07,0)*ang(rd(0),rd(0),rd(30)),0.5)
  819. lerpz(RH,'C0',RHC0*cf(0.5,0.1,0)*ang(rd(-5),rd(0),rd(20)),0.5)
  820. lerpz(LH,'C0',LHC0*cf(0,-0.1,0)*ang(rd(5),rd(0),rd(0)),0.5)
  821. lerpz(RJ,'C0',RJC0*cf(0,0,0.07)*ang(rd(15),rd(0),rd(20)),0.5)
  822. end
  823. local createWave = coroutine.wrap(function()
  824. for i = 1,30 do wait()
  825. local wave = Instance.new("Part",char)
  826. wave.BottomSurface = "Smooth"
  827. wave.TopSurface = "Smooth"
  828. wave.Size = Vector3.new(4+big,1,chain)
  829. wave.Transparency = 0
  830. wave.Material = "Sand"
  831. wave.CanCollide = false
  832. wave.Anchored = true
  833. wave.BrickColor = BrickColor.new("Pastel brown")
  834. wave.CFrame = hrpcframe*CFrame.new(0,-3,-chain-num-1)
  835. local randomnum = math.random(2.0,3.1)
  836. local sandPath1 = Instance.new("Part",char)
  837. sandPath1.BottomSurface = "Smooth"
  838. sandPath1.TopSurface = "Smooth"
  839. sandPath1.Size = Vector3.new(randomnum,randomnum,randomnum)
  840. sandPath1.Transparency = 0
  841. sandPath1.Material = "Sand"
  842. sandPath1.CanCollide = false
  843. sandPath1.Anchored = true
  844. sandPath1.BrickColor = BrickColor.new("Pastel brown")
  845. sandPath1.CFrame = wave.CFrame*CFrame.new((wave.Size.X/2),0,0)
  846. sandPath1.CFrame = sandPath1.CFrame*CFrame.Angles(rd(math.random(1,360)),rd(math.random(1,360)),rd(math.random(1,360)))
  847. RemoveItem(sandPath1,4)
  848. local sandPath2 = Instance.new("Part",char)
  849. sandPath2.BottomSurface = "Smooth"
  850. sandPath2.TopSurface = "Smooth"
  851. sandPath2.Size = Vector3.new(randomnum,randomnum,randomnum)
  852. sandPath2.Transparency = 0
  853. sandPath2.Material = "Sand"
  854. sandPath2.CanCollide = false
  855. sandPath2.Anchored = true
  856. sandPath2.BrickColor = BrickColor.new("Pastel brown")
  857. sandPath2.CFrame = wave.CFrame*CFrame.new(-(wave.Size.X/2),0,0)
  858. sandPath2.CFrame = sandPath2.CFrame*CFrame.Angles(rd(math.random(1,360)),rd(math.random(1,360)),rd(math.random(1,360)))
  859. RemoveItem(sandPath2,4)
  860. wave.Touched:connect(function(hit)
  861. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name == "Right Leg" and hit.Parent ~= char then
  862. local bv = Instance.new("BodyPosition", hit)
  863. game.Debris:AddItem(bv,0.1)
  864. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  865. bv.Position = wave.CFrame*CFrame.new(0,20,0).p
  866. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  867. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(49)
  868. wait(3/2)
  869. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  870. end
  871. end)
  872. RemoveItem(wave,0.6)
  873. num=num+chain
  874. big=big+0.5
  875. local trans = coroutine.wrap(function()
  876. for i = 1,10 do wait()
  877. wave.Transparency = wave.Transparency+0.1
  878. --wave.Size = wave.Size+Vector3.new(-0.1,-0.1,-0.1)
  879. end
  880. RemoveItem(wave,0)
  881. end)
  882. trans()
  883. end
  884. end)
  885. createWave()
  886. char.Humanoid.WalkSpeed = ws
  887. disable = false
  888. AnimDisable = false
  889. elseif key == "v" and movenum1[1]>=max then
  890. movenum1[1] = 0
  891. end
  892. end
  893. end)
  894. local sandEffect = coroutine.wrap(function()
  895. while true do wait(0.25)
  896. local createff = coroutine.wrap(function()
  897. local sand = Instance.new("Part",char)
  898. local sandpos = math.random(0.5,-0.5)
  899. sand.Name = "SandGourdEff"
  900. sand.BrickColor = BrickColor.new("Pastel brown")
  901. sand.Material = "Sand"
  902. sand.CanCollide = false
  903. sand.Anchored = true
  904. sand.Size = Vector3.new(0.2,0.2,0.2)
  905. sand.CFrame = o20.CFrame*CFrame.new(math.random(0.5,-0.5),math.random(0.5,-0.5),math.random(0.5,-0.5))
  906. sand.CFrame = sand.CFrame*CFrame.Angles(rd(math.random(1,360)),rd(math.random(1,360)),rd(math.random(1,360)))
  907. game.Debris:AddItem(sand,1)
  908. for i = 1,10 do wait()
  909. sand.Transparency = sand.Transparency+0.1
  910. end
  911. end)
  912. createff()
  913. end
  914. end)
  915. sandEffect()
Add Comment
Please, Sign In to add comment