I'm trying to make a crate system, I did all the things but it doesn't give the player the tool. I'm using the right parents and all of the other things. This is the script:
local SS = game:GetService("ServerStorage")
local Items = {SS.DefaultSword, SS.Sword}
script.Parent.MouseButton1Click:connect(function()
local item = Items[math.random(1, #Items)]
item:Clone().Parent = game.Players.LocalPlayer.Backpack
end)
Thanks, MajinBluee

1 comment
You cannot access ServerStorage from a localscript