Whenever I use this server script (in workspace):
local part = workspace.Chest.ChestDoor
local button = workspace.Key
local doorkey = workspace.DoorKey
local clickDetector = button.ClickDetector
function onClicked()
part.Transparency = 1
part.CanCollide = false
doorkey.Handle.Transparency = 0
doorkey.Handle.Eyeholes.Transparency = 0
doorkey.Handle.Skull.Transparency = 0
doorkey.Handle.SkullDetail.Transparency = 0
end
clickDetector.MouseClick(onClicked)
It gives me this error:
Workspace.Script:15: attempt to call a RBXScriptSignal value
What is the issue here?