Ad
Log in to vote
0

How do i make a Team click door?

Asked by 1 year ago

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

0
And also CMB1048 23 — 1y

1 answer

Log in to vote
0
Answered by
CMB1048 23
1 year ago
Edited 1 year ago

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


0
And put the script inside the click Detector CMB1048 23 — 1y
0
Hope your prison game turns out good! (: CMB1048 23 — 1y
0
Also try this in the function: if player.Teams.guards = true then CMB1048 23 — 1y
0
Sorry let em just edit script CMB1048 23 — 1y
0
I updated script just for u! CMB1048 23 — 1y
Ad

Answer this question