if script.Parent.TextLabel.Text == "Lunch" then
workspace.ArrestLocations.ArrestArea.Name = "yomama"
else
workspace.ArrestLocations.ArrestArea.Name = "ArrestArea"
end```
i've tried all sorts of different ways to rewrite this, i have tried setting a value to the text i want, and setting the name to that value, but im still unlucky in finding a way to do this... its probably super simple, but i'm an idiot so 💀
#how can i change a parts name twice in a single run?
14 messages · Page 1 of 1 (latest)
wdym setting it twice in a single run? like a delay between both of them?
like, i want the parts name to be "Hello" then do wait(5), and it turn into "Bye"
example)
this was the old one i made
i updated it to something else but nothing seems to work
part.Name = "Hello"
task.wait(5)
part.Name = "Bye"
```?