
9.1k Views
493 Executions
Macro
Universal Script 📌
CodedWithoutExecuterPublished 5
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo 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
Script edited: Update script
-- 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()








def not skidded