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

How do i make a role giver that opens a GUI? [closed]

Asked by 4 years ago

I want to make a script that gives you a role like "Inoccent" or "Murderer" then each role opens a dffrent GUI. Please answer.

2
Not a request site voidofdeathfire 148 — 4y

Closed as Not Constructive by NiniBlackJackQc, Torren_Mr, WideSteal321, and User#5423

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 4 years ago

I won't make the code for you, but you seem like a newbie so I'll help you out a little bit.

Firstly, you need to make a server script that chooses a random player to be "Innocent" and a random player to be "Murderer".

Then, you have to use Remote Events to tell the localscript handling the GUI if the local player is "Innocent" or "Murderer" and then have it display the respective GUI.

Ad