So, I have a textbox, and a textbutton. I want it so that when you type in the name of a player in the textbox, then click the textbutton, it kicks the player you typed in.. but I'm quite stumped. Any help? I'm not sure how to return what's typed in, to kick that player from game.Players.
I suppose you could consider this asking for help without having code.. but there's not much code for me to include other than defining variables:
local playerwk = game.Players.LocalPlayer -- player who kicked (to log that they kicked someone in a hint)
local offender = script.Parent.Parent.Offender -- textbox, the offender that you're trying to kick
function kickplr()
end

1 comment
Cmon! I'm trying to get reputation too!