How to Make CUSTOM HEALTH BAR | 2024 Roblox Studio

Sdílet
Vložit
  • čas přidán 9. 09. 2024

Komentáře • 23

  • @Sxb_3mkk
    @Sxb_3mkk Před měsícem +3

    Keep the good work❤✨

  • @threerubberducks8633
    @threerubberducks8633 Před měsícem +1

    Dont loose the good work ❤✨

  • @valtrojo
    @valtrojo Před měsícem

    thanks alot dude

  • @verb-g9k
    @verb-g9k Před měsícem

    ay @SmakTojCodes do you thing you can make a tutorial on how to make a custom health bar on npcs/enemy's

  • @MorsaTactica
    @MorsaTactica Před měsícem

    Thanks!

  • @TazWak4
    @TazWak4 Před 27 dny +1

    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?

    • @Patrixe
      @Patrixe Před 22 dny +1

      Just turn off gui visabilty off, you can see it in the view tab

  • @TheHexagonplayzz
    @TheHexagonplayzz Před měsícem +2

    Nice video!!

  • @Rashey3
    @Rashey3 Před 27 dny +1

    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

  • @connor-p6t
    @connor-p6t Před 25 dny

    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!

  • @RizzlerOhioSigma2
    @RizzlerOhioSigma2 Před dnem

    Doesn't work for me

  • @wbitewatermeloncats
    @wbitewatermeloncats Před měsícem

    hello, I was just asking if you could make a enemy that only stays in a certain area? also great video!

    • @ash-wc3vi
      @ash-wc3vi Před měsícem

      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

    • @wbitewatermeloncats
      @wbitewatermeloncats Před měsícem

      @@ash-wc3vi thx

  • @bob.4601
    @bob.4601 Před měsícem

    nice

  • @Fear_Tonka
    @Fear_Tonka Před 9 dny +1

    wheres the script btw.

  • @Jeremytheartistmannequin

    How can I make it so it doesn’t regenerate? Nice tutorial by the way!

    • @Cheezyurboi
      @Cheezyurboi Před 14 dny +1

      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