Advertisement
StarzoZero

sand gaara

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