so i made this with imagLabels cuz i made my health bar in photoshop and for some reason my health bar does not show the same damage as the roblox one i dont know how to fix it can somebody help
Hey @SmakTojCodes ! Can you like reply to this comment with all the scripts or like put it in the comments? also i just wanna say that this video was AMAZING!
so i think its in the character scripts so how to access them is to play ur game and then click ur player (in workspace) and copy it. then stop the game and paste it into startercharacter scripts. change the script like this. local REGEN_RATE = 0/100 -- changed this to 0/100 so it doesnt heal local REGEN_STEP = 0 -- same as the first one -------------------------------------------------------------------------------- local Character = script.Parent local Humanoid = Character:WaitForChild'Humanoid' -------------------------------------------------------------------------------- while true do while Humanoid.Health < Humanoid.MaxHealth do local dt = wait(REGEN_STEP) local dh = dt*REGEN_RATE*Humanoid.MaxHealth Humanoid.Health = math.min(Humanoid.Health + dh, Humanoid.MaxHealth) end Humanoid.HealthChanged:Wait() end
Keep the good work❤✨
I appreciate it man! W
Dont loose the good work ❤✨
thanks alot dude
@@valtrojo np! I hope it helped!
ay @SmakTojCodes do you thing you can make a tutorial on how to make a custom health bar on npcs/enemy's
Thanks!
@@MorsaTactica np
Can you do a tutorial for when we are in the main menu the GUI is disabled, and when we press play the GUIs are enabled, please?
Just turn off gui visabilty off, you can see it in the view tab
Nice video!!
Thanks for the visit
so i made this with imagLabels cuz i made my health bar in photoshop and for some reason my health bar does not show the same damage as the roblox one i dont know how to fix it can somebody help
Hey @SmakTojCodes ! Can you like reply to this comment with all the scripts or like put it in the comments? also i just wanna say that this video was AMAZING!
Doesn't work for me
hello, I was just asking if you could make a enemy that only stays in a certain area? also great video!
You could give them a property, and if that humanoid has that property you can do a check like
If this has that property then
Hum. WalkSpeed = 0
@@ash-wc3vi thx
nice
@@bob.4601 thx!
wheres the script btw.
How can I make it so it doesn’t regenerate? Nice tutorial by the way!
so i think its in the character scripts so how to access them is to play ur game and then click ur player (in workspace) and copy it. then stop the game and paste it into startercharacter scripts. change the script like this.
local REGEN_RATE = 0/100 -- changed this to 0/100 so it doesnt heal
local REGEN_STEP = 0 -- same as the first one
--------------------------------------------------------------------------------
local Character = script.Parent
local Humanoid = Character:WaitForChild'Humanoid'
--------------------------------------------------------------------------------
while true do
while Humanoid.Health < Humanoid.MaxHealth do
local dt = wait(REGEN_STEP)
local dh = dt*REGEN_RATE*Humanoid.MaxHealth
Humanoid.Health = math.min(Humanoid.Health + dh, Humanoid.MaxHealth)
end
Humanoid.HealthChanged:Wait()
end