Why doesnt it print new textbox text

when i change the text on the textbox while playing and fire the remote event it says “script here” which is default text but i want it to print the changed text

local remote = script.Parent

remote.OnServerEvent:Connect(function(plr)
	print(script.Parent.Parent.Parent.Input.Text)
end)

The text on the textbox is only changing on the client, not the server, so the server just sees the default text. If you want the text on the textbox, send it through the remote event.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.