i want code below to work with tools on the ground. (Like the cube doors from portal.)

script.Parent.Touched:connect(function()

	workspace.door1_level1.Transparency = 0.5
	workspace.door1_level1.CanCollide = false

end)



script.Parent.TouchEnded:connect(function()

workspace.door1_level1.Transparency = 0
	workspace.door1_level1.CanCollide = true
end)

1 comment

0

I can't understand about this. Would you provide some explanations before I will find an answer.