Advertisement
Guest User

Untitled

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