So im trying to create a tile, that fades out then gets destroyed. I created this block of code:
local tile = script.Parent
if hit.Parent:FindFirstChild("Humanoid") then
tile = tile.Transparency + 0.1
tile.Transparency == 1
However when im trying to use it i get this error:
''attempt to index number with ‘Transparency’"
Does someone know how to fix this? because im stuck