Can you help me?

This script is saying that CanColide and transparency aren't members of unionoperation. Is there like some sort of alternative?

Code:

local ws = game.Workspace
local Table1 = ws.Table2
local Table2 = ws.Table3
local Table3 = ws.Table4
local Table4 = ws.Table5
script.Parent.ClickDetector.MouseClick:Connect(function()
	Table1.TBLP1.CanColide = true
	Table1.TBLP2.Transparency = 0
	Table1.TBLP1.Script.Disabled = false
	Table2.TBLP1.CanColide = true
	Table2.TBLP2.Transparency = 0
	Table2.TBLP1.Script.Disabled = false
	Table3.TBLP1.CanColide = true
	Table3.TBLP2.Transparency = 0
	Table3.TBLP1.Script.Disabled = false
	Table4.TBLP1.CanColide = true
	Table4.TBLP2.Transparency = 0
	Table4.TBLP1.Script.Disabled = false
end)

2 comments

0

You mispelled "CanCollide", it has two L's.

0

oops...