It doesnt print 9 and 10 because theyre both in the if statement, if the groupnumber is 2 or 3.
OH whoops haha I completely forgot about that.
Yea I am really confused as well why it’s not working. Because the original script I posted was working perfectly fine 3 weeks ago but now when I want to use it again it’s not working unless it’s the child of a default head
I might try to figure out where I can send a bug report so that it’ll be seen since I’m not a regular who’s able to post in #bug-reports
Oh wow. Yea, I really have no idea. I might be doing something wrong.
I took a little break from studio and then had the idea to just parent the billboard GUI to the character as a whole and not a specific body part. Hopefully it won’t cause problems later down the line
Since a lot of pepole are confused. I saw @CitralSushi tagging my post on here so ill explain a bit this issue. If a player has a different head than the normal head (like cheeks, man head, woman head) it wont parent the overhead to the character’s head.
just add wait() before u clone the overhead.
if needed I can make a post to help out all the developers out there since this is a new update that messed up everyone’s overhead.
I forgot to add, when I say add “wait()” before u clone the overhead I mean like this.
How do you have the script set up? Is it a billboard gui that gets cloned to characters’ heads? If so, I’d put the wait() one line above where a :Clone() is.
game:GetService("Players").PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local Humanoid = Character:WaitForChild("Humanoid")
local Head = Character:WaitForChild("Head")
local Role = "Visitor"
pcall(function()
Role = Player:GetRoleInGroup(GroupId)
end)
wait()
local CloneGui = OverheadGui:Clone()