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

I need help! Why wont this script make frame2 appear?

Asked by 11 years ago

So this script is supposed to make frame2 appear, if you're an admin, yet there's a problem... It wont appear! Not just the admin problem. Does anyone know what the problem is? If yes, please fix this!

01PlayerList={"Lem0nzz"}
02 
03script.Parent.MouseEnter:connect(function (plyr)
04 
05for i,v in pairs(PlayerList) do
06 
07if string.name == v then
08 
09Script.Parent.Frame.Visible = true
10 
11end
12 
13end
14 
15end)
View all 29 lines...

2 answers

Log in to vote
0
Answered by 11 years ago

This is the improved version the frame2 was listed as false instead of true so copy this and it will work

01PlayerList={"Lem0nzz"}
02 
03script.Parent.MouseEnter:connect(function (plyr)
04 
05for i,v in pairs(PlayerList) do
06 
07if string.name == v then
08 
09Script.Parent.Frame.Visible = true
10 
11end
12 
13end
14 
15end)
View all 29 lines...
0
Didn't work... Wrongmistake 0 — 11y
0
are you trying to be admin?if so i can fix and did u run it in a gui danielsarabia11 -2 — 11y
Ad
Log in to vote
-1
Answered by 11 years ago

Try naming it FrameTwo.

0
Didn't work. Wrongmistake 0 — 11y

Answer this question