Another Alternative
This alternative is not a good way of kicking someone out of the game, but it solves the problem with new lines. Why not make a custom kick UI and then crash the player?
How can you make it?
It’s very simple: Firstly you display your UI that the player has been kicked, add some blur to the background so it looks closer to the roblox one and then run an infinite while loop:
while true do
end
Does it affect the device?
Practically not.
Does it have any cons?
Yes, it does. The kicked player cannot leave by themselves but has to wait till the game fully crashes.
(I will use this until Roblox adds back new lines.)