Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Owners = {}
- local House_1 = workspace.House1
- local Ownership = House_1.OwnerShip
- local Players = game:GetService("Players")
- local Player = Players.LocalPlayer
- local Edit = false
- local Build = false
- local OwnerPerk = false
- game.Players.PlayerAdded:Connect(function(Player)
- table.insert(Owners, Player.Name)
- for i,v in pairs(Owners) do
- if Ownership.Value == Player.Name then do
- local Edit = true
- local Build = true
- local OwnerPerk = true
- table.insert(Owners, Player.Name)
- end
- end
- end
- end)
Add Comment
Please, Sign In to add comment