Attempt to compare string <= number
https://gyazo.com/45870c39d3436f92f4614b7457448418
script.Parent.Spawn.MouseButton1Click:Connect(function()
if frame:FindFirstChild(namevalue).Group.Value == true then
local Car = (frame:FindFirstChild(namevalue))
local Minimum = Car:FindFirstChild("GroupRank")
**if Player:GetRankInGroup(Car.ID.Value) >= Minimum.Value then**
pickedevent:FireServer(namevalue)
game.Players.LocalPlayer.PlayerGui:WaitForChild("CarSpawnGui"):Destroy()
end
else if not frame:FindFirstChild(namevalue).Group.Value == true then
pickedevent:FireServer(namevalue)
game.Players.LocalPlayer.PlayerGui:WaitForChild("CarSpawnGui"):Destroy()
end
end
end)
end
end