Universal Script 📌
10 Views
3 Executions

MoveToTool

Universal Script 📌
OpenSourceScripts6
OpenSourceScripts6First script
2 days ago · Updated

Reviewed by QueueSpeedDemonPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

Early reports

100% say it works · 1 report in the last 2 weeks

Also noticed:

Description

Click where you want and script will go there

View Raw
-- ===== SETTINGS =====
local TOOL_NAME = "MoveTo"                   -- name of the tool that appears in the backpack
local MODE = "Path"                          -- "Path" = PathfindingService (goes around walls), "Straight" = walks in a straight line
local STAND_UP_IF_SEATED = true              -- true = stand up automatically if seated before moving, false = do nothing while seated
local MAX_DISTANCE = 300                     -- max studs from the character you can click to move to
local MAX_SLOPE_DEGREES = 40                 -- surfaces steeper than this are rejected as targets
local AGENT_RADIUS = 2                       -- character width used by pathfinding (studs)
local AGENT_HEIGHT = 5                       -- character height used by pathfinding (studs)
local AGENT_CAN_JUMP = true                  -- allow paths that include jumps
local WAYPOINT_TIMEOUT = 4                   -- seconds allowed to reach one waypoint before the path is recalculated
local MAX_REPATHS = 3                        -- how many times the path can be recalculated when blocked
local CLICK_COOLDOWN = 0.2                   -- minimum seconds between two clicks
local CANCEL_ON_MANUAL_MOVE = true           -- stop moving when the player presses a movement key or moves the thumbstick
local MANUAL_INPUT_DEADZONE = 0.2            -- thumbstick deadzone for manual move cancel (0 to 1)
local DISABLE_DEFAULT_CLICK_TO_MOVE = true   -- turn off Roblox built-in click-to-move while the tool is equipped
local SHOW_MARKER = true                     -- show a marker on the destination
local MARKER_SIZE = 1.2                      -- marker diameter (studs)
local MARKER_COLOR_VALID = Color3.fromRGB(80, 200, 255)     -- marker color for a valid destination
local MARKER_COLOR_INVALID = Color3.fromRGB(255, 70, 70)    -- marker color for an invalid destination
-- ===== END SETTINGS =====

local Players = game:GetService("Players")
local PathfindingService = game:GetService("PathfindingService")
local UserInputService = game:GetService("UserInputService")
local GuiService = game:GetService("GuiService")

local env = (getgenv and getgenv()) or _G
local MARK = "MoveToInjected"
local player = Players.LocalPlayer

local MOVE_KEYS = {
	[Enum.KeyCode.W] = true,
	[Enum.KeyCode.A] = true,
	[Enum.KeyCode.S] = true,
	[Enum.KeyCode.D] = true,
	[Enum.KeyCode.Space] = true,
	[Enum.KeyCode.Up] = true,
	[Enum.KeyCode.Down] = true,
	[Enum.KeyCode.Left] = true,
	[Enum.KeyCode.Right] = true,


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
4
0
Approved 2 minutes ago
Universal Script 📌
2
0
Approved 5 minutes ago
Universal Script 📌
9
0
Approved 10 minutes ago
Paid
Universal Script 📌
14
1
Approved 25 minutes ago
Script hub
23
4
Approved 37 minutes ago
Key System