0lf3_

Restaurant Tycoon 1 Infinite Money Script (Wait For Game To Fully Load)

Jun 19th, 2022 (edited)
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. getgenv().ev = ev or {}
  2. ev.Do = false
  3. wait(.000000001)
  4. ev.Do = true
  5.  
  6. function getPlayerTycoon()
  7. for _,obj in pairs(workspace.Tycoons:GetChildren()) do
  8. if obj.Factory.Player.Value == game.Players.LocalPlayer then return obj.Factory end
  9. end
  10. end
  11.  
  12. local tyc = getPlayerTycoon()
  13. function makePurchaseandSell()
  14. workspace.Events.ItemPurchase:InvokeServer(0,'cgz',0)
  15. workspace.Events.Building.PlaceObject:FireServer({workspace.Furniture.Counter5, "Normal", Vector3.new(-76, 3.4, 216), 270, "cgz"}, true)
  16. workspace.Events.Building.RemoveFurniture:InvokeServer(tyc.PlacedItems.Finished.Counter5, 3, true)
  17. end
  18.  
  19. while ev.Do and wait() do makePurchaseandSell() end
Add Comment
Please, Sign In to add comment