diff --git a/README.md b/README.md index ec18e56..0c875ce 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,8 @@ Release : https://github.com/ate47/demo_mods/releases/tag/ep1 YouTube link : https://youtu.be/-eEuGDKdN5I + +### Part 2 + +Release : https://github.com/ate47/demo_mods/releases/tag/ep2 +YouTube link : https://youtu.be/a1PYKZ9h4Y0 \ No newline at end of file diff --git a/demo/demo.gsc b/demo/demo.gsc index 8e5d915..3207c45 100644 --- a/demo/demo.gsc +++ b/demo/demo.gsc @@ -27,6 +27,19 @@ function __main__() { } function on_player_spawned() { + level endon(#"end_game", #"game_ended"); + self endon(#"disconnect", #"spawned_player"); + wait 10; - self iprintlnbold("Hello world"); -} \ No newline at end of file + + c = 0; + + while (true) { + self iprintlnbold("Hello " + c); + + c++; + + wait 1; + } +} +