Advertisement
Guest User

roblox script

a guest
Dec 19th, 2016
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. --House purchase script * ROBLOX Player script (inculde main script)
  2. if (getPlayersOnTeam()(LongHouse) = >1 then
  3. script.Parent.Parent.LongHousePButton.text = ('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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement