convert string to int roblox code example
Example: change string to number roblox
local str1 = "123"
local str2 = "Hello"
print(tonumber(str1)) --will return 123
print(tonumber(str2)) --will return nil
local str1 = "123"
local str2 = "Hello"
print(tonumber(str1)) --will return 123
print(tonumber(str2)) --will return nil