Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to morph my avatar into a decal?

Hello!

I have some Decals ID but I don't know how to morph into them.

Can someone help me?

Thank's.

1 answer

What I believe you're looking for is this:

http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=UserNameOfPlayer

This is the Id that displays the character's appearance on any texture by username. UserNameOfPlayer stands for the player's username, of course.

game.Players.PlayerAdded:connect(function(plyr) --Player joined
	Decal.Texture = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..plyr.Name --Changes the decal's texture to the player's character appearance
end)

In test mode, this will display as a default character since you are playing as "Player1" in offline mode, but it will work in the real game online.

Click "Accept Answer" if this was the answer you were looking for! Comment if you have any more concerns!

1 comment

0

That's not really what I'm looking for x), I will explain better : I want to morph into a decal (Bill Cipher) but I don't know how to morph into it,

This discussion is preserved as it was. New answers, comments, and votes are closed.