local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local localPlayer = Players.LocalPlayer
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "GuiBadkidAndGemini"
screenGui.ResetOnSpawn = false
screenGui.Parent = localPlayer:WaitForChild("PlayerGui")
---------------------------------------------------------
--// LOADING SCREEN
---------------------------------------------------------
local loadingFrame = Instance.new("Frame")
loadingFrame.Size = UDim2.new(0, 300, 0, 150)
loadingFrame.Position = UDim2.new(0.5, -150, 0.45, -75)
loadingFrame.BackgroundColor3 = Color3.fromRGB(8, 8, 8)
loadingFrame.BorderSizePixel = 0
loadingFrame.BackgroundTransparency = 1
loadingFrame.Parent = screenGui
local loadCorner = Instance.new("UICorner")
loadCorner.CornerRadius = UDim.new(0, 20)
loadCorner.Parent = loadingFrame
local loadStroke = Instance.new("UIStroke")
loadStroke.Color = Color3.fromRGB(255, 40, 40)
loadStroke.Thickness = 2
loadStroke.Transparency = 1
loadStroke.Parent = loadingFrame
local loadingText = Instance.new("TextLabel")
loadingText.Size = UDim2.new(1, 0, 0, 40)
loadingText.Position = UDim2.new(0, 0, 0, 10)
loadingText.BackgroundTransparency = 1
loadingText.Text = "Downloading... 0%"
loadingText.TextColor3 = Color3.fromRGB(255, 60, 60)
loadingText.Font = Enum.Font.GothamBold
loadingText.TextSize = 18
loadingText.TextTransparency = 1
loadingText.Parent = loadingFrame
local barBackground = Instance.new("Frame")
barBackground.Size = UDim2.new(0.85, 0, 0, 14)
barBackground.Position = UDim2.new(0.075, 0, 0.45, 0)
barBackground.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
barBackground.BackgroundTransparency = 1
barBackground.BorderSizePixel = 0
barBackground.Parent = loadingFrame
local barBgCorner = Instance.new("UICorner")
barBgCorner.CornerRadius = UDim.new(0, 7)
barBgCorner.Parent = barBackground
local progressBar = Instance.new("Frame")
progressBar.Size = UDim2.new(0, 0, 1, 0)
progressBar.BackgroundColor3 = Color3.fromRGB(255, 40, 40)
progressBar.BackgroundTransparency = 1
progressBar.BorderSizePixel = 0
progressBar.Parent = barBackground
local barCorner = Instance.new("UICorner")
barCorner.CornerRadius = UDim.new(0, 7)
barCorner.Parent = progressBar
local clientSidedText = Instance.new("TextLabel")
clientSidedText.Size = UDim2.new(1, 0, 0, 20)
clientSidedText.Position = UDim2.new(0, 0, 0.62, 0)
clientSidedText.BackgroundTransparency = 1
clientSidedText.Text = "Client-Sided Only!"
clientSidedText.TextColor3 = Color3.fromRGB(200, 30, 30)
clientSidedText.Font = Enum.Font.GothamBold
clientSidedText.TextSize = 13
clientSidedText.TextTransparency = 1
clientSidedText.Parent = loadingFrame
local skipBtn = Instance.new("TextButton")
skipBtn.Size = UDim2.new(0, 55, 0, 18)
skipBtn.Position = UDim2.new(0.5, -27, 0.80, 0)
skipBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
skipBtn.Text = "SKIP"
skipBtn.TextColor3 = Color3.fromRGB(180, 50, 50)
skipBtn.Font = Enum.Font.GothamBold
skipBtn.TextSize = 10
skipBtn.TextTransparency = 1
skipBtn.BackgroundTransparency = 1
skipBtn.Visible = false
skipBtn.Parent = loadingFrame
local skipCorner = Instance.new("UICorner")
skipCorner.CornerRadius = UDim.new(0, 4)
skipCorner.Parent = skipBtn
---------------------------------------------------------
--// MAIN MENU (SİMETRİK GÜNCELLEME)
---------------------------------------------------------
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 300, 0, 250)
mainFrame.Position = UDim2.new(0.5, -150, 0.4, -125)
mainFrame.BackgroundColor3 = Color3.fromRGB(8, 8, 8)
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Draggable = false
mainFrame.Visible = false
mainFrame.ClipsDescendants = true
mainFrame.Parent = screenGui
local uiCorner = Instance.new("UICorner")
uiCorner.CornerRadius = UDim.new(0, 20)
uiCorner.Parent = mainFrame
local stroke = Instance.new("UIStroke")
stroke.Color = Color3.fromRGB(255, 40, 40)
stroke.Thickness = 2
stroke.Transparency = 0.2
stroke.Parent = mainFrame
-- ÜST BAR: Tamamen izole ve simetrik hale getirildi
local tabBar = Instance.new("Frame")
tabBar.Size = UDim2.new(1, 0, 0, 40)
tabBar.BackgroundTransparency = 1
tabBar.ZIndex = 5
tabBar.Parent = mainFrame
-- Sol Buton (Main Page)
local mainTab = Instance.new("TextButton")
mainTab.Size = UDim2.new(0.4, 0, 1, 0)
mainTab.Position = UDim2.new(0, 0, 0, 0) -- En solda sabit
mainTab.BackgroundTransparency = 1
mainTab.Text = "MAIN PAGE"
mainTab.TextColor3 = Color3.fromRGB(255, 60, 60)
mainTab.Font = Enum.Font.GothamBold
mainTab.TextSize = 16
mainTab.ZIndex = 5
mainTab.Parent = tabBar
-- Orta Sabit Alan (Asla kaymayan sayfa indikatörü)
local pageIndicator = Instance.new("TextLabel")
pageIndicator.Size = UDim2.new(0.2, 0, 1, 0)
pageIndicator.Position = UDim2.new(0.4, 0, 0, 0) -- Tam matematiksel orta (%40 sol boşluk, %20 kendi genişliği)
pageIndicator.BackgroundTransparency = 1
pageIndicator.Text = "1/2"
pageIndicator.TextColor3 = Color3.fromRGB(130, 130, 130)
pageIndicator.Font = Enum.Font.GothamBlack
pageIndicator.TextSize = 14
pageIndicator.ZIndex = 5
pageIndicator.Parent = tabBar
-- Sağ Buton (Credits)
local creditsTab = Instance.new("TextButton")
creditsTab.Size = UDim2.new(0.4, 0, 1, 0)
creditsTab.Position = UDim2.new(0.6, 0, 0, 0) -- En sağda sabit (%60'tan başlayarak %100'e kadar)
creditsTab.BackgroundTransparency = 1
creditsTab.Text = "CREDITS"
creditsTab.TextColor3 = Color3.fromRGB(180, 180, 180)
creditsTab.Font = Enum.Font.GothamBold
creditsTab.TextSize = 16
creditsTab.ZIndex = 5
creditsTab.Parent = tabBar
-- Sayfaların hareket edeceği ana konteyner
local pageContainer = Instance.new("Frame")
pageContainer.Size = UDim2.new(2, 0, 1, -40)
pageContainer.Position = UDim2.new(0, 0, 0, 40)
pageContainer.BackgroundTransparency = 1
pageContainer.Parent = mainFrame
local mainPage = Instance.new("Frame")
mainPage.Size = UDim2.new(0.5, 0, 1, 0)
mainPage.Position = UDim2.new(0, 0, 0, 0)
mainPage.BackgroundTransparency = 1
mainPage.Parent = pageContainer
local titleLabel = Instance.new("TextLabel")
titleLabel.Size = UDim2.new(0.9, 0, 0, 80)
titleLabel.Position = UDim2.new(0.05, 0, 0, 5)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "WEIGHT LIFTING\nSIMULATOR\n3"
titleLabel.TextColor3 = Color3.fromRGB(255, 75, 75)
titleLabel.TextSize = 27
titleLabel.Font = Enum.Font.GothamBlack
titleLabel.TextWrapped = true
titleLabel.Parent = mainPage
local followMeLabel = Instance.new("TextLabel")
followMeLabel.Size = UDim2.new(0.9, 0, 0, 20)
followMeLabel.Position = UDim2.new(0.05, 0, 0, 88)
followMeLabel.BackgroundTransparency = 1
followMeLabel.Text = "pls follow me in roblox😭✌️"
followMeLabel.TextColor3 = Color3.fromRGB(140, 110, 110)
followMeLabel.TextSize = 12
followMeLabel.Font = Enum.Font.GothamBold
followMeLabel.Parent = mainPage
local activateBtn = Instance.new("TextButton")
activateBtn.Size = UDim2.new(0.85, 0, 0, 58)
activateBtn.Position = UDim2.new(0.075, 0, 0.54, 0)
activateBtn.Text = "ACTIVATE"
activateBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
activateBtn.TextSize = 20
activateBtn.Font = Enum.Font.GothamBlack
activateBtn.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
activateBtn.Parent = mainPage
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0, 16)
btnCorner.Parent = activateBtn
local creditsPage = Instance.new("Frame")
creditsPage.Size = UDim2.new(0.5, 0, 1, 0)
creditsPage.Position = UDim2.new(0.5, 0, 0, 0)
creditsPage.BackgroundTransparency = 1
creditsPage.Parent = pageContainer
local creditsText = Instance.new("TextLabel")
creditsText.Size = UDim2.new(0.9, 0, 0.5, 0)
creditsText.Position = UDim2.new(0.05, 0, 0.05, 0)
creditsText.BackgroundTransparency = 1
creditsText.Text = "Ty For Rayz-X For Helping Us!\n\nBy salam_4828"
creditsText.TextColor3 = Color3.fromRGB(255, 80, 80)
creditsText.TextSize = 21
creditsText.Font = Enum.Font.GothamBold
creditsText.TextTransparency = 1
creditsText.Parent = creditsPage
local timeLabel = Instance.new("TextLabel")
timeLabel.Size = UDim2.new(1, 0, 0, 25)
timeLabel.Position = UDim2.new(0, 0, 0.65, 0)
timeLabel.BackgroundTransparency = 1
timeLabel.Text = "TR Time: 00:00:00"
timeLabel.TextColor3 = Color3.fromRGB(220, 220, 220)
timeLabel.Font = Enum.Font.GothamBold
timeLabel.TextSize = 14
timeLabel.TextTransparency = 1
timeLabel.Parent = creditsPage
local worldTimeLabel = Instance.new("TextLabel")
worldTimeLabel.Size = UDim2.new(1, 0, 0, 25)
worldTimeLabel.Position = UDim2.new(0, 0, 0.80, 0)
worldTimeLabel.BackgroundTransparency = 1
worldTimeLabel.Text = "World Time: 00:00:00"
worldTimeLabel.TextColor3 = Color3.fromRGB(150, 150, 150)
worldTimeLabel.Font = Enum.Font.GothamBold
worldTimeLabel.TextSize = 13
worldTimeLabel.TextTransparency = 1
worldTimeLabel.Parent = creditsPage
local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 36, 0, 36)
closeBtn.Position = UDim2.new(1, -42, 0, 8)
closeBtn.BackgroundTransparency = 1
closeBtn.Text = "✕"
closeBtn.TextColor3 = Color3.fromRGB(255, 70, 70)
closeBtn.TextSize = 24
closeBtn.Font = Enum.Font.GothamBold
closeBtn.ZIndex = 6
closeBtn.Parent = mainFrame
---------------------------------------------------------
--// FONKSİYONLAR VE KONTROLLER (ANIMASYONLAR DAHİL)
---------------------------------------------------------
local slideTweenInfo = TweenInfo.new(0.4, Enum.EasingStyle.Quint, Enum.EasingDirection.Out)
local fadeFastInfo = TweenInfo.new(0.15, Enum.EasingStyle.Linear)
local function animateIndicator(newText)
local fadeOutTween = TweenService:Create(pageIndicator, fadeFastInfo, {TextTransparency = 1})
fadeOutTween:Play()
fadeOutTween.Completed:Wait()
pageIndicator.Text = newText
TweenService:Create(pageIndicator, fadeFastInfo, {TextTransparency = 0}):Play()
end
local function switchPage(toMain)
if toMain then
TweenService:Create(pageContainer, slideTweenInfo, {Position = UDim2.new(0, 0, 0, 40)}):Play()
mainTab.TextColor3 = Color3.fromRGB(255, 60, 60)
creditsTab.TextColor3 = Color3.fromRGB(180, 180, 180)
task.spawn(animateIndicator, "1/2")
TweenService:Create(titleLabel, slideTweenInfo, {TextTransparency = 0}):Play()
TweenService:Create(followMeLabel, slideTweenInfo, {TextTransparency = 0}):Play()
TweenService:Create(activateBtn, slideTweenInfo, {TextTransparency = 0, BackgroundTransparency = 0}):Play()
TweenService:Create(creditsText, slideTweenInfo, {TextTransparency = 1}):Play()
TweenService:Create(timeLabel, slideTweenInfo, {TextTransparency = 1}):Play()
TweenService:Create(worldTimeLabel, slideTweenInfo, {TextTransparency = 1}):Play()
else
TweenService:Create(pageContainer, slideTweenInfo, {Position = UDim2.new(-1, 0, 0, 40)}):Play()
mainTab.TextColor3 = Color3.fromRGB(180, 180, 180)
creditsTab.TextColor3 = Color3.fromRGB(255, 60, 60)
task.spawn(animateIndicator, "2/2")
TweenService:Create(titleLabel, slideTweenInfo, {TextTransparency = 1}):Play()
TweenService:Create(followMeLabel, slideTweenInfo, {TextTransparency = 1}):Play()
TweenService:Create(activateBtn, slideTweenInfo, {TextTransparency = 1, BackgroundTransparency = 1}):Play()
TweenService:Create(creditsText, slideTweenInfo, {TextTransparency = 0}):Play()
TweenService:Create(timeLabel, slideTweenInfo, {TextTransparency = 0}):Play()
TweenService:Create(worldTimeLabel, slideTweenInfo, {TextTransparency = 0}):Play()
end
end
local function fadeIn()
mainFrame.Visible = true
mainFrame.Position = UDim2.new(0.5, -220, 0.4, -125)
mainFrame.BackgroundTransparency = 1
TweenService:Create(mainFrame, TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {
Position = UDim2.new(0.5, -150, 0.4, -125),
BackgroundTransparency = 0
}):Play()
switchPage(true)
end
local function fadeOut()
TweenService:Create(mainFrame, TweenInfo.new(0.4, Enum.EasingStyle.Quint, Enum.EasingDirection.In), {
Position = UDim2.new(0.5, -180, 0.4, -125),
BackgroundTransparency = 1
}):Play()
task.wait(0.4)
mainFrame.Visible = false
end
-- Tıklama Olayları
mainTab.MouseButton1Click:Connect(function() switchPage(true) end)
creditsTab.MouseButton1Click:Connect(function() switchPage(false) end)
closeBtn.MouseButton1Click:Connect(fadeOut)
activateBtn.MouseButton1Click:Connect(function()
activateBtn.Text = "FIRED"
task.spawn(function()
local strength = game.Players.LocalPlayer.leaderstats.Strength
while task.wait(0.1) do strength.Value = strength.Value + 10 end
end)
end)
UserInputService.InputBegan:Connect(function(input, gp)
if gp then return end
if input.KeyCode == Enum.KeyCode.F then
if mainFrame.Visible then fadeOut() else fadeIn() end
end
end)
-- Saat Güncellemesi
task.spawn(function()
while true do
local timestamp = os.time()
timeLabel.Text = "TR Time: " .. os.date("!%X", timestamp + 10800)
worldTimeLabel.Text = "World Time: " .. os.date("!%X", timestamp + 3600)
task.wait(1)
end
end)
---------------------------------------------------------
--// LOADING BAŞLATICI
---------------------------------------------------------
local skipped = false
skipBtn.MouseButton1Click:Connect(function() skipped = true end)
task.spawn(function()
task.wait(0.2)
TweenService:Create(loadingFrame, TweenInfo.new(0.3), {BackgroundTransparency = 0}):Play()
TweenService:Create(loadStroke, TweenInfo.new(0.3), {Transparency = 0.2}):Play()
TweenService:Create(loadingText, TweenInfo.new(0.3), {TextTransparency = 0}):Play()
TweenService:Create(barBackground, TweenInfo.new(0.3), {BackgroundTransparency = 0}):Play()
TweenService:Create(progressBar, TweenInfo.new(0.3), {BackgroundTransparency = 0}):Play()
TweenService:Create(clientSidedText, TweenInfo.new(0.3), {TextTransparency = 0}):Play()
for i = 0, 100 do
if skipped then break end
loadingText.Text = "Downloading... " .. i .. "%"
TweenService:Create(progressBar, TweenInfo.new(0.07, Enum.EasingStyle.Linear), {Size = UDim2.new(i / 100, 0, 1, 0)}):Play()
if i >= 50 and not skipBtn.Visible then
skipBtn.Visible = true
TweenService:Create(skipBtn, TweenInfo.new(0.2), {TextTransparency = 0, BackgroundTransparency = 0.5}):Play()
end
task.wait(0.07)
end
loadingFrame:Destroy()
fadeIn()
end)