See edits below and please downvote
The .. operator is for concatenating strings.
print("hello, " .. "world")
The tostring() function converts things that aren't strings (e.g., numbers like Humanoid.Health) to things that are
print(tostring(5))
Normally when you call print it automatically calls tostring on what you give it
If you want to print two things at once, you need to handle it yourself
print("Vida Carregada! HP Atual:" .. tostring(Humanoid.Health))
Edit
Don't use this use the other one, but it's still useful to know how tostring and .. work so I'm leaving it up.
#Edit 2
.. has an implicit tostring as well, apparently, effectively making this answer pointless.
#Edit 3
.. doesn't have an implicit tostring, it just apparently works with numbers.
If this answer doesn't go negative quick I'm just going to delete it for the sake of anybody who might stumble across it in the future and think it's anything but misinformation and LIES.
1 comment
Don't use "if true then", it's not useful in this situation. If the script is false it wouldn't run anyways.