local e = "asdusad"
game.Workspace.Part.Touched:Connect(function()
game.Workspace.Part.Transparency = .7
if game.Workspace.Part.Transparency == .7 then
e = true
if e == true then
game.Workspace.Part.Transparency = 1
elseif e == false then
game.Workspace.Part.Transparency = 0
end
end
end)
in roblox studio, it doesnt show that theres any errors but it doesnt work