I have a problem in my script, but before we get to it this is my script
--Locals
game.ReplicatedStorage.RemoteEvents.GUIRemote.OnServerEvent:Connect(function()
local players = game.Players.LocalPlayer
local Billboard = game.ReplicatedStorage.BillboardGui
local Rank = players:GetRoleInGroup(889994)
local Division = players:GetRoleInGroup(889994) -- Not yet decided
local Division2 = players:GetRoleInGroup(797574)
local Division3 = players:GetRoleInGroup(889994) -- Not yet decided
local Division4 = players:GetRoleInGroup(889994) -- Not yet decided
local DivisionTable = {Division,Division2,Division3,Division4}
print("Hi")
--GUI
players.TeamColor = BrickColor.new("Really black")
players:LoadCharacter()
local Clone = Billboard:Clone()
Clone.TextLabel.Text = ("Rank:"..Rank)
Clone.Parent = game.Workspace:FindFirstChild(players.Name).Head
--A pairs loop to check for Geust
for i,v in pairs (DivisionTable)do
print("Hi")
if v == "Geust" then
table.remove(DivisionTable,v)
else
end
end
--Now that we have removed the incompatible ones, we will put the billboard above 2
local Clone2 = Billboard:Clone()
Clone2.StudsOffset = (Vector3.new(0,2.5,0))
Clone2.TextLabel.Text = ("Division:"..DivisionTable)
Clone2.Parent = game.Workspace:FindFirstChild(players.Name).Head
end)
The error responds with
17:20:27.030 - ServerScriptService.Script:37: attempt to concatenate local 'DivisionTable' (a table value) 17:20:27.030 - Stack Begin 17:20:27.030 - Script 'ServerScriptService.Script', Line 37 17:20:27.031 - Stack End
Im so confused why I can't use a table, Im trying to make a overhead GUI and it includes a Division Part/GUI (See the last part of the script) Anyone can tell me how to use tables in the correct way for this to work?

2 comments
Couldn't you also unpack the table as well. but yeah concat is easier
I think this is well answered thanks!