This works in studio, but when I go into a actual server and check the console it says ""Pieces" is not a valid member of "ServerStorage"", this is in a tool, is this the reason it doesnt work, please explain/help me understand why this wont work..
local pieces = game:GetService("ServerStorage").Pieces

2 comments
Most likely it's telling the truth -- has another script, possibly another tool or the same tool before, something deleted
Pieces? From Test, you can run a server on your computer and look at ServerStorage in the explorer.Alternatively -- Is this a LocalScript? LocalScripts cannot access the contents of
ServerStorage. Use ReplicatedStorage instead if it needs to be accessed by LocalScripts.