I have no idea how to make a click door for a certain team. I am making a prison game
COMMUNITY QUESTION
How do i make a Team click door?
1 answer
I don’t know completely how but, I will try to help you. So,
local part = script.Parent
local player = game.Players
part.MouseClick:Connect(function()
if game.player.Teams.guards == true then
part.CanCollide = false
end
5 comments
0
And put the script inside the click Detector
0
Hope your prison game turns out good! (:
0
Also try this in the function: if player.Teams.guards = true then
0
Sorry let em just edit script
0
I updated script just for u!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
And also