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

On Click open next frame not working?

Asked by 6 years ago

Its not working here it is

frame.MouseButton1Click:connect function() if frame.Visible = false then frame.Visible = true

1 answer

Log in to vote
0
Answered by
Rare_tendo 3000 Moderation Voter Community Moderator
6 years ago

Just parent this LocalScript to infoframe..

script.Parent.MouseButton1Down:Connect(function()
        if not script.Parent.Visible then script.Parent.Visible = true end
end)
Ad

Answer this question