Players.CharacterAutoLoads = false prevents anyone from spawning. How can I only keep a certain player from loading?

game.Players.PlayerAdded:Connect(function(Player)
    if Database:GetAsync(Player.UserId.."Banned") then
        -- Refuse to load character
    end
end)

2 comments

0

Why don't you just kick the player in that case?

0

I want to show them that they're banned