local RS = game.ReplicatedStorage local Workspace = game.Workspace local ss = game.ServerStorage while true do wait(1) local value = Workspace.Trueorno.Value -- Inserted value here print("still going") if game.Players.NumPlayers >= 2 then if value == false then wait(19) game.Workspace.Trueorno.Value = true wait(1) local Dagger = RS.DaggerWood:Clone() Dagger.Parent = game.StarterPack for i,Player in pairs(game.Players:GetPlayers()) do local Dagger = RS.DaggerWood:Clone() Dagger.Parent = Player.Backpack end RS.Map1.Parent = Workspace Workspace.Lobby.Parent = RS end end print("no") end
This is the script that starts the game, and for some reason it all broke after I tried cloning the Dagger into StarterPack. I'm doing this so people cant fight in the lobby, and when the game ends, it takes it out of the starterpack. I'm not sure why this wont work, but if anyone here knows, please tell me. Thanks.
Try this:
tool:Clone(). Parent = game:GetService('StarterPack')
If you mean to clone directly in game then put this
local plr = game.Players.LocalPlayer local backpack = plr.Backpack local tool = -- tool location
tool:Clone().Parent = backpack