Hello! So a quick run down of my game. it’s a premade outfit catalog where you can shop for premade outfits and then purchase what you like. It’s practically ready for publishing but I’m just beyond stumped on this. I’ve asked for help before and after many messages they were only able to point me in the right direction but I just can’t seem to execute it right. So the issue, the issue is when I drag my podiums(which hold my premade outfits) from replicated storage into the workspace the proximity prompt won’t work, nevertheless even trigger. I have a local script dragging the podiums out of replicated and into the workspace. I’ve tried doing letting the server handle that but it only drags the components of the podium, not the character model in the podium(literally only drags the MODEL, not a single thing inside the character). The reason I can’t just keep my podiums in workspace is because some of the accessories don’t load on the character, which I assume is because of the overload(over 350) of characters I had loading in the game when it started. I’ve tried so many things I don’t even know where I would begin explaining all the solutions I’ve tried. I can explain more just ask questions please and I will do my best to answer, I’m not that experienced in scripting so please don’t use big words . I just can’t seem to get the proximity prompt to trigger no matter what I do or how I do it. any suggestions WILL be tried and tested, so PLEASE do not hesitate to tell me / ask me to try something. I’m desperate(this is the last thing I need for my game). THANK YOU IN ADVANCE!!!
I tried not to make it so long but it’s hard to explain this issue in depth but I believe I covered it
If it’s working if you import the model with a script, but the outfit isn’t loading, you can import the stand using the server and the outfit using a LocalScript
When I had this issue, I had only 1 outfit/podium inside replicated storage for easier testing and it wouldn’t load the character. I load up the game with the same code but with all the podiums inside replicated storage and only a few character models load, it isn’t the same outfits either it’s completely different outfits each time I load up. here’s what I mean.
I just tried putting a wait inside my for loop thinking it was just loading too many too fast but when I do that it doesn’t load a single character. so the server CAN drag the models it just chooses which is weird.
I also tried doing what you said and then it chooses not to load a single outfit
was able to work around my code and was able to do exactly what you said here. it loads the podiums, then the characters. but it puts all characters inside of 1 random podium. I know it’s a for loop I have to use but how would I make it so it puts 1 character in each podium?
Can we see the code? -----wordlimit-----
yes. don’t mind my code I’m new so it’s messy
this is the server script
for _, v in ipairs(Row1Folder:GetChildren()) do -- Row1Folder is the folder in replicated storage that holds the podiums
if v:IsA("Model") and v.Name == "Podium" then -- "Podium" is the stand the characters go inside of
v.Parent = Row1 -- v is the Podium and I want it's parent to be the Row1 Folder(Which is the folder that I want to hold the podiums)
end
end
this is the local script
for _, v in ipairs(Row1Folder:GetChildren()) do -- Row1Folder is the folder in replicated storage that holds the character models
if v:IsA("Model") and v.Name == "Character" then -- every character model holds the same name as "Character"
for _, x in ipairs(Row1:GetChildren()) do -- Row1 is the folder in workspace that I want the character models to get dragged into. Row1 currently holds the podiums which is where the characters go
if x:IsA("Model") and x.Name == "Podium" then -- "Podium" is the little stand the characters go on
v.Parent = x -- v is the character model and I want it's parent to be "x" which is the podium
end
end
end
end
there’s obviously variables and other code but I just took the code block that was necessary
Just making sure, everything in replicatedstorage has this box checked?
yes everything under replicated storage has archivable enabled
From what i’ve gathered, your proximity prompts don’t work when reparented to ReplicatedStorage > Workspace. Have you tried:
- resetting the enabled property
- its parented to a valid instance
- instead of parenting from ReplicatedStorage to Workspace, put a localscript inside ReplicatedFirst and use the PreloadAsync method of ContentProvider | Documentation - Roblox Creator Hub
I’ve tried preload already and it gives the same output. I haven’t tried resetting the enabled property for the prompt yet. By that do you mean via a script I have it enabled by default and then disable it and enable it again?
Yeah, just disable and re-enable it.
Did this work for OP? Facing very similar issue
Cant you just create a Module script for the proximity prompt and place it in after everything is loaded?
My specific issue is very inconsistent. Sometimes it works for players, sometimes not, can’t find consistent pattern. I have a lot of proximity prompts in replicated storage and am concerned they have children and it would be quite the undertaking to go that route.