Death Counter

Share and discuss custom LunaLua code and content packs for SMBX2.
LooKiCH
Dolphin
Dolphin
Posts: 97
Joined: Tue Jun 13, 2017 11:28 am
Pronouns: he/him
Contact:

Death Counter

Postby LooKiCH » Mon Sep 19, 2022 6:52 pm

This script reads the number of deaths in an episode/level. If you are on the world map, or you are in the hub, then the number of total deaths in the episode will be displayed. But if you are in the level, then the number of deaths in level will be displayed

SCREENSHOT: show
Image

DOWNLOAD

how to use: show
create file luna.lua and map.lua (if it's an episode) and paste it into both files:

Code: Select all

require("deaths")
P. S. if you want the script to work in all episodes and levels, save the contents of the archive to the "scripts" folder and in the "lunabase.lua" file in the "scripts/base/game" folder you load the library

Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest