How would I make a settings menu in the lobby that's for the actual game?

I want to add a settings menu in the lobby for the other place. Like when I turn the textures off in the settings while in the lobby, the textures will be off when I’m playing the actual game. How would that work?

1 Like

Just use collection service with tags, and also use attributes to indicate if textures are off or on. If the user clicks to have textures than use collection service to add textures to each part with that tag.

Question has been answered here:
https://devforum.roblox.com/t/how-to-make-a-texture-toggle/3111005

1 Like

This is the system I used to tag every texture. (Server)

-- Texture Setting

local AddTextureCache
AddTextureCache = game.Players.PlayerAdded:Connect(function()
for i,v in ipairs(game:GetDescendants()) do
	if v:IsA("Texture") then
		local TextureId = v.Texture
		v:SetAttribute("BackupID", TextureId)
	end
end
print("Applied Textures, Disconnecting")
AddTextureCache:Disconnect()
AddTextureCache = nil
end)
1 Like

Yeah, that’s very similar to using collection service, and still works overall, I still prefer collection service though.

1 Like

I’m very confused because I can already do the textures on and off part. I just don’t know how to save it for the other game place. I’m basically asking how can I save settings through another game. Is that what y’all are talking about I just needed to make sure.

Oh I completely misunderstood what you meant, You can save it via a datastore, And when you teleport the player if textures are on it displays vise versa, Here is documentation:

You can also add this:

local TeleportService = game:GetService("TeleportService")

local teleportData = TeleportService:GetLocalPlayerTeleportData()

print("Local player arrived with this data:", teleportData)
2 Likes

Ok, I’ll try that after I come back from school!

1 Like

Finally found a way to make it work!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.