I am trying to make a ban GUI where moderators can ban players but the player doesn't get kicked.
-- local script while true do wait(1) game.ReplicatedStorage.Remotes.RequestData:FireServer() end
-- server script game.ReplicatedStorage.Remotes.ban.OnServerEvent:Connect(function(player) game.ServerStorage[player.Name].NotBanned.Value = false end)
-- other server script game.ReplicatedStorage.Remotes.RequestData.OnServerEvent:Connect(function(player) if game.ServerStorage[player.Name].NotBanned == false then player:Kick('Banned') end end)