--Make sure players stay banned.

	
local DataStore = game:GetService("DataStoreService"):GetDataStore("motfAdminPanel")
function checkBan(player)	
	
	local Reason = DataStore:GetAsync(string.lower(player.Name))
	
	if Reason == nil or Reason == 0 then
		return
	end
	
	wait(1)
	if Reason == 1 then
		player:Kick("You are banned")
	else
		player:Kick("You are banned for the following reason: " .. Reason)
	end
end

game.Players.PlayerAdded:connect(checkBan)
