The whole folder does the same thing

Trying to make all the different boards appear at once once the prompt has been trigged. However, only one board shows and the rest don’t.

local prompt = game.Workspace.ART.enable_Boards.ProximityPrompt
local whiteboards = workspace.ART.Boards

prompt.Triggered:Connect(function()
	for _, whiteboard in pairs(whiteboards:GetChildren()) do
		whiteboards.Board.Transparency = 0
		whiteboards.Board.ClickDetector.MaxActivationDistance = 5
	end
end)

image

During testing

Not sure what is wrong at this point.

1 Like
local prompt = game.Workspace.ART.enable_Boards.ProximityPrompt
local whiteboards = workspace.ART.Boards

prompt.Triggered:Connect(function()
	for _, whiteboard in pairs(whiteboards:GetChildren()) do
		whiteboard.Transparency = 0
		whiteboard.ClickDetector.MaxActivationDistance = 5
	end
end)
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.