How do I make it so only specific people can use/run this script?
door = script.Parent;
locked = true
function setform(v)
locked = v
if v then
door.Transparency = 1
door.Reflectance = 0.4
door.CanCollide = true
else
door.Transparency = 0.7
door.Reflectance = 0
door.CanCollide = false
end
end
function click()
if locked then
setform(false)
wait(5)
setform(true)
end
end
door.ClickDetector.MouseClick:connect(click)

3 comments
why would u need to do that, it doesnt make sense lol
ur the only one that can run and use this script lmaooooo
No i mean can run it in the game