of     1   

Dudblockman
#48812827Friday, June 17, 2011 9:39 PM GMT

It seems every time I program somthing with the .Touched:connect() function things don't work right. The function I put between () is not called and there is no error in output. it says the script runs, it will print things before and after the .Touched:connect(), but in the function called by it, nothing happens. Other scripts like landmines work, but when I change the script nothing happens! .Touched:wait() works, but I can't get the object touched out this way. I have posted my scripts on the scripting helper and all of the suggestions that come out don't help at all. Please tell me this is a problem with me, not roblox. Here is a sample bit of code I wrote that does nothing, not even an error: function onTouched(hit) print("Touched!") end print("Starting call") script.Parent.Touched:connect(onTouched) print("Call set up")
Dudblockman
#48817998Friday, June 17, 2011 11:05 PM GMT

I just decided to restart roblox studio and continue working on my project. When I restarted roblox studio the script worked... once. It did the same thing again after that. HELP ME!
Meditate03
#48834941Saturday, June 18, 2011 3:42 AM GMT

Iwill not help you, 1. the script is completely wrong. 2. wrong forum.
WillieTehWierdo200
#57675501Tuesday, November 08, 2011 12:50 AM GMT

I am having this same problem. Any fixes?
Rystronack
#63489729Sunday, February 26, 2012 6:50 PM GMT

It's the print() that never works. I've seen it in several scripts, but nothing really happens. I don't know why it is even there.
Imagin8tion
#63490049Sunday, February 26, 2012 6:55 PM GMT

You'll get better help in the Scripting Helpers, where you should be. ~But if you wish, you may refer to me as Mr. Strawberry Milkshake.
WillieTehWierdo200
#64035803Friday, March 09, 2012 6:16 AM GMT

I don't think this belongs in scripting helpers, since we don't have questions about actually making the scripts. This is about the code not working properly, possibly due to errors in Roblox updates.

    of     1