I am trying to make a random items spawning system and did some test with one item but it didn't work Please Help.
local LootNodeBurrito = workspace.LootNodeBurrito local Items = game.ReplicatedStorage.Items function SpawnBurrito() -- Burrito lol :) local Burrito = game.RepicatedStorage.Items.Burrito:Clone() Burrito.Parent = workspace if game.Workspace.LootNodeBurrito.LVValue.Value == "Burrito" then Burrito.Position = LootNodeBurrito.Position wait(1250) Burrito:Destroy() end end while true do SpawnBurrito() wait(1250) end
You have misspelled ReplicatedStorage
on Line 6. You must always make sure that your spellings are accurate when scripting. Check for any lines that get placed underneath, as these indicate that there is a problem.