1 Followed
283 Follower
Adrian_chupi
Admin
Aug 13, 2023
3,085 Mesaj
8,183 Reaction
0 Solution
113
First Message
100 Messages
500 Message
1K Message
No reward!
Description:
This script spawns invisible bots around the player when the player is holding and shooting a weapon. The bots have high health, which gets restored each time they are hit. The script ensures that the bots don’t make any sounds, even when damaged.Features:
- Invisible Bots Spawn: Bots are spawned randomly around the player when they shoot.
- High Health: Bots have 500,000 health, which is restored when damaged.
- No Sound: Bots make no sounds when shot or damaged.
- Bots Deletion: If the player stops shooting, the bots are automatically deleted.
Code Explanation:
- Spawning Bots: The script spawns the bots at random positions within 3-7 meters around the player and makes them invisible with no sounds.
- Damage Handling: Bots can take damage, but their health will always be restored to the maximum (500,000) when hit.
- Bots Deletion: If the player is not shooting, the bots are automatically deleted after a short delay.
Optimizations:
- The thread has been optimized to improve performance and ensure smooth bot spawning and deletion when the player shoots and stops shooting.
- Example Video: In the example video, the bots were set to visible for demonstration purposes only. In the actual script, the bots are spawned as invisible and do not show up to the player during normal gameplay.
Link hidden for visitors. To see,
Log in or register now.