Hi there, I am creating a client side script for a auto clicker here is what I have so far for it
if buried.Settings["mouse_spam"] and input.IsKeyDown(KEY_UP) then local timer.Create("spam", 0.1, 1, function () RunConsoleCommand("+attack") end
Line 1 is for the button and key
Line 2 is supposed to be the timer, but it keeps getting error.
[ERROR] lua/buried.lua:572: unexpected symbol near '.'