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

Local Script works in Studio mode, but not in Play mode?

Asked by 10 years ago

This is a local script that will work when I test in studio mode, but won't when I play from the roblox website.

The whole script is:

01lp=game.Players.LocalPlayer
02gui=lp.PlayerGui
03frame=gui.Welcome.Frame
04submit=frame.submit
05value=frame.value
06stat=frame.stat
07player=frame.player
08reset=frame.reset
09 
10admins={
11    ["XtremeSpy"]=workspace.ec.Value,
12    ["Frostari"]=workspace.fs.Value
13}
14groupid=1051893
15function isPlayerAdmin(p)
View all 84 lines...

But the only part that doesn't work is the, reset.MouseButton1Down:connect, on

Answer this question