I tried to make a local variable and i did not work it just gives me a error i tried doing "FindFirstChild" it just says inventory is not a valid member of serverstorage and when i try "Waitforchild" it just do infiniteyield thing I tried normal way "game.ServerStorage.Inventory" samerror at FindFirstChild And When I Try "game:GetService('ServerStorage')" its the same error in FindFirstChild So What Do I Do? Btw
local ServerStorage = Game:GetService('ServerStorage')
local inventory = ServerStorage:WaitForChild('Inventory')
Thats The Variable Thanks! Its in a local scritpt btw

1 comment
it needs to be in a normal script remember local scripts only run on client and client cant access server storage