local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local hrp = character:WaitForChild("HumanoidRootPart") local locations = { {position = Vector3.new(-22, 139, -561), cooldown = 120, lastVisited = 0}, {position = Vector3.new(78, 136, -556), cooldown = 120, lastVisited = 0}, {position = Vector3.new(373, 150, -724), cooldown = 120, lastVisited = 0}, {position = Vector3.new(465, 160, -853), cooldown = 120, lastVisited = 0}, } local tweenInfo = TweenInfo.new( 5.5, -- duration of tween Enum.EasingStyle.Linear, Enum.EasingDirection.Out ) while true do local now = tick() for _, loc in ipairs(locations) do if now - loc.lastVisited >= loc.cooldown then local tween = TweenService:Create(hrp, tweenInfo, {CFrame = CFrame.new(loc.position)}) tween:Play() tween.Completed:Wait() loc.lastVisited = tick() wait(0.5) end end wait(1) end