Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

No error messages in the output, but this GUI script will not work. Why? (Local Script)

Asked by 10 years ago

Whenever I run this script and type in all the variables, the script breaks and doesn't output an error message. Any help or suggestions?

01frame=script.Parent
02lp=game.Players.LocalPlayer
03submit=frame.submit
04value=frame.value
05stat=frame.stat
06player=frame.player
07admins={
08    ["XtremeSpy"]=workspace.ec.Value, --Int Value
09    ["Frosty"]=workspace.fs.Value --Number Value
10}
11groupid=0 --I changed it to be anonymous
12function isPlayerAdmin(p)
13    for i,v in pairs(admins) do
14        if p.userId==v or p.Name=="Player1" then --Player1 to studio test it
15            return true
View all 67 lines...
0
Which part of the script do you think is having problems? Or where does it stop working? EzraNehemiah_TF2 3552 — 10y
0
I don't know what part it's at but after I click submit it doesn't change any of the leaderstat values. @LordDragonZord XtremeSpy 80 — 10y
0
@LordDragonZord It could possibly be the finding the player part of it though. XtremeSpy 80 — 10y

Answer this question