SHOW:
|
|
- or go back to the newest paste.
1 | --House purchase script * ROBLOX Player script (inculde main script) | |
2 | if (getPlayersOnTeam)(LongHouse) then = 1 then | |
3 | - | script.Parent.Parent.LongHousePButton.text = ('Not Available') |
3 | + | script.Parent.Parent.LongHousePButton.text then = ('Not Available') |
4 | local.print = ('You already own a house! Sell it in the market.') | |
5 | elseif (getPlayersOnTeam()(LongHouse) = >0 then | |
6 | script.Parent.Parent.LongHousePButton.text = ('Purchase') | |
7 | if script.Leaderstats.Money = >5000 then | |
8 | if local.Players.team = ('Homeless') then | |
9 | local.Players.teamswitch = ('LongHouse') | |
10 | ||
11 | end) | |
12 | end | |
13 | ||
14 | --Sell script * ROBLOX Player script LOCAL SCRIPT | |
15 | if (getPlayersOnTeam()(LongHouse) = >1 then | |
16 | script.Parent.Parent.LongHousePButton.text = ('Sell') | |
17 | script.Leaderstats.Money = 4500 | |
18 | elseif |