What's wrong with my script?

So I made a tiny script so when I click the block, it goes invisible for 1 minute, here it is:

local DropEmployees = script.Parent

local ClickDetector = Instance.new("ClickDetector")
ClickDetector.Parent = DropEmployees
ClickDetector.MaxActivationDistance = 5

ClickDetector.MouseClick:Connect(function()
  DropEmployees.Transparancy = 1
  wait(60)
  DropEmployees.Transparency = 0
end)

And it is not working, here is the error:
image

1 Like

You misspelled ‘Transparency’.

2 Likes

You spelt it wrong I think…

charsssss

2 Likes

Thank you both for helping me, maybe I should’ve read my script before making this. Thanks

1 Like