Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- drzwi.Touched:Connect(function(part)
- if part.Parent:FindFirstChild("Humanoid") and kierownik.Value == nil then
- local gracz = game.Players:GetPlayerFromCharacter(part.Parent)
- local posiada = false
- for i, element in pairs(game.Workspace:GetDescendants()) do
- if element.Name == "System" then
- if element.Kierownik.Value == gracz then
- posiada = true
- print("Posiada")
- end
- end
- end
- if not posiada then
- kierownik.Value = game.Players:GetPlayerFromCharacter(part.Parent)
- nowyTycoon(gracz)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement