local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local tweenService = game:GetService("TweenService") local runService = game:GetService("RunService") character:WaitForChild("HumanoidRootPart") local rootPart = character:FindFirstChild("HumanoidRootPart") if not rootPart then return end local screenGui = Instance.new("ScreenGui") screenGui.Parent = player:WaitForChild("PlayerGui") local counterLabel = Instance.new("TextLabel") counterLabel.Size = UDim2.new(0.2, 0, 0.1, 0) counterLabel.Position = UDim2.new(0.4, 0, 0.05, 0) counterLabel.TextScaled = true counterLabel.BackgroundTransparency = 1 counterLabel.Text = "Starting in..." counterLabel.Parent = screenGui local part = Instance.new("Part") part.Size = Vector3.new(11, 13, 1) part.Transparency = 1 part.Anchored = true part.CanCollide = false part.Position = rootPart.Position + Vector3.new(0, 4, 0) part.Parent = game.Workspace local decal = Instance.new("Decal") decal.Face = Enum.NormalId.Front decal.Texture = "rbxassetid://72592689418173" decal.Parent = part for i = 10, 0, -1 do counterLabel.Text = "Time Left: " .. i wait(1) end counterLabel.Text = "RUN!" local speed = 16 local isFollowing = true part.Touched:Connect(function(hit) if hit:IsDescendantOf(character) then print("The part touched the player!") end end) local function followPlayer() while isFollowing do local playerPosition = rootPart.Position local direction = (playerPosition - part.Position).unit local targetPosition = part.Position + (direction * speed / 60) local targetCFrame = CFrame.lookAt(targetPosition, playerPosition) local tween = tweenService:Create(part, TweenInfo.new(0.1, Enum.EasingStyle.Linear), {CFrame = targetCFrame}) tween:Play() wait(0.01) end end followPlayer()