Deathcam not showing up after death

I tried to make a deathcam after death.
Here is what I made:

Pic

It should appear just like this:

It flashes and spins.

Idk why it doesn’t appear after death.
Can you guys know what mistake I made?

1 Like

Why are you using a viewport frame for it, and not just a normal frame?

Also, you should do local Character = player.Character or player.CharacterAdded:Wait().

In addition to that, remove the if humanoid then as it’ll be there.

If this doesn’t work, try adding a wait to the begining of your script.

1 Like

Haha it just worked. I didn’t know that the code in roblox studio wikia is wrong.

I actually Copied the code of the first five line. XD

1 Like

How about the second death?
It doesn’t work when second death happens.

1 Like

Just remove the if humanoid then statement and you’ll be set.

1 Like

uh I tried NOPE!

Same result.

I just saw a video by Eppobot.
It is also a deathscreen tutorial.
I think it could help me

1 Like

aw man…
I tried his video but it has the result.
idk how to solve the problem.

It doesn’t print OOF after the second death.

1 Like

Maybe I checked the reset on spawn, so it won’t work.

1 Like

It just worked when I check both screengui’s reset on respawn.
That was weird.

2 Likes