I created a shooter called Invisible Targets, and so far most of it works, the catch of the game is that everyone is invisible basically I decided to create a cosmetic detail / feedback that on death, the already invisible player becomes visible.
This was the code I created but I can't seem to understand how to make things work
larm = script.Parent:findFirstChild("Left Arm")
rarm = script.Parent:findFirstChild("Right Arm")
head = script.Parent:findFirstChild("Head")
torso = script.Parent:findFirstChild("Torso")
lleg = script.Parent:findFirstChild("Left Leg")
rleg = script.Parent:findFirstChild("Right Leg")
function OnDeath()
print("test")
wait(.000001)
larm.Transparency = 0
rarm.Transparency = 0
head.Transparency = 0
torso.Transparency = 0
lleg.Transparency = 0
rleg.Transparency = 0
end

3 comments
Sorry but it gave me an error: W003: Global 'PlayerDied' is only used in an enclosing function; consider changing it to local
Oh gosh, I made a typo. :conenct(playerDied) should be :connect(playerDied)
It's not that, I fixed that myself, The first playerDied is underlined in blue, and it says what I put up there.