-- 🧠 Script: Teleporte entre todas as Parts chamadas "CandyCorn" -- 📍 Autor: ChatGPT local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoidRoot = character:WaitForChild("HumanoidRootPart") local delayTime = 0.01 local partName = "CandyCorn" local running = false -- variável para controlar se o teleporte está ativo -- GUI local gui = Instance.new("ScreenGui") gui.Name = "CandyCornTeleporter" gui.Parent = player:WaitForChild("PlayerGui") -- Logo central local logo = Instance.new("ImageLabel") logo.Image = "rbxassetid://77776884148164" logo.Size = UDim2.new(0, 300, 0, 300) logo.Position = UDim2.new(0.5, -150, 0.5, -150) logo.AnchorPoint = Vector2.new(0.5, 0.5) logo.BackgroundTransparency = 1 logo.Parent = gui logo.ImageTransparency = 1 -- Função para fade-in e fade-out local function fadeLogo() for i = 0, 1, 0.02 do logo.ImageTransparency = 1 - i task.wait(0.05) end task.wait(1) -- tempo que fica visível for i = 0, 1, 0.02 do logo.ImageTransparency = i task.wait(0.05) end logo:Destroy() end -- Botão no canto local toggleButton = Instance.new("ImageButton") toggleButton.Size = UDim2.new(0, 100, 0, 100) toggleButton.Position = UDim2.new(1, -110, 1, -110) toggleButton.AnchorPoint = Vector2.new(0, 0) toggleButton.BackgroundTransparency = 1 toggleButton.Image = "rbxassetid://103544703150766" toggleButton.Parent = gui -- Função de teleporte local function teleportLoop() while true do if running and character and humanoidRoot then local candyParts = workspace:GetChildren() local found = false for _, part in ipairs(candyParts) do if part:IsA("BasePart") and part.Name == partName then found = true humanoidRoot.CFrame = part.CFrame + Vector3.new(0, 3, 0) task.wait(delayTime) end end if not found then task.wait(1) end else task.wait(0.1) end end end -- Toggle botão toggleButton.MouseButton1Click:Connect(function() running = not running if running then toggleButton.Image = "rbxassetid://77776884148164" -- muda imagem quando ativo else toggleButton.Image = "rbxassetid://103544703150766" -- volta imagem quando parado end end) -- Atualiza humanoidRoot se o jogador respawnar player.CharacterAdded:Connect(function(char) character = char humanoidRoot = char:WaitForChild("HumanoidRootPart") end) -- Anti-AFK com movimento de mouse local VirtualUser = game:GetService("VirtualUser") game:GetService("Players").LocalPlayer.Idled:Connect(function() -- Move o mouse levemente para posições aleatórias local x = math.random(0, workspace.CurrentCamera.ViewportSize.X) local y = math.random(0, workspace.CurrentCamera.ViewportSize.Y) VirtualUser:MoveMouse(x, y) end) -- Executa task.spawn(fadeLogo) task.spawn(teleportLoop)