Poison and visible players
Key Required

Poison and visible players

Poison PathKIMIK0T14KIMIK0T14 575 views 63 executesUpdated Apr 3, 2026
3.3/ 5(3 votes)
2167% Positive
Lua Script•55 lines (1087 chars)
local Players = game:GetService("Players")
local path = workspace:WaitForChild("Path")

local teams = { Poison = true, Runner = true }

local function force(p)
	if p:IsA("BasePart") and p.Name ~= "HumanoidRootPart" then
		p.Transparency = 0
		p.LocalTransparencyModifier = 0

		p:GetPropertyChangedSignal("Transparency"):Connect(function()
			p.Transparency = 0
		end)

		p:GetPropertyChangedSignal("LocalTransparencyModifier"):Connect(function()
			p.LocalTransparencyModifier = 0
		end)
	end
end

local function apply(obj)
	for _, v in ipairs(obj:GetDescendants()) do
		force(v)
	end
	obj.DescendantAdded:Connect(force)
end

local function setup(plr)
	local function run()
		if plr.Team and teams[plr.Team.Name] and plr.Character then
			apply(plr.Character)
		end
	end

	plr.CharacterAdded:Connect(function()
		task.wait(0.3)
		run()
	end)

	plr:GetPropertyChangedSignal("Team"):Connect(function()
		task.wait(0.1)
		run()
	end)

	run()
end

apply(path)
path.DescendantAdded:Connect(force)

for _, p in ipairs(Players:GetPlayers()) do
	setup(p)
end

Players.PlayerAdded:Connect(setup)

Features & Information

Patas

Community Comments (2)

Paddling3581Paddling3581Apr 3, 2026

Volviste

Replying to @Paddling3581
KIMIK0T14KIMIK0T14Apr 3, 2026

@Paddling3581 :3