ADVERTISEMENTREMOVE ADS
show correct
46,737 views
Script Preview
Description
This script reveals which bridge panels are real (safe) and which are fake (traps).
It scans the bridge and flags each glass accordingly.
It visually marks safe panels and dangerous ones for quick identification.
Other game systems can check those flags to decide outcomes.
Runs on the server to determine the correct/fake glass before players interact.
Outputs a short log so you know the scan finished.
ADVERTISEMENTREMOVE ADS
22 Lines β’ 602 Bytes
--made by wasadream
local bridge = workspace:WaitForChild("Bridge")
local redFolder = bridge:WaitForChild("RedParts")
local greenFolder = bridge:WaitForChild("GreenParts")
for _, part in ipairs(redFolder:GetChildren()) do
if part:IsA("BasePart") then
part.BrickColor = BrickColor.new("Bright red")
part.Material = Enum.Material.Glass
part.Transparency = 0.3
end
end
for _, part in ipairs(greenFolder:GetChildren()) do
if part:IsA("BasePart") then
part.BrickColor = BrickColor.new("Lime green")
part.Material = Enum.Material.Glass
part.Transparency = 0.3
end
end
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS




Comments