So, i have the value of seconds at 30 seconds, when i want to get minutes i get 0.5, and how would i make it only show the first character appear?
local min = seconds.Value / 60
So, i have the value of seconds at 30 seconds, when i want to get minutes i get 0.5, and how would i make it only show the first character appear?
local min = seconds.Value / 60
local min = seconds.Value / 60
local intmin = string.split(min, ".")[1]
print(intmin)
EDIT: more flexibility
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
accept the answer if it helped