Here's the code I think is the problem: healthtext.Text = "Health: "..tostring(health.Value).." / "..tostring(script.Parent.MaxHealth.Value)
COMMUNITY QUESTION
Unable to cast string to int64?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
That likely is not the problem, please be sure to check the output window and check the exact line and script the error occurred.
It just says unable to cast string that's all it says
Possibly because you said health.Value instead of script.Parent.Health.Value?
You'd need the full code to see the problem.
try script.Parent.Health and script.Parent.MaxHealth (without .Value at the end)
can you explain your code more, like what is the code supposed to do and show us all of it.