I’m trying to make it so it shows something like 0/100. But when I do it it thinks the “/” is dividing so it breaks. Please help, and have a great day.
Text script:
script.Parent.Text = “Exp…tostring)…”/“…100”
I’m trying to make it so it shows something like 0/100. But when I do it it thinks the “/” is dividing so it breaks. Please help, and have a great day.
Text script:
script.Parent.Text = “Exp…tostring)…”/“…100”
I’m a bit confused on how you implemented this?
script.Parent.Text = "Exp "..tostring(Exp.Value).."/".."100"
How does the text look when in-game? When I look at your code, everything seems fine. Also the result would be something like this:
"Exp 1/100"
So it’s suppose to show the value of leader stats then it would do / out of the number you need for example 100. So 0/100. The error is
Players.Rapideed.PlayerGui.ScreenGui.BackgroundFrame.TextLabel.LocalScript:5: attempt to perform arithmetic (div) on string - Client - LocalScript:5
It says
Players.Rapideed.PlayerGui.ScreenGui.BackgroundFrame.TextLabel.LocalScript:5: attempt to perform arithmetic (div) on string - Client - LocalScript:5
How is it an arithmetic though
Wait
script.Parent.Text = "Exp "..tostring(Exp.Value).."/100"
There seems to be an error at …“/100”
Don’t concatenate with 3 dots, use 2 to separate between strings & variables
Oh yea sorry I accidently typed that.
script.Parent.Text = "Exp: ".. Exp.Value .."/100"