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
Is there a way to make a character in a morph gui occupied when somebody uses it?
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
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.

2 comments
I don't think that is possible, as I've never seen it done before.
It's in many games I play