local player = game:GetService("Players").LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local purchaseGui = playerGui:FindFirstChild("PurchaseGUI") if purchaseGui then purchaseGui:Destroy() end local remote = game:GetService("ReplicatedStorage") :WaitForChild("Network") :WaitForChild("SwingHammer") while true do remote:FireServer("Hammer") task.wait(0.1) end