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

How do I give an item to a certain rank? How do I make a Host Panel?

Asked by
Ixdia -2
6 years ago

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

Log in to vote
0
Answered by
Rare_tendo 3000 Moderation Voter Community Moderator
6 years ago
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
Ad

Answer this question