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

How do I make an RP Job selector?

It's kinda hard for me to make it though I usually have a gui which just doesn't have working buttons.

1 comment

0

Some tips, in order to experienced developers to be interested about your question, try making it more detailed. What have you already tried and where have you searched for help. These basic things, right now, I would just skip to another question, like, nothing interesting here, sorry.

2 answers

once u need 1.GUI 2.ServerEvent?

here is a epic tip

local plr = script.Parent.Parent.Parent.Parent

that it

If you are doing it in teams then when a player selects a job, it will set the player to the team.

so

local SetTeam = function(plr,name)
	plr.TeamColor = game.Teams:FindFirstChild(name).TeamColor
end

button.MouseButton1Click:connect(function()
	SetTeam(game.Players.LocalPlayer, button.Name)
end)

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