This is the important part of the code
script.Parent.Text = plr.PlayerStats.MeleeExp.Value / plr.PlayerStats.MaxMeleeExp.Value * 100
I want to add a % symbol after this value
This is the important part of the code
script.Parent.Text = plr.PlayerStats.MeleeExp.Value / plr.PlayerStats.MaxMeleeExp.Value * 100
I want to add a % symbol after this value
script.Parent.Text = tostring(plr.PlayerStats.MeleeExp.Value / plr.PlayerStats.MaxMeleeExp.Value * 100).."%"
You can use "tostring" to transform a value into text. Then, use ".." to add the percentage character.
Thanks a lot good sir!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
in the end do this * 100.."%" .. means followed by and since % is not a value u need the speechmarks