wait() local player = game.Players.LocalPlayer local replicatedstorage = game:GetService("ReplicatedStorage") local roundtag = replicatedstorage:WaitForChild("RoundTag") local lighting = game:GetService("Lighting") local classes = lighting:WaitForChild("Classes") local laser = classes:WaitForChild("Laser") local rocket = classes:WaitForChild("Rocket") roundtag.Changed:connect(function() if roundtag.Value == true then if player.Class.Value == "Laser" then player.StarterGear:ClearAllChildren() local weapon = laser.Phaser weapon:Clone().Parent = player.Backpack weapon:Clone().Parent = player.StarterGear elseif player.Class.Value == "Rocket" then player.StarterGear:ClearAllChildren() local weapon = rocket.Launcher weapon:Clone().Parent = player.Backpack weapon:Clone().Parent = player.StarterGear end else end end)
How come this only works once? it gives the players guns on the first round but every round after it does nothing