--BOIII IM SO TUFF local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local LocalPlayer = Players.LocalPlayer local GameScripts = { ["Xdwd"] = "https://raw.githubusercontent.com/fqfqfqfqwgqghadfaffg/TeslHubCode/refs/heads/main/Xdwd", ["StealABuddie"] = "https://raw.githubusercontent.com/fqfqfqfqwgqghadfaffg/TeslHubCode/refs/heads/main/StealABuddie", ["Ink"] = "https://raw.githubusercontent.com/fqfqfqfqwgqghadfaffg/TeslHubCode/refs/heads/main/Ink", ["FishyFish"] = "https://raw.githubusercontent.com/fqfqfqfqwgqghadfaffg/TeslHubCode/refs/heads/main/FishyFish", ["BigBallVoley"] = "https://raw.githubusercontent.com/fqfqfqfqwgqghadfaffg/TeslHubCode/refs/heads/main/BigBallVoley", ["NotOhio"] = "https://raw.githubusercontent.com/fqfqfqfqwgqghadfaffg/TeslHubCode/refs/heads/main/NotOhio", ["Dictatortesla"] = "https://raw.githubusercontent.com/fqfqfqfqwgqghadfaffg/TeslHubCode/refs/heads/main/Dictatortesla", ["JunkGame"] = "https://raw.githubusercontent.com/fqfqfqfqwgqghadfaffg/TeslHubCode/refs/heads/main/JunkGame", ["NewFish"] = "https://raw.githubusercontent.com/fqfqfqfqwgqghadfaffg/TeslHubCode/refs/heads/main/NewFish", ["GoneFishing"] = "https://raw.githubusercontent.com/fqfqfqfqwgqghadfaffg/TeslHubCode/refs/heads/main/GoneFishing", ["StealABrainrot"] = "https://raw.githubusercontent.com/fqfqfqfqwgqghadfaffg/TeslHubCode/refs/heads/main/StealABrainrot", } local UniversalScriptURL = "https://raw.githubusercontent.com/fqfqfqfqwgqghadfaffg/TeslHubCode/refs/heads/main/Universal" local currentPlaceId = game.PlaceId local gameSpecificScript = GameScripts[tostring(currentPlaceId)] local function CreateTween(object, properties, duration, easingStyle, easingDirection) easingStyle = easingStyle or Enum.EasingStyle.Quad easingDirection = easingDirection or Enum.EasingDirection.Out local tweenInfo = TweenInfo.new(duration, easingStyle, easingDirection) return TweenService:Create(object, tweenInfo, properties) end local function LoadScript(url) local success, result = pcall(function() return game:HttpGet(url) end) if success then local loadSuccess, loadResult = pcall(function() return loadstring(result)() end) if not loadSuccess then warn("Failed to load script: " .. tostring(loadResult)) end else warn("Failed to fetch script: " .. tostring(result)) end end local function CreateConfirmationGUI(onYes, onNo) local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "BeautifulConfirmGui" ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.Parent = PlayerGui local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 40) MainFrame.BorderSizePixel = 0 MainFrame.Position = UDim2.new(0.5, -200, 0.5, -100) MainFrame.Size = UDim2.new(0, 400, 0, 200) MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 12) MainCorner.Parent = MainFrame local MainGradient = Instance.new("UIGradient") MainGradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(40, 40, 60)), ColorSequenceKeypoint.new(1, Color3.fromRGB(20, 20, 35)) }) MainGradient.Rotation = 45 MainGradient.Parent = MainFrame local Shadow = Instance.new("Frame") Shadow.Name = "Shadow" Shadow.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Shadow.BackgroundTransparency = 0.5 Shadow.BorderSizePixel = 0 Shadow.Position = UDim2.new(0, 5, 0, 5) Shadow.Size = UDim2.new(1, 0, 1, 0) Shadow.ZIndex = -1 Shadow.Parent = MainFrame local ShadowCorner = Instance.new("UICorner") ShadowCorner.CornerRadius = UDim.new(0, 12) ShadowCorner.Parent = Shadow local Title = Instance.new("TextLabel") Title.Name = "Title" Title.BackgroundTransparency = 1 Title.Position = UDim2.new(0, 0, 0, 20) Title.Size = UDim2.new(1, 0, 0, 40) Title.Font = Enum.Font.GothamBold Title.Text = "TeslaHub" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextScaled = true Title.TextXAlignment = Enum.TextXAlignment.Center Title.Parent = MainFrame local Description = Instance.new("TextLabel") Description.Name = "Description" Description.BackgroundTransparency = 1 Description.Position = UDim2.new(0, 20, 0, 70) Description.Size = UDim2.new(1, -40, 0, 50) Description.Font = Enum.Font.Gotham Description.Text = "Do u want load universal script?" Description.TextColor3 = Color3.fromRGB(200, 200, 200) Description.TextWrapped = true Description.TextXAlignment = Enum.TextXAlignment.Center Description.Parent = MainFrame local YesButton = Instance.new("TextButton") YesButton.Name = "YesButton" YesButton.BackgroundColor3 = Color3.fromRGB(50, 150, 50) YesButton.BorderSizePixel = 0 YesButton.Position = UDim2.new(0, 30, 0, 130) YesButton.Size = UDim2.new(0, 160, 0, 50) YesButton.Font = Enum.Font.GothamBold YesButton.Text = "Yes" YesButton.TextColor3 = Color3.fromRGB(255, 255, 255) YesButton.TextScaled = true YesButton.Parent = MainFrame local YesCorner = Instance.new("UICorner") YesCorner.CornerRadius = UDim.new(0, 8) YesCorner.Parent = YesButton local NoButton = Instance.new("TextButton") NoButton.Name = "NoButton" NoButton.BackgroundColor3 = Color3.fromRGB(150, 50, 50) NoButton.BorderSizePixel = 0 NoButton.Position = UDim2.new(0, 210, 0, 130) NoButton.Size = UDim2.new(0, 160, 0, 50) NoButton.Font = Enum.Font.GothamBold NoButton.Text = "No" NoButton.TextColor3 = Color3.fromRGB(255, 255, 255) NoButton.TextScaled = true NoButton.Parent = MainFrame local NoCorner = Instance.new("UICorner") NoCorner.CornerRadius = UDim.new(0, 8) NoCorner.Parent = NoButton local function AddHoverEffect(button, hoverColor, originalColor) button.MouseEnter:Connect(function() CreateTween(button, {BackgroundColor3 = hoverColor}, 0.2):Play() end) button.MouseLeave:Connect(function() CreateTween(button, {BackgroundColor3 = originalColor}, 0.2):Play() end) end AddHoverEffect(YesButton, Color3.fromRGB(70, 180, 70), Color3.fromRGB(50, 150, 50)) AddHoverEffect(NoButton, Color3.fromRGB(180, 70, 70), Color3.fromRGB(150, 50, 50)) YesButton.MouseButton1Click:Connect(function() CreateTween(MainFrame, {BackgroundTransparency = 1}, 0.3):Play() CreateTween(Title, {TextTransparency = 1}, 0.3):Play() CreateTween(Description, {TextTransparency = 1}, 0.3):Play() CreateTween(YesButton, {BackgroundTransparency = 1, TextTransparency = 1}, 0.3):Play() CreateTween(NoButton, {BackgroundTransparency = 1, TextTransparency = 1}, 0.3):Play() task.wait(0.3) ScreenGui:Destroy() if onYes then onYes() end end) NoButton.MouseButton1Click:Connect(function() CreateTween(MainFrame, {Position = UDim2.new(0.5, -200, 1.5, 0)}, 0.4, Enum.EasingStyle.Back):Play() task.wait(0.4) ScreenGui:Destroy() if onNo then onNo() end end) end if gameSpecificScript then print("Loading game-specific script for PlaceId: " .. currentPlaceId) LoadScript(gameSpecificScript) else print("No game-specific script found. Showing universal script confirmation.") CreateConfirmationGUI( function() print("User accepted. Loading universal script...") LoadScript(UniversalScriptURL) end, function() print("User declined. Script not loaded.") end ) end print("TeslaHub Game Loader")