local CoreGui = game:GetService("CoreGui") local TweenService = game:GetService("TweenService") local Players = game:GetService("Players") local SoundService = game:GetService("SoundService") local RunService = game:GetService("RunService") -- Configuration local SOUND_ID = "rbxassetid://86870930427109" local DECAL_ID = "rbxassetid://16293859868" local PINK_THEME = Color3.fromRGB(255, 65, 100) local CLICK_VOLUME = 2.5 -- Main Container local sg = Instance.new("ScreenGui") sg.Name = "PinkModernUI" sg.Parent = CoreGui sg.ResetOnSpawn = false -- Audio Setup local clickSound = Instance.new("Sound") clickSound.SoundId = SOUND_ID clickSound.Volume = CLICK_VOLUME clickSound.Parent = SoundService -- Utility: Professional UI Polish local function applyDesign(obj, radius, isText) local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, radius or 10) corner.Parent = obj if not isText then local stroke = Instance.new("UIStroke") stroke.Thickness = 2.5 stroke.Transparency = 0 stroke.Color = Color3.new(0, 0, 0) -- Black Border stroke.Parent = obj else obj.TextStrokeTransparency = 0.5 obj.TextStrokeColor3 = Color3.new(0, 0, 0) end end -- Utility: Hover Effects local function addStaticEffects(btn, defaultCol, hoverCol) btn.MouseEnter:Connect(function() TweenService:Create(btn, TweenInfo.new(0.2), {BackgroundColor3 = hoverCol}):Play() end) btn.MouseLeave:Connect(function() TweenService:Create(btn, TweenInfo.new(0.2), {BackgroundColor3 = defaultCol}):Play() end) btn.MouseButton1Down:Connect(function() clickSound:Play() end) end ----------------------------------------------------------- -- PHASE 1: THE PINK PANEL ----------------------------------------------------------- local mainFrame = Instance.new("Frame") mainFrame.AnchorPoint = Vector2.new(0.5, 0.5) mainFrame.Size = UDim2.new(0, 280, 0, 160) mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0) mainFrame.BackgroundColor3 = PINK_THEME mainFrame.Parent = sg applyDesign(mainFrame, 18) local bgImage = Instance.new("ImageLabel") bgImage.Size = UDim2.new(1, 0, 1, 0) bgImage.BackgroundTransparency = 1 bgImage.Image = DECAL_ID bgImage.ImageTransparency = 0.5 bgImage.ScaleType = Enum.ScaleType.Crop bgImage.ZIndex = 1 bgImage.Parent = mainFrame applyDesign(bgImage, 18) local qLabel = Instance.new("TextLabel") qLabel.Size = UDim2.new(1, 0, 0, 50) qLabel.Position = UDim2.new(0, 0, 0.1, 0) qLabel.BackgroundTransparency = 1 qLabel.Text = "Do you like Knockout?" qLabel.TextColor3 = Color3.new(1, 1, 1) qLabel.Font = Enum.Font.GothamBold qLabel.TextSize = 16 qLabel.ZIndex = 2 qLabel.Parent = mainFrame applyDesign(qLabel, 0, true) local yesBtn = Instance.new("TextButton") yesBtn.Size = UDim2.new(0, 100, 0, 35) yesBtn.Position = UDim2.new(0.15, 0, 0.65, 0) yesBtn.BackgroundColor3 = Color3.new(1, 1, 1) yesBtn.Text = "YES" yesBtn.TextColor3 = PINK_THEME yesBtn.Font = Enum.Font.GothamBold yesBtn.TextSize = 14 yesBtn.ZIndex = 3 yesBtn.Parent = mainFrame applyDesign(yesBtn, 10, true) addStaticEffects(yesBtn, Color3.new(1, 1, 1), Color3.fromRGB(240, 240, 240)) local noBtn = Instance.new("TextButton") noBtn.Size = UDim2.new(0, 100, 0, 35) noBtn.Position = UDim2.new(0.5, 0, 0.65, 0) noBtn.BackgroundColor3 = Color3.fromRGB(20, 20, 20) noBtn.Text = "NO" noBtn.TextColor3 = Color3.new(1, 1, 1) noBtn.Font = Enum.Font.GothamBold noBtn.TextSize = 14 noBtn.ZIndex = 3 noBtn.Parent = mainFrame applyDesign(noBtn, 10, true) addStaticEffects(noBtn, Color3.fromRGB(20, 20, 20), Color3.fromRGB(40, 40, 40)) ----------------------------------------------------------- -- PHASE 2: TELEPORT INITIALIZATION ----------------------------------------------------------- local function initializeTP() mainFrame:TweenPosition(UDim2.new(0.5, 0, -0.5, 0), "In", "Back", 0.4, true) task.wait(0.5) mainFrame:Destroy() -- Manual TP Button (Bottom Left Corner) local tpBtn = Instance.new("TextButton") tpBtn.Name = "TPButton" tpBtn.AnchorPoint = Vector2.new(0, 1) tpBtn.Size = UDim2.new(0, 180, 0, 35) -- Made Wider tpBtn.Position = UDim2.new(0.05, 0, 0.88, 0) -- Raised just a tiny bit tpBtn.BackgroundColor3 = PINK_THEME tpBtn.Text = "TP TO HEART" tpBtn.TextColor3 = Color3.new(1, 1, 1) tpBtn.Font = Enum.Font.GothamBold tpBtn.TextSize = 14 tpBtn.Parent = sg applyDesign(tpBtn, 8, true) applyDesign(tpBtn, 8, false) addStaticEffects(tpBtn, PINK_THEME, Color3.fromRGB(255, 90, 120)) -- Auto TP Button (Bottom Right Corner) local autoBtn = Instance.new("TextButton") autoBtn.Name = "AutoButton" autoBtn.AnchorPoint = Vector2.new(1, 1) autoBtn.Size = UDim2.new(0, 180, 0, 35) -- Made Wider autoBtn.Position = UDim2.new(0.95, 0, 0.88, 0) -- Raised just a tiny bit autoBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) autoBtn.Text = "AUTO: OFF" autoBtn.TextColor3 = Color3.new(1, 1, 1) autoBtn.Font = Enum.Font.GothamBold autoBtn.TextSize = 14 autoBtn.Parent = sg applyDesign(autoBtn, 8, true) applyDesign(autoBtn, 8, false) addStaticEffects(autoBtn, Color3.fromRGB(40, 40, 40), Color3.fromRGB(60, 60, 60)) local function getHeart() for _, obj in ipairs(workspace:GetDescendants()) do if obj.Name:lower() == "heart" then return obj end end return nil end tpBtn.MouseButton1Click:Connect(function() local char = Players.LocalPlayer.Character local target = getHeart() if char and char:FindFirstChild("HumanoidRootPart") and target then char:PivotTo(target:GetPivot() * CFrame.new(0, 3, 0)) end end) local autoEnabled = false local autoLoop local currentHeart = nil local lastScan = 0 autoBtn.MouseButton1Click:Connect(function() autoEnabled = not autoEnabled if autoEnabled then autoBtn.Text = "AUTO: ON" autoBtn.BackgroundColor3 = Color3.fromRGB(100, 255, 100) autoLoop = RunService.Heartbeat:Connect(function() local char = Players.LocalPlayer.Character if not char or not char:FindFirstChild("HumanoidRootPart") then return end if not currentHeart or not currentHeart.Parent then if tick() - lastScan > 1 then lastScan = tick() currentHeart = getHeart() end end if currentHeart then char:PivotTo(currentHeart:GetPivot() * CFrame.new(0, 3, 0)) end end) else autoBtn.Text = "AUTO: OFF" autoBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) if autoLoop then autoLoop:Disconnect() autoLoop = nil end end end) end yesBtn.MouseButton1Click:Connect(initializeTP) noBtn.MouseButton1Click:Connect(initializeTP)