
301 Views
71 Executions
HFY Cheat menu
Universal Script 📌
patjax774Published 25
11 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
mobile verison maybe
-- 📱 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)}
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







