
KeylessUniversal

local CoreGui = game:GetService("CoreGui")
local replacements = {
["Respawn"] = "Reset Character",
["Are you sure you want to respawn your character?"] =
"Are you sure you want to reset your character?",
["Are you sure you want to respawn?"] =
"Are you sure you want to reset your character?",
["Don't Respawn"] = "Don't Reset",
}
local patched = {}
local function updateText(object)
local replacement = replacements[object.Text]
if replacement then
object.Text = replacement
end
end
local function watch(object)
if not object:IsA("TextLabel") and not object:IsA("TextButton") then
return
end
updateText(object)
if patched[object] then
return
end
patched[object] = true
object:GetPropertyChangedSignal("Text"):Connect(function()
updateText(object)
end)
object.Destroying:Connect(function()
patched[object] = nil
end)
end
for _, object in CoreGui:GetDescendants() do
watch(object)
end
CoreGui.DescendantAdded:Connect(function(object)
task.defer(watch, object)
end)No comments yet for this script.



