OofNoob

Eat thingy

Mar 17th, 2018
671
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.11 KB | None | 0 0
  1. ----- Script made by Pedrorb03 -----
  2. game.Players.LocalPlayer.Character.Head:WaitForChild("face")
  3. while game.Players.LocalPlayer.Character.Head.face.texture ~= "rbxassetid://1039774343" do
  4. wait()
  5. game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://1039774343"
  6. end
  7. for _,animate in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  8. if animate.Name == "Animate" then
  9. animate:remove()
  10. end
  11. if animate.ClassName == "Accessory" then
  12. animate:remove()
  13. end
  14. end
  15. for _,anim in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
  16.  
  17. anim:Stop()
  18.  
  19. end
  20.  
  21. rot = 0
  22. armrot = 0
  23. suck = nil
  24. power = 0
  25. movingup = false
  26. movingback = false
  27. popo = 0
  28. bodyforces = {}
  29. popos = {}
  30. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  31. if part:IsA("BasePart") then
  32.  
  33. local zerograv = Instance.new("BodyForce",part) zerograv.force = Vector3.new(0, game.Workspace.Gravity, 0) * part:GetMass() zerograv.Name = "ZeroGravity"
  34. end
  35. end
  36. ac = true
  37.  
  38.  
  39. game:GetService("RunService").RenderStepped:connect(function()
  40. game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth
  41. if movingup == false and movingback == false then
  42. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
  43. end
  44. rot = rot+5
  45. for number = 1,#popos do
  46. if popos[number].Parent == nil then
  47. table.remove(popos,number)
  48. end
  49. end
  50. for _,pop in pairs(popos) do
  51. pop.Touched:connect(function(hit)
  52. if hit.Locked == false then
  53. if hit.Parent ~= game.Players.LocalPlayer.Character then
  54. if hit ~= pop then
  55. hit.Color = pop.Color
  56. hit.Material = pop.Material
  57.  
  58. pop:remove()
  59. end
  60. end
  61. end
  62. end)
  63.  
  64. end
  65. armrot = armrot+40
  66. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 500
  67. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 1
  68. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
  69. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.p,game.Workspace.CurrentCamera.CFrame.p+game.Workspace.CurrentCamera.CFrame.lookVector*50000000)
  70. if ac == true then
  71. game.Players.LocalPlayer.Character.Torso:WaitForChild("Right Shoulder")
  72. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0.p) *CFrame.Angles(math.rad(armrot*1.75),0,0)
  73. game.Players.LocalPlayer.Character.Torso:WaitForChild("Left Shoulder")
  74. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0.p)*CFrame.Angles(math.rad(armrot*1.75),0,0)
  75. game.Players.LocalPlayer.Character.Torso:WaitForChild("Right Hip")
  76. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(game.Players.LocalPlayer.Character.Torso["Right Hip"].C0.p) *CFrame.Angles(math.rad(armrot*1.75),0,0)
  77. game.Players.LocalPlayer.Character.Torso:WaitForChild("Left Hip")
  78. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(game.Players.LocalPlayer.Character.Torso["Left Hip"].C0.p)*CFrame.Angles(math.rad(armrot*1.75),0,0)
  79. end
  80. if suck == nil then
  81. for _,bod in pairs(bodyforces) do
  82. bod:remove()
  83. end
  84. end
  85. if suck ~= nil then
  86. local pos1 = game.Players.LocalPlayer:GetMouse().Hit.p
  87. local pos2 = game.Players.LocalPlayer.Character.Head.CFrame:toWorldSpace(CFrame.new(Vector3.new(0,0.25,0.5))).p
  88. for _,child in pairs(game.Workspace:GetChildren()) do
  89. if child:IsA("BasePart") then
  90. if child.Anchored == false then
  91. if (child.Position-pos1).magnitude <= 1+game.Players.LocalPlayer.Character.Head.Size.Y*5 then
  92. local hit = child
  93. local did = false
  94. for i=1,#bodyforces do
  95. if bodyforces[i].Parent == hit then
  96. did = true
  97. end
  98. end
  99. if did == false then
  100. local bodyforce = Instance.new("BodyPosition",hit) bodyforce.Position = pos2
  101. table.insert(bodyforces,bodyforce)
  102. end
  103. end
  104. end
  105. end
  106. for _,child2 in pairs(child:GetChildren()) do
  107. if child2:IsA("BasePart") then
  108. if child2.Anchored == false then
  109. if (child2.Position-pos1).magnitude <= 1+game.Players.LocalPlayer.Character.Head.Size.Y*5 then
  110. local hit = child2
  111. local did = false
  112. for i=1,#bodyforces do
  113. if bodyforces[i].Parent == hit then
  114. did = true
  115. end
  116. end
  117. if did == false then
  118. local bodyforce = Instance.new("BodyPosition",hit) bodyforce.Position = pos2
  119. table.insert(bodyforces,bodyforce)
  120. end
  121. end
  122. end
  123. end
  124. for _,child3 in pairs(child2:GetChildren()) do
  125. if child3:IsA("BasePart") then
  126. if child3.Anchored == false then
  127. if (child3.Position-pos1).magnitude <= 1+game.Players.LocalPlayer.Character.Head.Size.Y*5 then
  128. local hit = child3
  129. local did = false
  130. for i=1,#bodyforces do
  131. if bodyforces[i].Parent == hit then
  132. did = true
  133. end
  134. end
  135. if did == false then
  136. local bodyforce = Instance.new("BodyPosition",hit) bodyforce.Position = pos2
  137. table.insert(bodyforces,bodyforce)
  138. end
  139. end
  140. end
  141. end
  142.  
  143. end
  144. end
  145. end
  146.  
  147. for _,bod in pairs(bodyforces) do
  148. bod.Position = game.Players.LocalPlayer.Character.Head.CFrame.p
  149. end
  150. suck.Mesh.Scale = Vector3.new(1+game.Players.LocalPlayer.Character.Head.Size.Y*5,(pos1-pos2).magnitude,1+game.Players.LocalPlayer.Character.Head.Size.Y*5)
  151. suck.CFrame = CFrame.new((pos1+pos2)/2,pos1) * CFrame.Angles(math.rad(90),rot,0)
  152. local ray = Ray.new(pos2,(pos1-pos2).unit*600)
  153. local hit,normal,position = game.Workspace:FindPartOnRay(ray,game.Players.LocalPlayer.Character)
  154.  
  155. if hit ~= nil then
  156. if hit.Anchored == false then
  157. local did = false
  158. for i=1,#bodyforces do
  159. if bodyforces[i].Parent == hit then
  160. did = true
  161. end
  162. end
  163. if did == false then
  164. local bodyforce = Instance.new("BodyPosition",hit) bodyforce.Position = pos2
  165. table.insert(bodyforces,bodyforce)
  166. end
  167. end
  168. end
  169.  
  170.  
  171.  
  172.  
  173.  
  174. end
  175. end)
  176. game:GetService("UserInputService").InputBegan:connect(function(key)
  177. if key.KeyCode == Enum.KeyCode.E then
  178. suck = Instance.new("Part",game.Players.LocalPlayer.Character)
  179. local mesh = Instance.new("SpecialMesh",suck) mesh.MeshId = "rbxassetid://1040723301"
  180. suck.Transparency = 0.5
  181. suck.Color = Color3.fromRGB(255,255,255)
  182. suck.CanCollide = false
  183. suck.Anchored = true
  184. suck.Size = Vector3.new(0,0,0)
  185. game.Players.LocalPlayer.Character.Head:WaitForChild("face")
  186.  
  187. while game.Players.LocalPlayer.Character.Head.face.texture ~= "rbxassetid://505480085" do
  188. wait()
  189. game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://505480085"
  190. end
  191.  
  192.  
  193. for _,decal in pairs(game.Players.LocalPlayer.Character.Head:GetChildren()) do
  194. if decal.ClassName == "Decal" then
  195. decal:remove()
  196. end
  197. end
  198. local decal = Instance.new("Decal",game.Players.LocalPlayer.Character.Head) decal.Texture = "http://www.roblox.com/asset/?id=1038938817" decal.Face = "Front"
  199.  
  200. end
  201. if key.KeyCode == Enum.KeyCode.W then
  202. if movingup == false then
  203. movingup = true
  204. while movingup == true do
  205. wait()
  206. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*200
  207. end
  208. end
  209. end
  210. if key.KeyCode == Enum.KeyCode.S then
  211. if movingback == false then
  212. movingback = true
  213. while movingback == true do
  214. wait()
  215. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = -game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*200
  216.  
  217. end
  218. end
  219. end
  220. if key.KeyCode == Enum.KeyCode.F then
  221. local food = math.random(1,7)
  222. local part = Instance.new("Part",game.Workspace) part.CFrame = CFrame.new(0,25,0)
  223. local meshs = Instance.new("SpecialMesh",part)
  224. if food == 1 then
  225. part.Size = Vector3.new(1.266, 1.704, 0.978)
  226. meshs.MeshId = "rbxassetid://923471248"
  227. meshs.TextureId = "rbxassetid://923471252"
  228. end
  229. if food == 2 then
  230. part.Size = Vector3.new(2.18, 0.733, 2.18)
  231. meshs.MeshId = "http://www.roblox.com/asset/?id=107432887"
  232. meshs.TextureId = "rbxassetid://107432992"
  233. end
  234. if food == 3 then
  235. part.Size = Vector3.new(1.764, 1.129, 1.686)
  236. meshs.MeshId = "http://www.roblox.com/asset/?id=90824595"
  237. meshs.TextureId = "rbxassetid://90819050"
  238. end
  239. if food == 4 then
  240. part.Size = Vector3.new(2.903, 2.903, 0.531)
  241. meshs.MeshId = "http://www.roblox.com/asset/?id=18417911"
  242. meshs.TextureId = "rbxassetid://18417918"
  243. end
  244. if food == 5 then
  245. part.Size = Vector3.new(2.056, 0.615, 0.907)
  246. meshs.MeshId = "http://www.roblox.com/asset/?id=29896287"
  247. meshs.TextureId = "rbxassetid://29896653"
  248. end
  249. if food == 6 then
  250. part.Size = Vector3.new(0.731, 1.693, 0.708)
  251. meshs.MeshId = "http://www.roblox.com/asset/?id=13073626"
  252. meshs.TextureId = "rbxassetid://13073598"
  253. end
  254. if food == 7 then
  255. part.Size = Vector3.new(1.997, 1.986, 1.997)
  256. meshs.MeshId = "http://www.roblox.com/asset/?id=125736357"
  257. meshs.TextureId = "rbxassetid://125728597"
  258. end
  259. end
  260. if key.KeyCode == Enum.KeyCode.C then
  261. if popo > 0 then
  262. popo = popo-1
  263. local ball = Instance.new("Part",game.Workspace) ball.Shape = Enum.PartType.Ball ball.Material = Enum.Material.Slate ball.Color = Color3.fromRGB(105, 64, 40) ball.CanCollide = false
  264. ball.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  265. ball.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  266. ball.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  267. ball.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  268. ball.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  269. ball.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  270. ball.Size = Vector3.new(game.Players.LocalPlayer.Character.Torso.Size.Y/2,game.Players.LocalPlayer.Character.Torso.Size.Y/2,game.Players.LocalPlayer.Character.Torso.Size.Y/2)
  271. ball.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(0,-game.Players.LocalPlayer.Character.Torso.Size.Y,0)).p,game.Players.LocalPlayer:GetMouse().Hit.p)
  272. ball.Velocity = ball.CFrame.lookVector*(game.Players.LocalPlayer.Character.Torso.Position-game.Players.LocalPlayer:GetMouse().Hit.p).magnitude*3
  273. table.insert(popos,ball)
  274. game:GetService("Debris"):AddItem(ball,5)
  275. end
  276. end
  277.  
  278.  
  279.  
  280. end)
  281. game:GetService("UserInputService").InputEnded:connect(function(key)
  282. if key.KeyCode == Enum.KeyCode.E then
  283. suck:remove()
  284. suck = nil
  285. game.Players.LocalPlayer.Character.Head:WaitForChild("face")
  286.  
  287. game.Players.LocalPlayer.Character.Head:WaitForChild("face")
  288. while game.Players.LocalPlayer.Character.Head.face.texture ~= "rbxassetid://1039774343" do
  289. wait()
  290. game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://1039774343"
  291. end
  292. end
  293. if key.KeyCode == Enum.KeyCode.W then
  294. movingup = false
  295.  
  296. end
  297. if key.KeyCode == Enum.KeyCode.S then
  298. movingback = false
  299.  
  300. end
  301.  
  302.  
  303. end)
  304. game.Players.LocalPlayer.Character.Head.Touched:connect(function(hit)
  305. if hit.Parent ~= game.Players.LocalPlayer.Character then
  306.  
  307. if hit ~= nil then
  308. if hit.Anchored == false then
  309. hit:remove()
  310. popo = popo+2
  311. local sound = Instance.new("Sound",game.Players.LocalPlayer.Character.Head) sound.SoundId = "rbxassetid://179303694" sound:Play()
  312. game:GetService("Debris"):AddItem(sound,5)
  313. while ac == false do
  314. wait()
  315. if ac == true then
  316. break
  317. end
  318. end
  319. game.Players.LocalPlayer.Character.Torso:WaitForChild("Neck")
  320. game.Players.LocalPlayer.Character.HumanoidRootPart:WaitForChild("RootJoint")
  321. game.Players.LocalPlayer.Character.Torso:WaitForChild("Right Shoulder")
  322. game.Players.LocalPlayer.Character.Torso:WaitForChild("Left Shoulder")
  323. game.Players.LocalPlayer.Character.Torso:WaitForChild("Right Hip")
  324. game.Players.LocalPlayer.Character.Torso:WaitForChild("Left Hip")
  325. local rootjoint = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  326. local neck = game.Players.LocalPlayer.Character.Torso.Neck:Clone()
  327. local rightShoulder = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  328. local leftShoulder = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  329. local rightShoulder = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  330. local rightHip = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  331. local leftHip = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  332. ac = false
  333. wait(0.1)
  334. game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth
  335. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  336. if part:IsA("BasePart") then
  337. part.Size = part.Size*1.05
  338. game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth
  339. end
  340. end
  341. game.Players.LocalPlayer.CameraMaxZoomDistance = game.Players.LocalPlayer.CameraMaxZoomDistance*1.05
  342. game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth
  343. rootjoint.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  344. neck.Parent = game.Players.LocalPlayer.Character.Torso
  345. rightShoulder.Parent = game.Players.LocalPlayer.Character.Torso
  346. leftShoulder.Parent = game.Players.LocalPlayer.Character.Torso
  347. rightHip.Parent = game.Players.LocalPlayer.Character.Torso
  348. leftHip.Parent = game.Players.LocalPlayer.Character.Torso
  349. neck.C0 = CFrame.new(neck.C0.p*1.05)*CFrame.Angles(math.rad(-90),0,math.rad(180))
  350. rightShoulder.C0 = CFrame.new(rightShoulder.C0.p*1.05)
  351. leftShoulder.C0 = CFrame.new(leftShoulder.C0.p*1.05)
  352. rightHip.C0 = CFrame.new(rightHip.C0.p*1.05)
  353. leftHip.C0 = CFrame.new(leftHip.C0.p*1.05)
  354. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = game.Players.LocalPlayer.Character.Humanoid.MaxHealth*1.2
  355. game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth
  356. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  357. if part:FindFirstChild("ZeroGravity") then
  358. part.ZeroGravity:remove()
  359. end
  360. end
  361. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  362. if part:IsA("BasePart") then
  363. part.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  364. local zerograv = Instance.new("BodyForce",part) zerograv.force = Vector3.new(0, game.Workspace.Gravity, 0) * part:GetMass() zerograv.Name = "ZeroGravity"
  365. end
  366. end
  367. wait(0.1)
  368. ac = true
  369. end
  370. end
  371.  
  372. end
  373. end)
Add Comment
Please, Sign In to add comment