Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local kel = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
- local kek = game:GetService("Players").LocalPlayer.Character.Humanoid
- local repStor = game:GetService("ReplicatedStorage")
- function checkbal()
- local a = game:GetService("Players").LocalPlayer.Data
- local b = tonumber(a.BackpackSize.Value) * 90
- local c = tonumber(a:WaitForChild("CashCarried").Value)
- if c <= b and c + 100 <= b then
- return true
- end
- end
- function tp(hideout)
- wait(0.5)
- for i,v in next, workspace[hideout].Doors.VD:GetChildren() do
- kel.CFrame = v.Door.Trig.CFrame
- end
- end
- function tycoon()
- local a = game:GetService("Players").LocalPlayer.Data
- local b = a.HideoutNumber.Value
- local c = workspace:FindFirstChild("Hideout" .. b).Name
- tp(c)
- end
- function start()
- print("STARTED")
- warn("THIS")
- print("SHIT!")
- while wait(1) do
- kek.Sit = true
- wait(0.5)
- for i,v in pairs(game.Workspace.Items.Items:GetChildren()) do
- if(v:FindFirstChild("D") and checkbal()) then
- local Diamond = v.D.CFrame
- local A = v.D
- kel.CFrame = Diamond
- wait(0.25)
- repStor.remoteGiveCashCarried:FireServer(A)
- wait(0.25)
- elseif(checkbal() == false) then
- tycoon()
- wait(0.25)
- repStor.remoteDepoVaultCash:FireServer()
- end
- end
- for i,v in pairs(workspace.Items.Items:GetChildren()) do
- if(v:FindFirstChild("1G") and checkbal()) then
- local Gold = v["1G"].CFrame
- local B = v["1G"]
- kel.CFrame = Gold
- wait(0.25)
- repStor.remoteGiveCashCarried:FireServer(B)
- wait(0.25)
- elseif(checkbal() == false) then
- tycoon()
- wait(0.25)
- repStor.remoteDepoVaultCash:FireServer()
- end
- end
- for i,v in pairs(workspace.Items.Items:GetChildren()) do
- if(v:FindFirstChild("P") and checkbal()) then
- local ATM = v.P.CFrame
- local C = v.P
- kel.CFrame = ATM
- wait(0.25)
- repStor.remoteGiveCashCarried:FireServer(C)
- wait(0.25)
- elseif(checkbal() == false) then
- tycoon()
- wait(0.25)
- repStor.remoteDepoVaultCash:FireServer()
- end
- end
- for i,v in pairs(workspace.Items.Items:GetChildren()) do
- if(v:FindFirstChild("Spade") and checkbal()) then
- local Spade = v.Spade.CFrame
- local N = v.Spade
- kel.CFrame = Spade
- wait(0.25)
- repStor.remoteGiveCashCarried:FireServer(N)
- wait(0.25)
- elseif(checkbal() == false) then
- tycoon()
- wait(0.25)
- repStor.remoteDepoVaultCash:FireServer()
- end
- end
- tycoon()
- wait(0.25)
- repStor.remoteDepoVaultCash:FireServer()
- for i,v in pairs(game.Workspace.Items.Items:GetChildren()) do
- if(v:FindFirstChild("1C") and checkbal()) then
- local Dreg = v["1C"].CFrame
- local A = v["1C"]
- kel.CFrame = Dreg
- wait(0.25)
- repStor.remoteGiveCashCarried:FireServer(A)
- wait(0.25)
- elseif(checkbal() == false) then
- tycoon()
- wait(0.25)
- repStor.remoteDepoVaultCash:FireServer()
- end
- end
- for i,v in pairs(game.Workspace.Items.Items:GetChildren()) do
- if(v:FindFirstChild("P") and checkbal()) then
- local Cash = v.P.CFrame
- local A = v.P
- kel.CFrame = Cash
- wait(0.25)
- repStor.remoteGiveCashCarried:FireServer(A)
- wait(0.25)
- elseif(checkbal() == false) then
- tycoon()
- wait(0.25)
- repStor.remoteDepoVaultCash:FireServer()
- end
- end
- for i,v in pairs(workspace.Items.Items:GetChildren()) do
- if(v:FindFirstChild("Union") and checkbal()) then
- local Bucket = v.Union.CFrame
- local O = v.Union
- kel.CFrame = Bucket
- wait(0.25)
- repStor.remoteGiveCashCarried:FireServer(O)
- wait(0.25)
- elseif(checkbal() == false) then
- tycoon()
- wait(0.25)
- repStor.remoteDepoVaultCash:FireServer()
- end
- end
- end
- end
- start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement