Перейти к содержимому
РаботаетMisc

Reload Textures

POPooPoo773 просмотровUniversal24 июл. 2026 г.
Поделиться
Reload Textures

Код скрипта

Lua
local Players = game:GetService("Players")
local ContentProvider = game:GetService("ContentProvider")
local RunService = game:GetService("RunService")

local Reloading = false

local function forceProperty(obj, prop)
    pcall(function()
        local original = obj[prop]
        if typeof(original) == "string" and original ~= "" then
            obj[prop] = ""
            RunService.RenderStepped:Wait()
            obj[prop] = original
        end
    end)
end

local function reloadObject(obj)
    if obj:IsA("Decal") then
        forceProperty(obj, "Texture")
    elseif obj:IsA("Texture") then
        forceProperty(obj, "Texture")
    elseif obj:IsA("MeshPart") then
        forceProperty(obj, "TextureID")
    elseif obj:IsA("SpecialMesh") then
        forceProperty(obj, "TextureId")
        forceProperty(obj, "MeshId")
    elseif obj:IsA("ImageLabel") then
        forceProperty(obj, "Image")
    elseif obj:IsA("ImageButton") then
        forceProperty(obj, "Image")
    elseif obj:IsA("Sky") then
        forceProperty(obj, "SkyboxBk")
        forceProperty(obj, "SkyboxDn")
        forceProperty(obj, "SkyboxFt")
        forceProperty(obj, "SkyboxLf")
        forceProperty(obj, "SkyboxRt")
        forceProperty(obj, "SkyboxUp")
        forceProperty(obj, "SunTextureId")
        forceProperty(obj, "MoonTextureId")
    elseif obj:IsA("ParticleEmitter") then
        forceProperty(obj, "Texture")
    elseif obj:IsA("Trail") then
        forceProperty(obj, "Texture")
    elseif obj:IsA("Beam") then
        forceProperty(obj, "Texture")
    elseif obj:IsA("VideoFrame") then
        forceProperty(obj, "Video")
    end
end

local function fullReload()
    if Reloading then return end
    Reloading = true

    local all = game:GetDescendants()
    local total = 0

    for _, obj in ipairs(all) do
        reloadObject(obj)
        total = total + 1
        if total % 50 == 0 then
            RunService.RenderStepped:Wait()
        end
    end

    pcall(function()
        ContentProvider:PreloadAsync(all)
    end)

    Reloading = false
    warn("[Texture Reloader] Reloaded visual assets:", total)
end

fullReload()

game.DescendantAdded:Connect(function(obj)
    task.wait(0.2)
    reloadObject(obj)
end)

warn("[Texture Reloader] Loaded. All current and new textures will be force refreshed.")

Описание

**Texture Reloader** Reloads all Textures incase they are blurry not loading or just bugged. The game might freeze for a second or two but otherwise it works fine for me at least.

Комментарии (0)

Войдите, чтобы комментировать

  • Будьте первым, кто прокомментирует.

Часто задаваемые вопросы

Как использовать скрипт Reload Textures?
Скопируйте код скрипта выше, зайдите в Universal на Roblox, затем вставьте и выполните код в экзекьюторе. Функции активируются сразу после запуска.
Reload Textures ещё работает?
Да — Reload Textures отмечен как рабочий (обновлено 20 окт. 2026 г.). Если он сломается после обновления Roblox, зайдите позже за обновлённой версией.
Какой экзекьютор работает с Reload Textures?
Этот скрипт работает с большинством популярных экзекьюторов Roblox. Посетите нашу страницу экзекьюторов, чтобы найти подходящий для вашего устройства.