Universal Script 📌
1.2k Views
248 Executions

Epics hub template

Universal Script 📌
Epic_Scripts
Epic_Scripts10K executions
1 month ago

Reviewed by QueueSpeedDemonPaid revieweron How review works

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

There are no features to this… this is a template… make changes to it however you like!

View Raw
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "EpicScriptHubGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

local mainFrame = Instance.new("Frame")
mainFrame.Name = "MainFrame"
mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 30)
mainFrame.BorderSizePixel = 0
mainFrame.ClipsDescendants = false
mainFrame.Parent = screenGui

local isMobile = UserInputService:GetPlatform() == Enum.Platform.IOS or UserInputService:GetPlatform() == Enum.Platform.Android

if isMobile then
	mainFrame.Size = UDim2.new(0.65, 0, 0.8, 0)
	mainFrame.Position = UDim2.new(0.175, 0, 0.1, 0)
else
	mainFrame.Size = UDim2.new(0, 500, 0, 600)
	mainFrame.Position = UDim2.new(0.5, -250, 0.5, -300)
end

local function addCorner(parent, radius)
	local corner = Instance.new("UICorner")
	corner.CornerRadius = UDim.new(0, radius)
	corner.Parent = parent
end
addCorner(mainFrame, 12)

local shadow = Instance.new("Frame")
shadow.Name = "Shadow"
shadow.Size = UDim2.new(1, 0, 1, 0)
shadow.Position = UDim2.new(0, 2, 0, 2)
shadow.BackgroundColor3 = Color3.fromRGB(0, 0, 0)


Comments

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

Tags

More universal scripts

See all
Universal Script 📌
1.1k
2.7k
Bumped 8 minutes ago
Universal Script 📌
1.3k
5.9k
Bumped 10 minutes ago
Script hub
22.0k
4.3k
Bumped 1 hour ago
Key System
Paid
High Quality Offering
Universal Script 📌
1.0k
2.2k
Bumped 1 hour ago
Universal Script 📌
1.6k
5.9k
Bumped 2 hours ago
Script hub
164.7k
564.9k
Bumped 5 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT

Script hub
3.0k
3.8k
Bumped 5 hours ago
Script hub
306
1.6k
15 hours ago
Key System