What I'm trying to do is to make a specific piece (part) phase so a specific userID (My userID) may only be able to go through it, this is the code (I put it in as a LocalScript) -
local player = game.Players.LocalPlayer
local id = 17427977
if player.UserId == 17427977 then
part = script.Parent
part.Touched:connect(function(hit)
Part.CanCollide = false
Part.Transparency = .5
wait(1)
Part.CanCollide = true
Part.Transparency = 0
end
end
end

2 comments
A solution with ColissionGroups would be fancier and better for the user
Still hasn't worked