Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --inspired by dex loader
- --[[function loadscript(gui)
- if gui then
- for a,b in pairs(gui:GetDescendants()) do
- if b then
- if b:IsA("LocalScript") then
- end
- end
- end
- end
- end]]
- function loadGui(gui)
- if gui then
- local clone = gui:Clone()
- clone.Enabled = true
- clone.Parent = game:GetService("CoreGui")
- return(clone)
- end
- end
- return loadGui
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement