Open source 2012 recreation

I privated the GitHub due to it only hosting this singular file, download it here instead

coregui.rbxmx (726.0 KB)

This is a basic 2012 recreation, just put the script under ReplicatedFirst and it works
To enabled topbar deletion on all platforms you need to modify the main script a tiny bit

Test place:

21 Likes

It’s worth noting that you can improve your programming and management skills by doing this. You also get the many thanks from people that use your projects, so it isn’t exactly “slaving away”

3 Likes

and i can have fun while doing it
like making minecraft mods

i just dont have fun making roblox scripts anymore

5 Likes

Whatever floats your boat man

1 Like

RetroStudio does this already, but cool resource!

I rewrote this resource since it was so jankily made and i needed the most performance I could in a game, I’ll update this topic once I get it ready to publicly release

edit: done!

you makin me tear up with this resource

1 Like

This resource is awesome, I’m using it in a retro style RPG I’m making.

Only issue I’m having is sometimes when spawning in the hotbar will not show any gears that were in StarterGears, and if they are in the backpack dragging them to the hotbar will not equip them.

I checked the error console and there seems to be nothing; no errors or anything.

thats a race condition issue iirc, i tried to fix it for another version but i dont remember if i did it for this one

1 Like

No worries. What I am finding is that beyond that sometimes (even upon rejoin) the backpack system will break almost entirely and not let players equip or unequip tools at all.

How did you fix the issue with the other one? Is there any insight you can give me that may help?

so inside of one of the backpack’s scripts (the old one used a few, only one manages items) i basically made it force refresh a few times after things like after it registers the ChildAdded handler or a player dies/respawns

you basically force a refresh in the section of code that handles the events that cause the items to not be added

1 Like

I’m assuming you’re talking about the LoadoutScript module script under Backpack scripts,but I am not sure exactly how to do these forced refreshes or where exactly that would be in the code.

Do you mean just requiring this module in its entirely a second time?

iirc it is LoadoutScript but I dont mean requiring it twice. theres a function that adds items to the backpack. i dont remember the best as this was 3 years ago, but I think i made it call to add the current items around when handlers were registered as the timing could be screwy on the client.

i know another solution that i did in the past to work around that that I do remember was only loading the character in after the client loaded everything by pinging the server with a remote event to tell it that the client was ready

1 Like

Awesome that exactly fixed it. On line 675 there is a wait() call to allow everything to initialize but this wait isn’t long enough. I replaced it with:

for i = 1,10,1 do
	game:GetService("RunService").Heartbeat:Wait()
end

which is probably a bit overkill, however it did fix the issue. Thank you so much for your help!

1 Like