✓ Accepted answer
Hello Tyler i'm here to help you. The best is use a «service» to find anything on a PlayerGui.
local Players = game:GetService('Players')
local Player = Players.LocalPlayer
local PlayerGui = Player :WaitForChild('PlayerGui')
local ScreenGui = PlayerGui:WaitForChild('ASGP')
local frame = ScreenGui:WaitForChild('Frame')
script.Parent.MouseButton1Click:connect(function()
frame.Visible = true
end)
You can make it too
script.Parent.MouseButton1Click:connect(function()
game:GetService('Players').LocalPlayer:WaitForChild('PlayerGui '):WaitForChild('ASGP'):WaitForChild('frame').Visible = true
end)
1 comment
Thank you so much.