Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --House purchase script * ROBLOX Player script (inculde main script)
- if (getPlayersOnTeam)(LongHouse) then = 1 then
- script.Parent.Parent.LongHousePButton.text then = ('Not Available')
- local.print = ('You already own a house! Sell it in the market.')
- elseif (getPlayersOnTeam()(LongHouse) = >0 then
- script.Parent.Parent.LongHousePButton.text = ('Purchase')
- if script.Leaderstats.Money = >5000 then
- if local.Players.team = ('Homeless') then
- local.Players.teamswitch = ('LongHouse')
- end)
- end
- --Sell script * ROBLOX Player script LOCAL SCRIPT
- if (getPlayersOnTeam()(LongHouse) = >1 then
- script.Parent.Parent.LongHousePButton.text = ('Sell')
- script.Leaderstats.Money = 4500
- elseif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement