Hey guys I am creating a game when every minutes the character change apparence to another (it load random id of players), for example for 1 minute I can have the skin of haz3mn... so I have created this script but on a humanoid:
wait() local id = math.random(1,1000000000) local hum = script.Parent.Humanoid local newHumanoidDescription = game.Players:GetHumanoidDescriptionFromUserId(id) hum:ApplyDescription(newHumanoidDescription)
but the script dont change the apparance every minutes, and, I dont know how to manage this script for the player, I hope ypu can help me!
I would put it in a simple loop. You can change it to wait every 60 seconds, then change the ID again.
wait() local id = math.random(1,1000000000) local hum = script.Parent.Humanoid local newHumanoidDescription = game.Players:GetHumanoidDescriptionFromUserId(id) hum:ApplyDescription(newHumanoidDescription) while wait(60) do local id = math.random(1,1000000000) local hum = script.Parent.Humanoid local newHumanoidDescription = game.Players:GetHumanoidDescriptionFromUserId(id) hum:ApplyDescription(newHumanoidDescription) end
Hope this helps!