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 give an item to a certain rank? How do I make a Host Panel?

1# So as you may have seen on Hilton Hotels Training Center is that the host has a key card. I have asked plenty of people on how to do that, they have no clue. What I am asking is how do you assign a certain item to a certain rank in a group?

#2 If you have played Roblox got talent they have a host spot. When you get in the host spot a Host panel pops up. It spawns in maps. How do I do that but for a certain rank so when that rank gets in they have a host GUI that helps spawn maps?

1 answer

local player = game.Players.LocalPlayer
local groupId = (Group id here)
local rank = (Rank number here)
local example = (This is just an example, let's say this item is in RepStorage)

wait()

if player:IsInGroup(groupid) then
      if player:GetRankInGroup(groupId) == rank then
            example:Clone().Parent = player.Backpack
      end
end

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