Ad
Log in to vote
0

Can you kick people through dialogue?

Asked by 4 years ago

Please provide more explanation in your question. If you explain exactly what you are trying to accomplish, it will be much easier to answer your question correctly.

For my game I want to kick people through dialogue depending on what choice they choose but I don't know how is it possible?

0
It's possible. By 'dialogue' I assume you're talking about the chat bubbles on an NPC (I haven't used this in ages)? If so, when they click the chat bubble, you are returned the player object in the event. With that player object, you could kick them. Shawnyg 4330 — 4y

1 answer

Log in to vote
0
Answered by
GingeyLol 338 Moderation Voter
4 years ago
script.Parent.DialogChoiceSelected:Connect(function(player,choice)
if choice.Name == "yes" then
player:Kick()
end
end)
0
where do i put this? kingofpronoobs 0 — 4y
Ad

Answer this question