Is this script broken? Or is it good?
function promouser(gid,rankid,pid)
local http = game:getService('HttpService');
local ids = {
'groupId='..gid;
'newRoleSetId='..rankid;
'targetUserId='..pid;
};
ids = table.concat(ids,'&');
http:getAsync("http://stateofrowland.esy.es/changeRank.php?"..ids);
end;
function onTouched(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
promouser(2595428,17193058)player.userId)
print(player.Name .. " has gotten promoted to YOURRANK, his UID is " .. player.userId .. "")
end
connection = script.Parent.Touched:connect(onTouched)

12 comments
Did you make this script? If so, explain the code.
@M39a9am3R Thanks for asking! Can we talk over this over skype? My skype is ZequewRoblox and we wont talk just type and I will screen share the scripts on studio.
I don't share my skype username with too many people. It's just a security thing on my end so I would ask you just revise your question on the site to explain the code.
Replace the end parenthesis ")" with a comma "," on line 14. Though I don't always encourage leaked material...
Done and now it shows this http://prntscr.com/9reum6
Lel don't get on M39a9am3R's bad side...
I meant the first one... -_- "promouser(2595428, 17193058, player.userId)"
M39 now? http://prntscr.com/9rezzq
Gee I sure did a good job on my answer for Benqazx's question on "Why Is this Not Working?". Psst maybe i could get an upvote ...
OH!!!!!!! There I did it!! http://prntscr.com/9rf2o1 this one correct?
m39 i didn't want the people that join the group to be auto promoted to the next rank.. I wanted them to take the test and then pass it to be promoted the next rank up
Well then, that's up for you to script next ;-). And yes, now you're calling the function correctly.