Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Any way to make this work?

game.Workspace.Player.Head.Transparency = 1

1 answer

✓ Accepted answer

You wasn't SPECIFIC so it doesn't A) Make their heads permanently transparent B) Fires only when you use _G.NoHeadPlayers() in ANY script C) Doesn't work as soon as you join because the game objects are still loading D) Does it to ALL players

_G["NoHeadPlayers"] = function()
	for i, v in pairs(game.Players:GetPlayers()) do
		local head = v.Character:findFirstChild("Head")
		if head then
			head.Transparency = 1
		end
		wait()
	end
end

-- USE    _G.NoHeadPlayers() IN ANY SCRIPT TO CALL THE FUNCTION

5 comments

0

All players

0

do you want it to be like permanent or something?

0

be SPECIFIC of when you want it to fire

0

To make everyone's head invisible.

0

Remember, if this is a normal (server) script, you won't be able to fire it from a LocalScript. Global Values work on both script types, but you can't manipulate one from the other.

This discussion is preserved as it was. New answers, comments, and votes are closed.