How do you disable the script?
that was example code it doesnât do anything.
Just something to start off on
To disable a script you go into properties panel and click disabled
I have disabled the script and placed it into StarterPlayerScripts
you want to display there health aswell? just update on Humanoid | Roblox Creator Documentation
humanoid.HealthChanged:Connect(function(health)
local HealthFraction = "["..humanoid.MaxHealth .. "/" .. health.."]"
-- update other text label to say that
end)
would look something like this
What your CharacterAdded should look like
Player.CharacterAdded:Connect(function(Character)
local BillboardClone = BillboardGui:Clone()
BillboardClone.Parent = Character:WaitForChild("Head")
BillboardClone.LocalScript.Disabled = false
end)
Do you mind helping in studio?
I donât understand what you said about about this
in the image u sent beneath the time there is the health thing
[100/100]
was giving you an example of how to accomplish it
or when u said
did you mean like as in size and stuff
no like how do you add it, like can you tell me how and where to put it
its just example code its not what you need its the correct apporach
but u need to define billboardGUI
Unfortunately, this post has gotten to the point that other people cannot follow along.
Can you restate the current issue and what you want to accomplish at this moment?
Did you mean this?
local Players = game:GetService('Players')
local BillboardGui = game.ServerScriptService.BillBoardGui
Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local BillboardClone = BillboardGui:Clone()
BillboardClone.Parent = Character:WaitForChild("Head")
BillboardClone.LocalScript.Disabled = false
end)
end)
should be in a regular script anywhere u want
is that for this
No, it should be in a regular script because it handles placing the billboardGUI
ServerStorage script or serverscriptservice
Anywhere you want ServerscriptService if you want
What two scripts are you referring to?
Where do I put these two scripts at