Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to morph my avatar into a decal?

Asked by
Pyrhax 0
6 years ago

Hello!

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

Can someone help me?

Thank's.

1 answer

Log in to vote
0
Answered by 6 years ago

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!

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, Pyrhax 0 — 6y
Ad

Answer this question