help me with this please
Answers
Answer:
Explanation:
Answer:
idk for all but,if then, is like
If [insert condition here (like true or false)]
then
[insert task here]
else
[do other task]
Explanation:
here is an example
if 2+2== 4 <-- condition
then
print ("Correct! Simple Maths") <-- task
else
print ("Ou OH") <--- if false statement
this will be an infinte loop as under no circumstance will 2+2 not be 4
but if u wanna do another a temporary code then do
(this is in my coding language of choice (roblox lua might not be sam,e for u))
local Health = Game.Player.Gui.Health (<--- making variable to have ez access to child)
If Health >= 100 true (as a player is said to have 100 hp its for max health)
print ("Max Health")
else
print ("Health.value")
so till my player has max health it will have max health on top of his name but the second he has not the condition will become false and it wont say Max Health anymore