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

Making a custom model morph gui?

Asked by 8 years ago

I want to make a GUI that morphs a player into a model once clicked, and revert back to the player when a certain amount of time has passed. How would I go about this?

1 answer

Log in to vote
0
Answered by
Decemus 141
8 years ago

For this, I won't give you the exact code of how to do this, but I'll tell you how to do it. It might not be the most efficient way, but it's better than nothing. In order to morph someone, I would suggest making the morph separated from head, torso, arms and legs, and then weld each of the parts inside of them to the corresponding body limb. Make all limbs invisible. If you want exact weld measurements, I would suggest looking at Morph GUI FMs. For the certain time of when it's passed, I would suggest calling a value and doing something like;

local time = 0
local target = 234 -- some time here
repeat
wait(1)
time = time + 1
until time == target

After that, just delete the morph and make the limbs visible again. As I said before, this might not be the most efficient way, but it's better than nothing.

Ad

Answer this question