Universal Script 📌
22.6k Views
497 Executions

ftap thing I found idk was dat fr

Universal Script 📌
RootPart
RootPart10K executions
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

IDK BRO

View Raw
local Utilities = {}
print("omg sigma")
function Utilities.IsDescendantOf(child, parent)
    while child do
        if child == parent then
            return true
        end
        child = child.Parent
    end
    return false
end
function Utilities.GetDescendant(parent, name, className)
    for _, descendant in pairs(parent:GetDescendants()) do
        if descendant.Name == name and descendant:IsA(className) then
            return descendant
        end
    end
    return nil
end

function Utilities.GetAncestor(child, name, className)
    local current = child.Parent
    while current do
        if current.Name == name and current:IsA(className) then
            return current
        end
        current = current.Parent
    end
    return nil
end
function Utilities.FindFirstAncestorOfType(child, className)
    local current = child.Parent
    while current do
        if current:IsA(className) then
            return current
        end
        current = current.Parent
    end
    return nil
end


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
126.6k
349.4k
Bumped 6 minutes ago

Script hub

#8 today

KeylessVerified script badgeNo Lag Hub | KEYLESS 2026

Universal Script 📌
13
2
Approved 13 minutes ago
Universal Script 📌
125
7
Approved 2 hours ago
Script hub
94
9
Approved 2 hours ago
Script hub
91
6
Bumped 2 hours ago
Key System

Script hub

Plak Upd

Script hub
70
10
Approved 3 hours ago

Script hub

Levian Hub

Universal Script 📌
53
22
Approved 3 hours ago