local groupID = 11879197
local RankToEnter = 190
local Garage = script.Parent
game.Players.PlayerAdded:Connect(function(player)
if player:GetRankInGroup(groupID) >= RankToEnter then
local function ifTouched(GarageFunction)
if GarageFunction.parent:FindFirstChild('Humanoid') then
Garage.Transparency = .5
Garage.CanCollide = false
wait(5)
Garage.Transparency = 0
Garage.CanCollide = true
else
print('failed to open garage FORTNITE1_01')
end
end
end
end)
This script is not working!! Help me!
I'm trying to make a group door the will change the cancolide and transparency factor of the door, but the script won't work?
