|
| 05 Mar 2013 10:31 AM |
why doesn't this work?
function lol(m) if (player.Character.Torso.Position - m.Target.Position) <= 10 then end end
while true do wait() lol(m) end |
|
|
| Report Abuse |
|
|
Moolah101
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 614 |
|
|
| 05 Mar 2013 10:34 AM |
Kk, you forgot to add .magnitude and the <=
function lol(m) if (player.Character.Torso.Position - m.Target.Position).magnitude <= 10 then end end
while true do wait() lol(m) end |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 05 Mar 2013 10:34 AM |
You forgot .magnitude:
if (player.Character.Torso.Position - m.Target.Position) <= 10 then
Should be:
if (player.Character.Torso.Position - m.Target.Position).magnitude <= 10 then |
|
|
| Report Abuse |
|
|
Moolah101
|
  |
| Joined: 22 Sep 2010 |
| Total Posts: 614 |
|
| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 05 Mar 2013 10:37 AM |
Who cares? It's only a time issue.
ROBLOX should really have an updating thread system, where it updates the thread while you post a reply - and they should have a quick reply system. |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 05 Mar 2013 10:39 AM |
It wouldn't.
Think about it, auto-updating threads so while you're typing a reply you can check if someone's already posted a reply
For the quick-reply, they could either just add a quick-reply box in, or modify it so the thread is shown and auto-updates on the reply page. |
|
|
| Report Abuse |
|
|
|
| 05 Mar 2013 10:43 AM |
| Both thank for helping, it works now :) |
|
|
| Report Abuse |
|
|