Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Storage Help ?

Asked by 8 years ago

im trying to create a Tycoon but im confused where to store the parts that the player hasn't bought, do i store them in ServerStorage, ReplicatedStorage, or just mess with the Transparency and CanCollide Properties ?

1
when you reset or start a new tycoon put it in server storage and move parts to the workspace when necessary that would be the most efficient way probably ProfessorSev 220 — 8y
0
or the old fashioned way. putting parts in lighting makes them inaccessible to the player until added to workspace. BSIncorporated 640 — 8y
0
Never ever put parts in Lighting! Roblox gave us the storage services for a reason. Perci1 4988 — 8y

1 answer

Log in to vote
0
Answered by
Perci1 4988 Trusted Moderation Voter Community Moderator
8 years ago

ServerStorage is storage for the server. Local scripts can't access it.

ReplicatedStorage is storage that is replicated to all clients. Local scripts can access it.

You should use ServerStorage whenever possible because the bricks don't have to load on the clients, increasing efficiency.

Never just change the Transparency and CanCollide. The bricks will still be there, so all touch and click events will be active. Plus it's just inefficient.

Ad

Answer this question