--// SPIDER HUB
--// Spider Loading + Spider UI + Fixed Teleports
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
pcall(function()
game.CoreGui:FindFirstChild("SpiderHubLoading"):Destroy()
game.CoreGui:FindFirstChild("SpiderHubUI"):Destroy()
end)
--------------------------------------------------------------------
-- LOADING SCREEN
--------------------------------------------------------------------
local loadingGui = Instance.new("ScreenGui")
loadingGui.Name = "SpiderHubLoading"
loadingGui.IgnoreGuiInset = true
loadingGui.ResetOnSpawn = false
loadingGui.Parent = game.CoreGui
local bg = Instance.new("Frame")
bg.Parent = loadingGui
bg.Size = UDim2.new(1,0,1,0)
bg.BackgroundColor3 = Color3.fromRGB(5,5,5)
bg.BorderSizePixel = 0
local gradient = Instance.new("UIGradient")
gradient.Parent = bg
gradient.Rotation = 90
gradient.Color = ColorSequence.new{
ColorSequenceKeypoint.new(0, Color3.fromRGB(0,0,0)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(20,20,20))
}
-- TITULO
local title = Instance.new("TextLabel")
title.Parent = bg
title.AnchorPoint = Vector2.new(0.5,0.5)
title.Position = UDim2.new(0.5,0,0.42,0)
title.Size = UDim2.new(0,500,0,100)
title.BackgroundTransparency = 1
title.Text = "SPIDER HUB"
title.TextColor3 = Color3.fromRGB(255,255,255)
title.TextStrokeTransparency = 0
title.TextStrokeColor3 = Color3.fromRGB(255,0,0)
title.Font = Enum.Font.Arcade
title.TextScaled = true
local subtitle = Instance.new("TextLabel")
subtitle.Parent = bg
subtitle.AnchorPoint = Vector2.new(0.5,0.5)
subtitle.Position = UDim2.new(0.5,0,0.54,0)
subtitle.Size = UDim2.new(0,350,0,40)
subtitle.BackgroundTransparency = 1
subtitle.Text = "Loading Spider Systems..."
subtitle.TextColor3 = Color3.fromRGB(180,180,180)
subtitle.Font = Enum.Font.GothamBold
subtitle.TextScaled = true
-- BARRA
local barBg = Instance.new("Frame")
barBg.Parent = bg
barBg.AnchorPoint = Vector2.new(0.5,0.5)
barBg.Position = UDim2.new(0.5,0,0.7,0)
barBg.Size = UDim2.new(0,350,0,20)
barBg.BackgroundColor3 = Color3.fromRGB(35,35,35)
barBg.BorderSizePixel = 0
Instance.new("UICorner", barBg).CornerRadius = UDim.new(1,0)
local bar = Instance.new("Frame")
bar.Parent = barBg
bar.Size = UDim2.new(0,0,1,0)
bar.BackgroundColor3 = Color3.fromRGB(255,0,0)
bar.BorderSizePixel = 0
Instance.new("UICorner", bar).CornerRadius = UDim.new(1,0)
-- ARANHAS
for i = 1,15 do
local spider = Instance.new("TextLabel")
spider.Parent = bg
spider.BackgroundTransparency = 1
spider.Text = "🕷"
spider.TextScaled = true
spider.Font = Enum.Font.GothamBlack
spider.TextColor3 = Color3.fromRGB(255,255,255)
local size = math.random(30,55)
spider.Size = UDim2.new(0,size,0,size)
spider.Position = UDim2.new(
math.random(),
0,
-math.random(),
0
)
local line = Instance.new("Frame")
line.Parent = bg
line.BorderSizePixel = 0
line.BackgroundColor3 = Color3.fromRGB(180,180,180)
line.AnchorPoint = Vector2.new(0.5,0)
line.Position = UDim2.new(spider.Position.X.Scale,0,0,0)
line.Size = UDim2.new(0,2,spider.Position.Y.Scale,0)
task.spawn(function()
while loadingGui.Parent do
local tween1 = TweenService:Create(
spider,
TweenInfo.new(2),
{
Position = UDim2.new(
spider.Position.X.Scale,
0,
math.random(20,80)/100,
0
)
}
)
tween1:Play()
tween1.Completed:Wait()
local tween2 = TweenService:Create(
spider,
TweenInfo.new(2),
{
Position = UDim2.new(
spider.Position.X.Scale,
0,
-math.random(1,5)/10,
0
)
}
)
tween2:Play()
tween2.Completed:Wait()
end
end)
end
-- BRILHO TITULO
task.spawn(function()
while loadingGui.Parent do
local t1 = TweenService:Create(
title,
TweenInfo.new(1),
{
TextColor3 = Color3.fromRGB(255,0,0)
}
)
t1:Play()
t1.Completed:Wait()
local t2 = TweenService:Create(
title,
TweenInfo.new(1),
{
TextColor3 = Color3.fromRGB(255,255,255)
}
)
t2:Play()
t2.Completed:Wait()
end
end)
TweenService:Create(
bar,
TweenInfo.new(5),
{
Size = UDim2.new(1,0,1,0)
}
):Play()
task.wait(5)
loadingGui:Destroy()
--------------------------------------------------------------------
-- MAIN UI
--------------------------------------------------------------------
local gui = Instance.new("ScreenGui")
gui.Name = "SpiderHubUI"
gui.ResetOnSpawn = false
gui.Parent = game.CoreGui
local frame = Instance.new("Frame")
frame.Parent = gui
frame.Size = UDim2.new(0,300,0,200)
frame.Position = UDim2.new(0.5,-150,0.5,-100)
frame.BackgroundColor3 = Color3.fromRGB(20,20,20)
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
Instance.new("UICorner", frame).CornerRadius = UDim.new(0,14)
local stroke = Instance.new("UIStroke")
stroke.Parent = frame
stroke.Color = Color3.fromRGB(255,0,0)
stroke.Thickness = 2
-- TITULO
local title2 = Instance.new("TextLabel")
title2.Parent = frame
title2.Size = UDim2.new(1,0,0,40)
title2.BackgroundTransparency = 1
title2.Text = "🕷 SPIDER HUB 🕷"
title2.TextColor3 = Color3.fromRGB(255,255,255)
title2.Font = Enum.Font.GothamBlack
title2.TextSize = 22
-- BOTAO OG
local ogBtn = Instance.new("TextButton")
ogBtn.Parent = frame
ogBtn.Size = UDim2.new(0,240,0,50)
ogBtn.Position = UDim2.new(0.5,-120,0,60)
ogBtn.BackgroundColor3 = Color3.fromRGB(35,35,35)
ogBtn.Text = "Tp to OG"
ogBtn.TextColor3 = Color3.fromRGB(255,255,255)
ogBtn.Font = Enum.Font.GothamBold
ogBtn.TextSize = 20
Instance.new("UICorner", ogBtn).CornerRadius = UDim.new(0,12)
local ogStroke = Instance.new("UIStroke")
ogStroke.Parent = ogBtn
ogStroke.Color = Color3.fromRGB(255,0,0)
-- BOTAO HOME
local homeBtn = Instance.new("TextButton")
homeBtn.Parent = frame
homeBtn.Size = UDim2.new(0,240,0,50)
homeBtn.Position = UDim2.new(0.5,-120,0,125)
homeBtn.BackgroundColor3 = Color3.fromRGB(35,35,35)
homeBtn.Text = "Tp to Home"
homeBtn.TextColor3 = Color3.fromRGB(255,255,255)
homeBtn.Font = Enum.Font.GothamBold
homeBtn.TextSize = 20
Instance.new("UICorner", homeBtn).CornerRadius = UDim.new(0,12)
local homeStroke = Instance.new("UIStroke")
homeStroke.Parent = homeBtn
homeStroke.Color = Color3.fromRGB(255,0,0)
--------------------------------------------------------------------
-- TELEPORTES
--------------------------------------------------------------------
ogBtn.MouseButton1Click:Connect(function()
local char = player.Character
if char and char:FindFirstChild("HumanoidRootPart") then
-- MAIS PRA CIMA
char.HumanoidRootPart.CFrame =
CFrame.new(-128, 12, 1099)
end
end)
homeBtn.MouseButton1Click:Connect(function()
local char = player.Character
if char and char:FindFirstChild("HumanoidRootPart") then
-- MAIS PRA CIMA
char.HumanoidRootPart.CFrame =
CFrame.new(-128, 10, -170)
end
end)
Comments
No comments yet
Be the first to share your thoughts!