-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- Services local Workspace = game:GetService("Workspace") local Players = game:GetService("Players") local RunService = game:GetService("RunService") local localPlayer = Players.LocalPlayer -- Create GUI Elements local screenGui = Instance.new("ScreenGui") screenGui.Name = "CandyListTeleportGui" screenGui.ResetOnSpawn = false screenGui.Parent = localPlayer:WaitForChild("PlayerGui") local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 260, 0, 320) mainFrame.Position = UDim2.new(0.05, 0, 0.3, 0) mainFrame.BackgroundColor3 = Color3.fromRGB(35, 25, 40) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = screenGui local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 10) mainCorner.Parent = mainFrame local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 35) title.BackgroundTransparency = 1 title.Text = "Active Candies Picker" title.TextColor3 = Color3.fromRGB(255, 100, 255) title.TextSize = 14 title.Font = Enum.Font.GothamBold title.Parent = mainFrame local scrollFrame = Instance.new("ScrollingFrame") scrollFrame.Size = UDim2.new(0.9, 0, 0.81, 0) scrollFrame.Position = UDim2.new(0.05, 0, 0.14, 0) scrollFrame.BackgroundTransparency = 1 scrollFrame.BorderSizePixel = 0 scrollFrame.ScrollBarThickness = 4 scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 0) scrollFrame.Parent = mainFrame local listLayout = Instance.new("UIListLayout") listLayout.SortOrder = Enum.SortOrder.LayoutOrder listLayout.Padding = UDim.new(0, 6) listLayout.Parent = scrollFrame listLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() scrollFrame.CanvasSize = UDim2.new(0, 0, 0, listLayout.AbsoluteContentSize.Y) end) -- Helper to get model CFrame safely local function getModelCFrame(target) if target:IsA("BasePart") then return target.CFrame elseif target:IsA("Model") then return target.PrimaryPart and target.PrimaryPart.CFrame or target:GetPivot() end return nil end -- Teleport function local function teleportTo(targetModel) local character = localPlayer.Character if not character then return end local rootPart = character:FindFirstChild("HumanoidRootPart") if not rootPart then return end local cf = getModelCFrame(targetModel) if cf then rootPart.CFrame = cf + Vector3.new(0, 3, 0) end end -- Refresh loop (every 0.2 seconds) task.spawn(function() while true do task.wait(0.2) local success, lowFolder = pcall(function() return Workspace.CurrentMap.MapPickups.Low end) if success and lowFolder then -- Collect all currently spawned Candy models local currentCandies = {} for _, partObj in ipairs(lowFolder:GetChildren()) do for _, child in ipairs(partObj:GetChildren()) do if (child.Name == "Candy" or child.Name == "BigCandy") and child:IsA("Model") then table.insert(currentCandies, child) end end end -- Clear existing buttons to rebuild clean list for _, child in ipairs(scrollFrame:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end local character = localPlayer.Character local rootPart = character and character:FindFirstChild("HumanoidRootPart") -- Populate UI list with active candies for _, candyModel in ipairs(currentCandies) do local cf = getModelCFrame(candyModel) local dist = 0 if cf and rootPart then dist = math.floor((rootPart.Position - cf.Position).Magnitude) end local button = Instance.new("TextButton") button.Size = UDim2.new(1, -6, 0, 35) button.BackgroundColor3 = Color3.fromRGB(55, 35, 65) button.TextColor3 = Color3.fromRGB(255, 255, 255) button.TextSize = 12 button.Font = Enum.Font.GothamSemibold button.Text = string.format("%s [%d studs]", candyModel.Name, dist) button.Parent = scrollFrame local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 6) btnCorner.Parent = button -- Teleport on click button.MouseButton1Click:Connect(function() teleportTo(candyModel) end) end end end end)