local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
local humanoid = character:WaitForChild("Humanoid")
-- Set the walking speed to be faster
humanoid.WalkSpeed = 20 -- Increase this number to make the character walk faster
-- Teleport position
local teleportPosition = Vector3.new(-201.10, 15.54, -397.42)
-- Destination to walk to after teleporting
local walkPosition = Vector3.new(-229.24, 15.54, -409.90)
-- Function to teleport the character to a specific position
local function teleportTo(position)
humanoidRootPart.CFrame = CFrame.new(position)
end
-- Function to make the character walk to a specific position
local function walkTo(position)
humanoid:MoveTo(position)
humanoid.MoveToFinished:Wait() -- Wait until the character reaches the destination
end
-- Main function to execute teleport and walk
local function teleportAndWalk()
-- Teleport the character
teleportTo(teleportPosition)
-- Walk to the next position
walkTo(walkPosition)
end
-- Execute the teleport and walk sequence
teleportAndWalk()
-- speed
humanoid.WalkSpeed = 16
To embed this project on your website, copy the following code and paste it into your website's HTML: