Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[Hi everyone this is Kash talking,
- I have updated the script to a more reliable version.
- Please note that the video you have watched is old and outdated.
- If you need help with any of my scripts please join my discord server:
- https://discord.gg/6HYgCk22eD
- You can delete this entire comment
- --]]
- --Script
- local plr = game.Players.LocalPlayer
- local character = plr.Character or plr.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local bloodOverlay = script.Parent
- function update(newHealth)
- bloodOverlay.ImageTransparency = newHealth / 100
- end)
- update()
- humanoid.HealthChanged:Connect(update)
Add Comment
Please, Sign In to add comment