Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make a Team click door?

Asked by 2 years 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 25 — 2y

1 answer

Log in to vote
0
Answered by
CMB1048 25
2 years ago
Edited 2 years 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 25 — 2y
0
Hope your prison game turns out good! (: CMB1048 25 — 2y
0
Also try this in the function: if player.Teams.guards = true then CMB1048 25 — 2y
0
Sorry let em just edit script CMB1048 25 — 2y
0
I updated script just for u! CMB1048 25 — 2y
Ad

Answer this question