see i asked a friend why my holo script wasn't working, and he said because on line 5 I used gidranks instead of an integer, and he said in order to fix it I would need to iterate through a table, I asked how and he never responded, so I am asking you guys, Any help would be appreciated!
Here is the script.
local admins ={"EmperorVolvax"} -- What Users(Needs to be EXACT)
local gid = 1173040 -- What group is needed
local gidranks = {255,105,104,103,102,101} -- What Ranks you want to be used
--Dont Mess with the Below --
game.Players.PlayerAdded:connect(function(Player)
if Player:GetRankInGroup(gid) == gidranks then
for _,v in pairs(admins)do
Player.Chatted:connect(function(msg)
if msg == "load sft" then
x = game.ServerStorage.sft:Clone()-- Change sft to the map in serverstorage
if game.ServerStorage.sft.Name == "sft" then
local h = Instance.new("Hint")
h.Parent = game.Workspace
h.Text = "Loading Facility:// SwordFight"
wait(2)
h:Destroy()
x.Parent = game.Workspace
end
end
end)
end
end
end)

2 comments
Dangit Blue, I wanted to give a legit answer.
Thank you!