Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
rootPart = character:()
humanoid = character:()
minHoldTime =
maxHoldTime =
minInterval =
maxInterval =
walkSpeed =
(min, max)
.() * (max - min) + min
()
rootPart rootPart.Parent
rootPart.AssemblyLinearVelocity = .(, , )
player.CharacterAdded:((newChar)
()
character = newChar
rootPart = character:()
humanoid = character:()
)
cardinalDirections = {
.(, , ),
.(-, , ),
.(, , -),
.(, , )
}
player.Character player.Character:()
()
waitTime = (minInterval, maxInterval)
( .. .(waitTime) .. )
i = , waitTime *
()
player.Character player.Character:()
player.Character player.Character:()
directionIndex = .(, )
directionVector = cardinalDirections[directionIndex]
moveDuration = (minHoldTime, maxHoldTime)
endTime = () + moveDuration
()
() < endTime player.Character player.Character:()
rootPart.Parent
currentPos = rootPart.CFrame.Position
targetLookAt = currentPos + directionVector
rootPart.CFrame = .(currentPos, targetLookAt)
rootPart.AssemblyLinearVelocity = directionVector * walkSpeed
RunService.RenderStepped:()
()
()
()
- Lets you walk automatically

Universal