Gui and attack fix