why is it that even if the attribute is set to true that it won't print Test to the output console or any other event that I want it to do
local tool = script.Parent local water = workspace.WaterExistBox tool.Activated:Connect(function(player) if water:GetAttribute("selectedwater") == true then print("Test") end end)
Try doing selectedwater.value or print the attribute when it's clicked to see what the script sees it as