I'm trying to do something where it shows off all the outfits I've had constantly. Here is the code.
while true do script.Parent.PantsTemplate = rbxassetid://2122608263 wait(1.0) script.Parent.PantsTemplate = rbxassetid://2143534779 wait(1.0) end
✓ ANSWER ACCEPTED
I'm trying to make pants change constantly, and it's not working. Help?
1 answer
✓ Accepted answer
###The problem is you didn't wrap the links in quotes, which makes them strings.
while true do
script.Parent.PantsTemplate = "rbxassetid://2122608263"
wait(1)
script.Parent.PantsTemplate = "rbxassetid://2143534779"
wait(1)
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
I tried doing the script you sent, and it didn't do anything, it just ripped the pants off the character.
You should make sure they are pants templates in the first place.
I just tried to do this, the pants didn't even change. Did the same exact thing as before.
Nevermind, thank you!