I want there to be a deathscreen when the player dies and it works fine in studio but does not show up in the actual game.
game.Players.LocalPlayer.Character:WaitForChild("Humanoid").Died:Connect(function()
script.Parent.Visible = true
end)
I want there to be a deathscreen when the player dies and it works fine in studio but does not show up in the actual game.
game.Players.LocalPlayer.Character:WaitForChild("Humanoid").Died:Connect(function()
script.Parent.Visible = true
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
Are you using a LocalScript?
yes
https://scriptinghelpers.org/blog/it-works-in-studio-but-not-online