This script is intended for use in Roblox Magic Training mode. It allows you to instantly open a chat at the touch of a button and write a spell for the mode. In this script, the spell Petrificus Totalus is given, which turns the enemy into stone magically. Following the example of this script, you can create more scripts by changing only the spell.
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program