Onactivate > Self > VCEretrocheck > Ifplayerscore >=
X PointsOnvariabletrue > Client > incscore >
- X Points
Onvariabletrue > namedbrick(
vehiclespawn) > setvehicle >
vehicleOnvariabletrue > client > chatmsg > "You bought this vehicle."
Onvariablefalse > client > chatmsg > "You need X points for this."
First line checks if player has enough points.
Second decreases by however many it costs.
Third spawns vehicle.
Change the bolded things to whatever you want them to be.
The bottom two lines are not needed, they're just there for added effect.
https://m.mediafire.com/view/zegm847f0urv5yd < There's VCE