trying to make a block change texture when clicked on.
i inserted a clickdetector and this script but doesn't seem to work:
function onClick()
script.Parent.Decal.Texture = "rbxassetid://582144333"
end
script.Parent.ClickDetector.MouseClick:connect(onClick)
any ideas? thanks |