Fixing Stamina Drain Issue when Player is in Water & No more sinking boats past border

Capture

This script was specifically created with the hope that my favorite server, Western Sky’s, would add it.

What does it do? This script simply prevents the depletion of your main core stamina while swimming. Currently, there is a significant issue with boats where if they sink, you die. But not anymore! With this script, you can swim indefinitely. I have released it on my GitHub, and you can download it from >>>>here

When testing this script, please make sure to thoroughly test it, as it will drain the circular bar but not your main core.

Please refrain from criticizing this script, as I am aware it is simple :rofl:,

UPDATE! I have added and pushed an update to my GitHub. Now, there is an option to make all boats invincible. You can configure it by enabling or disabling it in the client.lua file. I added this feature to prevent random sinkings and enhance your boat experience. However, there is one issue with sink zones. If you get too close to the map borders, your boat will still be scuttled. I am currently investigating this problem, but I don’t have a solution yet.

I have discovered the native function for preventing boats from sinking beyond the sink zone. Now, you can drive your boat anywhere without sinking!

Code is accessible Yes
Subscription-based No
Lines (approximately) 49
Requirements none
Support No
2 Likes

Instead of zero drain, just make it slower.
Less drain of energy like usual.
It will be better

Check the description as i have updated the GitHub with an extra feature.

And for the second time i updated it once again, no longer do boats sink while past the sink zone (map border)

Thank you, i will take your suggestion into consideration. If you’d like i give full permission to edit and use this script however anyone sees fit.