This script does work, but sometimes it doesn't at all. Every time I respawn or someone respawns, they have a high chance of not receiving the tool.
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(c) repeat wait() until p:FindFirstChild("Backpack") game.ServerStorage:GetChildren()[math.random(1, #game.ServerStorage:GetChildren())]:clone().Parent = p.Backpack end) wait(2) end)
Try This, make sure to put all your tools in Server Storage:
--randomizer, place items in serverstorage players = game.Players:GetChildren() items = game.ServerStorage:GetChildren() while wait(120) do -- Every 2 Minutesit will clone a random tool, and give it to the players if #players > 1 then for i = 1,#players do clone = items[math.random(1,#items)]:Clone() clone.Parent = players[i] end end end