ADVERTISEMENTREMOVE ADS
Game icon

show correct

Script preview thumbnail
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
Raw
--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

Comments

0 comments
to add a comment
Loading comments
ADVERTISEMENTREMOVE ADS