Universal Script 📌
9.1k Views
493 Executions

Macro

Universal Script 📌
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Set up macro's and save them in text and load them later Add commands to do actions

Updates

  1. Script edited: Update script

View Raw
-- macro testing
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local Root = Character:WaitForChild("HumanoidRootPart")

local commandList = {}
global1 = false
-- Define fireproximityprompt if not already available
if not fireproximityprompt then
	function fireproximityprompt(prompt, hold)
		if prompt and prompt:IsA("ProximityPrompt") then
			if hold then
				prompt:InputHoldBegin()
			else
				prompt:InputHoldEnd()
			end
		end
	end
end

local AvailableCommands = {
	["HumanoidMoveTo"] = {args = {"X", "Y", "Z"}, example = "HumanoidMoveTo(5, 0, 5)"},
	["Loop"] = {args = {}, example = "Loop()"},
	["Wait"] = {args = {"Time"}, example = "Wait(1.5)"},
	["WaitUntillDone"] = {args = {}, example = "WaitUntillDone()"},
	["TweenTo"] = {args = {"Speed", "X", "Y", "Z"}, example = "TweenTo(3, 5, 0, 5)"},
	["Teleport"] = {args = {"X", "Y", "Z"}, example = "Teleport(0, 10, 0)"}
	--["LookAt"] = {args = {"X", "Y", "Z"}, example = "LookAt(0, 0, 0)"}, -- commented out
	--["InteractProximityPrompt"] = {args = {"Time"}, example = "InteractProximityPrompt(2.5)"} -- commented out
}

local lastYieldingTask = nil

local function runCommands()
	coroutine.wrap(function()


Comments

1
Log in to join the conversation. Login
voltex's profile picture
voltexKeyless Creator
Keyless Script Creator Badge
Keyless Script Creator
1 year ago

def not skidded

1

Tags

More universal scripts

See all
Universal Script 📌
596
14.0k
Bumped 11 minutes ago
Universal Script 📌
23
1
Approved 23 minutes ago
Script hub
52.0k
220.6k
Bumped 26 minutes ago

Script hub

#7 today

KeylessVerified script badgeNo Lag Hub | KEYLESS 2026

Script hub
2.8M
902.6k
Bumped 27 minutes ago
Key System

Script hub

#6 today

Verified script badgeLumin Hub | #1 | Insta Steal

Script hub
139
7
Approved 1 hour ago
Universal Script 📌
73
4
Approved 2 hours ago