What do you want to achieve?
I have a working script that goes through the player’s head and disables billboard tags (for only you) I made so that when you’re in first person you can’t see them when you run. Tags are auto-assigned in another script which works perfectly fine. (Yes the game is locked in first person)
What is the issue?
So for some unknown reason. This script doesn’t seem to work for my alternate accounts (for testing and whatnot) but it works with my friend’s account, others and mine perfectly fine. Why is this happening? Also the output prints “Got Var” but doesn’t print “Connected” like the other accounts. (There are also no errors with the alt accounts.) It’s like the :Connect(function() doesn’t connect.
What solutions have you tried so far?
I have rewrote the script several times and it still won’t work for those accounts but will for others. No one has had this issue as far as I’m aware. Now I don’t really care since these accounts are for “Testing” purposes but I do want to know why this happens, if anyone knows why then I would love to know.
I also gave these alternate accounts perms to edit the game so I could see if it worked in studio and sure enough it did. With both of them! but in the app, it doesn’t seem to work.
Here’s the script. You can use it if you want (this goes into starter character scripts)
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local head = character:WaitForChild('Head')
print("Got Var")
head:GetPropertyChangedSignal('LocalTransparencyModifier'):Connect(function()
print("Connected")
if head.LocalTransparencyModifier == 1 then
task.wait(6)
--Tags/GroupMember--
if head:FindFirstChild("Tags") then
head.Tags.Enabled = false
print("DISABLED TAGS")
else
print("Cant Find Tags")
end
--DevIcon--
if head:FindFirstChild("DevTag") then
head.DevTag.Enabled = false
print("DISABLED DEV ICON")
else
print("Cant Find Dev Icon")
end
--TesterTag--
if head:FindFirstChild("TesterTag") then
head.TesterTag.Enabled = false
print("DISABLED TESTER ICON")
else
print("Cant Find Tester Icon")
end
--SpecialMember--
if head:FindFirstChild("Spec") then
head.Spec.Enabled = false
print("DISABLED SPECIAL ICON")
else
print("Cant Find Spec Icon")
end
else
print("Cant Find Special Icon")
end
print("Finished")
end)