for some reason it always gives me an error of "nil" even though there is text?
local Redeeming = tostring(UI.Codes.Preview.Preview.Code.Text)
if Redeeming ~= nil then
UI.Codes.Preview.Preview.Code.Text = ServerNetwork:InvokeServer("RedeemCode", Redeeming)
wait(1)
UI.Codes.Preview.Preview.Code.Text = ""

4 comments
line?
line 3
Please be tell us more. What are you trying to do at line 3?
Can you please show us the server script please? you need to give us all the context.