Auto Activation command
Key Required

Auto Activation command

Seele's Build and Battlebrowhat_whybrowhat_why 1.4K views 97 executesUpdated May 4, 2026
5.0/ 5(1 votes)
10100% Positive
Lua Script•50 lines (1352 chars)
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local function findPlateData()
	local Plates = workspace:WaitForChild("Plates")
	for _, pf in ipairs(Plates:GetChildren()) do
		if pf:FindFirstChild("Owner") and pf.Owner.Value == LocalPlayer then
			return pf:FindFirstChild("Plate"), pf:FindFirstChild("ActiveParts")
		end
	end
	return nil, nil
end

local function fireAll()
	local _, activeParts = findPlateData()
	if not activeParts then return end
	local count = 0
	for _, desc in ipairs(activeParts:GetDescendants()) do
		if desc:IsA("ClickDetector") then
			pcall(fireclickdetector, desc)
			count += 1
		end
	end
	print("Fired", count, "detectors")
end

LocalPlayer.Chatted:Connect(function(msg)
	if msg:lower() == ":activate" then
		task.spawn(fireAll)
	end
end)

local hookOk, hookErr = pcall(function()
	local oldNamecall
	oldNamecall = hookmetamethod(game, "__namecall", function(self, ...)
		local method = getnamecallmethod()
		if method == "FireServer" and typeof(self) == "Instance" and self.Name == "SayMessageRequest" then
			local args = {...}
			local msg = args[1]
			if type(msg) == "string" and msg:lower() == ":activate" then
				task.spawn(fireAll)
			end
		end
		return oldNamecall(self, ...)
	end)
end)

if not hookOk then
	print("Namecall hook unavailable, using Chatted only:", hookErr)
end

Features & Information

Say :Activate in chat to activate assets such as float parts and antigravity parts and others.

Community Comments (1)

Mayan_legameur14Mayan_legameur14May 10, 2026

I see the script it's a good thing even if there's nothing interesting I'm counting on you to do a better thing 🙂👋