Basically when someone leaves it makes the door not owned anymore but only for that certain person. Thing is sometimes it doesn't catch it fast enough but I want it instantly to make the game seem clean.
game.Players.ChildRemoved didn't work so thats not a option. Is there a better way for this?
Script: ServerScript in the model.
function StartCount() wait(2) if game.Players:FindFirstChild(script.Parent.Parent.Owner.GUI.Owner.Player.Value) == nil then script.Parent.Owned.Value = false end end game.Players.PlayerRemoving:Connect(StartCount)