of     1   

pokemonfantic3
#178840951Sunday, November 29, 2015 4:43 PM GMT

can someone help me put my gun game together. So when you kill someone you get a new gun and the old one is deleted. It goes up to 20 Here is the code. Just put it all together. Pl0x Players:GetAllChildren(ppl) - To get all players Instance.new ("IntValue") - To create the value IntValue.Parent = ppl - To put the value into the players IntValue.Value = 0 -- To make the value to 0 (1st starting weapon) if game.ServerScriptStorage.leaderboard.ppl = 1 -- If intvalue is 1 (players got a KO) then local Gun1Clone = game.ServerStorage.Gun1:Clone() -- Clones the gun Gun1Clone = ppl.Backpack -- Puts the cloned gun into the ppl backpack. if game.ServerScriptStorage.leaderboard.ppl = 10 (lets act like 9 is the final gun) then game.Workspace:remove() -- removes workspace cuz someone won. but make sure u do not mess it up pl0x

    of     1