Im doing code where i make the text the name of the parts parent like
while true do
wait(1)
if script.Parent.Parent.Parent.Parent.Name == "Workspace" then
script.Parent.TextLabel.Text = "Wait"
else
script.Parent.Text = script.Parent.Parent.Parent.Name
print("Changed")
end
end
But when i change the parts parent manually the text doesent change. how can i make it so it "Refreshes"
