(This is about the updated version of the resource)
Need a death screen for your game but too lazy to make it? If your answer is yes, then this one might be for you… or not.
This module provides you everything you need for a basic death screen. You can also build on top of the structure and adjust it to work with your game.
This is how you can get it to work:
-- In a local script
local deathScreenM = game.ReplicatedStorage.DeathScreenModule
local player = game.Players.LocalPlayer
local image = "ImageId" -- new version includes this
local messages = {
"Wake up";
"You are not dead, this is just your dream";
}
deathScreenM:Start(player,messages,image) --> the targeted player, a table with messages (optional), image Id (optional)
-- There might be issues in the code here lol
You can even access the setting options from scripts. This means you can have different screens for different situations!
I think some horror game developers would unironically use this if it was done properly. As I said, you should focus on the ability to customise and improve code, using the Task Scheduler (aka task.wait()) or just use events instead of waits, using variables and have a readable source code. Once someone owns your module, they can edit it at their willing. Except if they can’t read the code, no way to do so.
Quitting already? This isn’t that bad of a resource. Again, someone will probably use it, so at least do what we said.
Hello, I saw your script and, while there were some small mistakes, it was not horrible by any means. However, it is indeed hard to edit due to the script-created assets instead of pre-made ones. I decided to remake it. While the functionality is the same, with a few exceptions, I made some changes. Feel free to check it out to see how I handled it.
Keep in mind that not everyone starts out decent on scripting it is us who improve upon our knowledge. I hope this helps you