Parkour Script for FiveM servers
Features:
- A lot of animations (wall running, flips, tic tac and more) that dynamicly interact with the environment
- No need to pre-configure
- Ready client event for use with your UI
- Customizable localization and key mapping
- Standalone (You can use it with any framework)
- Advanced landing system. The landing animation changes dynamically depending on whether the character is running or walking
To-Do:
- More customization options
- Better optimization
- Working on anim smoothness
- Bug fixes
Known Issues:
A character can fall into a texture because collision is disabled when using animations
All controls can be changed. As default ones I chose the ones that I found convenient
Default controls:
All controls can be changed
- Q — Tic Tac / Wall flip. Depending on the character’s position
- LALT — Parkour elements to overcome obstacles, triggered randomly (like monkey, dash, etc.)
- F — Wall run up to climb high obstacles
- LCTRL — Slide, animations are also randomized
- E (In motion) — Twist flip / front flip. Triggered randomly
- E (Standing still) — Back flip
- LALT (Standing still) — Back flip to the side
- SPACE — Horizontal wall run. Depending on the character’s position
Some tricks only work when running/moving/sprinting.
Also, some elements will only work if there is an obstacle in front of you
Config
Config = {}
Config.CommandActivate = true -- Activation option by command /fr
-- An example of an event if you want to trigger it on your server: TriggerClientEvent('beeju:freeRunning', your_player_check). You can use this event to invoke it in your UI
-- Default controls / editable with https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids
Config.ParkourVaults = 'LMENU'
Config.ParkourTicTac = 'Q' -- I recommend customizing the tic tac and wall flip to the same key
Config.ParkourWallrun = 'SPACE'
Config.ParkourWallflip = 'Q' -- I recommend customizing the tic tac and wall flip to the same key
Config.ParkourWallrunUp = 'F'
Config.ParkourBackflip = 'E' -- I recommend customizing the backflip and frontflip to the same key. This is convenient because the backflip is triggered while you are standing still, while the front flip is triggered only when you move. This way there will be no conflicts
Config.ParkourBackflip2 = 'LMENU'
Config.ParkourFrontflip = 'E' -- I recommend customizing the backflip and frontflip to the same key. This is convenient because the backflip is triggered while you are standing still, while the front flip is triggered only when you move. This way there will be no conflicts
Config.ParkourSlide = 'LCONTROL'
Config.ParkourJump = 'MOUSE_MIDDLE'
Config.ParkourHud = 'Y'
-- You can also customize the controls in game settings (section FiveM)
-- Localization
Config.Localization = {
['ParkourVaults'] = "Parkour moves",
['ParkourTicTac'] = "Tic Tac",
['ParkourWallrun'] = "Horizontal Wallrun",
['ParkourWallflip'] = "Wallflip",
['ParkourWallrunUp'] = "Vertical Wallrun",
['ParkourBackflip'] = "Backflip",
['ParkourBackflip2'] = "Side Backflip",
['ParkourFrontflip'] = "Twistflip/Frontflip",
['ParkourSlide'] = "Slide",
['ParkourJump'] = "Jump",
['ParkourHud'] = "Show/Hide Hud",
['FreerunON'] = "Parkour ON",
['FreerunOFF'] = "Parkour OFF"
}
-- Tooltips when running the script
Config.Helper = {
['ParkourHelper'] = "Some of the tricks require you to move, while others only work if you stand still. Also, certain tricks only work with obstacles, a special marker above the character's head will help you. Familiarize yourself with the controls in the game settings\nExample: you can only wall running if you are close to the wall",
}
| Code is accessible | No, only config |
| Subscription-based | No |
| Lines (approximately) | 700+ |
| Requirements | No, any framework. Standalone |
| Support | Yes |
