[FREE] FiveTrolls

FiveTrolls – The Ultimate Fun Script to Prank Your Friends in FiveM!

Want to spice up your FiveM server with some playful chaos? FiveTrolls is a light-hearted script designed for harmless fun and pranks. Whether you’re looking to mess with a friend or surprise the whole server, this script gives you the perfect tools to keep everyone guessing and laughing.

Features:

  • /restrictspeed [id]: Slow down your target by restricting their speed. Don’t provide an ID? You’ll restrict everyone’s speed on the server!
  • /blowup [id]: Play a bomb-timer sound that ends with a real explosion. Your friend won’t see it coming—until it’s too late!
  • /playsound [id]: The same bomb-timer sound as /blowup, but this time it’s just a prank! Watch your friend brace for impact… only for nothing to happen.
  • /ragdoll [id]: Make your friends ragdoll out of nowhere and watch as they hilariously flop around the map.
  • /kill [id]: End it all with a quick command. One moment they’re standing, the next they’ve been wiped out.
  • /mw [id]: Spawn two (configurable) squads of angry Merryweather mercenaries to chase your friend. They won’t be able to outrun this crew!

Planned Features:

  • /yeet [id]: Launch your friends high into the air. Gravity? Who needs it!
  • /transform [id]: Ever feel like your friends are acting like clowns? Now, you can literally turn them into one. Honk honk!
  • /haunt [id]: Unleash an army of clowns to chase down your friends. They won’t hurt you—they just want to point and laugh!

Why Choose FiveTrolls?

With FiveTrolls, it’s all about having a good time with your friends. Whether you’re creating moments of panic with a fake bomb timer, or summoning Merryweather to hunt someone down, this script is designed for fun, harmless pranks that will leave everyone laughing.

Bring a little mischief to your server with FiveTrolls—because gaming with friends is always better with a little chaos!

All these commands can be used through server console too!

Installation

Step 1: Download and Add the Resource to Your Server

  1. Download the resource from the GitHub release.
  2. Extract the folder and place it inside your server’s resources directory.

Step 2: Add to Your server.cfg

  1. Open your server.cfg file.
  2. Add the following line to ensure the resource starts when the server starts:
ensure FiveTrolls

Step 3: (Optional) Install Badger_Discord_API

If you want to allow command execution via Discord Role IDs, you’ll need to install Badger_Discord_API:

  1. Download Badger_Discord_API from the official repository.
  2. Add Badger_Discord_API to your server’s resources directory.
  3. Ensure Badger_Discord_API is started before your resource by adding these lines to your server.cfg:
ensure Badger_Discord_API
ensure FiveTrolls

Important: Make sure Badger_Discord_API is started before FiveTrolls. If Badger_Discord_API is not installed or not running before FiveTrolls, the commands using Role IDs will not function correctly.

Note: If you do not want to use Role IDs, leave the AdminRoleID in the config file as "CHANGE_ME" or empty, and only the AdminUserID will be used for command permissions.

Configuration

Step 4: Edit the config.lua File

Config = {
    -- Discord User ID for the person who can execute all commands
    -- Find your Discord User ID and replace the value below
    AdminUserID = "518911871412076547",

    -- Discord Role ID for players allowed to execute commands (requires Badger_Discord_API)
    -- If you're using Role IDs for permissions, replace the value below
    -- If you are not using Badger_Discord_API, leave as "CHANGE_ME" or empty
    AdminRoleID = "CHANGE_ME",

    -- Maximum speed limit for /restrictspeed (converted to meters per second)
    MaxSpeed = 30.0,

    -- Timer for the delay before the bomb explodes when using /blowup (in milliseconds)
    Timer = 1500,

    -- Name that will appear as the sender for admin notifications in chat
    NotificationAuthor = "[MrRedDev]",

    -- Message displayed when a player's speed is restricted
    SpeedLimiterText = "MrRedDev:\nGot yo ass 🤣\nSlow ass grandma 🐌",

    -- Number of Merryweather squad cars that spawn for the /mw command
    MerryweatherSquads = 2
}

Step 5: Customize the Values

  • AdminUserID: This is your Discord User ID and allows you to execute all commands. Replace "518911871412076547" with your actual Discord User ID. To find your Discord User ID:

    1. Enable Developer Mode in Discord.
    2. Right-click your name and click “Copy ID”.
  • AdminRoleID: If you want to allow players with a specific Discord Role ID to execute commands, set the AdminRoleID to the relevant role’s ID. You will need Badger_Discord_API installed for this to work. Leave this field as "CHANGE_ME" or empty if you don’t want to use Role IDs.

  • MaxSpeed: Define the speed limit for the /restrictspeed command (in meters per second). The example is set to 30.0 meters per second (approximately 67 mph).

  • Timer: This controls the delay (in milliseconds) before the bomb explodes when using /blowup.

  • NotificationAuthor: Set the name that will appear in the chat as the sender of admin notifications.

  • SpeedLimiterText: Customize the message that is sent when a player’s speed is restricted. You can use emojis and \n for new lines.

  • MerryweatherSquads: Define how many Merryweather squad cars are spawned for the /mw command.

:inbox_tray: (Free) FiveTrolls

:open_file_folder: GitHub

Changelogs:

Version 1.0.6

  • Added Discord Role ID integration (You will need to download Badger_Discord_API and configure it for that to work properly,

  • Added version checker in server console to notify if the resource is outdated,

  • Re-wrote the admin authentication to run at login rather than at command execution,

  • FiveTrolls will now display in the server console if you have access to the commands or not,

  • Added in-game chat suggestions for the commands to help explain how to use each one.

Version 1.0.5

  • Added /mw command, number of squads that can be spawned can be set in config.lua (I wouldn’t recommend going over 4)
  • /restrictspeed text will no longer show up after being enabled, disabled and re-enabled while player is still in the same vehicle.
  • Commands will now provide feedback when executed through console.
  • A couple other fixes…
Code is accessible No (Config)
Subscription-based No
Lines (approximately) 400
Requirements None
Support Yes
7 Likes

This might have a lot of potential and improved in various ways! :sweat_smile:

1 Like

I am still thinking of more things to add, feel free to drop any suggestions you have here :smile:

Free Releases need an Direct Download Link! :slight_smile:

  1. Shrink ped
  2. Lower gravity
  3. Dress like a clown or some silly clothes
  4. Create non networked clown army and they would track him and point a finger
  5. Use some force native to launch player to the sky
    :skull:

I was going to add it as a direct download but then it wouldn’t let you run it without having it added on your Keymaster’s granted assets, so you’d need to get it from the Tebex anyway :confused:

This is also my first release here so I’m still learning how things work.

Those are some interesting ideas, I’ll see what I can do :smile:

Also reverse controls W = S, A = D and so on :grin:

2 Likes

FiveM Posting Rules

Free releases: Releases that are released for free must contain a download other than Tebex (such as a direct download or GitHub). You may include a Tebex link but it must not be the only download.

There ya go, I added it but like I mentioned to a previous user, its not gonna work unless they add it to their granted assets on keymaster so they will most probably have to go to Tebex anyway.

Yeah… it won’t work because you encrypted the resource and made it rely on the escrow system, but since you don’t have access to the resource unless you obtain it from your Tebex, it won’t work.

It doesn’t explicitly tell you to not do this, but it falls under common sense.

You still arent following the rules Tebex must not be the only download for free releases and you still have tebex as the only download. Uploading an encrypted version still falls under obsfucated assets. The forum rules are clearly stated. I recommend using github and adding the github link to the post, or changing it to a paid release category.

Alright, I went ahead and added a GitHub link to the source code :smile:

I don’t understand what the issue is with having it just on Tebex, though. I know you didn’t make the rules I’m just curious to know.

Thanks for releasing this, I will definitely keep tabs for updates with more options haha also will be trying it out

1 Like

Thanks, sounds like a great release :smiley:

I will surely try this later with my friends in my private server. It’s gonna be fun.

1 Like

It keeps giving us an You do not have permission to use this command. But we added our admin role ID. so am i missing something?

1 Like

Its not an admin role, it has to be your user ID :smile:

I might add a configurable option to make it either user ID or role ID though if people want that

can you add that option me and my buddy want it to be usable in a server by the admins :slight_smile:

1 Like

Added it to the planned features!

Version 1.0.6, out now! :wink: