My friend is currently making a game and he has this 1 bug that he can’t fix and he was told by a lot of people that he is doing it right but someone also told him it’s a bug so he wanted me to make this post. What happens is the he has this script
for i,v in pairs(game.ServerStorage.CharacterModels:GetChildren()) do
if v.Name == Item then
local Clone = v:Clone()
Clone.Name = v.Name
Clone.Parent = workspace
end
end
end) ```
What it does is that a local script sends the color of the model and the name and the server script searches for the model in ServerStorage and then clones it to Workspace and sets the color. The issue is that His model shows up on his screen so does mine's but i don’t see his Model but i also see mine's. His Game is also Filtering Enabled, we tried it with parts and it worked but when we tried it with Mesh parts it does not seem to work
We tested it a bit and now it seems that i see them fine but he sees only his own and not mine’s now also we have no errors in console and I don’t believe that it is related to that post
Just a heads up for future posts, you can format code in Discourse by starting and ending it with three tick marks (`):
game.ReplicatedStorage.Maker.OnServerEvent:Connect(function(plr,Item,Color)
for i,v in pairs(game.ServerStorage.CharacterModels:GetChildren()) do
if v.Name == Item then
local Clone = v:Clone()
Clone.Name = v.Name
Clone.Parent = workspace
end
end
end)
And I am not the owner of that place (so that mean it is already moderated) and I could see them and he could not see mine and we tried once like 1 day ago and i could not see his but he could see mine and it keep happening vice versa