Facebook
From Pokeccc, 1 Month ago, written in Lua.
Embed
Download Paste or View Raw
Hits: 220
  1. -- Configuration
  2. local gameTitle = "My Little Pony: Magic Princess"
  3. local gameVersion = "1.0"
  4. local gameAuthor = "YourName"
  5.  
  6. -- Game variables
  7. local playerName = ""
  8. local playerScore = 0
  9. local playerLevel = 1
  10. local playerHealth = 100
  11. local playerMaxHealth = 100
  12. local playerMana = 100
  13. local playerMaxMana = 100
  14. local playerAttack = 10
  15. local playerDefense = 5
  16. local playerGold = 0
  17.  
  18. -- Game functions
  19. function startGame()
  20.     playerName = gameguardians.modMenu.getInput("Enter your name:")
  21.     gameguardians.modMenu.print("Welcome, " .. playerName .. "! Let's begin your adventure in the magical world of Equestria!")
  22.     gameguardians.modMenu.print("Press Enter to continue...")
  23.     gameguardians.modMenu.wait