GUI String help

local groupId = 5774015 

game.Players.PlayerAdded:Connect(function(Player)
	Player.CharacterAdded:Connect(function(Character)
		local GuiClone = script.OverheadGUI:Clone()
		GuiClone.Parent = Character.Head
		
		local InformationLabel = GuiClone.InformationLabel
		
		local PlayerRank = Player:GetRoleInGroup(groupId)
		InformationLabel.Text = Player.Name .. " - " .. PlayerRank
	end)
end)

How do I make a new line? I want to do Player.Name(new line) PlayerRank but I made it - until I find an answer

use

InformationLabel.Text = Player.Name .. "\n" .. PlayerRank
1 Like