game.Players.PlayerAdded:Connect(function(p) p:Kick() end)
I noticed that Kicking on player added errors a lot of scripts
Scripts that I haven't even wrote
default roblox scripts like
PlayerGui:GetTopbarTransparency should only be accessed from a local script.
Infinite yield possible on 'YourMom:WaitForChild("PlayerScripts")'
Your code looks fine, i'd guess the errors are on Roblox's side. Do those errors still occur if you disable/remove your playeradded script?