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

Is there a way to make a character in a morph gui occupied when somebody uses it?

i have a morphgui and i want one player to be able to use the morph but i've tried many things but it doesnt work, if you can help i'd be very grateful. and when that person resets, soembody else can be the morph

2 comments

0

I don't think that is possible, as I've never seen it done before.

0

It's in many games I play

1 answer

When someone Equips/Unequips a morph --> Send a signal via RemoteEvent to Server

Use a ServerScript and a Folder in ReplicatedStorage, with each morph as a Value with a Tickbox.

When someone sends a signal to server that he wants to equip a morph then tick the value on the serverscript in the folder and when a player unequips it just untick it

and make a localscript that detects changes and disables the buttons and for antihack proof make on the serverscript a detector if the morph is already taken

REMEMBER! WHEN A PLAYER LEAVES DURING MORPHING it will stay ticked forever, you should come up with a solution for that, it's also easy.

1 comment

0

Hi i started scripting like a week ago so i dont really know what that means, can you say it a different way?

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