I'm having a bit of trouble with my admin script. I'm trying to make a shirt command that changes the players shirt. But i am getting the request failed errors. The solution would be subtracting the id until it works.
But the problem is.. How do i know if it works in a script? How does the script know if it should keep subtracting or keep the current id?
This is all i have so far
Target.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=" .. id
ID is the parameter included with the command and target is the target that the player (the admin) is targetting.
(I've already found the target, done the admin check and checked that the target isn't nil)
Please help me.
-ScrappyHaxor