1 | local Cut = game.Workspace.CutsceneScript |
2 | local player = game.Workspace.HELP ME HERE.Humandroid |
3 |
4 | Cut.Disabled = true |
5 | if player health is down to 0 |
6 | the cutscene will never appear again |
7 | end |
I was making something with the cutscene thing. There is a script called "CutsceneScript" which is disabled. When the player enter's the game, the cutscene show's. When the player die's, the cutscene must be disabled. How do I do this?
Seems you have a few error's. Stand me if I am not correct. Place it in a localscript and do the following.
1 | local Cut = game.Workspace.CutsceneScript |
2 | local player = game.Players.LocalPlayer.Character.Humanoid |
3 |
4 | Cut.Disabled = true |
5 | if player.Health = = 0 then |
6 | -- Place your code here |
7 | end ) |
8 | end |