local Players = game:GetService("Players") local PlayerGui = Players.LocalPlayer:WaitForChild("PlayerGui") local Button = PlayerGui:WaitForChild("TrainTap") :WaitForChild("Root") :WaitForChild("Button") task.spawn(function() while task.wait(0.05) do if Button.Visible and Button.Active then firesignal(Button.Activated) end end end)