Going live Oct 1· Follow us on YouTube for the beta test· Beta test on YouTube
← All scripts
Trick or Treat Night — Halloween Event for FiveM (Qbox / QBCore)

Watch the video on YouTube

Porch lights on. Grab a bucket. Hope for the full-size bar.

Halloween trick-or-treating for your city. Players buy a candy bucket at the pumpkin stand, walk a neighborhood after dark and knock on doors with the porch light on. Most homeowners hand out candy, some play a trick, and now and then someone gives out a full-size bar. Candy trades in for cash or prizes, and a leaderboard keeps score for the season. It switches itself on in October and off after Halloween, so you can leave it installed.

HOW IT PLAYS

  • Buy a candy bucket at the pumpkin stand. Houses taking part light up: a warm porch light, a pumpkin on the step and a blip on the map.
  • Walk up to a lit door after dark and press E to knock.
  • The homeowner opens up. A treat (1 to 3 candy), a full-size bar, a trick (a jumpscare, or you get egged), or nobody is home.
  • Each house answers you once a night, so you keep moving down the street.
  • Everyone nearby sees the same homeowner do the same thing.
  • Back at the stand, sell candy and bars, swap candy for prizes, and check the season leaderboard.

FOR SERVER OWNERS

  • Every outcome is rolled on the server. The client only says which door it is standing at, and the server checks the player is really there.
  • Per-character cooldowns per house, plus a limit on how often a house answers anyone, so nobody farms one door.
  • 10 Mirror Park houses set up and checked in game. Add more in game: stand on a front step facing the door and type /trickortreat adddoor (adddoor rich for better odds). No coordinates to copy.
  • Season dates, night hours, odds, cooldowns, prices, prizes and every line of text are in config.lua, which stays open.
  • Prizes are your own ox_inventory items. Ones that are not registered are hidden.
  • Light when idle: the draw loop only runs near a lit porch at night while you carry a bucket.
  • No MLO or streamed assets. Three items to add, with icons included.

Requires: qbx_core or qb-core, ox_lib, ox_inventory and oxmysql.

Delivered to your Cfx.re Keymaster right after purchase.

Framework: Qbox / QBCore | Version: v1.0.0