I have this model that is an r6 character and he is a monster and there is this brick and when I touch it disappears but it won't disappear
local Subway = game.Workspace.Subway function onTouched() Subway.Transparency = 1 Subway.CanCollide = false end script.Parent.Touched:Connect(onTouched)
but it says Transparency is not a valid member of Model "Workspace.Subway"

3 comments
one thing, don't put your entire code into one line. It would make the script messy and hard to read. You might wanna optimize your scripts in case it errors.
tfw minified script
Try indenting your script correctly next time. It will be easier to read.