Timmy99
|
  |
| Joined: 17 Sep 2007 |
| Total Posts: 35 |
|
|
| 31 May 2015 09:03 PM |
| So lets say a person with the Gamepass joins the server he gets a extra 150k with the currency "Money" Please do the script for me |
|
|
| Report Abuse |
|
|
|
| 31 May 2015 09:04 PM |
| We are not here for free scripts. Please learn to script. |
|
|
| Report Abuse |
|
|
Tokimonu
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 643 |
|
|
| 31 May 2015 09:06 PM |
http://wiki.roblox.com/index.php?title=Your_First_Script
r̙̠̞̮̟͕̠e̙̖̱̞͍͎̺a̟̞͖͚͉̮lí̘̖̻t҉̜̬̥̼̝̳y̯̝ ̛͍̦͎͉̙iş̪͉̜͓̞ ̺̲͈̪͍̟͜an̙̤ ̴͈ͅi̘͕̗͈̖̹l̹l̥̻̀u̜͈͍s͏̣͖͍̺i̥̪̟ơṋ̼͇ ͕̙̳̝a͇͍͍͝n̤̪d̛͓͓̫ ͈̝̕t̹̝̦h̰͎̺̘͎͞e̢̤̭͈̲ ̦̹̠̰ụ̶̟͚͓̣n͔̦͕̳i͏̪̞ve҉̤̮͓͎̺r҉̗̫̬s̻̹͉̟ȩ̖̻ i͇̯̦̤̝͓͘ͅs̛̫̻͍̦̝̠̪ ̸̬͚a̷̻͈̫̦̦ ̬͙̫̺͉h̬̩̲̻̳̱o̙̺̥̝̪̭͇l͘o̤͔̜̹̭g̻͖̟̳̹̱ṛ̨͓̜͇̦a͏͕̞̞m͈̦̱̣̫̣ |
|
|
| Report Abuse |
|
|
adandee
|
  |
| Joined: 20 Feb 2014 |
| Total Posts: 231 |
|
|
| 31 May 2015 09:09 PM |
if game.Players.Name = Timmy99 then print ('Gtfo you little noob') end
|
|
|
| Report Abuse |
|
|
Tokimonu
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 643 |
|
|
| 31 May 2015 09:12 PM |
@adandee gtfo u noob that's not even the proper script
game.Players.PlayerAdded:connect(function(plr) if plr.Name == "Timmy99" then local m = Instance.new("Message", game.Workspace) m.Text = "Gtfo you little noob" plr:Kick() wait(5) m:Destroy() end end)
Nobody would be able to see the print. ur obviously new squid
r̙̠̞̮̟͕̠e̙̖̱̞͍͎̺a̟̞͖͚͉̮lí̘̖̻t҉̜̬̥̼̝̳y̯̝ ̛͍̦͎͉̙iş̪͉̜͓̞ ̺̲͈̪͍̟͜an̙̤ ̴͈ͅi̘͕̗͈̖̹l̹l̥̻̀u̜͈͍s͏̣͖͍̺i̥̪̟ơṋ̼͇ ͕̙̳̝a͇͍͍͝n̤̪d̛͓͓̫ ͈̝̕t̹̝̦h̰͎̺̘͎͞e̢̤̭͈̲ ̦̹̠̰ụ̶̟͚͓̣n͔̦͕̳i͏̪̞ve҉̤̮͓͎̺r҉̗̫̬s̻̹͉̟ȩ̖̻ i͇̯̦̤̝͓͘ͅs̛̫̻͍̦̝̠̪ ̸̬͚a̷̻͈̫̦̦ ̬͙̫̺͉h̬̩̲̻̳̱o̙̺̥̝̪̭͇l͘o̤͔̜̹̭g̻͖̟̳̹̱ṛ̨͓̜͇̦a͏͕̞̞m͈̦̱̣̫̣ |
|
|
| Report Abuse |
|
|
adandee
|
  |
| Joined: 20 Feb 2014 |
| Total Posts: 231 |
|
|
| 31 May 2015 10:14 PM |
I wasn't going to right like 50 lines of code just for one little script message.
I only script that much when I'm in the process of scripting for my game. |
|
|
| Report Abuse |
|
|
Locard
|
  |
| Joined: 13 Apr 2014 |
| Total Posts: 3516 |
|
|
| 31 May 2015 10:16 PM |
@adan
Well if you keep "writing" your lines like
if game.Players.Name = Timmy99 then
... then it's going to break really quickly. |
|
|
| Report Abuse |
|
|
|
| 31 May 2015 10:19 PM |
game.Players.PlayerAdded:connect(function(player) if player.Name:sub(1,9):lower() == "Timmy99" then m = Instance.new('Message', workspace) m.Text = 'Gtfo you noob' wait(3) player:kick() end end
you both are wrong.
|
|
|
| Report Abuse |
|
|
Tokimonu
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 643 |
|
|
| 31 May 2015 10:41 PM |
Actually, the more used and meant-to-be method of storing strings is with ""s. Also, you don't need string.sub or lower() at all. If the players name has a capital letter in it in the first place, then you can leave it. You're just making your script more inefficient.
Also, you're storing m inside of a function, so you should change it to local. It's not accessed more than once in the script, but you should still leave it at local.
You're still wrong.
r̙̠̞̮̟͕̠e̙̖̱̞͍͎̺a̟̞͖͚͉̮lí̘̖̻t҉̜̬̥̼̝̳y̯̝ ̛͍̦͎͉̙iş̪͉̜͓̞ ̺̲͈̪͍̟͜an̙̤ ̴͈ͅi̘͕̗͈̖̹l̹l̥̻̀u̜͈͍s͏̣͖͍̺i̥̪̟ơṋ̼͇ ͕̙̳̝a͇͍͍͝n̤̪d̛͓͓̫ ͈̝̕t̹̝̦h̰͎̺̘͎͞e̢̤̭͈̲ ̦̹̠̰ụ̶̟͚͓̣n͔̦͕̳i͏̪̞ve҉̤̮͓͎̺r҉̗̫̬s̻̹͉̟ȩ̖̻ i͇̯̦̤̝͓͘ͅs̛̫̻͍̦̝̠̪ ̸̬͚a̷̻͈̫̦̦ ̬͙̫̺͉h̬̩̲̻̳̱o̙̺̥̝̪̭͇l͘o̤͔̜̹̭g̻͖̟̳̹̱ṛ̨͓̜͇̦a͏͕̞̞m͈̦̱̣̫̣ |
|
|
| Report Abuse |
|
|
Timmy99
|
  |
| Joined: 17 Sep 2007 |
| Total Posts: 35 |
|
| |
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
| |
|
Tokimonu
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 643 |
|
|
| 31 May 2015 10:49 PM |
r u srs
r̙̠̞̮̟͕̠e̙̖̱̞͍͎̺a̟̞͖͚͉̮lí̘̖̻t҉̜̬̥̼̝̳y̯̝ ̛͍̦͎͉̙iş̪͉̜͓̞ ̺̲͈̪͍̟͜an̙̤ ̴͈ͅi̘͕̗͈̖̹l̹l̥̻̀u̜͈͍s͏̣͖͍̺i̥̪̟ơṋ̼͇ ͕̙̳̝a͇͍͍͝n̤̪d̛͓͓̫ ͈̝̕t̹̝̦h̰͎̺̘͎͞e̢̤̭͈̲ ̦̹̠̰ụ̶̟͚͓̣n͔̦͕̳i͏̪̞ve҉̤̮͓͎̺r҉̗̫̬s̻̹͉̟ȩ̖̻ i͇̯̦̤̝͓͘ͅs̛̫̻͍̦̝̠̪ ̸̬͚a̷̻͈̫̦̦ ̬͙̫̺͉h̬̩̲̻̳̱o̙̺̥̝̪̭͇l͘o̤͔̜̹̭g̻͖̟̳̹̱ṛ̨͓̜͇̦a͏͕̞̞m͈̦̱̣̫̣ |
|
|
| Report Abuse |
|
|
|
| 31 May 2015 11:56 PM |
| bump just so everyone can laugh at the idiots on this thread |
|
|
| Report Abuse |
|
|
Hypnotic1
|
  |
| Joined: 20 Feb 2013 |
| Total Posts: 404 |
|
| |
|