I am using loadstring() to calculate stuff in my calculator script. I have loadstring enabled in ServerScriptService but when I publish the place and join it it says loadstring not enabled/available.
local calculation = Display.Text local function calculate(calc) local calculated = loadstring("return "..calculation)() -- <------- return calculated end if string.sub(calculation, 1, 1) == "=" then calculation = string.sub(calculation, 2, string.len(calculation)) end Display.LASTCALC.Text = calculation Display.Text = "="..calculate(calculation)