of     1   

John1626
#1099426Sunday, May 25, 2008 8:17 PM GMT

My anchor script won't work for some reason. I have checked it over and not sure what wont work. I have tried testing it with the Output and nothings wrong but when I put a "print("blahblahblah")" it wont show up in the output. function onTouched(hit) check = hit.Parent:FindFirstChild("Humanoid") if check ~= nil then game.Workspace.Boulder.Anchored = false end end script.Parent.Touched:connect(onTouched)
FlameFace
#1099783Sunday, May 25, 2008 8:38 PM GMT

I use this for an unanchor script, just put it in the bricks you want to fall, and change the wait time for how you prefer. local Z = script.Parent function onTouched(hit) wait(1) Z.Anchored = false end script.Parent.Touched:connect(onTouched)
John1626
#1102217Sunday, May 25, 2008 11:11 PM GMT

Not what I need. I don't need script.Parent I need game.Workspace. Oh, and there was NO point in making that variable because it just causes more typing. The longer the script doesn't me the more impressive. Besides, I want it to find the Humanoid, so don't change the script COMPLETELY.
erikrules
#1103626Monday, May 26, 2008 12:52 AM GMT

well i think i know why it didnt show up in output. if u did output with the script in Solo mode, it wont work u have to go to Roblox Studio and click Play then it work! :D
John1626
#1104396Monday, May 26, 2008 1:56 AM GMT

Thats what I did. It just won't work. Can you see anything at all wrong with it?
John1626
#1106217Monday, May 26, 2008 4:10 AM GMT

Noone?
Django136
#1106562Monday, May 26, 2008 4:56 AM GMT

Well, all I can say is make sure that you've got the 'Boulder" in the right location
FlashJoeW
Top 100 Poster
#1107495Monday, May 26, 2008 10:17 AM GMT

FindFirstChild("Humanoid") should be :findFirstChild("Humanoid") capitolisation
Dr01d3k4
#1108098Monday, May 26, 2008 12:32 PM GMT

If it still doesn't work, use output, if it still doesn't work, put in "print("")" functions so you can tell if it is even doing anything.
obliveon22
#1108120Monday, May 26, 2008 12:37 PM GMT

Joe its Spelled Capitilazation
FlashJoeW
Top 100 Poster
#1108388Monday, May 26, 2008 1:20 PM GMT

are you sure? oh right, just googled it lol, sorry
John1626
#1108750Monday, May 26, 2008 2:17 PM GMT

Droid, I have done the "print" thing for every line and not one came up. Im not even sure if the stupid output is working right. And Joe, its always worked fine for me in my other onTouched scripts.
Wirodeu
Top 100 Poster
#1108835Monday, May 26, 2008 2:27 PM GMT

Does your boulder even have a humanoid in it?

    of     1