Hello, I know the title is confusing but I am trying to make a label display a text.
Error: "18:12:47.627 - Players.iiLevelMaker.PlayerGui.HUD.Frame.Level.LocalScript:10: attempt to concatenate field 'Team' (a userdata value)"
Script:
local player = game.Players.LocalPlayer
local gui = player:WaitForChild("PlayerGui"):WaitForChild("HUD")
local label = gui:WaitForChild("Frame").Level
game.Players.PlayerAdded:connect(function()
label.Text = "Level: "..player.Team
end)
game:GetService("RunService").RenderStepped:connect(function()
label.Text = "Level: "..player.Team
end)
I tried doing player.Team.Value and player.Team.Text but neither works. Help me!
