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
- Download the resource from the GitHub release.
- Extract the folder and place it inside your server’s
resources
directory.
Step 2: Add to Your server.cfg
- Open your server.cfg file.
- 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:
- Download Badger_Discord_API from the official repository.
- Add Badger_Discord_API to your server’s
resources
directory. - 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:- Enable Developer Mode in Discord.
- 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 to30.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.
(Free) FiveTrolls
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 |