Advertisement
potatinha

teste

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