|
| 20 Aug 2012 04:28 PM |
I have a script:
script.Parent.Changed:connect(function (p) print(p) end) print("script runs")
It simple prints "script runs" and nothing else. I drop the part, nothing. I move it, nothing. I copy and paste it. I re-run the script, nothing.
Something tells me I'm having a bad day. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2012 04:36 PM |
| If you're using Studio, I have bad news. After running the game once, and restarting, the events no longer fire. If you're not using Studio, something is very wrong, and you should throw your computer out the window before It begins. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2012 04:39 PM |
| Position and Velocity don't call the Changed event dude. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2012 04:42 PM |
Ah.
But why does Roblox do this? |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2012 04:43 PM |
@Cap Yeah they do I also unanchored the brick to get it to fall |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2012 04:44 PM |
| What? They used to. It would be kind of useful to have those things fire the Changed event. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2012 04:46 PM |
Try and change the name or edit some of it's properties.
Also, do you need to do:
print(tostring(property))
?
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2012 04:48 PM |
| I just checked, Position and Velocity do nothing, but Anchored does. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2012 04:50 PM |
Well it works on solo. When I drag, it says:
DraggingV1 CFrame Position CFrame Position CFrame Position DraggingV1
It doesn't print anything when I drop it though, suggesting candymaniac is half-right. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2012 04:51 PM |
I don't think that the velocity property fires the .Changed event...
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance. |
|
|
| Report Abuse |
|
|