Kicking the player doesnt show the "kicking ui"

So I am showcasing a script that kicks the player out and when i press play the player gets kicked out of the game but no kicked ui.

Beta features:

  • Dragger QoL
  • Updated Roblox Controls
  • Ui Drag Detectors

There are plugins also but when I tried it without plugins (no footage) there was no difference

Script:

repeat wait() until game:IsLoaded()
game.Players.LocalPlayer:Kick()

As far as I know. This happens everytime on studio. Probably an intentional feature as well. Or maybe I am wrong?

Does the same happen when you kick via the server?

1 Like

Yes, the same thing has happened.

I see, you should list that in the original post. You should do that for any other trouble shooting method. Makes it easier for the engineers.

For example: does it work only when the player joined recently or does it happen even when the player has been in the game? Maybe it could be loading related?

The “kicking UI” in studio does not show. Instead, it logs it in the output, in which it would say “Kicked from server: (message)” or something like that.

Send us a video doing it in the roblox player or roblox app (whichever you use) or such, that will help.

Duplicate of "You've been kicked" popup does not appear when play testing

You are supposed to look for existing posts before making a new one, a Roblox employee already responded to this one.

1 Like

That’s not a bug, a client kick shows nothing but disconnects you, a server kick errors in the console “Server Kick Message: XYZ”

local function KickAndShowUI()
    game.Players.LocalPlayer:Kick("Showing UI")
end)

This works for me, try using this function i created myself

Thanks for the report! We’ll follow up when we have an update for you;

1 Like