PowerShell Auto Clicker Script

function Click-MouseButton
{
...
}

[system.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") | out-null
$delay = 25
Start-Sleep -m $delay
#Select Cassie
Start-Sleep -m $delay
[System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point(2300,475);
Click-MouseButton left

Start-Sleep -m $delay

#Select Skip
Start-Sleep -m $delay
[System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point(2700,320);
Start-Sleep -m $delay
Click-MouseButton left
Click-MouseButton left


#Atone
[System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point(2800,470);
Click-MouseButton left
Click-MouseButton left
Click-MouseButton left
Click-MouseButton left
Click-MouseButton left
Click-MouseButton left
Click-MouseButton left
Click-MouseButton left
Click-MouseButton left
Click-MouseButton left
Click-MouseButton left
Click-MouseButton left
Click-MouseButton left
Click-MouseButton left
Spotless Spider