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

This should be working, right? [closed]

Asked by 10 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
Script.Parent.MouseButton1Click:connect(function()
    Script.Parent.Parent.TeamChanger.Visible = true
    Script.Parent.Parent.Info.Visible = false
    Script.Parent.Parent.Store.Visible = false
    Script.Parent.Visible = false
end)

Locked by adark and TheMyrco

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

1 answer

Log in to vote
2
Answered by
Necrorave 560 Moderation Voter
10 years ago
script.Parent.MouseButton1Click:connect(function()
    script.Parent.Parent.TeamChanger.Visible = true
    script.Parent.Parent.Info.Visible = false
    script.Parent.Parent.Store.Visible = false
    script.Parent.Visible = false
end)

I made the 'S' in "Script" lowercase. When you are referring to a script, remember to keep the 's' lowercase.

Ad