Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Kicking on playeradded errors default scrip?ts

Asked by 4 years ago
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")'

0
Try putting it in a local script. This has to be a roblox issue. JesseSong 3916 — 4y
0
it might be doing this because you are kicking the player before roblox scripts can do stuff if you want to avoid that mabe try a wait before kicking tylergoatboy 82 — 4y
0
in a localscript it works no error but server script EasyNameToMemorize 35 — 4y

1 answer

Log in to vote
0
Answered by
AspectW 431 Moderation Voter
4 years ago
Edited 4 years ago

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?

Ad

Answer this question