So I am learning the basics of scripting and I understand almost all the basics so I decided to make it where it says print "I have been Touched" with a script that works that i made along time ago. So I need help printng"I was touched!" Thanks in advance:)
d = script.Parent
function onTouch(part)
d.Transparency = 1
wait(5)
d.Transparency = 0
print "I was Touched!!"
end
d.Touched:connect(onTouch)

5 comments
You forgot something.
what is it?
The script makes the brick go invisible for 5 seconds btw(that works)
Okay iSvenDerp bro. Try it this way. On Line 8, where it says print "I was Touched!!", add parenthesis to both side. So it would be like this: print ("I was Touched!!"). Try that and tell me if it works :D
Ok thanks I mean I knew how to do it I jut typoed thanks for helping yall!