if Workspace.Torch.DisapearingWood.TorchDoorClickDetector.MouseHoverEnter = true
For some reason, I'm getting an error sign under the equal sign and I'm not sure why. Would someone mind helping me, Thanks?
if Workspace.Torch.DisapearingWood.TorchDoorClickDetector.MouseHoverEnter = true
For some reason, I'm getting an error sign under the equal sign and I'm not sure why. Would someone mind helping me, Thanks?
You have to connect it to a function. It doesn't return true or false.
game.Workspace.Torch.DisapearingWood.TorchDoorClickDetector.MouseHoverEnter:connect(function()
-- code here
end)
Thanks man, really helps! :D
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
also side note: = sets a value, for conditions, use == (if a == 5 then...)
Thanks, fanofpixels.
Sorry if this seems simple to you, I'm still new to this. :P