Any instance can be a lederstats holder! right? then why not a camera?
Built-in leaderboard only works as expected if the folder (technically doesn’t have to be) is named ‘leaderstats’ and placed into the player instance. Placing it anywhere else, like in ReplicatedStorage, won’t create the leaderboard.
Placing leaderstats in the camera is a bit odd. There is no circumstance in which you would have to store them there. Otherwise, yes, camera is an instance as well, but it isn’t replicated. The server has it’s own version, and each client their own. Modifying the camera properties on the server therefore won’t impact any client.
(Source: Camera | Documentation - Roblox Creator Hub)
i am not placing the leaderstats inside a camera, rather just changing the name of camera to leaderstats.
even frame/part with the name ‘leaderstats’ can work as a leaderstats holder
Oh, I get it!
Probably for the same reason. Camera isn’t replicated between connected clients and the host. It exists on the server, but not on the client. You can see that in the play test.
ty that’s the answer i needed
(char limit 30)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
