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

I need help finishing off this script. I don't know what to put next (In the big gap.)

Asked by 10 years ago

I'm a beginner/intermediate scripter that still has a lot to learn and I'm trying to make a script that is ment to make a Gui appear when a chosen handful of players can make it do what the if statement does. As you can see the big hole.. I don't know what to put in there to make it work.. I know some parts that it needs just not all. Could someone help?

HR = script.Parent.Parent.Parent.Parent
if HR.Name == "SecretShadowLeague" then




if msg == "Computer Load O1" then
for i=1, 0, -0.1 do
A.TextTransparency = i
wait(0.1)
end
end
end

0
Please try to make your title match the question your asking. I couldn't figure out exactly what your question was so I had to make do with what I could. If I messed up the title, feel free to fix it. User#2 0 — 10y
0
Sorry, I've always had a problem trying to phrase something correctly.. Always. SecretShadowLeague 0 — 10y

2 answers

Log in to vote
2
Answered by 10 years ago

you could put your GUI into a big frame, in which all elements have their Position/Size relative (ie not absolute positions/sizes) To make it invisible, re-size the main frame to (0,0,0,0)

myFrame.Size=UDim2.new(0,0,0,0)

To show it, just give it a proper size

myFrame.Size=UDim2.new(0.5,0,0.4,0)

Hope i helped !

Ad
Log in to vote
0
Answered by 10 years ago

Make sure that 'msg' is defined, from the block of code I don't see the definition.

Answer this question