Universal Script 📌
2.6k Views
364 Executions

Anti sit

Universal Script 📌
zxrealm
zxrealmPublished 10
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

Used in ZXHUB

View Raw
local Workspace = game:GetService("Workspace")
local Players = game:GetService("Players")

local player = Players.LocalPlayer

local function neutralizarAsiento(asiento)
	if asiento:IsA("Seat") or asiento:IsA("VehicleSeat") then
		asiento.Disabled = true
		asiento.CanTouch = false
		asiento:SetAttribute("Neutralizado", true)
	end
end

for _, objeto in ipairs(Workspace:GetDescendants()) do
	neutralizarAsiento(objeto)
end

Workspace.DescendantAdded:Connect(function(obj)
	if obj:IsA("Seat") or obj:IsA("VehicleSeat") then
		task.wait(0.1)
		neutralizarAsiento(obj)
	end
end)

player.CharacterAdded:Connect(function(char)
	local humanoid = char:WaitForChild("Humanoid")
	humanoid:GetPropertyChangedSignal("Sit"):Connect(function()
		if humanoid.Sit then
			humanoid.Sit = false
		end
	end)
end)

print("Anti-sit is working.... Men.. I hate that chair...")


Comments

1
Log in to join the conversation. Login
zxrealm's profile picture
zxrealmUploader1 year ago

ok.

1