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

Question about CoreGui Capabilites?

Asked by 4 years ago
Edited 4 years ago

How do I send a message that looks like this? Screenshot of the Message I want it to look something similar to that, is there anyway to do that?

0
Is this to all players or one specific player? ZZombieSlasher15 0 — 4y

2 answers

Log in to vote
0
Answered by
karlo_tr10 1233 Moderation Voter
4 years ago
Edited 4 years ago

In example you provided kick function is used, Player:Kick(reason) function has an optional reason argument that will be displayed when kicking players.

Ad
Log in to vote
0
Answered by 4 years ago

As karlo said, the method Player:Kick(reason) was used. This can be added on to any existing code as follows:

-- This will kick the local player as soon as the game starts.

player = game.Players.LocalPlayer -- assuming this is in a local script

player:Kick("test")

Answer this question