
77.8k Views
119 Executions
Does it work?
Early reports100% say it works Β· 1 report in the last 2 weeks
Also noticed:
Description
Allows modifying the Rayfield UI according to what you like! This script allows you to fetch tabs based on many options, like latin_only, search_regex, find_only, visible_only, ... Allows you to create so many custom elements!
local Rayfield = gethui():WaitForChild("Rayfield"):WaitForChild("Main")
local TabList = Rayfield:WaitForChild("TabList")
local Elements = Rayfield:WaitForChild("Elements")
local TemplateElements = Elements:WaitForChild("Template")
local RMod = {}
local insert = table.insert
local Instance_new = Instance.new
function RMod:Defaultify(Default, Table)
for i, v in next, Default do
if type(v) == "table" and type(Table[i]) == "table" then
self:Defaultify(v, Table[i])
else
Table[i] = Table[i] == nil and v or Table[i]
end
end
return Table
end
function RMod:NoRegex(Str)
for _, Char in next, ("$%^&*()[]-+?."):split("") do
Str = Str:gsub("%" .. Char, "%%" .. (Char == "%" and "%" or "") .. Char)
end
return Str
end
function RMod:GetTabsByName(Name, SearchOptions) --! Returns a table like: {Instance = Tab, Rename = function, Delete = function, Hide = function, Show = function}
--[[
* SearchOptions (table):
^ case_insensitive: If true, It will ignore capital letters, everything will be searched for in lowercase
^ latin_only: If true, It will ONLY look for letters and numbers, for example, Hello World, Will be converted into HelloWorld, HelloΔ«World will be converted into HelloWorld
^ visible_only: If true, Will not include hidden tabs (tabs hidden with Tab:Hide()),
^ search_regex: If true, will search for tab names WITH REGEX, For example:
^ RMod:GetTabsByName("Hello%s*World", {search_regex=true}) will get the tabs: HelloWorld, Hello World, Hello World, Hello World and so on, if false then it will search for raw names.
^ find_only: If false or nil, Will require the tab's name to be EXACTLY the same as Name, Otherwise only a chunk of it.
]]
SearchOptions = SearchOptions or {}
Rayfield Modifier








Congrats, another banger, 11/10
God
What executor is this
Thank you very much
@jacinthjacob0 Load rayfield then load this.
How do i execute this
@SkireScripts No way the skid master?! GGs man