Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Changable Text Script Help?

bin = script.Parent t = script.Parent.Parent.Dest t2 = script.Parent.Parent.Parent.Routes.Route1.SurfaceGui.Frame1.Local

function Clicked() t2.Text = t.Text end bin.MouseButton1Down:connect(Clicked)

This script doesn't work. Routes is a grouped model, while Dest is a TextBox in the SurfaceGui called SettingsGui, which is in a VehicleSeat.

1 comment

0

Personally I prefer to see the workspace instead of someone explaining it. It's difficult to read, similar to how one could get confused when someone states a large math problem with several quantities.

1 answer

bin = script.Parent 
t = script.Parent.Parent.Dest 
t2 = script.Parent.Parent.Parent.Routes.Route1.SurfaceGui.Frame1.Local

function Clicked() 
t2.Text = t.Text 
end 
bin.MouseButton1Down:connect(Clicked)

This discussion is preserved as it was. New answers, comments, and votes are closed.