|
| 24 Sep 2013 08:41 PM |
Hi guys, I need help with a specific script, that is going to be used in a game I am currently working on.
What I need is a script that when you step on a brick, it gives you X amount of money every min till someone else steps on it, then they start receiving money.
Please help, I would really appreciate it! |
|
|
| Report Abuse |
|
|
| |
|
redlo43
|
  |
| Joined: 16 Feb 2011 |
| Total Posts: 4722 |
|
|
| 24 Sep 2013 08:43 PM |
looks like time to hire;
HIRING PEOPLE WILLING TO TEACH Lua TO ANNOYING NOOBS PLEASE PM ME AND I WILL SEND YOU APPLICATION FORM THANKS |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2013 08:49 PM |
I'm sorry I am not that good at scripting.
Could you possibly post the full script, sorry.
Thanks!
|
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Sep 2013 08:57 PM |
So all I do is put
while true do end in the brick and it will do the command I mentioned earlier?
(Sorry if I am completely wrong, I have a very little knowledge of scripting). |
|
|
| Report Abuse |
|
|
| |
|
DatSwug
|
  |
| Joined: 05 Aug 2013 |
| Total Posts: 4729 |
|
| |
|
nomer888
|
  |
| Joined: 13 Feb 2010 |
| Total Posts: 551 |
|
|
| 24 Sep 2013 09:01 PM |
Come on, Flatline, at least give him a pointer. No, that will crash your game. We won't make scripts for you, but all I will say is do some research on tycoon scripts, and the touched event. I'm sure you can find out what else you need on the ROBLOX Wiki, if not, LuaLearners. |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Sep 2013 09:08 PM |
@nomer888 Ok, thanks a lot! I may not know much about scripting but even I know that script didn't look right. I will look on those sites and find out what I can. Thanks for helping me out.
Also I would appreciate any pointers (or even the whole script) that any one else would have! (Besides while true do end). |
|
|
| Report Abuse |
|
|
RSFTheory
|
  |
| Joined: 31 Aug 2013 |
| Total Posts: 315 |
|
|
| 24 Sep 2013 09:17 PM |
function touch(hit) while true do hit.leaderstats.X.Value = +1 -- the X is the name of the leaderstat. Change 1 to the number that is added. end else -- this is here to say if they get off of it, the script stops. I'm not sure if this will work --though. Maybe you can try it. This is all the help I can give you; I'm not a good scripter. end
script.Parent.Touched:connect(touch) |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2013 09:21 PM |
Wow, you are definitely a better scripter than I am.
Thanks, you have really helped me out a lot.
I will go try this out.
Thanks again!
|
|
|
| Report Abuse |
|
|
|
| 24 Sep 2013 09:29 PM |
Come on, Flatline, at least give him a pointer. ----------- He deserves nothing. |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2013 09:36 PM |
"Khols admin commands <<<< You <<<<<"
Dont Listen to flatline, Hes a freaking CyberBuly and need's to be banned SO just wait The Epix Pwner Bro's will get him of the street's in No Time |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Sep 2013 10:32 PM |
Sadly the script did not work. Thank you for your help though, RSFTheory!
If anyone does know how to script this, please post how.
Thanks! |
|
|
| Report Abuse |
|
|
| |
|
| |
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 25 Sep 2013 12:28 AM |
| I will help you, only if you care enough to give me a pm |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 25 Sep 2013 12:30 AM |
| Bye the way, nice King of the hill game, lol |
|
|
| Report Abuse |
|
|
|
| 25 Sep 2013 09:29 AM |
Ok, thanks a lot!
When do you think you could have it ready?
|
|
|
| Report Abuse |
|
|
|
| 25 Sep 2013 11:47 AM |
Also the game I am making is inactive till I reach Alpha Testing, so you will not find it on my profile.
(And that game you guys see is not a KOTH game. It is something else.) |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
| |
|
| |
|