Billboard GUI only showing up on Mobile?

I have a script that places a billboard GUI overhead if a player is on a certain team. Now when I tested this script in studio it never worked and I was confused as to why, but then I tested my game out on mobile and the GUI was working just fine, and I could even see it above the mobile players head when I played on a different account on my computer. Any reason this could be happening?
Script: (in serverscriptservice)

local players = game:GetService(“Players”)
local ServerStorage = game:GetService(“ServerStorage”)
local Girls = ServerStorage:FindFirstChild(“GirlsOverhead”)
local Boys = ServerStorage:FindFirstChild(“BoysOverhead”)
local Teams = game:GetService(“Teams”)

players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
if player.Team == Teams.Boys then
local BoysClone = Boys:Clone()
BoysClone.Parent = character.Head
elseif player.Team == Teams.Girls then
local GirlsClone = Girls:Clone()
GirlsClone.Parent = character.Head
else

	end
	
	
end)

end)

1 Like

IDK, maybe the billboard UI is too small.

1 Like

I’ve figured it out. Apparently Roblox has a bug where if the player isn’t using the default head, then the script won’t run. Instead you have to get the head with: game.Workspace:WaitForChild(player.Name).Head

2 Likes