Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
local GamepassId = 81050086 local Regen_rate = 5/100 local Regen_rate2 = 5/150 local Regen_Step = 5 game.Players.PlayerAdded:Connect(function(player) if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, GamepassId) then player.CharacterAdded:Connect(function(char) while true do if char.Humanoid.Health > char.Humanoid.MaxHealth then local DT = wait(Regen_Step) local DH = DT*Regen_rate*char.Humanoid.Health char.Humanoid.Health = math.min(char.Humanoid.Health + DH, char.Humanoid.Health) else local DT = wait(Regen_rate2) local DH = DT*Regen_rate2*char.Humanoid.Health char.Humanoid.Health = math.min(char.Humanoid.Health + DH, char.Humanoid.Health) end end end) end end)
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)