Post a screenshot of the server. This line near the top {$i SRL-6/srl.simba} loads a library setup for RS3 scripting.
Also in future any RSPS help threads should go here: https://villavu.com/forum/forumdisplay.php?f=684
Also also, help people be able to help you. Layout your posts better, include more spacing and paragraphs. Look at what tags are available such as the [SIMBA] tags. Include helpful information right away such as it's a private server, which server it is, how it looks etc...
Simba Code:
program ChopTree;
{$i SRL-6/srl.simba}
Procedure ClickTree;
var
X, Y: Integer;
begin
if FindColorTolerance(X, Y, 593937, 988, 266, 977, 245, 5) then
mouse(X, Y, 1, 1); //semi colon
end; //semi colon
begin
SetupSRL;
MouseSpeed := 15; //call this after setupSRL as that may assign it a value, which will overwrite yours.
//okay this is the part of the file that the computer takes instructions from
//everything above this section is just setting up for this part, here is where you bring it together.
//so we need to call the ChopTree procedure you made above
ChopTree;
//that'll execute it once.
end. //full stop
Read the tutorials posted again and practice more. You're missing basic syntax, once you have the basics down you can go forward.