Il will start a script while i press a Button

Il will start a script while i press a Button
Please help
Thank you in advance.

take an empty gameObject and apply a script on it which you want to run.
turn that gameobject off from the hierarchy.
now make a button and in onclick of this button pass that empty gameobject and select gameobject.setactive booean and check the box.
i hope it helps