Hello i'm making a horror game and i have a monster that needs to be in it.
I came up with that when u touch a block the monster appears for 0.2 seconds (or something) then becomes invisible.
I'm no good scripter so for any good scripters this code is like weird, but can anyone fix this for me?
Monster1 = script.Parent
function getSpooky()
Monster1.Transparency = 1
wait(0.2)
Monster1.Transparency = 0
end
MonsterShown.Touched:connect(getSpooky)

2 comments
"Monster1" remove the one 1 from the variable name
I get what u mean, but the problem is i have a part and when u touch it it doesn't like go invisible