Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do i make a Team click door?

I have no idea how to make a click door for a certain team. I am making a prison game

1 comment

0

And also

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.