How to make a Health Bar Gui in Roblox Studio

  Рет қаралды 298,861

Gamer M8

Gamer M8

Күн бұрын

Пікірлер: 1 600
@ShawnInfinite
@ShawnInfinite 2 жыл бұрын
For those are lazy to do the script here: local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") humanoid.HealthChanged:Connect(function(Damage) script.Parent.Size = UDim2.new(Damage / humanoid.MaxHealth, 0, 1, 0) end)
@MyKeyBoardRocks
@MyKeyBoardRocks 2 жыл бұрын
thanks bro
@Tarah_4
@Tarah_4 Жыл бұрын
scripting is so ez
@Etron927
@Etron927 Жыл бұрын
tysm bro thxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
@cristaronado
@cristaronado Жыл бұрын
thx thx
@FOXY_SNIPERKING
@FOXY_SNIPERKING Жыл бұрын
Me be like : I worked hard and this guy really send in comments..
@john.d.rockefeller2538
@john.d.rockefeller2538 3 жыл бұрын
Thank you so much, I appreciate the clarity and professionalism on display here.
@logojinx
@logojinx 6 ай бұрын
i love you
@Sadlynutmeged
@Sadlynutmeged 4 жыл бұрын
Omg literally like thank you!!! This is just what I needed It's like you read my mind!
@dabest3304
@dabest3304 21 күн бұрын
Thank you Gamer M8, this video was so helpful. Short but gets the job done.
@GamerM8
@GamerM8 20 күн бұрын
im glad you found it helpful
@ramzticear
@ramzticear 3 жыл бұрын
Thank you so much, I watched different tutorials but it messed up all the time, your tutorial works actually! The prize for you is a Sub!
@GamerM8
@GamerM8 3 жыл бұрын
Thanks for subscribing!
@biozin1706
@biozin1706 3 жыл бұрын
If you want to disable the healthbar at the top right. Type this in the script: -- Disable the healthbar game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)
@skyluk2487
@skyluk2487 3 жыл бұрын
@@biozin1706 thx bro
@biozin1706
@biozin1706 3 жыл бұрын
@@skyluk2487 Yoshikage Kira your welcome
@skyluk2487
@skyluk2487 3 жыл бұрын
@@biozin1706 thanks heavy
@comradecola8996
@comradecola8996 3 жыл бұрын
This was an awesome video I’ve been using these tutorials to help me make my game and also to learn coding. Keep up the good work
@VicMetEenK
@VicMetEenK 2 жыл бұрын
same
@bbid123gaming
@bbid123gaming 4 жыл бұрын
I haven’t tried this yet, but this is very helpful and useful for my game! Keep up the good work and soon you will have bigger achievements!
@abstrac9
@abstrac9 3 жыл бұрын
If you dont wanna type all of the script out, simply just copy and paste this. local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") humanoid.HealthChanged:Connect(function(Damage) script.Parent.Size = UDim2.new(Damage / humanoid.MaxHealth, 0, 1, 0) end)
@bot-qu2hx
@bot-qu2hx 3 жыл бұрын
Thx
@TheYoungBoyzz
@TheYoungBoyzz 2 жыл бұрын
tysm
@abstrac9
@abstrac9 2 жыл бұрын
your welcome.
@Bidararabaduba
@Bidararabaduba 5 ай бұрын
ty
@Freggymon
@Freggymon 26 күн бұрын
THX BRO IM SO LAZY HOWD U KNOW 🤣🤣🤣🤣
@retro.666
@retro.666 4 жыл бұрын
I HAVE THE SUBSCRIBE BUTTON AND IM NOT AFRAID TO PRESS IT.. I SUBBED BRO KEEP UP THE GOOD WORK
@larry9030
@larry9030 4 жыл бұрын
Lol!😂😂
@mamtaagarwal5829
@mamtaagarwal5829 4 жыл бұрын
Wait aren't u the sof guy from dicord
@retro.666
@retro.666 4 жыл бұрын
@@mamtaagarwal5829 Um yea....??
@FaizyII
@FaizyII Жыл бұрын
Bro, thank you so much! I tried many other tutorial, did everything right, but nothing worked. Finally, with your help, I finally made a Health Bar GUI.
@GamerM8
@GamerM8 Жыл бұрын
I'm glad you got it to finally work!
@akterzaman7766
@akterzaman7766 Жыл бұрын
For ppl to understand: if the damage is divided by the MaxHealth, it returns a decimal range from 0 to 1, we can use this as the scalar value for the udim2
@pulograin
@pulograin Жыл бұрын
Yeah but I don't understand this: imagine that you lose 10 hp. Damage = 10 so 10/100 = 0.1 and the bar will have a 0.1 size and not a 0.9 size. Damage is the amount of damage or the hp left?
@TotalliAnthonii
@TotalliAnthonii 4 жыл бұрын
Yes, It actually worked, no clickbait, God bless you man!
@jack_14e
@jack_14e 4 жыл бұрын
thank you so much! this really helps. best wishes for ur channel! :D
@MareeJohnsonNewZealand
@MareeJohnsonNewZealand 5 ай бұрын
Short, simple, easy to follow, actually works, explains well and helpful videos like this makes development easier 😃
@Venicipian
@Venicipian 4 жыл бұрын
I swear to god, this mans is no mortal, he is the god of helpfulness.
@soureggroll7034
@soureggroll7034 3 жыл бұрын
TYSM BRO YOUR THE BEST I HOPE ONE DAY YOU GETON THE TOP OF THE ROBLOX COMMUNITY cuz this game im making is gonna be a banger thanks to you
@person230
@person230 4 жыл бұрын
You are the only youtuber that helps me to make a game :)
@GamerM8
@GamerM8 4 жыл бұрын
Thank you very much for your comment. I'm glad you found the video helpful 👍
@SamLeroSberg
@SamLeroSberg 3 жыл бұрын
alvin blox: *sad alvin noises
@mechx4arceus
@mechx4arceus 3 жыл бұрын
I am so proud that you are a KZbinr who teaches use how to do it unlike some others who just give a link to free models and earn revenue.
@GamerM8
@GamerM8 3 жыл бұрын
Thank you very much! 👍
@mechx4arceus
@mechx4arceus 3 жыл бұрын
@@GamerM8 I modified it and it changes color as the health falls or increases, I even made it to display the percentage of health and made it regeneration friendly with math.round as regeneration made it like 53.8373833 now it is one of the best health GUIs on roblox, All thanks to YOU.
@MarrTheMilkman
@MarrTheMilkman 2 жыл бұрын
@@mechx4arceus Could you tell me the script you used to do this? I wanted to do this for my health bar but it's above my skill level.
@jacoobio
@jacoobio 4 жыл бұрын
yes! GamerM8 can read my mind i was looking everywhere for this lol
@Minas_s
@Minas_s 2 жыл бұрын
You are the best i made my game and like all the scripts or whatever are made by you!You got my sun man
@xDomReal
@xDomReal 3 жыл бұрын
Great tutorial! It's also nice how you answer all the questions in the comments helping out your viewers. Definitely earned a sub! :D
@GamerM8
@GamerM8 3 жыл бұрын
Thank you so much for subscribing, I really appreciate your comment! :D
@mcmoneu8231
@mcmoneu8231 3 жыл бұрын
Bro I thought it didn't work for a minute then I realized I made the two colors green which made it look like it didn't work! THANKS!!!! :D
@jacobgalindo3627
@jacobgalindo3627 2 жыл бұрын
your vids are so short yet so easy to follow im making this one piece game and I've met a modeler and just by using these simple scripts everything is fixed I am more than grateful
@GamerM8
@GamerM8 2 жыл бұрын
Thanks, good luck with your game!
@UltimateDimensionStuidos
@UltimateDimensionStuidos 7 ай бұрын
Have you finished your game? I would like to try it.
@snipex20777
@snipex20777 3 жыл бұрын
Man, these Roblox tutorials are the best under 10 minutes of my life I searched how to make an fps game in 5 mins and I technically made arsenal in 3 minutes LOL you have earned a new subscriber M8
@pan5099
@pan5099 4 жыл бұрын
You motivated me to start doing these tysm, Love your content!
@GamerM8
@GamerM8 4 жыл бұрын
That's great! I'm glad you found my videos helpful 😊
@rynamiteart8623
@rynamiteart8623 3 жыл бұрын
I've maybe watched 5 videos about this and yours was the only one that worked. Thank you so much.
@CaImify
@CaImify 4 жыл бұрын
BRO I NEEDED THIS, THANK YOU :D
@superblast8319
@superblast8319 4 жыл бұрын
Me too
@Beij1ngCorn
@Beij1ngCorn 2 жыл бұрын
I subbed, big fan
@PremiumBlitzYT
@PremiumBlitzYT 4 жыл бұрын
Thank you so much! This tutorial helped me create a health system for my FPS (First Person Shooter) game! Thanks again, Gamer Mate!
@VortexFemboyGD
@VortexFemboyGD 3 жыл бұрын
I made my own FPS capture the flag and free for all game. Now I’m trying to make battle Royale game mode.
@sm1le396
@sm1le396 3 жыл бұрын
thank you for explaining what an FPS is. I thought you were talking about a racing game!
@TratUsYT
@TratUsYT 5 ай бұрын
@@VortexFemboyGDi wish you luck
@cyberbully17
@cyberbully17 8 ай бұрын
never saw anything so good explained i am shocked on how easy it was and how good i understood it
@xdave2662
@xdave2662 3 жыл бұрын
May god forever bless him the days when he taught me how to script my game, THANKYOU GOD FOR CREATING HIM!
@0eanime00hackerforyourmam
@0eanime00hackerforyourmam 3 жыл бұрын
Plz can you write a script
@robloxhackerpro
@robloxhackerpro 3 жыл бұрын
@@smt4090 LOL
@daddyjigsaw4556
@daddyjigsaw4556 3 жыл бұрын
@@robloxhackerpro hello thanos, this is daddy. You have escaped my basement kitten grrrr I will find you and keep you down there forever
@Mini_Bro5000
@Mini_Bro5000 Жыл бұрын
Dude you are so amazing idk how you only have 75k you should have a million keep up the good work you earned a sub
@TotalliAnthonii
@TotalliAnthonii 4 жыл бұрын
Continue and this channel will have a 1Mill subs one day.
@RealAZL_YT
@RealAZL_YT 2 жыл бұрын
this guy puts all his time into making everyone happy and does everyone literally can think of in Roblox studio, I luv you bro keep up the work!
@kennylopezstudios9490
@kennylopezstudios9490 4 жыл бұрын
Wow this actually works You just earned a sub
@baloniez5506
@baloniez5506 3 жыл бұрын
Thank You So Much Good thing you are a KZbinr that actually helps people out
@marshgd
@marshgd 4 жыл бұрын
THANK GOD YOU EXIST
@sslugi
@sslugi 3 жыл бұрын
Lol ikr, i could not do anything without him
@NONE_1001
@NONE_1001 5 ай бұрын
fr
@contendu
@contendu 2 жыл бұрын
YESSS ANOTHER GAMER M8 ONE, GAMER MATE IS THE BEST AT THESE
@olmac1683
@olmac1683 3 жыл бұрын
OMG THANK YOU SO MUCH I NEEDED THISSS
@teysh4897
@teysh4897 3 жыл бұрын
Every videos that I have doing like u it always work. Keep up the quality!
@samun794
@samun794 3 жыл бұрын
Hey Are you wondering how to make a number display ? just do some simple action First create a TextLabel inside the background 2nd Step Customize so it fit with the background and the other textLabel 3rd Add a local script inside that local Player = game.Players.LocalPlayer Local H = Player.Character.Humanoid while wait() do script.Parent.Text = H.Health.."/"..H.MaxHealth --Edit Dont click on the H.Health link i dont know why is this a link but dont click on it end And everything done Hope this helped!
@madcapmaple
@madcapmaple 3 жыл бұрын
It says humanoid is not a valid member of model “workspace.playername”
@frockfor
@frockfor 2 жыл бұрын
what number should i put
@yRikz
@yRikz Жыл бұрын
Tysm
@itsduncecap
@itsduncecap Жыл бұрын
Small Correction , Make sure to change that Local to local (lowercase L)
@itsduncecap
@itsduncecap Жыл бұрын
thanks !!!
@sxreemzclips
@sxreemzclips 4 жыл бұрын
Awesome your a life saver!
@GamerM8
@GamerM8 4 жыл бұрын
Thanks for your comment. I'm glad you found the video helpful 👍
@sxreemzclips
@sxreemzclips 4 жыл бұрын
@@GamerM8 When alvin blox teaches i do not understand it but when you do it i understand
@joseiiimaloloy-on6130
@joseiiimaloloy-on6130 4 жыл бұрын
lol u even taught us how to make a kill brick with no viruses
@Mono-ko1kh
@Mono-ko1kh 3 жыл бұрын
Yum
@BeanieOSC
@BeanieOSC Жыл бұрын
You could just reset.
@2337274
@2337274 Жыл бұрын
Bro u need help help with a killbrick they r so easy???
@total_blasphemy
@total_blasphemy Жыл бұрын
@@oliveryap2845you could just go into toolbox and get a kill brick dude
@breaddacat7935
@breaddacat7935 Жыл бұрын
​@@2337274some people dont know
@culabu7911
@culabu7911 3 жыл бұрын
Me and my brother wanted to make a game on roblox studios and watching this tutorial made it easier Thank you so much yo won a subscriber!
@GamerM8
@GamerM8 3 жыл бұрын
Thank you for subscribing! I'm glad I was able to help!
@real_Tyles
@real_Tyles 3 жыл бұрын
If it is shrinking on both sides make sure the "Anchor Point" is set to "0"
@xXJemaryXx
@xXJemaryXx 2 жыл бұрын
ohhh thank you so much
@xXJemaryXx
@xXJemaryXx 2 жыл бұрын
tyyy
@jizz69
@jizz69 Жыл бұрын
ty
@Game3rsArePross
@Game3rsArePross Жыл бұрын
It is not shrinking on any sides. what to do?
@real_Tyles
@real_Tyles Жыл бұрын
@@Game3rsArePross script error it sounds like
@TheRealSnipish
@TheRealSnipish 2 жыл бұрын
ngl, this man makes creating Roblox stuff bearable
@Kr3atif
@Kr3atif 4 жыл бұрын
Guys Watch M8 Gamer’s SpeedGamePass Video And change “WalkSpeed” to “MaxHealth” to Make This Gui Much More UseFul
@brianhardy847
@brianhardy847 4 жыл бұрын
Thanks I might try this
@LadyDeathVidal
@LadyDeathVidal 2 жыл бұрын
THANK YOU SOOO MUCH THIS IS THE BEST TUTORIAL VID ❤❤❤
@raiden7611
@raiden7611 3 жыл бұрын
Thank you! This was so incredibly helpful!
@yb__70
@yb__70 3 жыл бұрын
This is one of the best health bar videos i have see so far Great job
@GamerM8
@GamerM8 3 жыл бұрын
Thank you so much, I appreciate it!
@slime4901
@slime4901 4 жыл бұрын
Thank you so much! It worked! :D
@GamerM8
@GamerM8 4 жыл бұрын
You're welcome! I'm glad you found the video helpful 😁
@Noah_theComposer
@Noah_theComposer 3 жыл бұрын
Happy 40K Subs, Gamer M8!!
@GamerM8
@GamerM8 3 жыл бұрын
Thank you so much! 🥳
@RetroLine911
@RetroLine911 4 жыл бұрын
thank you so much your LEEEEEGEEEENDDDARYYY
@gusepep
@gusepep 3 жыл бұрын
no he isnt he is 50x better than that
@RetroLine911
@RetroLine911 3 жыл бұрын
@@gusepep lol
@gusepep
@gusepep 3 жыл бұрын
lmao
@t-boniasremade1867
@t-boniasremade1867 3 жыл бұрын
@@gusepep 10000000000000000000000000000000000000000000000000000000000000000000000000000000x that
@Fayazix
@Fayazix 4 жыл бұрын
Did u read my mind?? Btw thanks you and some other KZbinrs are the only ones who make good scripting vids! Ty
@GamerM8
@GamerM8 4 жыл бұрын
Thank you very much for your comment. I'm glad you find my videos helpful
@liabilityy2848
@liabilityy2848 3 жыл бұрын
This is EXACTLY what I needed, thanks
@Heeeehaha
@Heeeehaha Ай бұрын
UNDERATED LOL YOU HELP ME TY 🤗🤗❤
@GamerM8
@GamerM8 Ай бұрын
im glad it helped
@aslegger
@aslegger 2 жыл бұрын
Thanks for making this, really good tutorial man!
@Timojam
@Timojam 2 жыл бұрын
Yo huge thanks, The video is short and to the point. Even it's only 11 lines, but it works very good, not like other video who wasted 30 minutes of typing 40 lines. Once again thank you so much👍
@NotGoodAPerson
@NotGoodAPerson 3 жыл бұрын
dude your the BEST PERSON!!!!!!!!!!!!!!!!!
@The_Buddha_User
@The_Buddha_User 4 жыл бұрын
THANKS MATE! THIS IS EXACTLY WHAT I NEEDED!!! :))))
@Tueydo
@Tueydo 3 жыл бұрын
i know im late but you have won my subscription my friend
@GamerM8
@GamerM8 3 жыл бұрын
Thank you for subscribing!
@Tueydo
@Tueydo 3 жыл бұрын
@@GamerM8 no problem!
@1a21a
@1a21a 2 жыл бұрын
You can add an animation to this by using this script: "local plr = game.Players.LocalPlayer local char = plr.Character or plr.CharacterAdded:Wait() local hum = char:WaitForChild("Humanoid") hum.HealthChanged:Connect(function(Damage) script.Parent.Size = script.Parent:TweenSize(UDim2.new(Damage / hum.MaxHealth, 0, 1, 0)) end)" At the end of the 2nd bracket you can play around with is by doing this "Enum.EasingDirection.(out or inout or in), Enum.EasingStyle.(Sine,Elastic,Bounce ect)
@NacoPercyIsKool
@NacoPercyIsKool 2 жыл бұрын
I have no idea how to add a animation can you show me how to do it with a comment
@stevebappe
@stevebappe Жыл бұрын
thank you bro
@tankycatcool63
@tankycatcool63 2 жыл бұрын
why are you not at 1 mil subs yet? this guy is amaxing and hes only at 47k ???!!!!!
@yujin759
@yujin759 3 жыл бұрын
BRO YOU ARE THE BEST
@islawpalitaw4374
@islawpalitaw4374 3 жыл бұрын
Thanks man. I needed this. :)
@GamerM8
@GamerM8 3 жыл бұрын
You're welcome!
@Zoufu
@Zoufu 4 жыл бұрын
I was going to subscribe, then I realized I already was
@GamerM8
@GamerM8 4 жыл бұрын
Haha! Thank you 👍
@LiamsPlushStudio
@LiamsPlushStudio Ай бұрын
Thank you for your service, Gamer M8!
@Crypticat
@Crypticat 3 жыл бұрын
incase you're too lazy or low on time to type it yourself: local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local health = humanoid.Health humanoid.HealthChanged:Connect(function(Damage) script.Parent.Size = UDim2.new(Damage/humanoid.MaxHealth, 0, 1, 0) end)
@hellohennessy3462
@hellohennessy3462 3 жыл бұрын
Why is there a health variable ?
@ActuallyA743
@ActuallyA743 3 жыл бұрын
99.9 people copy this cuz they lazy :>
@flex7000
@flex7000 Жыл бұрын
Omgggg thanks soo much u made my game even better let's gooooo thank u my guy , worth a sub ❤
@GamerM8
@GamerM8 Жыл бұрын
Thanks for subscribing, I'm glad you liked the video!
@2banimated575
@2banimated575 3 жыл бұрын
You might want to remove the player healthbar (the built in one.) Here's the script: game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)
@yowampish3652
@yowampish3652 2 жыл бұрын
where do i put that
@yowampish3652
@yowampish3652 2 жыл бұрын
@ProRobloxYT thank you
@AA-zr1wi
@AA-zr1wi 2 жыл бұрын
it didn't work
@1hesperiidae
@1hesperiidae 2 жыл бұрын
Oh my god, a youtube roblox tutorial that works as intended!!
@Mason_3303
@Mason_3303 4 ай бұрын
THANK YOU MAN VERY HELPFULL!
@TheReal_CaptainPizza
@TheReal_CaptainPizza 4 жыл бұрын
Thank you when I'll have a PC I'll watch all the tutorials that I saved and follow them 🍕👍👍👍👍👍👍👍👍👍👍❤❤❤
@AA-zr1wi
@AA-zr1wi 2 жыл бұрын
did you get one yet?
@creamchez6786
@creamchez6786 3 жыл бұрын
bro I feel like your tutorials are the only ones that actually work
@tunx222
@tunx222 3 жыл бұрын
I know right??
@themonkey9683
@themonkey9683 3 жыл бұрын
*Health Script* local player = game.Players.LocalPlayer local character = player.character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") humanoid.HealthChanged:Connect(function(Damage) script.Parent.Size = UDim2.new(Damage / humanoi.MaxHealth, 0, 1, 0) end) *Kill part* script.Parent.Touched:Connect(function(hit) if hit and hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 12 end end)
@acexur2430
@acexur2430 2 жыл бұрын
ty bro
@Earth05336
@Earth05336 Жыл бұрын
You Also Told Us How To Make A Thing On The Screen! (: Thank You Also For Help Us Know How
@JudeNimations
@JudeNimations 4 жыл бұрын
Gamer M8 Can you Make A Level Up System Please :D Im Proud Of You
@MatGamingUGC
@MatGamingUGC 4 жыл бұрын
LEGENDS NEVER DIE AND UR ONE . U MADE MY GAME BETTER. ANOTHER SUB!
@GamerM8
@GamerM8 4 жыл бұрын
Thank you very much for your comment and for subscribing to my channel 👍
@MatGamingUGC
@MatGamingUGC 4 жыл бұрын
@@GamerM8 Merry CHristmas mate and THANKS TO YOU My game is better, tho I still need help scripting an building . (Dont worry your tutorials always work!
@username642
@username642 3 жыл бұрын
local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") humanoid.HealthChanged:Connect(function(Damage) script.Parent.Size = UDim2.new(Damage / humanoid.MaxHealth, 0, 1, 0) end) (pin this if u can)
@limlam1482
@limlam1482 3 жыл бұрын
Thank you
@sacredzz
@sacredzz 3 жыл бұрын
i know im late but your channel has really helped me :) keep it up man!
@GamerM8
@GamerM8 3 жыл бұрын
Thank you, I'm glad I've been able to help you out!!
@rwshbee9915
@rwshbee9915 3 жыл бұрын
Someone bless his parents for make him exist
@OutSmartedHandsome
@OutSmartedHandsome 3 жыл бұрын
You spelt the sentence wrong your supposed to say "Bless His Parents For Creating Him"
@rwshbee9915
@rwshbee9915 3 жыл бұрын
@@OutSmartedHandsome srry
@OutSmartedHandsome
@OutSmartedHandsome 3 жыл бұрын
Hey, its ok
@vivisamu
@vivisamu 3 жыл бұрын
*god may bless him.* 😌
@acekun4539
@acekun4539 3 жыл бұрын
Thank you so much! I've been a Fan of you Last Year! My old Google Account got Hacked though.. but Thank you so much for the Tutorial!
@emperorutopia6375
@emperorutopia6375 4 жыл бұрын
I sometimes wonder how amazing scripters like gamerm8 learnt how to code.
@Axtrrr31
@Axtrrr31 4 жыл бұрын
this video helped me make my game ur such an awesome youtuber!
@GamerM8
@GamerM8 4 жыл бұрын
That's great!! Thank you very much 😊👍
@crack_soda
@crack_soda 4 жыл бұрын
gamerm8: can literally script anything he desires my dumbass: staring at the peanut butter inside a reese's piece
@phoenix-cs2lw
@phoenix-cs2lw 2 жыл бұрын
It worked you earned a brand new sub
@joedk-hs7cu
@joedk-hs7cu 4 жыл бұрын
local player = game.Players.LocalPlayer local character = player.Character or player.Characte rAdded:wait() local humanoid = character:WaitForChild("Humanoid") humanoid.HealthChanged:Connect(function(Damage) script.Parent.Size = UDim2.new(Damage / humanoid.MaxHealth, 0,1,0) end)
@CriminalBlueAnimations.
@CriminalBlueAnimations. 4 жыл бұрын
Bro thanks.
@joedk-hs7cu
@joedk-hs7cu 4 жыл бұрын
@@CriminalBlueAnimations. np
@BloxxingIQ
@BloxxingIQ 3 жыл бұрын
can u do the kill part one
@hafizomar7614
@hafizomar7614 3 жыл бұрын
Yay! I needed this! Thanks, Gamer M8!
@robloxdeveolper408
@robloxdeveolper408 4 жыл бұрын
Here is the code for all you lazy people: local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") humanoid.HealthChanged:Connect(function(Damage) script.Parent.Size = UDim2.new(Damage / humanoid.MaxHealth, 0, 1, 0) end) I didnt forget the kill part script oh hell no :
@MinhucNguyen-ks6qn
@MinhucNguyen-ks6qn 3 жыл бұрын
thanlks :)
@Sohcahtoa14
@Sohcahtoa14 3 жыл бұрын
All my progress got deleted after i typed this so tysm
@Griffendunsmore
@Griffendunsmore 4 жыл бұрын
Best roblox tutorial I ever watched so easy to understand you
@felixc44
@felixc44 4 жыл бұрын
IT WORKS SO GOOD
@virxi34
@virxi34 2 жыл бұрын
It doesnt
@I_AspectX
@I_AspectX 2 жыл бұрын
Thanks Gamer M8 You Really Did A Great Job
@GamerM8
@GamerM8 2 жыл бұрын
Thank you!
@wayward1702
@wayward1702 4 жыл бұрын
SCRIPT: local player = game.Player.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") humanoid.HealthChanged:Connect(function(Damage) script.Parent.Size = Udim2.new(Damage / humanoid.MaxHealth, 0, 1, 0) end)
@anintellectual8499
@anintellectual8499 3 жыл бұрын
Thanks!
@kedaikulinermboksum5347
@kedaikulinermboksum5347 3 жыл бұрын
Thank god someone wrote it!
@y3llow47
@y3llow47 3 жыл бұрын
Sorry but the Its UDim2 i think
@KakaosHal202
@KakaosHal202 3 жыл бұрын
thx
@3Radiant
@3Radiant 3 жыл бұрын
Thanks for this bro, this is gonna be so useful for my scp game.
@GamerM8
@GamerM8 3 жыл бұрын
I'm glad I could help!
@coreanime531
@coreanime531 4 жыл бұрын
Can you make a tutorial for tools where the amount of damage dealt is base on the stats like strength
@scorpionjam7006
@scorpionjam7006 3 жыл бұрын
Nice work!I love your vids,keep up with that voice.I'ts epic
@GamerM8
@GamerM8 3 жыл бұрын
Thank you, I've seen a lot of people say it's annoying, so I'm glad you think it's epic LOL and I'm glad you love my videos too!
@scorpionjam7006
@scorpionjam7006 3 жыл бұрын
@@GamerM8 No problem!
@badmusicproducer_offical
@badmusicproducer_offical Жыл бұрын
thank you so much! im making a ultrakill inspired game and i needed something to make health easier to see!
@KimUchiha13
@KimUchiha13 2 жыл бұрын
It WORKS this is the first time the script works! Thanks!
@forniteballs5554
@forniteballs5554 3 жыл бұрын
Yoooo thanks I appreciate it Also for those lazy people out there: local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") humanoid.HealthChanged:Connect(function(Damage) script.Parent.Size = UDim2.new(Damage/humanoid.MaxHealth, 0, 1, 0) end)
@mrdubanime4040
@mrdubanime4040 3 жыл бұрын
THANKS IM ONE OF THOSE
@mrun-gamer9008
@mrun-gamer9008 2 жыл бұрын
this helped me in making a boss health GUI instead, Thanks!
How to make a Tool Shop Gui in ROBLOX Studio
13:16
Gamer M8
Рет қаралды 436 М.
Can 6 DEVS Make a STORY Game Without Communicating?
15:32
RoDev
Рет қаралды 2,9 МЛН
How To Master Roblox Scripting (Even If You're Lost!)
6:55
SmartyRBX
Рет қаралды 38 М.
How to STUDY so FAST it feels like CHEATING
8:03
The Angry Explainer
Рет қаралды 2,5 МЛН
Minecraft Without Jumping, but Auto-Jump is on…
15:08
GuyBordo
Рет қаралды 1,4 МЛН
HOW TO MAKE A MAIN MENU 🛠️ Roblox Studio Tutorial
16:26
Itz_FloppyFish
Рет қаралды 604 М.
The Fall of Roblox's Biggest Games
16:48
CubeINC
Рет қаралды 6 МЛН
Can I Make a VIRAL Roblox Game in 1 Hour?
15:16
Temprist
Рет қаралды 7 МЛН
Making a Game About Weak Points
21:27
Emis
Рет қаралды 822 М.