This is a serverscript in Workspace, I dont get an error.
game.Players.PlayerAdded:connect(function(player)
if player.Character then
print(player.Character.Head.Transparency)
end
end)
This is a serverscript in Workspace, I dont get an error.
game.Players.PlayerAdded:connect(function(player)
if player.Character then
print(player.Character.Head.Transparency)
end
end)
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function()
print(player.Character.Head.Transparency)
end)
end)
Try this, It should work
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
I am getting a similar error, I have an if statement followed by 3-4 else-ifs, and none of the elseifs run, no errors in output either.