You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
So apparently i wanted to make a custom Forsaken game with OCS. Everything was fine but the problem was, where do i put rigs for skins? Everything that i try leads to: ServerStorage.ServerSystems.InventoryManager:118: attempt to index nil with 'Value'
What is the issue? Include screenshots / videos if possible!
The issue is that i cant find the right place of putting a rig.
What solutions have you tried so far? Did you look for solutions on the Creator Hub?
I tried moving it but it didnt work, and creator hub didnât help.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that itâs easier for people to help you!
Please do not ask people to write entire scripts or design entire systems for you. If you canât answer the three questions above, you should probably pick a different category.
There are no data stores if itâs a new game, and it has a Value property so it sounds like itâs meant to be a StringValue, do you know what that value is used for in the code?
i donât really know about forsaken but Skin is just a cosmetic reskin It updates the characters appearance textures mesh accessories or animations etc and It does not create a new character entity youâre still using the same player model under-the-hood. better use external data to load skins dynamically and donât use Object values please better use table also read about my oop table itâs gonna help you about that Full tutorial about OOP
local module = {}
module.__index = {}
function module.new(player: Player)
local self = setmetatable({
--//Variables
player = player,
Character = player.Character or player.CharacterAdded:Wait(),
SkinColor = Color3.fromRGB(255, 211, 134),
--//I Used a number better for saving
SkinID = 1,
--anything else you want to add
}, module)
return self
end
function module.ApplySkin(self, num: number)
self.SkinID = tonumber(num)
--you're codes
end
function module.SaveData(self)
--saveing all faces
end
return module
local module = require(...)
local data = module.new(YSH122331)
data :ApplySkin(2)
data :SaveData()