while true do
wait(.1)
script.Parent.SurfaceGui["Rank:"].Tag.text = script.Parent.Parent.Name
script.Parent.SurfaceGui["Regiment:"].Tag.text = script.Parent.Parent.Parent.Name
end
✓ ANSWER ACCEPTED
Cant get script to work that takes information from parts stated and adds them to a GUI?
1 answer
✓ Accepted answer
That is some funky naming you got there, but your problem is most likely that you didn't capitalize 'text'.
script.Parent.SurfaceGui["Rank:"].Tag.Text = script.Parent.Parent.Name
script.Parent.SurfaceGui["Regiment:"].Tag.Text = script.Parent.Parent.Parent.Name
This discussion is preserved as it was. New answers, comments, and votes are closed.
