Hiding Overhead GUI's

I’m in need of help with this script. I’ve been having troubles hiding the Overhead GUI to ALL players. Recently this script has been only hiding the Local player or IG you can say just yourself. I tried making it a normal Script but that didn’t work either.

It works perfectly fine, rather than the part it is only turning on and off your own Overhead GUI when the purpose of the script is meant to turn off every overhead rank GUI.

Script :

--Making them not visible.
	for i,v in pairs(game.Players:GetPlayers()) do --Looping through every player
		local character = v.Character -- Getting players character
		local head = character.Head -- Getting head
		head.VIPOverheadGui.Enabled = false -- Disabling the Billboardgui
		head.OverheadGui.Enabled = false -- Enabling the Billboardgui
	end

Heres An Image Of How I have it layed out :

2 Likes

Use a Remote Event to tell everyone else in the server you are making your overhead gui visible/not visible

2 Likes

How are you putting the overhead gui in the character’s head?

1 Like

overhead thing

Exactly like this.

1 Like

Ok, this may not be the only issue, but when a character respawns it’s not going to “remember” that the gui is disabled. So if you disable everyone’s overhead, then one of them respawns, the overhead will be enabled again.

2 Likes

Okay could you possibly help me out a bit, I mean no joke need lots of help with this. Not very experienced?

Im understanding right now :

Need to create one or two events indicting On or Off GUI’s
Then need to toggle them every time.

1 Like