-- 📱 Mobile Support Toggle Button local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") -- Detect mobile local isMobile = UserInputService.TouchEnabled and not UserInputService.KeyboardEnabled if isMobile then local MobileBtn = Instance.new("TextButton", ScreenGui) MobileBtn.Size = UDim2.new(0, 60, 0, 60) MobileBtn.Position = UDim2.new(0, 20, 0.5, -30) MobileBtn.BackgroundColor3 = Color3.fromRGB(15,15,15) MobileBtn.Text = "HFY" MobileBtn.TextColor3 = Color3.fromRGB(255,221,0) MobileBtn.Font = Enum.Font.SourceSansBold MobileBtn.TextSize = 20 MobileBtn.BorderColor3 = Color3.fromRGB(255,221,0) MobileBtn.Active = true MobileBtn.Draggable = true MobileBtn.AutoButtonColor = false -- Rounded corners local corner = Instance.new("UICorner", MobileBtn) corner.CornerRadius = UDim.new(0,12) -- Tap animation MobileBtn.MouseButton1Down:Connect(function() TweenService:Create( MobileBtn, TweenInfo.new(0.1), {Size = UDim2.new(0,55,0,55)} ):Play() end) MobileBtn.MouseButton1Up:Connect(function() TweenService:Create( MobileBtn, TweenInfo.new(0.1), {Size = UDim2.new(0,60,0,60)} ):Play() end) -- Toggle menu MobileBtn.MouseButton1Click:Connect(function() Main.Visible = not Main.Visible end) end