What this turned into is some very delicately planned social engineering. See, what everyone thinks has just happened is that a scripting team has insulted fuck out of me for ripping their script apart. What's actually just happened is I've manipulated them into providing you with support. Enjoy your (now) functional script, and be careful where you get your scripts from. My post above does point out several flaws, some of which are potentially pattern generative (thus could get you banned if that is how CIPs detection system works).
Anyway, as I can't resist the opportunity to shit on and embarrass these retards, here goes:
@kopper - Took me 10 minutes or so to write that post, showed you up to be little more than a bunch of idiots. As a grown up I have morals, and expectations. It just so happens that you deliver something which does not meet my expectations. They aren't particularly high, either. Tell me to grow up, get out of the house or whatever all you want, it doesn't make a blind bit of difference. The fact is I am a better scripter than your team combined. Prove me wrong... Ohhh wait, you can't. Note that by "your team", I am excluding any external help you're getting from Spectrus at the minute, as I am aware that you are so incapable that he pities you.
On top of the above, yes, I have time to make this post. The reality is that in order to debug code, you need to understand code. In order to understand code, you must analyse it in such a way that the list of flaws I pointed out are obvious, all I did was made notes on them as I went along. It only took me a couple of minutes longer than it would have to analyse the code without having listed them, and in doing so I made you guys look like the bunch of incompetent fools that you are.
@Joshwa534 - I don't expect you to read my wall of text, because that's just how pathetic you are. I offer you an opportunity to learn and develop, and you take nothing more than offence from it. Admittedly, it is full of offence, but the offence is in criticism. I have not criticised without being constructive, therefore it is quite clear that I'm being more productive than at least yourself.
What the fuck are you talking about you haven't seen me post any code? I've posted probably the only useful video tutorials on the forum, with code samples, I even posted above in this thread with some code which would assist OP in debugging the script... I have posts everywhere offering to help people, you are clearly either simply trying to offend me in a very childish way, or blind to what I do.
@kopper - Yes, I've bought two of your scripts. Well done. I've bought two of your scripts, and neither of them have worked out of the box. Well done. Seriously, what relevance does that have? I give everyone at least one chance, and as you can see, given both of the chances I gave you, you have done little more than prove your own incompetence. On both occasions, I might point out, I have remade the scripts from scratch. If you want I can donate them to you, so you can distribute them, at least that way the shit you're trying to palm off at the minute won't be out there any longer.
@Joshwa534 - If you have a problem with my lame tutorial, make one yourself. I don't think you even know as much as I demonstrate in that video, and all that I demonstrate is how to adapt a Lua file to work for a spawn other than that for which it was made. If you'd prefer I can take it down, that way the community can't benefit from it and are forced to buy your scripts? Fancy that? Fancy being the dick who removes a perfectly valid resource from being publicly accessible?
No, I don't do sucking up. If you genuinely think I do, perhaps you should speak to those concerned. The first post quoted in reply #19 is me stating that the update would not have broken the script in this way, and that the people who responded saying that the script was shit (although they are correct, it is shit) were incorrect about the cause of this particular issue. If anything this post should demonstrate that I am unbiased, and it is actually an example of myself defending you and your ridiculous excuse for a scripting team.
You couldn't afford me.
@Adky - The first label should not be ignored if there is no sleep, it makes no sense that this should be necessary. Upon googling I did find a math.round function, but it does appear to be user added. This code still could do with being more readable, and if you disagree with that at least consider the rest of the points made about that chunk of code.
The point is that there is a potential improvement which would've taken an extra second to implement, and it was not incorporated for a reason which I fail to see.
The random waits in this function are fine, but let's look again at the waits which were added earlier, why were they even added? It makes no sense for them to be there.
@xiaospike - Very clever, you know how to use a meme generator, well done. Fancy trying to hold a conversation next time? Or can your simple brain not support such intellectual things?