|
| 23 Feb 2017 11:20 PM |
this don't work
character:WaitForChild("Torso").Changed:connect(function(property) end)
|
|
|
| Report Abuse |
|
|
reezy24
|
  |
| Joined: 16 Oct 2016 |
| Total Posts: 115 |
|
|
| 23 Feb 2017 11:26 PM |
you shouldnt have to wait for torso
also, there is no code within the connection? how do you know this doesnt work
try using print |
|
|
| Report Abuse |
|
|
|
| 23 Feb 2017 11:26 PM |
no errors in the output, the only if statement is this which is the first part of the function:
if property == "Position then
|
|
|
| Report Abuse |
|
|
|
| 23 Feb 2017 11:26 PM |
WaitForChild() does not do anything, it's good practice. also, I'm not dumb.
|
|
|
| Report Abuse |
|
|
|
| 23 Feb 2017 11:28 PM |
another note; this is inside a local script.
|
|
|
| Report Abuse |
|
|
|
| 23 Feb 2017 11:31 PM |
what are you using this for there might be a less cringy method avilable |
|
|
| Report Abuse |
|
|
|
| 23 Feb 2017 11:33 PM |
a sound player based on elevation. don't be salty if you don't know what's wrong, nobody knows everything. :>
|
|
|
| Report Abuse |
|
|
|
| 23 Feb 2017 11:39 PM |
| just check position every X seconds |
|
|
| Report Abuse |
|
|
|
| 23 Feb 2017 11:40 PM |
thats inefficient and cringy-er method(no offense). but hey, if there are no other solutions...
|
|
|
| Report Abuse |
|
|
|
| 23 Feb 2017 11:43 PM |
| better than having changed fire hundreds of times a minute |
|
|
| Report Abuse |
|
|
|
| 23 Feb 2017 11:44 PM |
^ i have a sort of debounce for that
|
|
|
| Report Abuse |
|
|
RogueMage
|
  |
| Joined: 28 Jan 2012 |
| Total Posts: 1235 |
|
|
| 24 Feb 2017 01:42 AM |
just check position every couple seconds
Torso position because of breathe animation so don't use that
kthx |
|
|
| Report Abuse |
|
|
RogueMage
|
  |
| Joined: 28 Jan 2012 |
| Total Posts: 1235 |
|
|
| 24 Feb 2017 01:42 AM |
| Torso position changes constantly* |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 24 Feb 2017 03:43 AM |
HumanoidRootPart.Changed:connect(function(prop) if prop == 'CFrame' then print('person moved their character') end end)
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 24 Feb 2017 04:54 AM |
| Changed is not going to be fired when ### position is changed due to physics. It'll only fire when you explicitly set ### position. |
|
|
| Report Abuse |
|
|