IamSourFish

Roblox spaceship tycoon inf money script

Feb 15th, 2021
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.54 KB | None | 0 0
  1. function findBase()
  2.    local base
  3.  
  4.    for _,v in pairs(workspace.Bases:GetChildren()) do
  5.        if v:IsA('Model') then
  6.            for _,x in pairs(v:GetChildren()) do
  7.                if x.Name == 'BaseOwner' and x.Value == game:GetService('Players').LocalPlayer.Name then
  8.                    base = x.Parent
  9.                end
  10.            end
  11.        end
  12.    end
  13.    return base
  14. end
  15.  
  16. local LocalPlayerBase = findBase()
  17. local Money = 9e9 --100000000
  18. game:GetService("ReplicatedStorage").Remotes.AddStorage:FireServer(Money, LocalPlayerBase)
Advertisement
Add Comment
Please, Sign In to add comment