I have a textbox where players will type in something and then “submit” their text by pressing a button. I want to extract the text that the player types, with another script, at a certain time and put the text in a new instance string value in server storage. I have tried using the text below, but it seems that it only copies the text that was in the text section of the textbox before the player typed in their text (the compile time text if that makes sense)…
This is the code I have tried:
-- Script
game.ReplicatedStorage.RemoteFunction.OnServerInvoke = function(playerGUI, prompt)
tempPrompt.Value = prompt
end
--Local Script
game.ReplicatedStorage.RemoteFunction:InvokeServer(script.Parent.GUIS.WriteIn.TEXTINFO.Text)
Thanks!