
KeylessUniversal

-- STAR HUB - Melih 6321 Özel Premium Sürüm
local CoreGui = game:GetService("CoreGui")
local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local TextChatService = game:GetService("TextChatService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TweenService = game:GetService("TweenService")
local LocalPlayer = Players.LocalPlayer
-- ESKİ GUI TEMİZLEME
if CoreGui:FindFirstChild("StarHubPremium") then
CoreGui.StarHubPremium:Destroy()
end
-- ANA GUI SETUP
local ScreenGui = Instance.new("ScreenGui", CoreGui)
ScreenGui.Name = "StarHubPremium"
ScreenGui.ResetOnSpawn = false
-- ==========================================
-- 1. TAM EKRAN YÜKLEME EKRANI ANIMASYONU
-- ==========================================
local LoadingScreen = Instance.new("Frame", ScreenGui)
LoadingScreen.Size = UDim2.new(1, 0, 1, 0)
LoadingScreen.BackgroundColor3 = Color3.fromRGB(10, 10, 12)
LoadingScreen.ZIndex = 999
local WelcomeLabel = Instance.new("TextLabel", LoadingScreen)
WelcomeLabel.Size = UDim2.new(1, 0, 0, 50)
WelcomeLabel.Position = UDim2.new(0, 0, 0.35, 0)
WelcomeLabel.Text = "Welcome Melih 6321"
WelcomeLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
WelcomeLabel.Font = Enum.Font.GothamBold
WelcomeLabel.TextSize = 28
WelcomeLabel.BackgroundTransparency = 1
local ProgressBackground = Instance.new("Frame", LoadingScreen)
ProgressBackground.Size = UDim2.new(0, 300, 0, 15)
ProgressBackground.Position = UDim2.new(0.5, -150, 0.5, 0)
ProgressBackground.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
Instance.new("UICorner", ProgressBackground).CornerRadius = UDim.new(1, 0)
local ProgressBar = Instance.new("Frame", ProgressBackground)
ProgressBar.Size = UDim2.new(0, 0, 1, 0)
ProgressBar.BackgroundColor3 = Color3.fromRGB(80, 80, 255)
Instance.new("UICorner", ProgressBar).CornerRadius = UDim.new(1, 0)
local PercentLabel = Instance.new("TextLabel", LoadingScreen)
PercentLabel.Size = UDim2.new(0, 100, 0, 30)
PercentLabel.Position = UDim2.new(0.5, -50, 0.5, 20)
PercentLabel.Text = "Loading... 0%"
PercentLabel.TextColor3 = Color3.fromRGB(180, 180, 180)
PercentLabel.Font = Enum.Font.GothamMedium
PercentLabel.TextSize = 14
PercentLabel.BackgroundTransparency = 1
-- ==========================================
-- 2. ANA PANEL & AÇ/KAPAT BUTONU
-- ==========================================
local ToggleBtn = Instance.new("ImageButton", ScreenGui)
ToggleBtn.Size = UDim2.new(0, 45, 0, 45)
ToggleBtn.Position = UDim2.new(0, 10, 0.5, -22)
ToggleBtn.BackgroundColor3 = Color3.fromRGB(20, 20, 25)
ToggleBtn.Image = "rbxassetid://6031094677"
ToggleBtn.Draggable = false
Instance.new("UICorner", ToggleBtn).CornerRadius = UDim.new(1, 0)
local MainFrame = Instance.new("Frame", ScreenGui)
MainFrame.Size = UDim2.new(0, 240, 0, 320)
MainFrame.Position = UDim2.new(0.5, -120, 0.5, -160)
MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 30)
MainFrame.Visible = false
MainFrame.Draggable = true
Instance.new("UICorner", MainFrame).CornerRadius = UDim.new(0, 12)
Instance.new("UIStroke", MainFrame).Color = Color3.fromRGB(80, 80, 100)
local Title = Instance.new("TextLabel", MainFrame)
Title.Size = UDim2.new(0.6, 0, 0, 40)
Title.Position = UDim2.new(0.05, 0, 0, 0)
Title.Text = "STAR HUB"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.Font = Enum.Font.GothamBold
Title.TextXAlignment = Enum.TextXAlignment.Left
Title.BackgroundTransparency = 1
-- ROBLOX PROFIL FOTOĞRAFI & ID (Sağ Üst Köşe)
local AvatarFrame = Instance.new("ImageLabel", MainFrame)
AvatarFrame.Size = UDim2.new(0, 50, 0, 50)
AvatarFrame.Position = UDim2.new(0.75, -5, 0, 5)
AvatarFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 40)
AvatarFrame.Image = "rbxthumb://type=AvatarHeadShot&id=" .. LocalPlayer.UserId .. "&w=150&h=150"
Instance.new("UICorner", AvatarFrame).CornerRadius = UDim.new(0, 8)
local IdLabel = Instance.new("TextLabel", MainFrame)
IdLabel.Size = UDim2.new(0, 60, 0, 15)
IdLabel.Position = UDim2.new(0.72, -5, 0, 58)
IdLabel.Text = "ID: " .. LocalPlayer.UserId
IdLabel.TextColor3 = Color3.fromRGB(150, 150, 150)
IdLabel.Font = Enum.Font.Gotham
IdLabel.TextSize = 9
IdLabel.BackgroundTransparency = 1
-- ==========================================
-- 3. FONKSİYONLAR & CHAT SPAM MANTIĞI
-- ==========================================
local SpamActive = false
local ShapeSpamActive = false
local CustomText = "Star Hub"
local function SendChatMessage(msg)
if TextChatService and TextChatService:FindFirstChild("TextChannels") and TextChatService.TextChannels:FindFirstChild("RBXGeneral") then
TextChatService.TextChannels.RBXGeneral:SendAsync(msg)
else
local Remote = ReplicatedStorage:FindFirstChild("DefaultChatSystemChatEvents") and ReplicatedStorage.DefaultChatSystemChatEvents:FindFirstChild("SayMessageRequest")
if Remote then
Remote:FireServer(msg, "All")
end
end
end
-- TEXTBOX
local InputBox = Instance.new("TextBox", MainFrame)
InputBox.Size = UDim2.new(0.65, 0, 0, 35)
InputBox.Position = UDim2.new(0.05, 0, 0, 50)
InputBox.PlaceholderText = "Spam Metni..."
InputBox.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
InputBox.TextColor3 = Color3.fromRGB(255, 255, 255)
InputBox.Font = Enum.Font.Gotham
InputBox.TextSize = 12
Instance.new("UICorner", InputBox).CornerRadius = UDim.new(0, 6)
InputBox.FocusLost:Connect(function() CustomText = InputBox.Text end)
-- BUTON OLUŞTURMA
local function AddBtn(text, yPos, callback)
local btn = Instance.new("TextButton", MainFrame)
btn.Size = UDim2.new(0.9, 0, 0, 40)
btn.Position = UDim2.new(0.05, 0, 0, yPos)
btn.Text = text
btn.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
btn.TextColor3 = Color3.fromRGB(255, 255, 255)
btn.Font = Enum.Font.GothamSemibold
Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6)
btn.MouseButton1Click:Connect(callback)
return btn
end
local SpamBtn = AddBtn("Spam Text: OFF", 100, function()
SpamActive = not SpamActive
SpamBtn.Text = SpamActive and "Spam Text: ON" or "Spam Text: OFF"
SpamBtn.BackgroundColor3 = SpamActive and Color3.fromRGB(50, 150, 50) or Color3.fromRGB(45, 45, 55)
end)
local ShapeBtn = AddBtn("Shape Spam: OFF", 145, function()
ShapeSpamActive = not ShapeSpamActive
ShapeBtn.Text = ShapeSpamActive and "Shape Spam: ON" or "Shape Spam: OFF"
ShapeBtn.BackgroundColor3 = ShapeSpamActive and Color3.fromRGB(50, 150, 50) or Color3.fromRGB(45, 45, 55)
end)
AddBtn("REJOIN", 190, function()
TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer)
end)
AddBtn("EXIT", 235, function()
LocalPlayer:Kick("Star Hub: Exit")
end)
-- SPAM THREAD
task.spawn(function()
while task.wait(0.6) do
if SpamActive then SendChatMessage(CustomText) end
if ShapeSpamActive then SendChatMessage("꧁༺ ✿ █ ░ ▒ ▓ █ ✿ ༻꧂") end
end
end)
-- PANEL AÇ/KAPAT ANIMASYONU
ToggleBtn.MouseButton1Click:Connect(function()
MainFrame.Visible = not MainFrame.Visible
end)
-- ==========================================
-- 4. YÜKLEME EKRANI BAŞLATICI ANIMASYON
-- ==========================================
task.spawn(function()
for i = 0, 100, 4 do
task.wait(0.05)
ProgressBar.Size = UDim2.new(i/100, 0, 1, 0)
PercentLabel.Text = "Loading... " .. i .. "%"
end
task.wait(0.2)
-- Yükleme ekranını kaydırarak yok et
TweenService:Create(LoadingScreen, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(0, 0, -1, 0)}):Play()
task.wait(0.4)
LoadingScreen:Destroy()
MainFrame.Visible = true -- Ana panel otomatik açılır
end)No comments yet for this script.



