Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

Changable Text Script Help?

Asked by 8 years ago

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.

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. Legojoker 345 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago
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)
Ad

Answer this question