chicken-boil / Not-very-easy-Obby

A hard obby game on Roblox
MIT License
0 stars 0 forks source link

why health.lua is set to blank? did you meant it to display the character health on the gui? #3

Closed Cube5x59999 closed 2 years ago

Cube5x59999 commented 2 years ago

Did you meant the script to display the player health?

The script is

-- make a text label to display the health
-- position it and name it "playerHealthDisplay"
-- put this script inside the text label
-- make sure that this script is localScript
Local player = game.players.localPlayer
While wait() do
   Script.parent.text = player.Character.Humanoid.Health
End

I cannot test this script because my laptop is broken and if the script doesn't work so tell me

Roblox name (if you want to friend req me) Computerph1

Cube5x59999 commented 2 years ago

I'm trying to help ._.

Cube5x59999 commented 2 years ago

And I am on tablet

chicken-boil commented 2 years ago

Not all scripts on here is updated to the ones that are currently in the game.