10-26-2025, 11:39 AM
duck float please
ok.Add("TTTBeginRound", "KeepCurrentWeaponOnRoundStart", function()
timer.Simple(0.1, function()
for _, ply in ipairs(player.GetAll()) do
if IsValid(ply) and ply:Alive() then
local active = ply:GetActiveWeapon()
if IsValid(active) then
ply:SelectWeapon(active:GetClass())
end
end
end
end)
end)
ok.Add("TTTBeginRound", "KeepCurrentWeaponOnRoundStart", function()
timer.Simple(0.1, function()
for _, ply in ipairs(player.GetAll()) do
if IsValid(ply) and ply:Alive() then
local active = ply:GetActiveWeapon()
if IsValid(active) then
ply:SelectWeapon(active:GetClass())
end
end
end
end)
end)
