Ancestor
Published onQuick way to grab the nearest ScreenGui from a descendant script:
local screen = script:FindFirstAncestorWhichIsA("ScreenGui")
Quick way to grab the nearest ScreenGui from a descendant script:
local screen = script:FindFirstAncestorWhichIsA("ScreenGui")