What's wrong with my sword script?
There is a little part in my script and there is a really dumb error that isn't making my sword
01 | tool.Activated:connect( function () |
02 | local clickdelta = tick() - lastclick |
03 | if clickdelta > swingtime then |
06 | if clickdelta < swingtime + conbowindow then |
07 | combo = (combo + 1 ) % 3 |
13 | event:FireClient(player, "RunAnimation" , "SlashAnim2" ) |
15 | elseif combo = = 1 then |
16 | event:FireClient(player, "RunAnimation" , "ThrustAnim2" ) |
18 | elseif combo = = 2 then |
19 | event:FireClient(player, "RunAnimation" , "OverheadAnim2" ) |
Error: ')' expected (to close '(' at line 33 near 'end')*
*33 was supposed to be the start of the code.