Swipe to scroll
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
local PlayerGui = player:WaitForChild("PlayerGui")
local BG = Color3.fromRGB(11, 11, 15)
local PANEL = Color3.fromRGB(30, 28, 40)
local PURPLE = Color3.fromRGB(153, 105, 255)
local WHITE = Color3.new(1, 1, 1)
local function make(class, props, parent)
local o = Instance.new(class)
for k, v in pairs(props) do o[k] = v end
o.Parent = parent
return o
end
local gui = make("ScreenGui", {Name = "NovaTeleport", ResetOnSpawn = false, DisplayOrder = 999}, PlayerGui)
local function style(class, parent, x, y, w, h, color, props)
local o = make(class, {Position = UDim2.fromOffset(x, y), Size = UDim2.fromOffset(w, h),
BackgroundColor3 = color, BorderSizePixel = 0}, parent)
if class ~= "Frame" and class ~= "ScrollingFrame" then
o.TextColor3, o.Font, o.TextSize = WHITE, Enum.Font.GothamBold, 12
end
for k, v in pairs(props or {}) do o[k] = v end
make("UICorner", {CornerRadius = UDim.new(0, 8)}, o)
return o
end
Comments 3