I am trying to remake a RCL script to find when players have
- More than 10 kills
- A kills-death ratio less than lets say .72
then they are disqualified and teamed to the spectators.
How would I write that? I am having difficulties writing it. I have the leaderboard stats for an RCL. It says
function onHumanoidDied(humanoid, player)
local stats = player:findFirstChild("leaderstats")
if stats ~= nil then
local deaths = stats:findFirstChild("Wipeouts")
deaths.Value = deaths.Value + 1
if deaths.Value>10 then
player.TeamColor=BrickColor.new("White")
end
to disqualify them. I want to change it to add
if kills/deaths < .72
along with the other condition of if deaths.Value>10 to disqualify.
