Advertisement
roblox_exploit

shittymelonsimulator

Sep 16th, 2019
718
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. _G.farm = true
  2.  
  3. local player = game.Players.LocalPlayer
  4. local VirtualUser=game:service'VirtualUser'
  5. game:service'Players'.LocalPlayer.Idled:connect(function()
  6. print("reav")
  7. VirtualUser:CaptureController()
  8. VirtualUser:ClickButton2(Vector2.new())
  9. end)
  10. for i,v in pairs(player.PlayerGui.ScreenMain.Uis:GetChildren()) do
  11. if v.Name == "FullBackpack" then
  12. v:Destroy()
  13. end
  14. end
  15. while wait() do
  16. if _G.farm then
  17. local fill = player.backpack.Max.Value
  18. game.ReplicatedStorage.Events.Eating:FireServer(fill)
  19. game.ReplicatedStorage.Functions.UpgradeBackpack:InvokeServer("true")
  20. for i,v in pairs(workspace.Melons:GetChildren()) do
  21. if v.Name == "Melon2" or v.Name == "Melon3" or v.Name == "Melon4" then
  22. v.CFrame=player.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,0)
  23. end
  24. end
  25. for i,v in pairs(workspace:GetChildren()) do
  26. if v.Name == "SellPart" then
  27. v.CFrame=CFrame.new(player.Character.HumanoidRootPart.Position)
  28. end
  29. end
  30. for i,v in pairs(player.leaderstats:GetChildren()) do
  31. if string.find(v.Name, "Money") then
  32. local money = v.Value
  33. local rebirth = player.rebirth.Need.Value
  34. if money >= rebirth then
  35. game.ReplicatedStorage.Functions.Rebirth:InvokeServer()
  36. wait(3)
  37. for u,z in pairs(player.PlayerGui.ScreenMain.Uis:GetChildren()) do
  38. if z.Name == "FullBackpack" then
  39. z:Destroy()
  40. end
  41. end
  42. end
  43. end
  44. end
  45. if _G.farm then
  46. wait(3.5)
  47. player.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  48. end
  49. end
  50. if _G.farm == false then
  51. break
  52. end
  53. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement