Swipe to scroll
local G=game
local P=G:GetService("Players")
local RS=G:GetService("RunService")
local SG=G:GetService("StarterGui")
local CG=G:GetService("CoreGui")
local L=G:GetService("Lighting")
local UI=G:GetService("UserInputService")
local LP=P.LocalPlayer
local PG=LP:WaitForChild("PlayerGui")
local Par=(gethui and gethui())or CG
local H={St={},Or={},Pt={},TP={},Tx={},UL={},Tl={},Cn={},Sk={},Wb={}}
_G.GFH=H
local Em={"π€ͺ","π€‘","π","π¦"}
local V3,U2,C3,HSV,I=Vector3.new,UDim2.new,Color3.fromRGB,Color3.fromHSV,Instance.new
function H.N(c,p,r)local o=I(c)for k,v in pairs(p)do o[k]=v end o.Parent=r return o end
function H.Sv(o,k)H.Or[o]=H.Or[o]or{}if H.Or[o][k]==nil then H.Or[o][k]=o[k]end end
function H.Rs(o)if H.Or[o]then for k,v in pairs(H.Or[o])do pcall(function()o[k]=v end)end H.Or[o]=nil end end
function H.CC(k)if H.Cn[k]then for _,c in ipairs(H.Cn[k])do c:Disconnect()end H.Cn[k]=nil end end
function H.AC(k,c)H.Cn[k]=H.Cn[k]or{}table.insert(H.Cn[k],c)end
H.Scr=H.N("ScreenGui",{Name="GFH",ResetOnSpawn=false,IgnoreGuiInset=true},Par)
local function Drg(h,t)
local d,di,ds,sp
h.InputBegan:Connect(function(i)local n=i.UserInputType.Name if n:find("Button1")or n=="Touch"then d,ds,sp=true,i.Position,t.Position i.Changed:Connect(function()if i.UserInputState.Name=="End"then d=false end end)end end)
h.InputChanged:Connect(function(i)local n=i.UserInputType.Name if n:find("Movement")or n=="Touch"then di=i end end)
UI.InputChanged:Connect(function(i)if i==di and d then local dl=i.Position-ds t.Position=U2(sp.X.Scale,sp.X.Offset+dl.X,sp.Y.Scale,sp.Y.Offset+dl.Y)end end)
end
H.Tog=H.N("TextButton",{Size=U2(0,48,0,48),Position=U2(0.05,0,0.25,0),BackgroundColor3=C3(25,20,40),Text="π€ͺ",Font=Enum.Font.FredokaOne,TextSize=24,ZIndex=10},H.Scr)
H.N("UICorner",{CornerRadius=UDim.new(1,0)},H.Tog)H.TSt=H.N("UIStroke",{Thickness=3},H.Tog)Drg(H.Tog,H.Tog)
H.Mn=H.N("Frame",{Size=U2(0,250,0,265),Position=U2(0.5,-125,0.25,0),BackgroundColor3=C3(22,18,32),Active=true},H.Scr)
H.N("UICorner",{CornerRadius=UDim.new(0,16)},H.Mn)H.MSt=H.N("UIStroke",{Thickness=4},H.Mn)
Comments 0