#lf good scripter to help me make an item reskin system

1 messages · Page 1 of 1 (latest)

thorn gazelle
#

local ReskinSystem = require(reskins) there you go 👍

#

you gonna need a lot more than that if all you have is an empty table

#

im not going to make it for you

timber kite
#

how is it supposed to work?

#
local Reskins = {
    
    Forkini = {
        ["Red"] = Color3.new(1, 0, 0);
        ["Blue"] = Color3.new(0, 0, 1);
        ["Green"] = Color3.new(0, 1, 0);
    };
    
};

local function GetReskinColour(Type,WantedColour)
    if not Reskins[Type] or not Reskins[Type][WantedColour] then return nil; end;
    return Reskins[Type][WantedColour];
end

local Wanted = GetReskinColour("Forkini","Red");

print("Player wanted: "..tostring(Wanted));```
#

like this?

#

im not sure wym

thorn gazelle
#

im here to help people not ai 👍

#

nor perform the functions of ai

#

trying to, but you keep pinging me Thumbs

timber kite
#

is this how you want it to be done?

#
local Reskins = {

    Fork = {
        ["Handle"] = Color3.new(0, 1, 1);
    };

};

local function GetPartReskinColour(ItemName,PartName)
    if not Reskins[ItemName] then
        warn(ItemName.." does not have any reskin data");
        return nil
    end
    if not Reskins[ItemName][PartName] then return nil; end;
    return Reskins[ItemName][PartName];
end

-- quick example how to reskin
for _,Part in pairs(workspace.Fork:GetDescendants()) do
    
    local hasData = GetPartReskinColour("Fork",Part.Name);
    
    if hasData then
        Part.Color = hasData;
    end
    
end```
#

if so just ask chatgpt to do that ig

faint nexus
#

dude got mad