Roblox database help

So basically I made a text box and then a button that supposedly saves whatever is in the textbox to the game server and kicks the player. everyone is able to see what is saved on the game server (what they inputted into the text box) . how would i do something like this?

Use a remote event, pass in the text. Use :SetAsync(), then player:Kick()

nevermind, I decided to use http service post async and get async. thanks tho