of     2   
chevron_rightchevron_rightchevron_right

PRG
#210328Saturday, October 27, 2007 6:06 PM GMT

i said" "can someone make a script so whenever i say "pay (username here)" and he earns some points? i need one for my place! stealth pilot said he would post it some time ago, but he NEVER DID!! i need this! and i cant script what so ever! ~P-R-G~" you said: "Here''s one that will also pay anyone that you command: ___________________________________________________________________________ function onChatted(msg, recipient, speaker) -- convert to all lower case local source = string.lower(speaker.Name) msg = string.lower(msg) if (source ~= "PRG") then return end if string.match(msg, "/pay") then local p = game.Players:children() for i = 1, #p do if string.match(msg, string.lower(p[i].Name)) then p[i].leaderstats.Points.Value= p[i].leaderstats.Points.Value + 100 end end end ___________________________________________________________________________ Enjoy, and post back here if it doesn't work. >Pilot< end game.Players.ChildAdded:connect(onPlayerEntered)" the script doesnt work at all!
lavamaster
#210633Saturday, October 27, 2007 8:10 PM GMT

isnt it suppose to be this? function onChatted(msg, recipient, speaker) -- convert to all lower case local source = string.lower(speaker.Name) msg = string.lower(msg) if (source ~= "PRG") then return end if string.match(msg, "/pay") then local p = game.Players:children() for i = 1, #p do if string.match(msg, string.lower(p[i].Name)) then p[i].leaderstats.Points.Value= p[i].leaderstats.Points.Value + 100 end end end end game.Players.ChildAdded:connect(onPlayerEntered) try it
PRG
#210661Saturday, October 27, 2007 8:28 PM GMT

i will try it after this page gets filled up with similar scripts. i like seeing people's different scripts, but thanks i will try it later after the aformentioned statement i made before works out
PRG
#210723Saturday, October 27, 2007 8:57 PM GMT

ok i will try it now, but first, can i put in more than one name? and what about a script that lets me be wearing an admin shirt and be able to use the commands (with permission list so i am auto admin and admin shirt graphic id for people wearing the shirt being able to pay people too)?
LinkinParker2
Top 100 Poster
#210737Saturday, October 27, 2007 9:07 PM GMT

CONVERT ALL TO LOWERCASE DARNIT
PRG
#210994Sunday, October 28, 2007 12:15 AM GMT

what isnt lowercase?
PRG
#211371Sunday, October 28, 2007 4:56 AM GMT

bump ~P-R-G~
cruckshank
Top 100 Poster
#217242Thursday, November 01, 2007 8:05 AM GMT

stop keeping this alive..
kjj86
Top 100 Poster
#218226Thursday, November 01, 2007 11:31 PM GMT

U JUST BUMPED THIS IDIOT
CPRULEZ
Top 100 Poster
#218508Friday, November 02, 2007 12:56 AM GMT

I think it should be this function onChatted(msg, recipient, speaker) -- convert to all lower case local source = string.lower(speaker.Name) msg = string.lower(msg) if (source = "PRG") then return end if string.match(msg, "/pay") then local p = game.Players:children() for i = 1, #p do if string.match(msg, string.lower(p[i].Name)) then p[i].leaderstats.Points.Value= p[i].leaderstats.Points.Value + 100 end end end
PRG
#218797Friday, November 02, 2007 5:32 AM GMT

it has to be alive! it might be an important script >_> plus its my own thread cprulez, did you try the script? oh and can i put in more than one name in the source? like (source = "PRG", "CPRULEZ", "telamon")? ugh i wish people can delete bad posts on the threads they post, i just want this alive until someone gives m an actual working script T_T
ICE128
#218801Friday, November 02, 2007 6:07 AM GMT

Sigh, people make mistakes sometimes... Lavamaster, you needed one more "end" Heres my script: function onChatted(msg, recipient, speaker) -- convert to all lower case local source = string.lower(speaker.Name) msg = string.lower(msg) if (source ~= "PRG") then return end if string.match(msg, "/pay") then local p = game.Players:children() for i = 1, #p do if string.match(msg, string.lower(p[i].Name)) then p[i].leaderstats.Points.Value= p[i].leaderstats.Points.Value + 100 end end end end end game.Players.ChildAdded:connect(onPlayerEntered) I havent tested this, but to add more than one person replace the ""if (source ~= "PRG") then return end"" part with this: if (source ~= "PRG") or (source ~= "CPRULEZ") or (source ~= "Telamon" then return end =========== --->ICE128<--- ===========
ICE128
#218802Friday, November 02, 2007 6:08 AM GMT

[ Content Deleted ]
PRG
#218804Friday, November 02, 2007 6:15 AM GMT

can i make it (msg, "/pay") to (msg, "pay") without the /?
ROBLOXCOP
#218936Friday, November 02, 2007 12:06 PM GMT

listen there is this thing called Private Message plz use it and stop spamming! make your own script stop asking for other ppls!
burgly
Top 100 Poster
#218954Friday, November 02, 2007 12:31 PM GMT

robloxcop, you must be a total noob, since THAT IS WHAT THIS WHOLE FORUM IS FOR!
darkrai1002
#219372Friday, November 02, 2007 8:43 PM GMT

Lolz. True dat burgly! ~The lazies ate me...~darkrai1002
ROBLOXCOP
#219469Friday, November 02, 2007 9:28 PM GMT

both of u retarded dumbys better shut ur stupid moyuths because im not a noob so shut up and ive been playing since june or july so shut ur mouth idiot! Bonito to the world!
burgly
Top 100 Poster
#219476Friday, November 02, 2007 9:37 PM GMT

dued, you've only been playing for one month! since september, the account numba don't lie.
ROBLOXCOP
#219594Friday, November 02, 2007 10:12 PM GMT

ive had other accounts retard
ROBLOXCOP
#219597Friday, November 02, 2007 10:12 PM GMT

ive been playing longer than u so..............
Starman
#219600Friday, November 02, 2007 10:13 PM GMT

AND even if you were playing that long(which is not true...) then that still doesent make you any better than us. This forum is called "SCRIPTING HELP!!!" Youre supposed to ask for helps with scripts. because if you break it up, that forum name should make you think... hmm.... scripts is what its talking about, and help is when you do something for someone etc... so this forum must be for helping others who need help with scripts! That bwas exactally what PGR was doing. He was asking for help with a script stealth gave him, and theres nothing wrong with that. (sorry if im making no sence... im not a good poster....>.>...<,< or am I?)
Starman
#219606Friday, November 02, 2007 10:14 PM GMT

opps i ment PGR and that was supposed to appear above the 2 post above the one I made a mistake... told ya I would make a mistake....
Starman
#219610Friday, November 02, 2007 10:15 PM GMT

T~T i mean PRG....(finally)
PRG
#219624Friday, November 02, 2007 10:21 PM GMT

yah huh, now can someone make a script and not cause any fights on a thread asking for one simple, flawless script

    of     2   
chevron_rightchevron_rightchevron_right