V-MiniGame is a typing minigame where you need to type each character correctly before the timer runs out. If you press the wrong key, that character will turn red . If the time runs out before you complete typing in time, the minigame will fail.
STANDALONE (no requirements)✅
Preview:
Resource Usage:
- Inactive State: `0.00 ms`
- Active State: `0.00 ms`
- Random Key Spam: `0.02 ms`
- Correct Key Press: `0.01 ms`
## Features:
- Front-end sounds for key press, incorrect input, success, and failure.
- Sounds can be toggled in the configuration file.
- The script is open and unencrypted, so you're free to edit it as needed.
---
What's Included:
- Sound effects on input, failure, and success (as heard in the preview).
- Smooth ui
- Minimal performance impact (low or 0.0 resmon).
- Open source for easy customization.
- Support is available if needed.
---
## How to Use:
1. Add `v-minigame` to your server.
2. Ensure `v-minigame` is included in your `server.cfg`.
3. Start the minigame **before** any other scripts where it might be used.
4. To use the minigame in another script, add the following export:
```lua
local time = 45
local letters = 35
exports['v-minigame']:StartMinigame(function(success)
if success then
print('SUCCESS')
else
print('FAILED')
end
end, time, letters)
```
Alternatively, you can use the shorthand version:
```lua
exports['v-minigame']:StartMinigame(function(success)
if success then
print('SUCCESS')
else
print('FAILED')
end
end, 45, 35)
```
---
### Customizing:
- Inside the `success` block, you can define what happens when the player succeeds.
- Inside the `else` block, you can define what happens when the player fails.
---
## Need Help?
If you have any technical questions or need support, feel free to join V-Scripts
https://discord.gg/M9fXSG7wa8