Universal Script 📌
301 Views
71 Executions

HFY Cheat menu

Universal Script 📌
patjax774
patjax774Published 25
11 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

mobile verison maybe

View Raw
-- 📱 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

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
48.5k
46.5k
Bumped 2 hours ago
Universal Script 📌
1.4k
1.3k
Bumped 5 hours ago
Universal Script 📌
4.2k
56.4k
Bumped 6 hours ago
Universal Script 📌
7.1k
71.4k
Bumped 6 hours ago
Script hub
3.5M
1.2M
Bumped 7 hours ago
Key System
Universal Script 📌
5.0k
92.0k
Bumped 12 hours ago