Hey everyone, here is the script that I can get to work in Play Solo test mode but not in the game.
local Seat = script.Parent.Parent
local Controls = Seat.Parent
local Model = Controls.Parent:GetChildren()
local Gui = Seat.Guis.TextGui
Gui.Frame.TextBox.Changed:connect(function(prop)
if prop == "Text" then
for i, v in pairs(Model) do
if v.Name == "CenterCar" or v.Name == "RearCar" then
v.TxtVal.Value = (Gui.Frame.TextBox.Text)
end
end
end
end)
The part of the script that's giving me the issue is the last paragraph. In-game, when the textbox changes, the v.TxtVal.Value won't change. It works in studio, though. I have a feeling it has to do with filtering, but I'm not sure. Can anyone think of a fix?

4 comments
Is it a Local Script or a Server Script? If it is a Server Script try changing it to a Local Script.
Also here's a tip don't use the play button in studio instad use the local server to test.
we would need to know where the script is placed and what kind of script it is to help you
Okay guys. I took tawk1215's advice and used a local script. It helped me get halfway there. It got the values to be set to the right text, but now I can't get the changed event to fire in server test when that value is changed by this script. I posted the issue in a different thread.