Exllumina
|
  |
| Joined: 28 Jun 2014 |
| Total Posts: 6314 |
|
|
| 25 Aug 2014 09:01 AM |
I have a script. Now I need a Local Script (because I can't set everything in one of the two). Basically the Local Script would do this:
wait(0.5) game.Players.LocalPlayer.Character.Torso.Anchored = false
but it needs to do that after the script (normal one) finishes.
How do I let THAT happen?
|
|
|
| Report Abuse |
|
|
|
| 25 Aug 2014 09:05 AM |
bindable functions/events
or if you have filtering enabled
remote functions/events
http://wiki.roblox.com/index.php?title=RBX.lua.BindableFunction_(Object) |
|
|
| Report Abuse |
|
|
Exllumina
|
  |
| Joined: 28 Jun 2014 |
| Total Posts: 6314 |
|
|
| 25 Aug 2014 12:47 PM |
how would you do that?
(btw, no filtering enabled) |
|
|
| Report Abuse |
|
|
sycips
|
  |
| Joined: 21 Mar 2011 |
| Total Posts: 1368 |
|
|
| 25 Aug 2014 01:28 PM |
I'd just put a BoolValue object in the normal script. When the normal script ends:
--code... script.BoolValue.Value = true
And in the localscript:
Game.Workspace.Script.BoolValue.Changed:wait() --code...
I hope that helps...
~sycips~ |
|
|
| Report Abuse |
|
|
Exllumina
|
  |
| Joined: 28 Jun 2014 |
| Total Posts: 6314 |
|
|
| 25 Aug 2014 01:55 PM |
| i'll test it and tell you here soon if it worked. |
|
|
| Report Abuse |
|
|