I made a part that checks if a player is in a group and then allows that person entry if they are, but i don't know how to get the player from the touched. Here is what I DID do:
script.Parent.Touched:connect(function(hit)
if hit.Parent:IsInGroup(2683043) then
script.Parent.CanCollide = false
wait(0.8)
script.Parent.CanCollide = true
end
end)
Help?
