I'm currently trying to get it so where a text label is displaying a humanoid health, using this code in a script.
local PlayerService = game:GetService('Players') -- wunga bunga
local Player = PlayerService.LocalPlayer -- wh
local PlayerGui = Player:WaitForChild('PlayerGui') -- "I'll take a double triple bossy deluxe, on a raft, four-by-four animal-style, extra shingles with a shimmy and a squeeze, light axle grease, make it cry, burn it, and let it swim."
local ScreenGui = PlayerGui:WaitForChild('SnailHealth') -- bb
bingus = game.Workspace.Snail.Humanoid
while true do
script.Parent.Text = ("Snail HP:" .. bingus.Health)
end
for some reason, this doesn't seem to be working. I'm new to programming in this language. And yes, i actually put it in a local script, and i THINK i am changing the actual playergui. **P.S you have full permission to make a joke about the messages and the Bubble Bass order.
-Cheers, CheemsTheReaper

1 comment
merry christmas to you, godspeed my man